Skip to content

Commit 8a46f08

Browse files
authored
Merge branch 'main' into ruby_3_1_eol
2 parents 8ab8951 + 64e8a23 commit 8a46f08

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* [FEATURE] ...
77

88
* [CHANGE] Drop support for Ruby 3.1.x and JRuby 9.4 (by [@faisal][])
9+
* [BUGFIX] Fixed regression in compatibility with Flog 4.9.0 (by [@faisal][])
910
* [CHANGE] Bump mocha dependency (by [@faisal][])
1011
* [CHORE] Update CI checkout action to v6 (by [@faisal][]])
1112
* [CHORE] Uses prism instead of parser for Ruby 3.4 and above (by [@torresga][] and [@julioalucero][])

lib/rubycritic/analysers/helpers/flog.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class Flog < ::Flog
1111
}.freeze
1212

1313
def initialize
14-
super(DEFAULT_OPTIONS)
14+
super(DEFAULT_OPTIONS.clone(freeze: false))
1515
end
1616
end
1717
end

0 commit comments

Comments
 (0)