git-hooks 0.0.1 → 0.0.2

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: 7490ad1bca5dd84e68d6df16993fe86d81b279f0
4
- data.tar.gz: 2e79d0d2fffd110bc5d7b52f981d87963b82c85b
3
+ metadata.gz: 587587daeb1f31d5403c88ee666acb9daab9b61e
4
+ data.tar.gz: 6a6a8fec7c3b4e5521714cbb60a4a39c6affbdc4
5
5
  SHA512:
6
- metadata.gz: 2ff9584478dba6cf67bc48a8122134b6beac4ffce421a64e26045d3be9d64c17625b2a01ff471c352f1612f6f9de428fafe2208ef35bf6e47cdbd63edbfad1a4
7
- data.tar.gz: a41b19354d8965c485dc666d7947622e7ad771a0bb91c9a0db8bc13663ad3593a9f9d0c1cdaac9e584a21d7f41d794804697effe7e350656d3228a710e5208f8
6
+ metadata.gz: ad395057c328251a5405bbda59c3e820e36719dde4ab97439d39ab659af13463bebeb840e68e46d91b8d825324b431c8dbbab41f73d4d1a8b0fc781a99971ba2
7
+ data.tar.gz: e5f914bf2a87e60e9575761f1439ae59f8846f81ddf4c0bdd45453c49468550a37dc597e5d8a8f0908e0b2f4204290cd32b342cf01d7f4a405dcbaaecfb4f84b
@@ -18,7 +18,11 @@ module GitHooks
18
18
 
19
19
  def run_rubocop
20
20
  files = changed_ruby_files
21
- system("rubocop #{files.join(' ')} --force-exclusion") if files.any?
21
+ if files.any?
22
+ system("rubocop #{files.join(' ')} --force-exclusion")
23
+ else
24
+ true
25
+ end
22
26
  end
23
27
  end
24
28
  end
@@ -1,3 +1,3 @@
1
1
  module GitHooks
2
- VERSION = '0.0.1'
2
+ VERSION = '0.0.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: git-hooks
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rafael da Silva Almeida