rubycritic 3.3.0 → 3.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fb8941448d84144db4e15c3cb37731de9c78a9b9
4
- data.tar.gz: 36cf41f7d42d12668c4abe9f6300e0cbdeec43a5
3
+ metadata.gz: 65dd42190e2ce5eb0a6067eaf3a9c158eec42c89
4
+ data.tar.gz: 8e2633b8d064349f4f412dad2a4993c8def5a6c1
5
5
  SHA512:
6
- metadata.gz: 2174e7c073020b197681db5c4af3501b302f85d64cb858c224e772d93a268eeebd68bf9d530203a20f278918d5bd03370be8a7d5ff988e83e1d1a7792ab05908
7
- data.tar.gz: fb77e4cc9ce6aafe5cc8239f90d79f6354046568934f6baf37eda7bb47786fe77b256c8fef53fa548e442d7caad8b0e627eda1f9e6beb5c68b0aada9d2e3feaf
6
+ metadata.gz: 6ed0426b235e89803c2930852b3a88f49176d049526c64d36be0e4d3ec1708f049c672d51030bfb43c32e0f6476d41da9dad4c72e8964e5821ac2647dee8f4c5
7
+ data.tar.gz: 266453f2ae7cadbb4373adddaf33d15bde1bac2d46aeb3b26c71a519d72ccc1e6ddc74e7ec501db1ceb3c6587083e70184642d066d2a44f7ce445c4cee1718d0
@@ -1,4 +1,5 @@
1
1
  AllCops:
2
+ DisplayCopNames: true
2
3
  Include:
3
4
  - '**/*.gemspec'
4
5
  - '**/*.rake'
@@ -1,14 +1,17 @@
1
1
  sudo: false
2
2
  language: ruby
3
- cache: bundler
4
- before_install: gem update bundler
3
+ cache:
4
+ bundler: true
5
+ before_install:
6
+ - gem install bundler
5
7
  matrix:
6
8
  include:
7
9
  - rvm: 2.1.0
8
10
  - rvm: 2.1
9
11
  - rvm: 2.2
10
- - rvm: 2.3.3
11
- - rvm: 2.4.0
12
+ - rvm: 2.3
13
+ - rvm: 2.4
14
+ - rvm: 2.5
12
15
  - rvm: ruby-head
13
16
  - rvm: jruby-9.1.8.0
14
17
  env: JRUBY_OPTS='--debug' # get more accurate coverage data
@@ -18,4 +21,9 @@ matrix:
18
21
  - rvm: jruby-9.1.8.0
19
22
  - rvm: rbx-3
20
23
  fast_finish: true
21
- script: bundle exec rake
24
+
25
+ script:
26
+ - bundle exec rake test
27
+ - bundle exec cucumber features --format progress --color
28
+ - bundle exec rake reek
29
+ - bundle exec rubocop
@@ -1,9 +1,19 @@
1
- # master [(unreleased)](https://github.com/whitesmith/rubycritic/compare/v3.3.0...master)
1
+ # master [(unreleased)](https://github.com/whitesmith/rubycritic/compare/v3.4.0...master)
2
+
3
+ *
4
+
5
+ # 3.4.0 / 2018-03-22 [(commits)](https://github.com/whitesmith/rubycritic/compare/v3.3.0...v3.4.0)
6
+
7
+ * [CHANGE] Update `rubocop` to 0.51.0 (by [@olleolleolle][])
8
+ * [CHANGE] Update `parser` to 2.5.0 (by [@joshrpowell][])
9
+ * [CHANGE] Update `rainbow` to 3.0 (by [@joshrpowell][])
10
+ * [CHANGE] Update `rubocop` to 0.53.0 (by [@joshrpowell][])
11
+ * [BUGFIX] Fix wrong label for churn in the code file template (by [@nbekirov][])
2
12
 
3
13
  # 3.3.0 / 2017-10-10 [(commits)](https://github.com/whitesmith/rubycritic/compare/v3.2.3...v3.3.0)
4
14
 
5
15
  * [FEATURE] Add lint format similar to Golint (by [@nightscape][])
6
- * [CHANGE] Update `cucumber` to 3.0 (by [@onumis][])
16
+ * [CHANGE] Update `cucumber` to 3.0 (by [@onumis][])
7
17
  * [CHANGE] Update `rake` to 12.0 (by [@onumis][])
8
18
  * [CHANGE] Update `rubocop` to 0.50.0 (by [@onumis][])
9
19
  * [CHANGE] Accepting floating point values from Flog (by [@onumis][])
@@ -224,3 +234,5 @@
224
234
  [@yuku-t]: https://github.com/yuku-t
225
235
  [@ochagata]: https://github.com/ochagata
226
236
  [@nightscape]: https://github.com/nightscape
237
+ [@nbekirov]: https://github.com/nbekirov
238
+ [@joshrpowell]: https://github.com/joshrpowell
data/README.md CHANGED
@@ -184,7 +184,7 @@ end
184
184
 
185
185
  ## Compatibility
186
186
 
187
- RubyCritic is supporting:
187
+ RubyCritic is supporting Ruby versions:
188
188
 
189
189
  * 2.1
190
190
  * 2.2
@@ -3,7 +3,7 @@
3
3
 
4
4
  # Always look in the lib directory of this gem
5
5
  # first when searching the load path
6
- $LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
6
+ $LOAD_PATH.unshift File.expand_path('../lib', __dir__)
7
7
 
8
8
  require 'rubycritic/cli/application'
9
9
 
@@ -35,9 +35,7 @@ module RubyCritic
35
35
  @flog.flog(analysed_module.path)
36
36
  @flog.each_by_score do |class_method, original_score|
37
37
  score = original_score.round
38
- if score >= HIGH_COMPLEXITY_SCORE_THRESHOLD
39
- analysed_module.smells << create_smell(class_method, score)
40
- end
38
+ analysed_module.smells << create_smell(class_method, score) if score >= HIGH_COMPLEXITY_SCORE_THRESHOLD
41
39
  end
42
40
  end
43
41
 
@@ -21,7 +21,7 @@ module RubyCritic
21
21
  print(reporter.status_message)
22
22
  reporter.status
23
23
  rescue OptionParser::InvalidOption => error
24
- $stderr.puts "Error: #{error}"
24
+ warn "Error: #{error}"
25
25
  STATUS_ERROR
26
26
  end
27
27
 
@@ -76,6 +76,7 @@ module RubyCritic
76
76
  no_browser: no_browser
77
77
  }
78
78
  end
79
+ # rubocop:enable Metrics/MethodLength
79
80
 
80
81
  private
81
82
 
@@ -87,8 +87,8 @@ module RubyCritic
87
87
  }
88
88
  end
89
89
 
90
- def to_json(*a)
91
- to_h.to_json(*a)
90
+ def to_json(*options)
91
+ to_h.to_json(*options)
92
92
  end
93
93
  end
94
94
  end
@@ -9,13 +9,13 @@ module RubyCritic
9
9
 
10
10
  # Limit used to prevent very bad modules to have excessive impact in the
11
11
  # overall result. See #limited_cost_for
12
- COST_LIMIT = 32
12
+ COST_LIMIT = 32.0
13
13
  # Score goes from 0 (worst) to 100 (perfect)
14
- MAX_SCORE = 100
14
+ MAX_SCORE = 100.0
15
15
  # Projects with an average cost of 16 (or above) will score 0, since 16
16
16
  # is where the worst possible rating (F) starts
17
- ZERO_SCORE_COST = 16
18
- COST_MULTIPLIER = MAX_SCORE.to_f / ZERO_SCORE_COST
17
+ ZERO_SCORE_COST = 16.0
18
+ COST_MULTIPLIER = MAX_SCORE / ZERO_SCORE_COST
19
19
 
20
20
  def initialize(paths)
21
21
  @modules = SourceLocator.new(paths).pathnames.map do |pathname|
@@ -26,8 +26,8 @@ module RubyCritic
26
26
  }
27
27
  end
28
28
 
29
- def to_json(*a)
30
- to_h.to_json(*a)
29
+ def to_json(*options)
30
+ to_h.to_json(*options)
31
31
  end
32
32
 
33
33
  def ==(other)
@@ -23,8 +23,8 @@ module RubyCritic
23
23
  @letter
24
24
  end
25
25
 
26
- def to_json(*a)
27
- to_h.to_json(*a)
26
+ def to_json(*options)
27
+ to_h.to_json(*options)
28
28
  end
29
29
  end
30
30
  end
@@ -48,8 +48,8 @@ module RubyCritic
48
48
  }
49
49
  end
50
50
 
51
- def to_json(*a)
52
- to_h.to_json(*a)
51
+ def to_json(*options)
52
+ to_h.to_json(*options)
53
53
  end
54
54
 
55
55
  def doc_url
@@ -12,7 +12,7 @@ module RubyCritic
12
12
  ERB.new(File.read(File.join(TEMPLATES_DIR, template_path)))
13
13
  end
14
14
 
15
- TEMPLATES_DIR = File.expand_path('../templates', __FILE__)
15
+ TEMPLATES_DIR = File.expand_path('templates', __dir__)
16
16
  LAYOUT_TEMPLATE = erb_template(File.join('layouts', 'application.html.erb'))
17
17
 
18
18
  include ViewHelpers
@@ -32,7 +32,7 @@
32
32
  </div>
33
33
  <div class="col-md-3">
34
34
  <div><span class="metric"><%= @analysed_module.complexity_per_method %></span><small> complexity/method</small></div>
35
- <div><span class="metric"><%= @analysed_module.churn %></span><small> loc/method</small></div>
35
+ <div><span class="metric"><%= @analysed_module.churn %></span><small> churn</small></div>
36
36
  </div>
37
37
  <div class="col-md-3">
38
38
  <div><span class="metric"><%= @analysed_module.complexity %></span><small> complexity</small></div>
@@ -10,7 +10,7 @@ require 'rubycritic/generators/html/code_file'
10
10
  module RubyCritic
11
11
  module Generator
12
12
  class HtmlReport
13
- ASSETS_DIR = File.expand_path('../html/assets', __FILE__)
13
+ ASSETS_DIR = File.expand_path('html/assets', __dir__)
14
14
 
15
15
  def initialize(analysed_modules)
16
16
  @analysed_modules = analysed_modules
@@ -6,7 +6,7 @@ module RubyCritic
6
6
  module Text
7
7
  class Lint
8
8
  class << self
9
- TEMPLATE_PATH = File.expand_path('../templates/lint.erb', __FILE__)
9
+ TEMPLATE_PATH = File.expand_path('templates/lint.erb', __dir__)
10
10
  FILE_NAME = 'lint.txt'.freeze
11
11
 
12
12
  def file_directory
@@ -7,7 +7,7 @@ module RubyCritic
7
7
  module Text
8
8
  class List
9
9
  class << self
10
- TEMPLATE_PATH = File.expand_path('../templates/list.erb', __FILE__)
10
+ TEMPLATE_PATH = File.expand_path('templates/list.erb', __dir__)
11
11
 
12
12
  def erb_template
13
13
  @erb_template ||= ERB.new(File.read(TEMPLATE_PATH), nil, '-')
@@ -3,11 +3,11 @@
3
3
  module RubyCritic
4
4
  module SourceControlSystem
5
5
  class Double < Base
6
- def revisions_count(_)
6
+ def revisions_count(_path)
7
7
  0
8
8
  end
9
9
 
10
- def date_of_last_commit(_)
10
+ def date_of_last_commit(_path)
11
11
  nil
12
12
  end
13
13
 
@@ -48,7 +48,7 @@ module RubyCritic
48
48
  end
49
49
 
50
50
  def date_of_last_commit(path)
51
- DateTime.strptime(perforce_files[Perforce.key_file(path)].last_commit, '%s').strftime('%Y-%m-%d %H:%M:%S %z')
51
+ Time.strptime(perforce_files[Perforce.key_file(path)].last_commit, '%s').strftime('%Y-%m-%d %H:%M:%S %z')
52
52
  end
53
53
 
54
54
  def revision?
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RubyCritic
4
- VERSION = '3.3.0'.freeze
4
+ VERSION = '3.4.0'.freeze
5
5
  end
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- lib = File.expand_path('../lib', __FILE__)
3
+ lib = File.expand_path('lib', __dir__)
4
4
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
5
  require 'rubycritic/version'
6
6
 
@@ -24,22 +24,22 @@ Gem::Specification.new do |spec|
24
24
  spec.add_runtime_dependency 'flay', '~> 2.8'
25
25
  spec.add_runtime_dependency 'flog', '~> 4.4'
26
26
  spec.add_runtime_dependency 'launchy', '2.4.3'
27
- spec.add_runtime_dependency 'tty-which', '~> 0.3.0'
28
- spec.add_runtime_dependency 'parser', '~> 2.4.0'
29
- spec.add_runtime_dependency 'rainbow', '~> 2.1'
27
+ spec.add_runtime_dependency 'parser', '~> 2.5.0'
28
+ spec.add_runtime_dependency 'rainbow', '~> 3.0'
30
29
  spec.add_runtime_dependency 'reek', '~> 4.4'
31
30
  spec.add_runtime_dependency 'ruby_parser', '~> 3.8'
31
+ spec.add_runtime_dependency 'tty-which', '~> 0.3.0'
32
32
  spec.add_runtime_dependency 'virtus', '~> 1.0'
33
33
 
34
34
  spec.add_development_dependency 'aruba', '~> 0.12', '>= 0.12.0'
35
35
  spec.add_development_dependency 'bundler', '~> 1.3', '>= 1.3.0'
36
+ spec.add_development_dependency 'byebug', '~> 9.0', '>= 8.0'
36
37
  spec.add_development_dependency 'cucumber', '~> 3.0', '>= 2.2.0'
38
+ spec.add_development_dependency 'diff-lcs', '~> 1.3'
37
39
  spec.add_development_dependency 'fakefs', '~> 0.10', '>= 0.10.0'
38
40
  spec.add_development_dependency 'minitest', '~> 5.3', '>= 5.3.0'
39
41
  spec.add_development_dependency 'minitest-around', '~> 0.4.0'
40
- spec.add_development_dependency 'diff-lcs', '~> 1.3'
41
42
  spec.add_development_dependency 'mocha', '~> 1.1', '>= 1.1.0'
42
43
  spec.add_development_dependency 'rake', '~> 12.0', '>= 11.0.0'
43
- spec.add_development_dependency 'rubocop', '~> 0.50.0'
44
- spec.add_development_dependency 'byebug', '~> 9.0', '>= 8.0'
44
+ spec.add_development_dependency 'rubocop', '~> 0.53'
45
45
  end
@@ -21,7 +21,7 @@ describe RubyCritic::Command::StatusReporter do
21
21
  end
22
22
 
23
23
  it 'accept a score' do
24
- @reporter.score = 50
24
+ @reporter.score = 50.0
25
25
  @reporter.status.must_equal success_status
26
26
  @reporter.status_message.must_equal 'Score: 50.0'
27
27
  end
@@ -46,7 +46,7 @@ describe RubyCritic::Command::StatusReporter do
46
46
  end
47
47
 
48
48
  describe 'when score is below minimum' do
49
- let(:score) { 98 }
49
+ let(:score) { 98.0 }
50
50
  it 'should return the correct status' do
51
51
  @reporter.score = score
52
52
  @reporter.status.must_equal score_below_minimum
@@ -61,7 +61,7 @@ describe RubyCritic::Command::StatusReporter do
61
61
  end
62
62
 
63
63
  describe 'when score is equal the minimum' do
64
- let(:score) { 99 }
64
+ let(:score) { 99.0 }
65
65
  it 'should return the correct status' do
66
66
  @reporter.score = score
67
67
  @reporter.status.must_equal success_status
@@ -70,7 +70,7 @@ describe RubyCritic::Command::StatusReporter do
70
70
  end
71
71
 
72
72
  describe 'when score is above the minimum' do
73
- let(:score) { 100 }
73
+ let(:score) { 100.0 }
74
74
  it 'should return the correct status' do
75
75
  @reporter.score = score
76
76
  @reporter.status.must_equal success_status
@@ -151,10 +151,13 @@ Server address: the.server.address.com
151
151
  end
152
152
 
153
153
  it 'retrieves the date of the last commit of the ruby files' do
154
+ oldtz = ENV['TZ']
155
+ ENV['TZ'] = 'utc'
154
156
  Dir.stubs(:getwd).returns('/path/to/client')
155
157
  RubyCritic::SourceControlSystem::Perforce.stubs(:`).once.returns(p4_stats)
156
158
  @system.date_of_last_commit('a_ruby_file.rb').must_equal '2016-09-05 11:39:11 +0000'
157
159
  @system.date_of_last_commit('second_ruby_file.rb').must_equal '2016-05-30 09:47:48 +0000'
160
+ ENV['TZ'] = oldtz
158
161
  end
159
162
 
160
163
  it 'retrieves the information if the ruby file is opened (in the changelist and ready to commit)' do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubycritic
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.3.0
4
+ version: 3.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Guilherme Simoes
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-10-10 00:00:00.000000000 Z
11
+ date: 2018-03-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: flay
@@ -53,75 +53,75 @@ dependencies:
53
53
  - !ruby/object:Gem::Version
54
54
  version: 2.4.3
55
55
  - !ruby/object:Gem::Dependency
56
- name: tty-which
56
+ name: parser
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 0.3.0
61
+ version: 2.5.0
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: 0.3.0
68
+ version: 2.5.0
69
69
  - !ruby/object:Gem::Dependency
70
- name: parser
70
+ name: rainbow
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 2.4.0
75
+ version: '3.0'
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: 2.4.0
82
+ version: '3.0'
83
83
  - !ruby/object:Gem::Dependency
84
- name: rainbow
84
+ name: reek
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '2.1'
89
+ version: '4.4'
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: '2.1'
96
+ version: '4.4'
97
97
  - !ruby/object:Gem::Dependency
98
- name: reek
98
+ name: ruby_parser
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: '4.4'
103
+ version: '3.8'
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: '4.4'
110
+ version: '3.8'
111
111
  - !ruby/object:Gem::Dependency
112
- name: ruby_parser
112
+ name: tty-which
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
115
  - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: '3.8'
117
+ version: 0.3.0
118
118
  type: :runtime
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - "~>"
123
123
  - !ruby/object:Gem::Version
124
- version: '3.8'
124
+ version: 0.3.0
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: virtus
127
127
  requirement: !ruby/object:Gem::Requirement
@@ -176,6 +176,26 @@ dependencies:
176
176
  - - ">="
177
177
  - !ruby/object:Gem::Version
178
178
  version: 1.3.0
179
+ - !ruby/object:Gem::Dependency
180
+ name: byebug
181
+ requirement: !ruby/object:Gem::Requirement
182
+ requirements:
183
+ - - "~>"
184
+ - !ruby/object:Gem::Version
185
+ version: '9.0'
186
+ - - ">="
187
+ - !ruby/object:Gem::Version
188
+ version: '8.0'
189
+ type: :development
190
+ prerelease: false
191
+ version_requirements: !ruby/object:Gem::Requirement
192
+ requirements:
193
+ - - "~>"
194
+ - !ruby/object:Gem::Version
195
+ version: '9.0'
196
+ - - ">="
197
+ - !ruby/object:Gem::Version
198
+ version: '8.0'
179
199
  - !ruby/object:Gem::Dependency
180
200
  name: cucumber
181
201
  requirement: !ruby/object:Gem::Requirement
@@ -196,6 +216,20 @@ dependencies:
196
216
  - - ">="
197
217
  - !ruby/object:Gem::Version
198
218
  version: 2.2.0
219
+ - !ruby/object:Gem::Dependency
220
+ name: diff-lcs
221
+ requirement: !ruby/object:Gem::Requirement
222
+ requirements:
223
+ - - "~>"
224
+ - !ruby/object:Gem::Version
225
+ version: '1.3'
226
+ type: :development
227
+ prerelease: false
228
+ version_requirements: !ruby/object:Gem::Requirement
229
+ requirements:
230
+ - - "~>"
231
+ - !ruby/object:Gem::Version
232
+ version: '1.3'
199
233
  - !ruby/object:Gem::Dependency
200
234
  name: fakefs
201
235
  requirement: !ruby/object:Gem::Requirement
@@ -250,20 +284,6 @@ dependencies:
250
284
  - - "~>"
251
285
  - !ruby/object:Gem::Version
252
286
  version: 0.4.0
253
- - !ruby/object:Gem::Dependency
254
- name: diff-lcs
255
- requirement: !ruby/object:Gem::Requirement
256
- requirements:
257
- - - "~>"
258
- - !ruby/object:Gem::Version
259
- version: '1.3'
260
- type: :development
261
- prerelease: false
262
- version_requirements: !ruby/object:Gem::Requirement
263
- requirements:
264
- - - "~>"
265
- - !ruby/object:Gem::Version
266
- version: '1.3'
267
287
  - !ruby/object:Gem::Dependency
268
288
  name: mocha
269
289
  requirement: !ruby/object:Gem::Requirement
@@ -310,34 +330,14 @@ dependencies:
310
330
  requirements:
311
331
  - - "~>"
312
332
  - !ruby/object:Gem::Version
313
- version: 0.50.0
333
+ version: '0.53'
314
334
  type: :development
315
335
  prerelease: false
316
336
  version_requirements: !ruby/object:Gem::Requirement
317
337
  requirements:
318
338
  - - "~>"
319
339
  - !ruby/object:Gem::Version
320
- version: 0.50.0
321
- - !ruby/object:Gem::Dependency
322
- name: byebug
323
- requirement: !ruby/object:Gem::Requirement
324
- requirements:
325
- - - "~>"
326
- - !ruby/object:Gem::Version
327
- version: '9.0'
328
- - - ">="
329
- - !ruby/object:Gem::Version
330
- version: '8.0'
331
- type: :development
332
- prerelease: false
333
- version_requirements: !ruby/object:Gem::Requirement
334
- requirements:
335
- - - "~>"
336
- - !ruby/object:Gem::Version
337
- version: '9.0'
338
- - - ">="
339
- - !ruby/object:Gem::Version
340
- version: '8.0'
340
+ version: '0.53'
341
341
  description: RubyCritic is a tool that wraps around various static analysis gems to
342
342
  provide a quality report of your Ruby code.
343
343
  email: