rubocop-git 0.0.4 → 0.0.5

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: b0ca6ace437f984e37bf143001946c10dbbda302
4
- data.tar.gz: 1503eabb1fd43beff2c9926b772fc8e8f901817c
3
+ metadata.gz: bbcc847050e43ef716838ab44ac90c7b49e21c0f
4
+ data.tar.gz: f2247c420ef864bb7380228da7996815487d7e8e
5
5
  SHA512:
6
- metadata.gz: 6f42ae3120077b3dabde850152375996068bacfed19a98806b580fea0836e99f76b1d93702a2ddfa99c6bc90711905189598e3e36240c08d3bfd8dbefef7111c
7
- data.tar.gz: fa802707a151e871aa9d3481298e926e2759acd318de217bbcb85f584c129fd156a9729b8e912032db7612ebdd78ef88682d551f8332080462a7fd19637cad68
6
+ metadata.gz: 80e814265a952def43f0fda8b419dd0889831c3a23d6375712fa2053bf79fa4b489f9db66eb57e838a69b72810460f1e956024b00341f05a9078fa973e64bf92
7
+ data.tar.gz: d19768c12c7248cd5f547df64c4e758ad4284119297c38c86095fc55fef2851fa43c303d3e2f2489f6319ad142cefccb59c5a2e4afc40aa16bc8a6abb3200c1b
@@ -11,6 +11,8 @@ module RuboCop
11
11
  @files = DiffParser.parse(git_diff(options))
12
12
 
13
13
  display_violations($stdout)
14
+
15
+ exit(1) if violations.any?
14
16
  end
15
17
 
16
18
  private
@@ -1,5 +1,5 @@
1
1
  module RuboCop
2
2
  module Git
3
- VERSION = '0.0.4'
3
+ VERSION = '0.0.5'
4
4
  end
5
5
  end
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.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Masaki Takeuchi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-06 00:00:00.000000000 Z
11
+ date: 2014-10-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler