flog 4.9.1 → 4.9.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '07738fae525db950a36908c105a3ea7f4ef2735ad8ec39621332bb12dff927b8'
4
- data.tar.gz: 0506b7754237f626888a17e8e17f9b54a74683a093ae24440fe6275cdc4fa6c0
3
+ metadata.gz: 79aa339ba2ed65cdd83437fad88ae503bff7a4392255d9dd9920e2ca400d164d
4
+ data.tar.gz: 6b69169958fec009c2b6e106d98089d4a581821bf26f6568a488d91bb0043abf
5
5
  SHA512:
6
- metadata.gz: c6f3379c0fa7795f344bcc2d45bbbef81de04a6cc54ea77219651cb7215b4e402e3814265be85208c2ab174b220a150be1d63489ececed98c97683b15da5dfa5
7
- data.tar.gz: '0493e8b1fcaa2868e2cd9f39cbe75dc51a2d196e78cf4cac8c94faadbff0c7494e18805dc0058a6a2488d6ceda7dad16015253d0b4d6e5f2bc1b8bdc915e57e8'
6
+ metadata.gz: 21d6a21c74691972cb98cec49cbe1289b5c870d6874d1606b4c2451431e3ec63d261f22a235927b80ffeea15273bb1d31a6aa18530fdbb346ca5e74e882ec94f
7
+ data.tar.gz: e713d2e30e361ac522f889d77efd0f291a6f38c47fb3c84c777c8879f770fc928e7e919318e816eca9c8347e110b1591edb17b4b3a5863ad17bc9f43279557f5
checksums.yaml.gz.sig CHANGED
Binary file
data/History.rdoc CHANGED
@@ -1,3 +1,10 @@
1
+ === 4.9.2 / 2026-01-04
2
+
3
+ * 2 bug fixes:
4
+
5
+ * Duplicate passed in options in case frozen.
6
+ * Oops! Fixed --legacy option definition.
7
+
1
8
  === 4.9.1 / 2025-12-20
2
9
 
3
10
  * 4 bug fixes:
data/lib/flog.rb CHANGED
@@ -16,7 +16,7 @@ NotRubyParser = Class.new Prism::Translation::RubyParser
16
16
  # thoroughly test.
17
17
 
18
18
  class Flog < MethodBasedSexpProcessor
19
- VERSION = "4.9.1" # :nodoc:
19
+ VERSION = "4.9.2" # :nodoc:
20
20
 
21
21
  ##
22
22
  # Cut off point where the report should stop unless --all given.
@@ -230,7 +230,7 @@ class Flog < MethodBasedSexpProcessor
230
230
 
231
231
  def initialize option = {}
232
232
  super()
233
- @option = option
233
+ @option = option.dup
234
234
  @mass = {}
235
235
  @parser = nil
236
236
  @threshold = option[:threshold] || DEFAULT_THRESHOLD
data/lib/flog_cli.rb CHANGED
@@ -130,7 +130,7 @@ class FlogCLI
130
130
  option[:score] = true
131
131
  end
132
132
 
133
- opts.on "--legacy" "Use RubyParser for parsing." do
133
+ opts.on "--legacy", "Use RubyParser for parsing." do
134
134
  require "ruby_parser"
135
135
  option[:parser] = RubyParser
136
136
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flog
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.9.1
4
+ version: 4.9.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Davis
@@ -78,34 +78,34 @@ dependencies:
78
78
  requirements:
79
79
  - - ">="
80
80
  - !ruby/object:Gem::Version
81
- version: '4.0'
81
+ version: '6.0'
82
82
  - - "<"
83
83
  - !ruby/object:Gem::Version
84
- version: '7'
84
+ version: '8'
85
85
  type: :development
86
86
  prerelease: false
87
87
  version_requirements: !ruby/object:Gem::Requirement
88
88
  requirements:
89
89
  - - ">="
90
90
  - !ruby/object:Gem::Version
91
- version: '4.0'
91
+ version: '6.0'
92
92
  - - "<"
93
93
  - !ruby/object:Gem::Version
94
- version: '7'
94
+ version: '8'
95
95
  - !ruby/object:Gem::Dependency
96
96
  name: hoe
97
97
  requirement: !ruby/object:Gem::Requirement
98
98
  requirements:
99
99
  - - "~>"
100
100
  - !ruby/object:Gem::Version
101
- version: '4.3'
101
+ version: '4.5'
102
102
  type: :development
103
103
  prerelease: false
104
104
  version_requirements: !ruby/object:Gem::Requirement
105
105
  requirements:
106
106
  - - "~>"
107
107
  - !ruby/object:Gem::Version
108
- version: '4.3'
108
+ version: '4.5'
109
109
  description: |-
110
110
  Flog reports the most tortured code in an easy to read pain
111
111
  report. The higher the score, the more pain the code is in.
metadata.gz.sig CHANGED
@@ -1 +1 @@
1
- Q�h�K� ��!Ԯ�6+���~R�26�)M�GK���#٠J��>4p������q;�z�W���)��q�(�w}i��=�wyC6���\ڱ΀��(��a,��3[����#s�����,��&18���� j[��A�~� aRi��~��~�I����AI��[d����XC���(3#|�<�ݨ0�u"����0�Nbue"�Y���̃�p�v<��/��
1
+ K���I V[U_R"x�Ɠyj�#��0GQ�ˆPqs{��`�W�:���c�!=���`it��>d���K`�>̘w�����rYr�9���p��7[���ם��&pt ��\���D,�C������PuJ�ԁ�}�F�͎o��-�N�Q�j@�qs������%.���'k����QzN����ŗ�7�|��T'����C������$%��f1M9 �`�H�uS{�����8s�=�ΌX�X������