pre-commit 0.16.0 → 0.16.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/plugins/pre_commit/checks/rubocop.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +47 -25
- metadata.gz.sig +2 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2694e1ff6edd61d24dc1363640b81e5f4ec60351
|
4
|
+
data.tar.gz: 349bb9902498a5a1062ede45408714f995fd9252
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 88df7bffea4618c7ccef091fde7cfdb80357d2f58c1141d8c44b625ef558f09c124d56235bef557151aa9c301df9fd7fda6f22853e754fa429e3ac72f7966539
|
7
|
+
data.tar.gz: e76ba7397e000c5b18f998f41d76efc10de6e96cee37d95966bb400bfcf5c31d49ffed9334bfff03e97ab6a5dda4e52b095212f4507419d6422dac5a7dc41dbd
|
checksums.yaml.gz.sig
ADDED
Binary file
|
@@ -21,7 +21,7 @@ module PreCommit
|
|
21
21
|
staged_files = staged_files.grep(/\.rb$/)
|
22
22
|
return if staged_files.empty?
|
23
23
|
|
24
|
-
args = config_file_flag + staged_files
|
24
|
+
args = config_file_flag + ["--force-exclusion"] + staged_files
|
25
25
|
|
26
26
|
success, captured = capture { ::Rubocop::CLI.new.run(args) == 0 }
|
27
27
|
captured unless success
|
data.tar.gz.sig
ADDED
Binary file
|
metadata
CHANGED
@@ -1,97 +1,119 @@
|
|
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.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shajith Chacko, Josh Lubaway
|
8
8
|
autorequire:
|
9
9
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QAq1MAzM6KkDuzu29TqJGRK85TrISuHU3Xc4Mn8
|
27
|
+
a4mm5LwRsGk6OoOnOhpFkXwoe8SfiSKGW17eQfgbg93+eDBtojnY3usshk6iR/cZ
|
28
|
+
apmFKrVSkbFzWOgA8pnR2oUxHENzIUxk3L3av0r0hPMvpl1xx35NsIjCYZQuAAth
|
29
|
+
XD80nC5KOZZsnhZ1acG0klA4WQDkdydAoWsLaWQxy+75k6zNV/d0/FrKnIX2Cmcg
|
30
|
+
B6/QYIQE0zK228rX1D0cdH01jxRbnOs//5L2K1RSIjhHMN8h+Fu+QrlArhp5jdVL
|
31
|
+
+I0rCI7TrvLurPrqlVodoSCc8jXI53waz+mS96CtfP8W/rXy
|
32
|
+
-----END CERTIFICATE-----
|
33
|
+
date: 2014-05-14 00:00:00.000000000 Z
|
12
34
|
dependencies:
|
13
35
|
- !ruby/object:Gem::Dependency
|
14
36
|
name: pluginator
|
15
37
|
requirement: !ruby/object:Gem::Requirement
|
16
38
|
requirements:
|
17
|
-
- - ~>
|
39
|
+
- - "~>"
|
18
40
|
- !ruby/object:Gem::Version
|
19
41
|
version: '1.0'
|
20
42
|
type: :runtime
|
21
43
|
prerelease: false
|
22
44
|
version_requirements: !ruby/object:Gem::Requirement
|
23
45
|
requirements:
|
24
|
-
- - ~>
|
46
|
+
- - "~>"
|
25
47
|
- !ruby/object:Gem::Version
|
26
48
|
version: '1.0'
|
27
49
|
- !ruby/object:Gem::Dependency
|
28
50
|
name: rake
|
29
51
|
requirement: !ruby/object:Gem::Requirement
|
30
52
|
requirements:
|
31
|
-
- - ~>
|
53
|
+
- - "~>"
|
32
54
|
- !ruby/object:Gem::Version
|
33
55
|
version: '10.0'
|
34
56
|
type: :development
|
35
57
|
prerelease: false
|
36
58
|
version_requirements: !ruby/object:Gem::Requirement
|
37
59
|
requirements:
|
38
|
-
- - ~>
|
60
|
+
- - "~>"
|
39
61
|
- !ruby/object:Gem::Version
|
40
62
|
version: '10.0'
|
41
63
|
- !ruby/object:Gem::Dependency
|
42
64
|
name: guard
|
43
65
|
requirement: !ruby/object:Gem::Requirement
|
44
66
|
requirements:
|
45
|
-
- - ~>
|
67
|
+
- - "~>"
|
46
68
|
- !ruby/object:Gem::Version
|
47
69
|
version: '2.0'
|
48
70
|
type: :development
|
49
71
|
prerelease: false
|
50
72
|
version_requirements: !ruby/object:Gem::Requirement
|
51
73
|
requirements:
|
52
|
-
- - ~>
|
74
|
+
- - "~>"
|
53
75
|
- !ruby/object:Gem::Version
|
54
76
|
version: '2.0'
|
55
77
|
- !ruby/object:Gem::Dependency
|
56
78
|
name: guard-minitest
|
57
79
|
requirement: !ruby/object:Gem::Requirement
|
58
80
|
requirements:
|
59
|
-
- - ~>
|
81
|
+
- - "~>"
|
60
82
|
- !ruby/object:Gem::Version
|
61
83
|
version: '2.0'
|
62
84
|
type: :development
|
63
85
|
prerelease: false
|
64
86
|
version_requirements: !ruby/object:Gem::Requirement
|
65
87
|
requirements:
|
66
|
-
- - ~>
|
88
|
+
- - "~>"
|
67
89
|
- !ruby/object:Gem::Version
|
68
90
|
version: '2.0'
|
69
91
|
- !ruby/object:Gem::Dependency
|
70
92
|
name: minitest
|
71
93
|
requirement: !ruby/object:Gem::Requirement
|
72
94
|
requirements:
|
73
|
-
- - ~>
|
95
|
+
- - "~>"
|
74
96
|
- !ruby/object:Gem::Version
|
75
97
|
version: '4.0'
|
76
98
|
type: :development
|
77
99
|
prerelease: false
|
78
100
|
version_requirements: !ruby/object:Gem::Requirement
|
79
101
|
requirements:
|
80
|
-
- - ~>
|
102
|
+
- - "~>"
|
81
103
|
- !ruby/object:Gem::Version
|
82
104
|
version: '4.0'
|
83
105
|
- !ruby/object:Gem::Dependency
|
84
106
|
name: minitest-reporters
|
85
107
|
requirement: !ruby/object:Gem::Requirement
|
86
108
|
requirements:
|
87
|
-
- - ~>
|
109
|
+
- - "~>"
|
88
110
|
- !ruby/object:Gem::Version
|
89
111
|
version: '0'
|
90
112
|
type: :development
|
91
113
|
prerelease: false
|
92
114
|
version_requirements: !ruby/object:Gem::Requirement
|
93
115
|
requirements:
|
94
|
-
- - ~>
|
116
|
+
- - "~>"
|
95
117
|
- !ruby/object:Gem::Version
|
96
118
|
version: '0'
|
97
119
|
description: A git pre-commit hook written in ruby with a few more tricks up its sleeve
|
@@ -102,6 +124,7 @@ extensions: []
|
|
102
124
|
extra_rdoc_files:
|
103
125
|
- README.md
|
104
126
|
files:
|
127
|
+
- README.md
|
105
128
|
- bin/pre-commit
|
106
129
|
- lib/plugins/pluginator/extensions/find_check.rb
|
107
130
|
- lib/plugins/pre_commit/checks/before_all.rb
|
@@ -132,21 +155,22 @@ files:
|
|
132
155
|
- lib/plugins/pre_commit/checks/tabs.rb
|
133
156
|
- lib/plugins/pre_commit/checks/whitespace.rb
|
134
157
|
- lib/plugins/pre_commit/checks/yaml.rb
|
158
|
+
- lib/plugins/pre_commit/configuration/providers/README.md
|
135
159
|
- lib/plugins/pre_commit/configuration/providers/default.rb
|
136
160
|
- lib/plugins/pre_commit/configuration/providers/env.rb
|
137
161
|
- lib/plugins/pre_commit/configuration/providers/git.rb
|
138
162
|
- lib/plugins/pre_commit/configuration/providers/git_old.rb
|
139
|
-
- lib/plugins/pre_commit/configuration/providers/README.md
|
140
163
|
- lib/plugins/pre_commit/configuration/providers/yaml.rb
|
164
|
+
- lib/pre-commit.rb
|
165
|
+
- lib/pre-commit/checks.rb
|
141
166
|
- lib/pre-commit/checks/grep.rb
|
142
167
|
- lib/pre-commit/checks/js.rb
|
143
|
-
- lib/pre-commit/checks/plugin/config_file.rb
|
144
168
|
- lib/pre-commit/checks/plugin.rb
|
169
|
+
- lib/pre-commit/checks/plugin/config_file.rb
|
145
170
|
- lib/pre-commit/checks/shell.rb
|
146
|
-
- lib/pre-commit/checks.rb
|
147
171
|
- lib/pre-commit/cli.rb
|
148
|
-
- lib/pre-commit/configuration/providers.rb
|
149
172
|
- lib/pre-commit/configuration.rb
|
173
|
+
- lib/pre-commit/configuration/providers.rb
|
150
174
|
- lib/pre-commit/installer.rb
|
151
175
|
- lib/pre-commit/list_evaluator.rb
|
152
176
|
- lib/pre-commit/plugins_list.rb
|
@@ -157,34 +181,32 @@ files:
|
|
157
181
|
- lib/pre-commit/support/jslint/lint.js
|
158
182
|
- lib/pre-commit/utils/git_conversions.rb
|
159
183
|
- lib/pre-commit/utils/staged_files.rb
|
160
|
-
- lib/pre-commit.rb
|
161
184
|
- templates/hooks/automatic
|
162
185
|
- templates/hooks/default
|
163
186
|
- templates/hooks/manual
|
164
|
-
- README.md
|
165
187
|
homepage: http://github.com/jish/pre-commit
|
166
188
|
licenses:
|
167
189
|
- Apache 2.0
|
168
190
|
metadata: {}
|
169
191
|
post_install_message:
|
170
192
|
rdoc_options:
|
171
|
-
- --main
|
193
|
+
- "--main"
|
172
194
|
- README.md
|
173
195
|
require_paths:
|
174
196
|
- lib
|
175
197
|
required_ruby_version: !ruby/object:Gem::Requirement
|
176
198
|
requirements:
|
177
|
-
- -
|
199
|
+
- - ">="
|
178
200
|
- !ruby/object:Gem::Version
|
179
201
|
version: '0'
|
180
202
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
181
203
|
requirements:
|
182
|
-
- -
|
204
|
+
- - ">="
|
183
205
|
- !ruby/object:Gem::Version
|
184
206
|
version: '0'
|
185
207
|
requirements: []
|
186
208
|
rubyforge_project:
|
187
|
-
rubygems_version: 2.
|
209
|
+
rubygems_version: 2.2.2
|
188
210
|
signing_key:
|
189
211
|
specification_version: 3
|
190
212
|
summary: A slightly better git pre-commit hook
|
metadata.gz.sig
ADDED