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: 6cd8b8340af3898a298d1815312a9a626b1a8527
4
- data.tar.gz: 785733cce0fe10a619d20ad2a761ac141a5a9130
3
+ metadata.gz: 06f94c02b02a6f1ec0523d72a348214736891531
4
+ data.tar.gz: f2fad378a7b4c1c7d3a0fa1cfcbfa17330a90431
5
5
  SHA512:
6
- metadata.gz: c5fd460690ff210f14f1940b08798d7d49c2d0c0e74ba5fcbc8391b2f46600484e058f8ea5af917ee3b34a3e6ba2a62511aed8d21fc942828c92eaf4c863ce24
7
- data.tar.gz: 9a40e46f3cd1ddeb9a25aece89572d3000ddf41ff462599cb32c718ed3eccf740aacb0047e0fadc2f8ca54f9cbf2094224fa89bcb1f78f9a5a409af870b9d1e8
6
+ metadata.gz: f659092d9bc05c94f26afbafd8fc2e1b12f44098c928c6475e8a9bc3c85cd2df1f37ffd06c6ad502a2e38c9a9f0e4ed98a93e4544d472a80ce6df59257472109
7
+ data.tar.gz: 2a6706a129433327e68711a4259c8ec1b1c49d21bdb2e3f2493ccdd312b04e98c9a3cf0f89f734e3dac750c2ef27bdbe648ee19b1f0e53d8ad6b60836ef69bab
@@ -1,7 +1,7 @@
1
1
  module Overcommit::GitHook
2
2
  class RestrictedPaths < HookSpecificCheck
3
3
  include HookRegistry
4
- RESTRICTED_PATHS = %w[vendor]
4
+ RESTRICTED_PATHS = %w[vendor config]
5
5
 
6
6
  def run_check
7
7
  RESTRICTED_PATHS.each do |path|
@@ -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 --silent #{staged_files.join(' ')} 2>&1`
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
@@ -1,3 +1,3 @@
1
1
  module Overcommit
2
- VERSION = '0.2.4'
2
+ VERSION = '0.2.5'
3
3
  end
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
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-08-28 00:00:00.000000000 Z
11
+ date: 2013-09-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec