reek 1.3.6 → 1.3.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (63) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG +6 -0
  3. data/README.md +11 -1
  4. data/config/defaults.reek +1 -0
  5. data/features/command_line_interface/options.feature +1 -0
  6. data/features/rake_task/rake_task.feature +3 -0
  7. data/features/ruby_api/api.feature +1 -3
  8. data/features/samples.feature +27 -20
  9. data/features/support/env.rb +2 -2
  10. data/lib/reek/cli/application.rb +0 -4
  11. data/lib/reek/cli/command_line.rb +10 -12
  12. data/lib/reek/cli/reek_command.rb +1 -1
  13. data/lib/reek/cli/report.rb +36 -8
  14. data/lib/reek/config_file_exception.rb +3 -0
  15. data/lib/reek/core/code_context.rb +18 -8
  16. data/lib/reek/core/code_parser.rb +65 -61
  17. data/lib/reek/core/method_context.rb +4 -0
  18. data/lib/reek/core/module_context.rb +2 -2
  19. data/lib/reek/core/smell_repository.rb +3 -0
  20. data/lib/reek/core/sniffer.rb +0 -1
  21. data/lib/reek/core/stop_context.rb +1 -1
  22. data/lib/reek/smells/attribute.rb +1 -1
  23. data/lib/reek/smells/control_parameter.rb +79 -45
  24. data/lib/reek/smells/data_clump.rb +1 -1
  25. data/lib/reek/smells/duplicate_method_call.rb +1 -1
  26. data/lib/reek/smells/long_parameter_list.rb +1 -1
  27. data/lib/reek/smells/long_yield_list.rb +1 -1
  28. data/lib/reek/smells/nested_iterators.rb +1 -1
  29. data/lib/reek/smells/nil_check.rb +10 -5
  30. data/lib/reek/smells/repeated_conditional.rb +1 -1
  31. data/lib/reek/smells/smell_detector.rb +2 -3
  32. data/lib/reek/smells/too_many_instance_variables.rb +1 -1
  33. data/lib/reek/smells/too_many_methods.rb +1 -1
  34. data/lib/reek/smells/too_many_statements.rb +1 -1
  35. data/lib/reek/smells/uncommunicative_method_name.rb +4 -4
  36. data/lib/reek/smells/uncommunicative_module_name.rb +4 -4
  37. data/lib/reek/smells/uncommunicative_parameter_name.rb +9 -9
  38. data/lib/reek/smells/uncommunicative_variable_name.rb +1 -1
  39. data/lib/reek/smells/unused_parameters.rb +2 -6
  40. data/lib/reek/smells/utility_function.rb +1 -1
  41. data/lib/reek/source/code_comment.rb +1 -1
  42. data/lib/reek/source/config_file.rb +9 -8
  43. data/lib/reek/source/sexp_extensions.rb +2 -2
  44. data/lib/reek/source/sexp_node.rb +8 -5
  45. data/lib/reek/source/source_repository.rb +5 -0
  46. data/lib/reek/version.rb +1 -1
  47. data/reek.gemspec +3 -2
  48. data/spec/reek/cli/report_spec.rb +38 -8
  49. data/spec/reek/core/code_context_spec.rb +35 -3
  50. data/spec/reek/core/module_context_spec.rb +1 -1
  51. data/spec/reek/smells/repeated_conditional_spec.rb +1 -1
  52. data/spec/reek/smells/smell_detector_shared.rb +1 -2
  53. data/spec/reek/smells/too_many_statements_spec.rb +39 -25
  54. data/spec/reek/smells/uncommunicative_parameter_name_spec.rb +44 -30
  55. data/spec/reek/smells/unused_parameters_spec.rb +15 -11
  56. data/spec/reek/source/sexp_extensions_spec.rb +2 -2
  57. data/spec/reek/source/sexp_node_spec.rb +0 -1
  58. data/spec/samples/ruby20_syntax.rb +1 -5
  59. metadata +172 -162
  60. data/lib/reek/cli/yaml_command.rb +0 -32
  61. data/lib/reek/core/hash_extensions.rb +0 -29
  62. data/spec/reek/cli/yaml_command_spec.rb +0 -47
  63. data/spec/reek/core/config_spec.rb +0 -38
@@ -1,10 +1,6 @@
1
1
  class SomeClass
2
2
  def method_with_keyword_arguments(foo: '123')
3
- if foo == '123'
4
- bar
5
- else
6
- baz
7
- end
3
+ puts foo
8
4
  end
9
5
 
10
6
  def make_symbol_list
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: reek
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.6
4
+ version: 1.3.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin Rutherford
@@ -10,132 +10,146 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2013-12-29 00:00:00.000000000 Z
13
+ date: 2014-03-25 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: ruby_parser
17
17
  requirement: !ruby/object:Gem::Requirement
18
18
  requirements:
19
- - - ~>
19
+ - - "~>"
20
20
  - !ruby/object:Gem::Version
21
- version: '3.2'
21
+ version: '3.3'
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  requirements:
26
- - - ~>
26
+ - - "~>"
27
27
  - !ruby/object:Gem::Version
28
- version: '3.2'
28
+ version: '3.3'
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: sexp_processor
31
31
  requirement: !ruby/object:Gem::Requirement
32
32
  requirements:
33
- - - '>='
33
+ - - ">="
34
34
  - !ruby/object:Gem::Version
35
35
  version: '0'
36
36
  type: :runtime
37
37
  prerelease: false
38
38
  version_requirements: !ruby/object:Gem::Requirement
39
39
  requirements:
40
- - - '>='
40
+ - - ">="
41
41
  - !ruby/object:Gem::Version
42
42
  version: '0'
43
43
  - !ruby/object:Gem::Dependency
44
44
  name: ruby2ruby
45
45
  requirement: !ruby/object:Gem::Requirement
46
46
  requirements:
47
- - - ~>
47
+ - - "~>"
48
48
  - !ruby/object:Gem::Version
49
- version: 2.0.7
49
+ version: 2.0.8
50
50
  type: :runtime
51
51
  prerelease: false
52
52
  version_requirements: !ruby/object:Gem::Requirement
53
53
  requirements:
54
- - - ~>
54
+ - - "~>"
55
55
  - !ruby/object:Gem::Version
56
- version: 2.0.7
56
+ version: 2.0.8
57
+ - !ruby/object:Gem::Dependency
58
+ name: rainbow
59
+ requirement: !ruby/object:Gem::Requirement
60
+ requirements:
61
+ - - ">="
62
+ - !ruby/object:Gem::Version
63
+ version: '0'
64
+ type: :runtime
65
+ prerelease: false
66
+ version_requirements: !ruby/object:Gem::Requirement
67
+ requirements:
68
+ - - ">="
69
+ - !ruby/object:Gem::Version
70
+ version: '0'
57
71
  - !ruby/object:Gem::Dependency
58
72
  name: bundler
59
73
  requirement: !ruby/object:Gem::Requirement
60
74
  requirements:
61
- - - ~>
75
+ - - "~>"
62
76
  - !ruby/object:Gem::Version
63
77
  version: '1.1'
64
78
  type: :development
65
79
  prerelease: false
66
80
  version_requirements: !ruby/object:Gem::Requirement
67
81
  requirements:
68
- - - ~>
82
+ - - "~>"
69
83
  - !ruby/object:Gem::Version
70
84
  version: '1.1'
71
85
  - !ruby/object:Gem::Dependency
72
86
  name: rake
73
87
  requirement: !ruby/object:Gem::Requirement
74
88
  requirements:
75
- - - '>='
89
+ - - ">="
76
90
  - !ruby/object:Gem::Version
77
91
  version: '0'
78
92
  type: :development
79
93
  prerelease: false
80
94
  version_requirements: !ruby/object:Gem::Requirement
81
95
  requirements:
82
- - - '>='
96
+ - - ">="
83
97
  - !ruby/object:Gem::Version
84
98
  version: '0'
85
99
  - !ruby/object:Gem::Dependency
86
100
  name: cucumber
87
101
  requirement: !ruby/object:Gem::Requirement
88
102
  requirements:
89
- - - '>='
103
+ - - ">="
90
104
  - !ruby/object:Gem::Version
91
105
  version: '0'
92
106
  type: :development
93
107
  prerelease: false
94
108
  version_requirements: !ruby/object:Gem::Requirement
95
109
  requirements:
96
- - - '>='
110
+ - - ">="
97
111
  - !ruby/object:Gem::Version
98
112
  version: '0'
99
113
  - !ruby/object:Gem::Dependency
100
114
  name: rspec
101
115
  requirement: !ruby/object:Gem::Requirement
102
116
  requirements:
103
- - - ~>
117
+ - - "~>"
104
118
  - !ruby/object:Gem::Version
105
119
  version: '2.12'
106
120
  type: :development
107
121
  prerelease: false
108
122
  version_requirements: !ruby/object:Gem::Requirement
109
123
  requirements:
110
- - - ~>
124
+ - - "~>"
111
125
  - !ruby/object:Gem::Version
112
126
  version: '2.12'
113
127
  - !ruby/object:Gem::Dependency
114
128
  name: flay
115
129
  requirement: !ruby/object:Gem::Requirement
116
130
  requirements:
117
- - - '>='
131
+ - - ">="
118
132
  - !ruby/object:Gem::Version
119
133
  version: '0'
120
134
  type: :development
121
135
  prerelease: false
122
136
  version_requirements: !ruby/object:Gem::Requirement
123
137
  requirements:
124
- - - '>='
138
+ - - ">="
125
139
  - !ruby/object:Gem::Version
126
140
  version: '0'
127
141
  - !ruby/object:Gem::Dependency
128
142
  name: yard
129
143
  requirement: !ruby/object:Gem::Requirement
130
144
  requirements:
131
- - - '>='
145
+ - - ">="
132
146
  - !ruby/object:Gem::Version
133
147
  version: '0'
134
148
  type: :development
135
149
  prerelease: false
136
150
  version_requirements: !ruby/object:Gem::Requirement
137
151
  requirements:
138
- - - '>='
152
+ - - ">="
139
153
  - !ruby/object:Gem::Version
140
154
  version: '0'
141
155
  description: |
@@ -150,224 +164,220 @@ extra_rdoc_files:
150
164
  - CHANGELOG
151
165
  - License.txt
152
166
  files:
153
- - .yardopts
167
+ - ".yardopts"
154
168
  - CHANGELOG
155
169
  - License.txt
156
170
  - README.md
157
171
  - Rakefile
158
172
  - bin/reek
159
173
  - config/defaults.reek
160
- - features/ruby_api/api.feature
174
+ - features/command_line_interface/options.feature
161
175
  - features/command_line_interface/smells_count.feature
162
176
  - features/command_line_interface/stdin.feature
163
- - features/command_line_interface/options.feature
164
- - features/step_definitions/reek_steps.rb
165
- - features/support/env.rb
166
- - features/samples.feature
167
- - features/reports/reports.feature
168
- - features/reports/yaml.feature
169
177
  - features/configuration_files/masking_smells.feature
170
178
  - features/configuration_files/overrides_defaults.feature
171
179
  - features/rake_task/rake_task.feature
180
+ - features/reports/reports.feature
181
+ - features/reports/yaml.feature
182
+ - features/ruby_api/api.feature
183
+ - features/samples.feature
184
+ - features/step_definitions/reek_steps.rb
185
+ - features/support/env.rb
172
186
  - lib/reek.rb
173
- - lib/reek/spec.rb
174
- - lib/reek/spec/should_reek_of.rb
175
- - lib/reek/spec/should_reek_only_of.rb
176
- - lib/reek/spec/should_reek.rb
177
- - lib/reek/cli/version_command.rb
178
187
  - lib/reek/cli/application.rb
179
188
  - lib/reek/cli/command_line.rb
180
- - lib/reek/cli/yaml_command.rb
181
189
  - lib/reek/cli/help_command.rb
182
- - lib/reek/cli/report.rb
183
190
  - lib/reek/cli/reek_command.rb
191
+ - lib/reek/cli/report.rb
192
+ - lib/reek/cli/version_command.rb
193
+ - lib/reek/config_file_exception.rb
194
+ - lib/reek/core/code_context.rb
195
+ - lib/reek/core/code_parser.rb
196
+ - lib/reek/core/method_context.rb
197
+ - lib/reek/core/module_context.rb
198
+ - lib/reek/core/object_refs.rb
199
+ - lib/reek/core/singleton_method_context.rb
200
+ - lib/reek/core/smell_configuration.rb
201
+ - lib/reek/core/smell_repository.rb
202
+ - lib/reek/core/sniffer.rb
203
+ - lib/reek/core/stop_context.rb
204
+ - lib/reek/core/warning_collector.rb
184
205
  - lib/reek/examiner.rb
185
206
  - lib/reek/rake/task.rb
186
207
  - lib/reek/smell_warning.rb
187
- - lib/reek/version.rb
188
- - lib/reek/smells/boolean_parameter.rb
189
- - lib/reek/smells/uncommunicative_parameter_name.rb
190
- - lib/reek/smells/prima_donna_method.rb
191
- - lib/reek/smells/unused_parameters.rb
192
- - lib/reek/smells/long_yield_list.rb
208
+ - lib/reek/smells.rb
193
209
  - lib/reek/smells/attribute.rb
194
- - lib/reek/smells/uncommunicative_method_name.rb
195
- - lib/reek/smells/repeated_conditional.rb
196
- - lib/reek/smells/nil_check.rb
210
+ - lib/reek/smells/boolean_parameter.rb
197
211
  - lib/reek/smells/class_variable.rb
198
- - lib/reek/smells/long_parameter_list.rb
212
+ - lib/reek/smells/control_parameter.rb
213
+ - lib/reek/smells/data_clump.rb
214
+ - lib/reek/smells/duplicate_method_call.rb
199
215
  - lib/reek/smells/feature_envy.rb
200
216
  - lib/reek/smells/irresponsible_module.rb
201
- - lib/reek/smells/utility_function.rb
202
- - lib/reek/smells/data_clump.rb
203
- - lib/reek/smells/too_many_methods.rb
204
- - lib/reek/smells/uncommunicative_variable_name.rb
205
- - lib/reek/smells/uncommunicative_module_name.rb
217
+ - lib/reek/smells/long_parameter_list.rb
218
+ - lib/reek/smells/long_yield_list.rb
206
219
  - lib/reek/smells/nested_iterators.rb
207
- - lib/reek/smells/control_parameter.rb
208
- - lib/reek/smells/too_many_instance_variables.rb
220
+ - lib/reek/smells/nil_check.rb
221
+ - lib/reek/smells/prima_donna_method.rb
222
+ - lib/reek/smells/repeated_conditional.rb
209
223
  - lib/reek/smells/smell_detector.rb
210
- - lib/reek/smells/duplicate_method_call.rb
224
+ - lib/reek/smells/too_many_instance_variables.rb
225
+ - lib/reek/smells/too_many_methods.rb
211
226
  - lib/reek/smells/too_many_statements.rb
212
- - lib/reek/config_file_exception.rb
213
- - lib/reek/smells.rb
227
+ - lib/reek/smells/uncommunicative_method_name.rb
228
+ - lib/reek/smells/uncommunicative_module_name.rb
229
+ - lib/reek/smells/uncommunicative_parameter_name.rb
230
+ - lib/reek/smells/uncommunicative_variable_name.rb
231
+ - lib/reek/smells/unused_parameters.rb
232
+ - lib/reek/smells/utility_function.rb
233
+ - lib/reek/source.rb
234
+ - lib/reek/source/code_comment.rb
214
235
  - lib/reek/source/config_file.rb
215
- - lib/reek/source/source_code.rb
216
- - lib/reek/source/sexp_node.rb
217
- - lib/reek/source/sexp_formatter.rb
218
- - lib/reek/source/source_repository.rb
219
- - lib/reek/source/sexp_extensions.rb
220
- - lib/reek/source/reference_collector.rb
221
236
  - lib/reek/source/core_extras.rb
237
+ - lib/reek/source/reference_collector.rb
238
+ - lib/reek/source/sexp_extensions.rb
239
+ - lib/reek/source/sexp_formatter.rb
240
+ - lib/reek/source/sexp_node.rb
241
+ - lib/reek/source/source_code.rb
222
242
  - lib/reek/source/source_file.rb
223
- - lib/reek/source/code_comment.rb
224
243
  - lib/reek/source/source_locator.rb
244
+ - lib/reek/source/source_repository.rb
225
245
  - lib/reek/source/tree_dresser.rb
226
- - lib/reek/source.rb
227
- - lib/reek/core/smell_configuration.rb
228
- - lib/reek/core/method_context.rb
229
- - lib/reek/core/code_parser.rb
230
- - lib/reek/core/module_context.rb
231
- - lib/reek/core/stop_context.rb
232
- - lib/reek/core/code_context.rb
233
- - lib/reek/core/sniffer.rb
234
- - lib/reek/core/hash_extensions.rb
235
- - lib/reek/core/smell_repository.rb
236
- - lib/reek/core/object_refs.rb
237
- - lib/reek/core/singleton_method_context.rb
238
- - lib/reek/core/warning_collector.rb
246
+ - lib/reek/spec.rb
247
+ - lib/reek/spec/should_reek.rb
248
+ - lib/reek/spec/should_reek_of.rb
249
+ - lib/reek/spec/should_reek_only_of.rb
250
+ - lib/reek/version.rb
251
+ - reek.gemspec
252
+ - spec/gem/updates_spec.rb
253
+ - spec/gem/yard_spec.rb
239
254
  - spec/matchers/smell_of_matcher.rb
240
- - spec/spec_helper.rb
241
- - spec/reek/spec/should_reek_of_spec.rb
242
- - spec/reek/spec/should_reek_spec.rb
243
- - spec/reek/spec/should_reek_only_of_spec.rb
244
- - spec/reek/examiner_spec.rb
245
255
  - spec/reek/cli/help_command_spec.rb
246
- - spec/reek/cli/yaml_command_spec.rb
247
256
  - spec/reek/cli/report_spec.rb
248
257
  - spec/reek/cli/version_command_spec.rb
249
- - spec/reek/smells/prima_donna_method_spec.rb
258
+ - spec/reek/core/code_context_spec.rb
259
+ - spec/reek/core/code_parser_spec.rb
260
+ - spec/reek/core/method_context_spec.rb
261
+ - spec/reek/core/module_context_spec.rb
262
+ - spec/reek/core/object_refs_spec.rb
263
+ - spec/reek/core/singleton_method_context_spec.rb
264
+ - spec/reek/core/smell_configuration_spec.rb
265
+ - spec/reek/core/stop_context_spec.rb
266
+ - spec/reek/core/warning_collector_spec.rb
267
+ - spec/reek/examiner_spec.rb
268
+ - spec/reek/smell_warning_spec.rb
269
+ - spec/reek/smells/attribute_spec.rb
270
+ - spec/reek/smells/behaves_like_variable_detector.rb
250
271
  - spec/reek/smells/boolean_parameter_spec.rb
251
- - spec/reek/smells/uncommunicative_method_name_spec.rb
252
- - spec/reek/smells/uncommunicative_module_name_spec.rb
253
- - spec/reek/smells/too_many_statements_spec.rb
254
272
  - spec/reek/smells/class_variable_spec.rb
255
- - spec/reek/smells/long_yield_list_spec.rb
256
273
  - spec/reek/smells/control_parameter_spec.rb
257
- - spec/reek/smells/unused_parameters_spec.rb
258
- - spec/reek/smells/uncommunicative_parameter_name_spec.rb
259
- - spec/reek/smells/long_parameter_list_spec.rb
260
- - spec/reek/smells/attribute_spec.rb
261
274
  - spec/reek/smells/data_clump_spec.rb
275
+ - spec/reek/smells/duplicate_method_call_spec.rb
262
276
  - spec/reek/smells/feature_envy_spec.rb
263
- - spec/reek/smells/smell_detector_shared.rb
264
- - spec/reek/smells/utility_function_spec.rb
277
+ - spec/reek/smells/irresponsible_module_spec.rb
278
+ - spec/reek/smells/long_parameter_list_spec.rb
279
+ - spec/reek/smells/long_yield_list_spec.rb
265
280
  - spec/reek/smells/nested_iterators_spec.rb
266
- - spec/reek/smells/duplicate_method_call_spec.rb
281
+ - spec/reek/smells/nil_check_spec.rb
282
+ - spec/reek/smells/prima_donna_method_spec.rb
283
+ - spec/reek/smells/repeated_conditional_spec.rb
284
+ - spec/reek/smells/smell_detector_shared.rb
267
285
  - spec/reek/smells/too_many_instance_variables_spec.rb
268
286
  - spec/reek/smells/too_many_methods_spec.rb
269
- - spec/reek/smells/behaves_like_variable_detector.rb
270
- - spec/reek/smells/repeated_conditional_spec.rb
271
- - spec/reek/smells/nil_check_spec.rb
272
- - spec/reek/smells/irresponsible_module_spec.rb
287
+ - spec/reek/smells/too_many_statements_spec.rb
288
+ - spec/reek/smells/uncommunicative_method_name_spec.rb
289
+ - spec/reek/smells/uncommunicative_module_name_spec.rb
290
+ - spec/reek/smells/uncommunicative_parameter_name_spec.rb
273
291
  - spec/reek/smells/uncommunicative_variable_name_spec.rb
274
- - spec/reek/smell_warning_spec.rb
275
- - spec/reek/source/sexp_node_spec.rb
276
- - spec/reek/source/reference_collector_spec.rb
277
- - spec/reek/source/tree_dresser_spec.rb
278
- - spec/reek/source/sexp_formatter_spec.rb
292
+ - spec/reek/smells/unused_parameters_spec.rb
293
+ - spec/reek/smells/utility_function_spec.rb
279
294
  - spec/reek/source/code_comment_spec.rb
280
- - spec/reek/source/sexp_extensions_spec.rb
281
295
  - spec/reek/source/object_source_spec.rb
296
+ - spec/reek/source/reference_collector_spec.rb
297
+ - spec/reek/source/sexp_extensions_spec.rb
298
+ - spec/reek/source/sexp_formatter_spec.rb
299
+ - spec/reek/source/sexp_node_spec.rb
282
300
  - spec/reek/source/source_code_spec.rb
283
- - spec/reek/core/object_refs_spec.rb
284
- - spec/reek/core/warning_collector_spec.rb
285
- - spec/reek/core/stop_context_spec.rb
286
- - spec/reek/core/config_spec.rb
287
- - spec/reek/core/code_parser_spec.rb
288
- - spec/reek/core/smell_configuration_spec.rb
289
- - spec/reek/core/module_context_spec.rb
290
- - spec/reek/core/method_context_spec.rb
291
- - spec/reek/core/code_context_spec.rb
292
- - spec/reek/core/singleton_method_context_spec.rb
293
- - spec/gem/updates_spec.rb
294
- - spec/gem/yard_spec.rb
295
- - spec/samples/three_clean_files/clean_one.rb
296
- - spec/samples/three_clean_files/clean_two.rb
297
- - spec/samples/three_clean_files/clean_three.rb
298
- - spec/samples/three_smelly_files/dirty_three.rb
299
- - spec/samples/three_smelly_files/dirty_two.rb
300
- - spec/samples/three_smelly_files/dirty_one.rb
301
+ - spec/reek/source/tree_dresser_spec.rb
302
+ - spec/reek/spec/should_reek_of_spec.rb
303
+ - spec/reek/spec/should_reek_only_of_spec.rb
304
+ - spec/reek/spec/should_reek_spec.rb
305
+ - spec/samples/all_but_one_masked/clean_one.rb
306
+ - spec/samples/all_but_one_masked/dirty.rb
307
+ - spec/samples/all_but_one_masked/masked.reek
308
+ - spec/samples/clean_due_to_masking/clean_one.rb
309
+ - spec/samples/clean_due_to_masking/clean_three.rb
310
+ - spec/samples/clean_due_to_masking/clean_two.rb
311
+ - spec/samples/clean_due_to_masking/dirty_one.rb
312
+ - spec/samples/clean_due_to_masking/dirty_two.rb
313
+ - spec/samples/clean_due_to_masking/masked.reek
301
314
  - spec/samples/config/allow_duplication.reek
302
315
  - spec/samples/config/deeper_nested_iterators.reek
303
- - spec/samples/overrides/upper.reek
304
- - spec/samples/overrides/masked/dirty.rb
305
- - spec/samples/overrides/masked/lower.reek
306
- - spec/samples/masked_by_dotfile/dirty.rb
307
- - spec/samples/demo/demo.rb
308
- - spec/samples/redcloth.rb
309
- - spec/samples/inline_config/masked.reek
310
- - spec/samples/inline_config/dirty.rb
311
316
  - spec/samples/corrupt_config_file/corrupt.reek
312
317
  - spec/samples/corrupt_config_file/dirty.rb
318
+ - spec/samples/demo/demo.rb
313
319
  - spec/samples/empty_config_file/dirty.rb
314
320
  - spec/samples/empty_config_file/empty.reek
315
- - spec/samples/masked/masked.reek
316
- - spec/samples/masked/dirty.rb
317
- - spec/samples/all_but_one_masked/masked.reek
318
- - spec/samples/all_but_one_masked/clean_one.rb
319
- - spec/samples/all_but_one_masked/dirty.rb
320
- - spec/samples/ruby20_syntax.rb
321
+ - spec/samples/exceptions.reek
321
322
  - spec/samples/inline.rb
323
+ - spec/samples/inline_config/dirty.rb
324
+ - spec/samples/inline_config/masked.reek
322
325
  - spec/samples/mask_some/dirty.rb
323
326
  - spec/samples/mask_some/some.reek
324
- - spec/samples/overrides_defaults/config.reek
325
- - spec/samples/overrides_defaults/camel_case.rb
326
- - spec/samples/not_quite_masked/masked.reek
327
- - spec/samples/not_quite_masked/dirty.rb
328
- - spec/samples/not_quite_masked/smelly.rb
329
- - spec/samples/exceptions.reek
330
- - spec/samples/mixed_results/dirty_two.rb
331
- - spec/samples/mixed_results/dirty_one.rb
327
+ - spec/samples/masked/dirty.rb
328
+ - spec/samples/masked/masked.reek
329
+ - spec/samples/masked_by_dotfile/dirty.rb
332
330
  - spec/samples/mixed_results/clean_one.rb
333
- - spec/samples/mixed_results/clean_two.rb
334
331
  - spec/samples/mixed_results/clean_three.rb
335
- - spec/samples/clean_due_to_masking/dirty_two.rb
336
- - spec/samples/clean_due_to_masking/masked.reek
337
- - spec/samples/clean_due_to_masking/dirty_one.rb
338
- - spec/samples/clean_due_to_masking/clean_one.rb
339
- - spec/samples/clean_due_to_masking/clean_two.rb
340
- - spec/samples/clean_due_to_masking/clean_three.rb
332
+ - spec/samples/mixed_results/clean_two.rb
333
+ - spec/samples/mixed_results/dirty_one.rb
334
+ - spec/samples/mixed_results/dirty_two.rb
341
335
  - spec/samples/no_config_file/dirty.rb
336
+ - spec/samples/not_quite_masked/dirty.rb
337
+ - spec/samples/not_quite_masked/masked.reek
338
+ - spec/samples/not_quite_masked/smelly.rb
342
339
  - spec/samples/optparse.rb
343
- - spec/samples/two_smelly_files/dirty_two.rb
340
+ - spec/samples/overrides/masked/dirty.rb
341
+ - spec/samples/overrides/masked/lower.reek
342
+ - spec/samples/overrides/upper.reek
343
+ - spec/samples/overrides_defaults/camel_case.rb
344
+ - spec/samples/overrides_defaults/config.reek
345
+ - spec/samples/redcloth.rb
346
+ - spec/samples/ruby20_syntax.rb
347
+ - spec/samples/three_clean_files/clean_one.rb
348
+ - spec/samples/three_clean_files/clean_three.rb
349
+ - spec/samples/three_clean_files/clean_two.rb
350
+ - spec/samples/three_smelly_files/dirty_one.rb
351
+ - spec/samples/three_smelly_files/dirty_three.rb
352
+ - spec/samples/three_smelly_files/dirty_two.rb
344
353
  - spec/samples/two_smelly_files/dirty_one.rb
345
- - tasks/test.rake
346
- - tasks/reek.rake
354
+ - spec/samples/two_smelly_files/dirty_two.rb
355
+ - spec/spec_helper.rb
347
356
  - tasks/develop.rake
348
- - reek.gemspec
357
+ - tasks/reek.rake
358
+ - tasks/test.rake
349
359
  homepage: http://wiki.github.com/troessner/reek
350
360
  licenses: []
351
361
  metadata: {}
352
362
  post_install_message: Thank you for downloading Reek. For info see the reek wiki http://wiki.github.com/troessner/reek
353
363
  rdoc_options:
354
- - --main
364
+ - "--main"
355
365
  - README.md
356
366
  require_paths:
357
367
  - lib
358
368
  required_ruby_version: !ruby/object:Gem::Requirement
359
369
  requirements:
360
- - - '>='
370
+ - - ">="
361
371
  - !ruby/object:Gem::Version
362
372
  version: '0'
363
373
  required_rubygems_version: !ruby/object:Gem::Requirement
364
374
  requirements:
365
- - - '>='
375
+ - - ">="
366
376
  - !ruby/object:Gem::Version
367
377
  version: '0'
368
378
  requirements: []
369
379
  rubyforge_project: reek
370
- rubygems_version: 2.1.11
380
+ rubygems_version: 2.2.2
371
381
  signing_key:
372
382
  specification_version: 4
373
383
  summary: Code smell detector for Ruby