rubocop-git 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +2 -1
- data/Appraisals +1 -0
- data/gemfiles/0.48.gemfile +7 -0
- data/lib/rubocop/git/runner.rb +3 -1
- data/lib/rubocop/git/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5604904c5443b33444b5fa27d8b38216d01ff50b
|
4
|
+
data.tar.gz: 869f3d7f22ad2387b3be67fa2596ff9c3c893a19
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ea35cdf3464594bfee776310930c94c9e86714890e746276021abf1f7224c8d699ed6a19b7aae939f02211c7f2abc2a419b9d19d14beb26a7e5adb92b416a13c
|
7
|
+
data.tar.gz: a09c1bf15426bb61ff8335cdf2203ea55773d07bef998f8ff489b9a28b47e2c3c3d2945520e0e61634a62cfc190457481666d5ecbde4f581b588bb6350b97e83
|
data/.travis.yml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
language: ruby
|
2
2
|
rvm:
|
3
3
|
- 2.1.10
|
4
|
-
- 2.4.
|
4
|
+
- 2.4.1
|
5
5
|
gemfile:
|
6
6
|
- gemfiles/0.24.gemfile
|
7
7
|
- gemfiles/0.25.gemfile
|
@@ -27,5 +27,6 @@ gemfile:
|
|
27
27
|
- gemfiles/0.45.gemfile
|
28
28
|
- gemfiles/0.46.gemfile
|
29
29
|
- gemfiles/0.47.gemfile
|
30
|
+
- gemfiles/0.48.gemfile
|
30
31
|
before_install:
|
31
32
|
- gem update --system
|
data/Appraisals
CHANGED
data/lib/rubocop/git/runner.rb
CHANGED
@@ -47,9 +47,11 @@ module RuboCop
|
|
47
47
|
formatter.started(nil)
|
48
48
|
|
49
49
|
violations.map do |violation|
|
50
|
+
offenses = violation.offenses
|
51
|
+
offenses = offenses.reject(&:disabled?) if offenses.first.respond_to?(:disabled?)
|
50
52
|
formatter.file_finished(
|
51
53
|
violation.filename,
|
52
|
-
|
54
|
+
offenses.compact.sort.freeze
|
53
55
|
)
|
54
56
|
end
|
55
57
|
|
data/lib/rubocop/git/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop-git
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Masaki Takeuchi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-04-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -120,6 +120,7 @@ files:
|
|
120
120
|
- gemfiles/0.45.gemfile
|
121
121
|
- gemfiles/0.46.gemfile
|
122
122
|
- gemfiles/0.47.gemfile
|
123
|
+
- gemfiles/0.48.gemfile
|
123
124
|
- hound.yml
|
124
125
|
- lib/rubocop/git.rb
|
125
126
|
- lib/rubocop/git/cli.rb
|
@@ -161,7 +162,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
161
162
|
version: '0'
|
162
163
|
requirements: []
|
163
164
|
rubyforge_project:
|
164
|
-
rubygems_version: 2.6.
|
165
|
+
rubygems_version: 2.6.11
|
165
166
|
signing_key:
|
166
167
|
specification_version: 4
|
167
168
|
summary: RuboCop for git diff.
|