clint_eastwood 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/clint_eastwood.rb +0 -1
- data/lib/clint_eastwood/version.rb +1 -1
- metadata +1 -2
- data/lib/better_reek.rb +0 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d5980ab39bb65720071e64416661e90636db05ee
|
4
|
+
data.tar.gz: 892de2187258ad39b011979d583973d0a04c9953
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bee85c02d878e28e481caa4f3af66481516dc794eaae6b9c5e5638812b2949518fbefeebe9f3693a2bac64f6e09c5ba1ae6e78784b92e210da68b6ffc49c015b
|
7
|
+
data.tar.gz: 37f9357fa23fe83434cc54e2cb768a76cc0a760204dadd4d6703273c9f64dd89716b7051098b013ba756ff96fc203376fd67c3098b0646d12247642adc19094e
|
data/lib/clint_eastwood.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: clint_eastwood
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joey Lorich
|
@@ -115,7 +115,6 @@ files:
|
|
115
115
|
- config/reek.yml
|
116
116
|
- config/rubocop.yml
|
117
117
|
- lib/better_rails_best_practices.rb
|
118
|
-
- lib/better_reek.rb
|
119
118
|
- lib/clint_eastwood.rb
|
120
119
|
- lib/clint_eastwood/cli.rb
|
121
120
|
- lib/clint_eastwood/version.rb
|
data/lib/better_reek.rb
DELETED
@@ -1,13 +0,0 @@
|
|
1
|
-
require 'reek/cli/application'
|
2
|
-
|
3
|
-
# Ignores log and WorkerError::log commands in the reek line count
|
4
|
-
class Reek::Core::CodeParser
|
5
|
-
def process_call(exp)
|
6
|
-
(exp.method_name == :log) &&
|
7
|
-
(!exp.receiver || exp.receiver.value == :WorkerError) &&
|
8
|
-
@element.count_statements(-1)
|
9
|
-
|
10
|
-
@element.record_call_to(exp)
|
11
|
-
process_default(exp)
|
12
|
-
end
|
13
|
-
end
|