metric_fu 4.11.1 → 4.11.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. checksums.yaml +5 -13
  2. checksums.yaml.gz.sig +0 -0
  3. data.tar.gz.sig +0 -0
  4. data/.travis.yml +0 -2
  5. data/CONTRIBUTORS +12 -11
  6. data/Gemfile +17 -8
  7. data/HISTORY.md +8 -1
  8. data/README.md +1 -1
  9. data/certs/bf4.pem +20 -20
  10. data/checksum/metric_fu-4.11.1.gem.sha512 +1 -0
  11. data/lib/metric_fu/metrics/reek/generator.rb +10 -3
  12. data/lib/metric_fu/templates/metrics_template.rb +29 -17
  13. data/lib/metric_fu/version.rb +1 -1
  14. data/spec/cli/helper_spec.rb +2 -2
  15. data/spec/metric_fu/configuration_spec.rb +8 -8
  16. data/spec/metric_fu/formatter/configuration_spec.rb +7 -7
  17. data/spec/metric_fu/formatter_spec.rb +10 -10
  18. data/spec/metric_fu/gem_version_spec.rb +1 -1
  19. data/spec/metric_fu/generator_spec.rb +5 -5
  20. data/spec/metric_fu/metric_spec.rb +6 -6
  21. data/spec/metric_fu/metrics/churn/configuration_spec.rb +1 -1
  22. data/spec/metric_fu/metrics/flay/configuration_spec.rb +1 -1
  23. data/spec/metric_fu/metrics/flog/configuration_spec.rb +1 -1
  24. data/spec/metric_fu/metrics/rails_best_practices/configuration_spec.rb +6 -6
  25. data/spec/metric_fu/metrics/rcov/configuration_spec.rb +1 -1
  26. data/spec/metric_fu/metrics/rcov/simplecov_formatter_spec.rb +1 -1
  27. data/spec/metric_fu/metrics/reek/configuration_spec.rb +1 -1
  28. data/spec/metric_fu/metrics/reek/generator_spec.rb +29 -12
  29. data/spec/metric_fu/metrics/roodi/configuration_spec.rb +1 -1
  30. data/spec/metric_fu/metrics/stats/generator_spec.rb +1 -1
  31. data/spec/metric_fu/reporter_spec.rb +5 -5
  32. data/spec/metric_fu/reporting/result_spec.rb +3 -3
  33. data/spec/metric_fu/run_spec.rb +1 -1
  34. data/spec/metric_fu/templates/configuration_spec.rb +7 -7
  35. data/spec/metric_fu/templates/template_spec.rb +16 -16
  36. data/spec/metric_fu/utility_spec.rb +1 -1
  37. data/spec/spec_helper.rb +1 -1
  38. data/spec/support/matcher_create_file.rb +4 -0
  39. data/spec/support/matcher_create_files.rb +4 -0
  40. data/spec/usage_test_spec.rb +12 -12
  41. metadata +81 -88
  42. metadata.gz.sig +0 -0
  43. data/gemfiles/Gemfile.travis +0 -10
@@ -2,7 +2,7 @@ require 'spec_helper'
2
2
  require 'metric_fu/utility'
3
3
 
4
4
  describe MetricFu::Utility do
5
- it 'strips ANSI escape codes from text' do
5
+ it "strips ANSI escape codes from text" do
6
6
  text = "\e[31m./app/models/account.rb:64 - Found = in conditional. It should probably be an ==\e[0m"
7
7
  output = "./app/models/account.rb:64 - Found = in conditional. It should probably be an =="
8
8
 
@@ -34,7 +34,7 @@ RSpec.configure do |config|
34
34
  config.filter_run_excluding :slow unless ENV["SLOW_SPECS"]
35
35
  config.fail_fast = ENV.include?('FAIL_FAST')
36
36
  config.order = :rand
37
- config.color_enabled = true
37
+ config.color = true
38
38
  config.expect_with :rspec do |expectations|
39
39
  expectations.syntax = :expect
40
40
  end
@@ -19,6 +19,10 @@ RSpec::Matchers.define :create_file do |expected|
19
19
  end
20
20
  end
21
21
 
22
+ def supports_block_expectations?
23
+ true
24
+ end
25
+
22
26
  def exists?(expected)
23
27
  # Allows us to use wildcard checks for existence.
24
28
  !Dir.glob(expected).empty?
@@ -25,6 +25,10 @@ RSpec::Matchers.define :create_files do |expected|
25
25
  end
26
26
  end
27
27
 
28
+ def supports_block_expectations?
29
+ true
30
+ end
31
+
28
32
  def exists?(expected)
29
33
  # Allows us to use wildcard checks for existence.
30
34
  !Dir.glob(expected).empty?
@@ -1,8 +1,8 @@
1
- describe 'usage test' do
1
+ describe "usage test" do
2
2
  ROOT_PATH = File.expand_path("..", File.dirname(__FILE__))
3
3
  require File.join(ROOT_PATH, 'spec/support/usage_test')
4
4
 
5
- it 'extracts fenced code blocks, identifying the code and language' do
5
+ it "extracts fenced code blocks, identifying the code and language" do
6
6
  ruby_code = "puts 'This is ruby'"
7
7
  shell_code = %Q(ruby -e "puts 'This is shell'")
8
8
  ruby_block, shell_block = UsageTest::CodeBlock.find_code_blocks(<<-README
@@ -28,27 +28,27 @@ README
28
28
  expect(shell_block.code).to eq(shell_code)
29
29
  end
30
30
 
31
- context 'evaluating ruby code' do
32
- specify 'succeeds when the code runs without errors' do
31
+ context "evaluating ruby code" do
32
+ specify "succeeds when the code runs without errors" do
33
33
  code = "1 + 1"
34
34
  test_result = SnippetRunner.new(code, 'ruby').run_code
35
35
  expect(test_result.captured_output).to eq(2)
36
36
  expect(test_result.success).to eq(true)
37
37
  end
38
- specify 'fails when the code raises a standard error' do
38
+ specify "fails when the code raises a standard error" do
39
39
  code = "fail NameError.new('no name')"
40
40
  test_result = SnippetRunner.new(code, 'ruby').run_code
41
41
  expect(test_result.captured_output).to match('NameError')
42
42
  expect(test_result.captured_output).to match('no name')
43
43
  expect(test_result.success).to eq(false)
44
44
  end
45
- specify 'succeeds when the code exits with a zero exit status' do
45
+ specify "succeeds when the code exits with a zero exit status" do
46
46
  code = "puts 1 + 1; exit 0"
47
47
  test_result = SnippetRunner.new(code, 'ruby').run_code
48
48
  expect(test_result.captured_output).to match('SystemExit')
49
49
  expect(test_result.success).to eq(true)
50
50
  end
51
- specify 'fails when the code exits with a non-zero exit status' do
51
+ specify "fails when the code exits with a non-zero exit status" do
52
52
  code = "puts 1 + 1; exit 1"
53
53
  test_result = SnippetRunner.new(code, 'ruby').run_code
54
54
  expect(test_result.captured_output).to match('SystemExit')
@@ -56,26 +56,26 @@ README
56
56
  end
57
57
 
58
58
  end
59
- context 'evaluating shell commands' do
60
- specify 'succeeds when the command runs without errors' do
59
+ context "evaluating shell commands" do
60
+ specify "succeeds when the command runs without errors" do
61
61
  code = "which ruby"
62
62
  test_result = SnippetRunner.new(code, 'sh').run_code
63
63
  expect(test_result.captured_output).to match("exit status 0")
64
64
  expect(test_result.success).to eq(true)
65
65
  end
66
- specify 'fails when the command runs with an error' do
66
+ specify "fails when the command runs with an error" do
67
67
  code = "sandwhich_fu ruby"
68
68
  test_result = SnippetRunner.new(code, 'sh').run_code
69
69
  expect(test_result.captured_output).to match(failed_command_error)
70
70
  expect(test_result.success).to eq(false)
71
71
  end
72
- specify 'succeeds when the code exits with a zero exit status' do
72
+ specify "succeeds when the code exits with a zero exit status" do
73
73
  code = "sh '#{fixtures_path.join('exit0.sh').to_path}'"
74
74
  test_result = SnippetRunner.new(code, 'sh').run_code
75
75
  expect(test_result.captured_output).to match("exit status 0")
76
76
  expect(test_result.success).to eq(true)
77
77
  end
78
- specify 'fails when the code exits with a non-zero exit status' do
78
+ specify "fails when the code exits with a non-zero exit status" do
79
79
  code = "sh '#{fixtures_path.join('exit1.sh').to_path}'"
80
80
  test_result = SnippetRunner.new(code, 'sh').run_code
81
81
  expect(test_result.captured_output).to match("exit status 1")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metric_fu
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.11.1
4
+ version: 4.11.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jake Scruggs
@@ -10,7 +10,7 @@ authors:
10
10
  - Petrik de Heus
11
11
  - Grant McInnes
12
12
  - Nick Quaranto
13
- - Édouard Brière
13
+ - "Édouard Brière"
14
14
  - Carl Youngblood
15
15
  - Richard Huang
16
16
  - Dan Mayer
@@ -19,296 +19,289 @@ authors:
19
19
  autorequire:
20
20
  bindir: bin
21
21
  cert_chain:
22
- - !binary |-
23
- LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURqakNDQW5hZ0F3SUJB
24
- Z0lCQVRBTkJna3Foa2lHOXcwQkFRVUZBREJHTVF3d0NnWURWUVFEREFOa1pY
25
- WXgKSVRBZkJnb0praWFKay9Jc1pBRVpGaEZpWlc1cVlXMXBibVpzWldselky
26
- aGxjakVUTUJFR0NnbVN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UsO2xI7I/B3es6w7le9q9xdEowlYjiR/X/yazNvufu5kpM4f6Ri1AKN8xvPk
31
+ LFlR8aOAd9LptcusYDfE+BjhmAvnLTgMGODcDLJIaJzLJaRywTLUuFv4digpFwCm
32
+ Zps9VheJnL4hkgI5BDn6DVjxHSCMRnccQM/kX9L34lbP9KkHXXEtQgkQYpElHbnd
33
+ MtR753aPeLfOBxSGzsso+6Lhe+fz8huD05mzgWaEZN40e6M7dA9FRSsEzL32ZOad
34
+ 0z13MZWj3Yg5srV/cZvzCDCdVvRphwIDAQABo4GMMIGJMAkGA1UdEwQCMAAwCwYD
35
+ VR0PBAQDAgSwMB0GA1UdDgQWBBQvUrPExdvmdz0Vau0dH3hRh1YQfDAnBgNVHREE
36
+ IDAegRxnaXRodWJAYmVuamFtaW5mbGVpc2NoZXIuY29tMCcGA1UdEgQgMB6BHGdp
37
+ dGh1YkBiZW5qYW1pbmZsZWlzY2hlci5jb20wDQYJKoZIhvcNAQEFBQADggEBAEWo
38
+ g1soMaRTT/OfFklTuP+odV0w+2qJSfJhOY5bIebDjqxb9BN7hZJ9L6WXhcXCvl6r
39
+ kuXjpcC05TIv1DoWWaSjGK2ADmEBDNVhaFepYidAYuUQN4+ZjVH/gS9V9OkBcE8h
40
+ 3ZwRv+9RkXM0uY1FwuGI6jgbgPeR1AkkfJnhOPohkG+VN5bFo9aK/Stw8Nwhuuiz
41
+ axCPD3cmaJBguufRXSMC852SDiBT7AtI4Gl2Fyr+0M5TzXHKbQ9xRBxwfE1bWDd6
42
+ lEs7ndJ1/vd/Hy0zQ1tIRWyql+ITLhqMi161Pw5flsYpQvPlRLR5pGJ4eD0/JdKE
43
+ ZG9WSFH7QcGLY65mEYc=
44
+ -----END CERTIFICATE-----
45
+ date: 2015-01-22 00:00:00.000000000 Z
53
46
  dependencies:
54
47
  - !ruby/object:Gem::Dependency
55
48
  name: flay
56
49
  requirement: !ruby/object:Gem::Requirement
57
50
  requirements:
58
- - - ! '>='
51
+ - - ">="
59
52
  - !ruby/object:Gem::Version
60
53
  version: 2.0.1
61
- - - ~>
54
+ - - "~>"
62
55
  - !ruby/object:Gem::Version
63
56
  version: '2.1'
64
57
  type: :runtime
65
58
  prerelease: false
66
59
  version_requirements: !ruby/object:Gem::Requirement
67
60
  requirements:
68
- - - ! '>='
61
+ - - ">="
69
62
  - !ruby/object:Gem::Version
70
63
  version: 2.0.1
71
- - - ~>
64
+ - - "~>"
72
65
  - !ruby/object:Gem::Version
73
66
  version: '2.1'
74
67
  - !ruby/object:Gem::Dependency
75
68
  name: churn
76
69
  requirement: !ruby/object:Gem::Requirement
77
70
  requirements:
78
- - - ~>
71
+ - - "~>"
79
72
  - !ruby/object:Gem::Version
80
73
  version: 0.0.35
81
74
  type: :runtime
82
75
  prerelease: false
83
76
  version_requirements: !ruby/object:Gem::Requirement
84
77
  requirements:
85
- - - ~>
78
+ - - "~>"
86
79
  - !ruby/object:Gem::Version
87
80
  version: 0.0.35
88
81
  - !ruby/object:Gem::Dependency
89
82
  name: flog
90
83
  requirement: !ruby/object:Gem::Requirement
91
84
  requirements:
92
- - - ! '>='
85
+ - - ">="
93
86
  - !ruby/object:Gem::Version
94
87
  version: 4.1.1
95
- - - ~>
88
+ - - "~>"
96
89
  - !ruby/object:Gem::Version
97
90
  version: '4.1'
98
91
  type: :runtime
99
92
  prerelease: false
100
93
  version_requirements: !ruby/object:Gem::Requirement
101
94
  requirements:
102
- - - ! '>='
95
+ - - ">="
103
96
  - !ruby/object:Gem::Version
104
97
  version: 4.1.1
105
- - - ~>
98
+ - - "~>"
106
99
  - !ruby/object:Gem::Version
107
100
  version: '4.1'
108
101
  - !ruby/object:Gem::Dependency
109
102
  name: reek
110
103
  requirement: !ruby/object:Gem::Requirement
111
104
  requirements:
112
- - - ! '>='
105
+ - - ">="
113
106
  - !ruby/object:Gem::Version
114
107
  version: 1.3.4
115
- - - ~>
108
+ - - "~>"
116
109
  - !ruby/object:Gem::Version
117
110
  version: '1.3'
118
111
  type: :runtime
119
112
  prerelease: false
120
113
  version_requirements: !ruby/object:Gem::Requirement
121
114
  requirements:
122
- - - ! '>='
115
+ - - ">="
123
116
  - !ruby/object:Gem::Version
124
117
  version: 1.3.4
125
- - - ~>
118
+ - - "~>"
126
119
  - !ruby/object:Gem::Version
127
120
  version: '1.3'
128
121
  - !ruby/object:Gem::Dependency
129
122
  name: cane
130
123
  requirement: !ruby/object:Gem::Requirement
131
124
  requirements:
132
- - - ! '>='
125
+ - - ">="
133
126
  - !ruby/object:Gem::Version
134
127
  version: 2.5.2
135
- - - ~>
128
+ - - "~>"
136
129
  - !ruby/object:Gem::Version
137
130
  version: '2.5'
138
131
  type: :runtime
139
132
  prerelease: false
140
133
  version_requirements: !ruby/object:Gem::Requirement
141
134
  requirements:
142
- - - ! '>='
135
+ - - ">="
143
136
  - !ruby/object:Gem::Version
144
137
  version: 2.5.2
145
- - - ~>
138
+ - - "~>"
146
139
  - !ruby/object:Gem::Version
147
140
  version: '2.5'
148
141
  - !ruby/object:Gem::Dependency
149
142
  name: rails_best_practices
150
143
  requirement: !ruby/object:Gem::Requirement
151
144
  requirements:
152
- - - ! '>='
145
+ - - ">="
153
146
  - !ruby/object:Gem::Version
154
147
  version: 1.14.3
155
- - - ~>
148
+ - - "~>"
156
149
  - !ruby/object:Gem::Version
157
150
  version: '1.14'
158
151
  type: :runtime
159
152
  prerelease: false
160
153
  version_requirements: !ruby/object:Gem::Requirement
161
154
  requirements:
162
- - - ! '>='
155
+ - - ">="
163
156
  - !ruby/object:Gem::Version
164
157
  version: 1.14.3
165
- - - ~>
158
+ - - "~>"
166
159
  - !ruby/object:Gem::Version
167
160
  version: '1.14'
168
161
  - !ruby/object:Gem::Dependency
169
162
  name: metric_fu-Saikuro
170
163
  requirement: !ruby/object:Gem::Requirement
171
164
  requirements:
172
- - - ! '>='
165
+ - - ">="
173
166
  - !ruby/object:Gem::Version
174
167
  version: 1.1.3
175
- - - ~>
168
+ - - "~>"
176
169
  - !ruby/object:Gem::Version
177
170
  version: '1.1'
178
171
  type: :runtime
179
172
  prerelease: false
180
173
  version_requirements: !ruby/object:Gem::Requirement
181
174
  requirements:
182
- - - ! '>='
175
+ - - ">="
183
176
  - !ruby/object:Gem::Version
184
177
  version: 1.1.3
185
- - - ~>
178
+ - - "~>"
186
179
  - !ruby/object:Gem::Version
187
180
  version: '1.1'
188
181
  - !ruby/object:Gem::Dependency
189
182
  name: roodi
190
183
  requirement: !ruby/object:Gem::Requirement
191
184
  requirements:
192
- - - ~>
185
+ - - "~>"
193
186
  - !ruby/object:Gem::Version
194
187
  version: '3.1'
195
188
  type: :runtime
196
189
  prerelease: false
197
190
  version_requirements: !ruby/object:Gem::Requirement
198
191
  requirements:
199
- - - ~>
192
+ - - "~>"
200
193
  - !ruby/object:Gem::Version
201
194
  version: '3.1'
202
195
  - !ruby/object:Gem::Dependency
203
196
  name: code_metrics
204
197
  requirement: !ruby/object:Gem::Requirement
205
198
  requirements:
206
- - - ~>
199
+ - - "~>"
207
200
  - !ruby/object:Gem::Version
208
201
  version: '0.1'
209
202
  type: :runtime
210
203
  prerelease: false
211
204
  version_requirements: !ruby/object:Gem::Requirement
212
205
  requirements:
213
- - - ~>
206
+ - - "~>"
214
207
  - !ruby/object:Gem::Version
215
208
  version: '0.1'
216
209
  - !ruby/object:Gem::Dependency
217
210
  name: redcard
218
211
  requirement: !ruby/object:Gem::Requirement
219
212
  requirements:
220
- - - ! '>='
213
+ - - ">="
221
214
  - !ruby/object:Gem::Version
222
215
  version: '0'
223
216
  type: :runtime
224
217
  prerelease: false
225
218
  version_requirements: !ruby/object:Gem::Requirement
226
219
  requirements:
227
- - - ! '>='
220
+ - - ">="
228
221
  - !ruby/object:Gem::Version
229
222
  version: '0'
230
223
  - !ruby/object:Gem::Dependency
231
224
  name: coderay
232
225
  requirement: !ruby/object:Gem::Requirement
233
226
  requirements:
234
- - - ! '>='
227
+ - - ">="
235
228
  - !ruby/object:Gem::Version
236
229
  version: '0'
237
230
  type: :runtime
238
231
  prerelease: false
239
232
  version_requirements: !ruby/object:Gem::Requirement
240
233
  requirements:
241
- - - ! '>='
234
+ - - ">="
242
235
  - !ruby/object:Gem::Version
243
236
  version: '0'
244
237
  - !ruby/object:Gem::Dependency
245
238
  name: multi_json
246
239
  requirement: !ruby/object:Gem::Requirement
247
240
  requirements:
248
- - - ! '>='
241
+ - - ">="
249
242
  - !ruby/object:Gem::Version
250
243
  version: '0'
251
244
  type: :runtime
252
245
  prerelease: false
253
246
  version_requirements: !ruby/object:Gem::Requirement
254
247
  requirements:
255
- - - ! '>='
248
+ - - ">="
256
249
  - !ruby/object:Gem::Version
257
250
  version: '0'
258
251
  - !ruby/object:Gem::Dependency
259
252
  name: launchy
260
253
  requirement: !ruby/object:Gem::Requirement
261
254
  requirements:
262
- - - ~>
255
+ - - "~>"
263
256
  - !ruby/object:Gem::Version
264
257
  version: '2.0'
265
258
  type: :runtime
266
259
  prerelease: false
267
260
  version_requirements: !ruby/object:Gem::Requirement
268
261
  requirements:
269
- - - ~>
262
+ - - "~>"
270
263
  - !ruby/object:Gem::Version
271
264
  version: '2.0'
272
265
  - !ruby/object:Gem::Dependency
273
266
  name: test_construct
274
267
  requirement: !ruby/object:Gem::Requirement
275
268
  requirements:
276
- - - ! '>='
269
+ - - ">="
277
270
  - !ruby/object:Gem::Version
278
271
  version: '0'
279
272
  type: :development
280
273
  prerelease: false
281
274
  version_requirements: !ruby/object:Gem::Requirement
282
275
  requirements:
283
- - - ! '>='
276
+ - - ">="
284
277
  - !ruby/object:Gem::Version
285
278
  version: '0'
286
279
  - !ruby/object:Gem::Dependency
287
280
  name: json
288
281
  requirement: !ruby/object:Gem::Requirement
289
282
  requirements:
290
- - - ! '>='
283
+ - - ">="
291
284
  - !ruby/object:Gem::Version
292
285
  version: '0'
293
286
  type: :development
294
287
  prerelease: false
295
288
  version_requirements: !ruby/object:Gem::Requirement
296
289
  requirements:
297
- - - ! '>='
290
+ - - ">="
298
291
  - !ruby/object:Gem::Version
299
292
  version: '0'
300
293
  - !ruby/object:Gem::Dependency
301
294
  name: simplecov
302
295
  requirement: !ruby/object:Gem::Requirement
303
296
  requirements:
304
- - - ! '>='
297
+ - - ">="
305
298
  - !ruby/object:Gem::Version
306
299
  version: '0'
307
300
  type: :development
308
301
  prerelease: false
309
302
  version_requirements: !ruby/object:Gem::Requirement
310
303
  requirements:
311
- - - ! '>='
304
+ - - ">="
312
305
  - !ruby/object:Gem::Version
313
306
  version: '0'
314
307
  description: Code metrics from Flog, Flay, Saikuro, Churn, Reek, Roodi, Code Statistics,
@@ -329,12 +322,12 @@ extra_rdoc_files:
329
322
  - TODO.md
330
323
  - MIT-LICENSE
331
324
  files:
332
- - .gitignore
333
- - .metrics
334
- - .rspec
335
- - .simplecov
336
- - .travis.yml
337
- - .yardopts
325
+ - ".gitignore"
326
+ - ".metrics"
327
+ - ".rspec"
328
+ - ".simplecov"
329
+ - ".travis.yml"
330
+ - ".yardopts"
338
331
  - AUTHORS
339
332
  - CONTRIBUTING.md
340
333
  - CONTRIBUTORS
@@ -357,6 +350,7 @@ files:
357
350
  - checksum/.gitkeep
358
351
  - checksum/metric_fu-4.10.0.gem.sha512
359
352
  - checksum/metric_fu-4.11.0.gem.sha512
353
+ - checksum/metric_fu-4.11.1.gem.sha512
360
354
  - checksum/metric_fu-4.2.0.gem.sha512
361
355
  - checksum/metric_fu-4.2.1.gem.sha512
362
356
  - checksum/metric_fu-4.3.0.gem.sha512
@@ -380,7 +374,6 @@ files:
380
374
  - config/roodi_config.yml
381
375
  - gem_tasks/build.rake
382
376
  - gem_tasks/usage_test.rake
383
- - gemfiles/Gemfile.travis
384
377
  - lib/metric_fu.rb
385
378
  - lib/metric_fu/calculate.rb
386
379
  - lib/metric_fu/cli/client.rb
@@ -615,23 +608,23 @@ licenses:
615
608
  metadata: {}
616
609
  post_install_message:
617
610
  rdoc_options:
618
- - --main
611
+ - "--main"
619
612
  - README.md
620
613
  require_paths:
621
614
  - lib
622
615
  required_ruby_version: !ruby/object:Gem::Requirement
623
616
  requirements:
624
- - - ! '>='
617
+ - - ">="
625
618
  - !ruby/object:Gem::Version
626
619
  version: 1.9.0
627
620
  required_rubygems_version: !ruby/object:Gem::Requirement
628
621
  requirements:
629
- - - ! '>='
622
+ - - ">="
630
623
  - !ruby/object:Gem::Version
631
624
  version: 1.3.6
632
625
  requirements: []
633
626
  rubyforge_project: metric_fu
634
- rubygems_version: 2.2.2
627
+ rubygems_version: 2.4.3
635
628
  signing_key:
636
629
  specification_version: 4
637
630
  summary: A fistful of code metrics, with awesome templates and graphs