pre-commit 0.16.2 → 0.16.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/plugins/pre_commit/checks/rubocop.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ead94f635a0c2076f5fd0da0ab7e1f213c277a1b
|
4
|
+
data.tar.gz: 51aefe85b5da3dffe34ebcc85f0172ea06f235cf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 359b92afaf52ecaf39248786b5bec278ab21ddc433a9422e354e5a0ab77c77e5cf2f496c7fba684e4e29ab1c9b07f5c5feaddd4593b406364a791fc8c3757c38
|
7
|
+
data.tar.gz: 9e38eb04a1f31c6ff2dbf4ece1600da7d8fd72da5042f00493a9b73f27e600b9f28471c6dd2de107c83c354530621ee7ddd0064148415edcc471ed4b965bcf42
|
@@ -23,7 +23,7 @@ module PreCommit
|
|
23
23
|
|
24
24
|
args = config_file_flag + ["--force-exclusion"] + staged_files
|
25
25
|
|
26
|
-
success, captured = capture { ::
|
26
|
+
success, captured = capture { ::RuboCop::CLI.new.run(args) == 0 }
|
27
27
|
captured unless success
|
28
28
|
end
|
29
29
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pre-commit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.16.
|
4
|
+
version: 0.16.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shajith Chacko, Josh Lubaway
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-06-
|
11
|
+
date: 2014-06-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pluginator
|