overcommit 0.2.4 → 0.2.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 06f94c02b02a6f1ec0523d72a348214736891531
|
4
|
+
data.tar.gz: f2fad378a7b4c1c7d3a0fa1cfcbfa17330a90431
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f659092d9bc05c94f26afbafd8fc2e1b12f44098c928c6475e8a9bc3c85cd2df1f37ffd06c6ad502a2e38c9a9f0e4ed98a93e4544d472a80ce6df59257472109
|
7
|
+
data.tar.gz: 2a6706a129433327e68711a4259c8ec1b1c49d21bdb2e3f2493ccdd312b04e98c9a3cf0f89f734e3dac750c2ef27bdbe648ee19b1f0e53d8ad6b60836ef69bab
|
@@ -11,7 +11,7 @@ module Overcommit::GitHook
|
|
11
11
|
paths_to_staged_files = Hash[staged.map { |s| [s.path, s] }]
|
12
12
|
staged_files = paths_to_staged_files.keys
|
13
13
|
|
14
|
-
output = `rubocop --format=emacs
|
14
|
+
output = `rubocop --format=emacs #{staged_files.join(' ')} 2>&1`
|
15
15
|
return :good if $?.success?
|
16
16
|
|
17
17
|
# Keep lines from the output for files that we actually modified
|
data/lib/overcommit/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: overcommit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Causes Engineering
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-09-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|