preek 1.6.0 → 1.7.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: 7b64b0dc9727407560c0f4299922a3babc94ba77
4
- data.tar.gz: 0e6a17def70678dba079d7686fe85da2011072e7
3
+ metadata.gz: e48004f67bca069802db49376f0bb32fa9638362
4
+ data.tar.gz: 725a7569b252bf18bbef1444a80b902969421b67
5
5
  SHA512:
6
- metadata.gz: 1e34fec2c37c6e545d076267961dd9a3656c8a71d0033cda693cf7c4362186ac03851744f50349ee902aeb754045083d17d73b6aa3754b4380c9d0a9fee7e31d
7
- data.tar.gz: 08a470789a8e1c6809d525e597f25350f1e8e61e0953c07f1df31686fade7be2653123350dec2596fd2b380c4ce221da8b57c7d042127bcaef5340c9057bed9d
6
+ metadata.gz: bdb76db9b862b438c8bef6392c243b6d33919697fb219e1ebd406450f6efbee475b9470928ef540aee09ac135f151f08b33212203155204397aed7d83a393055
7
+ data.tar.gz: 734525e37ccb9978b8ca3b1ac21c11f529e704bfa89e5feb62276b399701dfe46d92bec8fae640699aaaed6da5f23a9a729a158e368652416041f0594abda96a
@@ -32,7 +32,7 @@ module Preek
32
32
 
33
33
  def filter_excludes_from(examiner)
34
34
  examiner.smells.delete_if do |smell|
35
- @excludes.include? smell.smell_class
35
+ @excludes.include? smell.smell_type
36
36
  end
37
37
  end
38
38
 
@@ -10,7 +10,7 @@ module Reek
10
10
  end
11
11
 
12
12
  def smell_string
13
- "#{smell_method} #{message} (#{subclass}) at lines #{Array(lines)*','}"
13
+ "#{smell_method} #{message} (#{smell_type}) at lines #{Array(lines)*','}"
14
14
  end
15
15
  end
16
16
  end
@@ -1,3 +1,3 @@
1
1
  module Preek
2
- VERSION = "1.6.0"
2
+ VERSION = "1.7.0"
3
3
  end
@@ -17,10 +17,10 @@ Gem::Specification.new do |gem|
17
17
  gem.require_paths = ["lib"]
18
18
  gem.version = Preek::VERSION
19
19
  gem.add_runtime_dependency "thor", "~> 0.18"
20
- gem.add_runtime_dependency "reek", "~> 1.5.1"
21
- gem.add_development_dependency "rspec", "~> 2.14.1"
22
- gem.add_development_dependency "rspec-given"
20
+ gem.add_runtime_dependency "reek", "~> 1.6.3"
21
+ gem.add_development_dependency "rspec", "~> 3.1.0"
22
+ gem.add_development_dependency "rspec-given", "~> 3.6.0"
23
23
  gem.add_development_dependency "guard", "~> 2.3.0"
24
- gem.add_development_dependency "guard-rspec", "~> 4.2.5"
24
+ gem.add_development_dependency "guard-rspec", "~> 4.2.10"
25
25
  gem.add_development_dependency 'coveralls'
26
26
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: preek
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.0
4
+ version: 1.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jon Neverland
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-18 00:00:00.000000000 Z
11
+ date: 2015-01-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -30,42 +30,42 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 1.5.1
33
+ version: 1.6.3
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 1.5.1
40
+ version: 1.6.3
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rspec
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 2.14.1
47
+ version: 3.1.0
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 2.14.1
54
+ version: 3.1.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rspec-given
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ">="
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '0'
61
+ version: 3.6.0
62
62
  type: :development
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'
68
+ version: 3.6.0
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: guard
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -86,14 +86,14 @@ dependencies:
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: 4.2.5
89
+ version: 4.2.10
90
90
  type: :development
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: 4.2.5
96
+ version: 4.2.10
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: coveralls
99
99
  requirement: !ruby/object:Gem::Requirement