reek 4.0.0.pre1 → 4.0.0
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 +4 -4
- data/.codeclimate.yml +11 -2
- data/.gitignore +1 -0
- data/.travis.yml +1 -0
- data/CHANGELOG.md +8 -0
- data/Gemfile +3 -0
- data/README.md +2 -0
- data/docs/Attribute.md +1 -1
- data/docs/Uncommunicative-Method-Name.md +32 -2
- data/docs/Uncommunicative-Module-Name.md +29 -2
- data/docs/Uncommunicative-Parameter-Name.md +30 -2
- data/features/configuration_files/accept_setting.feature +70 -0
- data/features/configuration_files/exclude_directives.feature +34 -0
- data/features/configuration_files/mix_accept_reject_setting.feature +81 -0
- data/features/configuration_files/reject_setting.feature +78 -0
- data/features/configuration_files/unused_private_method.feature +66 -0
- data/lib/reek/configuration/app_configuration.rb +0 -30
- data/lib/reek/context/method_context.rb +15 -1
- data/lib/reek/smells/uncommunicative_method_name.rb +8 -7
- data/lib/reek/smells/uncommunicative_module_name.rb +8 -8
- data/lib/reek/smells/uncommunicative_parameter_name.rb +9 -7
- data/lib/reek/smells/unused_private_method.rb +7 -2
- data/lib/reek/version.rb +1 -1
- data/reek.gemspec +3 -4
- data/spec/reek/configuration/app_configuration_spec.rb +6 -27
- data/spec/reek/smells/uncommunicative_method_name_spec.rb +72 -16
- data/spec/reek/smells/uncommunicative_module_name_spec.rb +60 -47
- data/spec/reek/smells/uncommunicative_parameter_name_spec.rb +55 -9
- data/spec/reek/smells/unused_parameters_spec.rb +9 -0
- data/spec/reek/smells/unused_private_method_spec.rb +38 -0
- data/spec/reek/smells/utility_function_spec.rb +3 -5
- data/spec/spec_helper.rb +28 -1
- metadata +11 -7
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: 4.0.0
|
4
|
+
version: 4.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kevin Rutherford
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2016-03-
|
14
|
+
date: 2016-03-21 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: codeclimate-engine-rb
|
@@ -61,9 +61,8 @@ dependencies:
|
|
61
61
|
- - "~>"
|
62
62
|
- !ruby/object:Gem::Version
|
63
63
|
version: '2.0'
|
64
|
-
description:
|
65
|
-
|
66
|
-
any code smells it finds.
|
64
|
+
description: Reek is a tool that examines Ruby classes, modules and methods and reports
|
65
|
+
any code smells it finds.
|
67
66
|
email:
|
68
67
|
- timo.roessner@googlemail.com
|
69
68
|
executables:
|
@@ -143,8 +142,13 @@ files:
|
|
143
142
|
- features/command_line_interface/smell_selection.feature
|
144
143
|
- features/command_line_interface/smells_count.feature
|
145
144
|
- features/command_line_interface/stdin.feature
|
145
|
+
- features/configuration_files/accept_setting.feature
|
146
146
|
- features/configuration_files/directory_specific_directives.feature
|
147
|
+
- features/configuration_files/exclude_directives.feature
|
147
148
|
- features/configuration_files/masking_smells.feature
|
149
|
+
- features/configuration_files/mix_accept_reject_setting.feature
|
150
|
+
- features/configuration_files/reject_setting.feature
|
151
|
+
- features/configuration_files/unused_private_method.feature
|
148
152
|
- features/configuration_loading.feature
|
149
153
|
- features/programmatic_access.feature
|
150
154
|
- features/rake_task/rake_task.feature
|
@@ -396,9 +400,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
396
400
|
version: 2.1.0
|
397
401
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
398
402
|
requirements:
|
399
|
-
- - "
|
403
|
+
- - ">="
|
400
404
|
- !ruby/object:Gem::Version
|
401
|
-
version:
|
405
|
+
version: '0'
|
402
406
|
requirements: []
|
403
407
|
rubyforge_project:
|
404
408
|
rubygems_version: 2.5.1
|