rubocop-git 0.0.3 → 0.0.4

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: 090d9d83c07e1a98d759e498718d4180934d4dc9
4
- data.tar.gz: b79390241bb3f9634f2502ec1ec7a462cae02883
3
+ metadata.gz: b0ca6ace437f984e37bf143001946c10dbbda302
4
+ data.tar.gz: 1503eabb1fd43beff2c9926b772fc8e8f901817c
5
5
  SHA512:
6
- metadata.gz: 8d588673e5a7ea69326a0f1783b24a2a08cd24eadb8194046a58e885433a6fa4c570032331c6856f938ac8abaf3f5e8e8cf28028ea4967803dfae460457fe810
7
- data.tar.gz: b88912a13cdf6414d8127dd4561789c99dd01965ad5cbdb8c2fc50c129e819b9a1582aae2058b22505e554d88919ac99a1f69800b70c4570fb76a498bfa22cac
6
+ metadata.gz: 6f42ae3120077b3dabde850152375996068bacfed19a98806b580fea0836e99f76b1d93702a2ddfa99c6bc90711905189598e3e36240c08d3bfd8dbefef7111c
7
+ data.tar.gz: fa802707a151e871aa9d3481298e926e2759acd318de217bbcb85f584c129fd156a9729b8e912032db7612ebdd78ef88682d551f8332080462a7fd19637cad68
data/README.md CHANGED
@@ -23,6 +23,7 @@ Or install it yourself as:
23
23
 
24
24
  Usage: rubocop-git [options] [[commit] commit]
25
25
  -c, --config FILE Specify configuration file
26
+ -r, --require FILE Require Ruby file
26
27
  -d, --debug Display debug info
27
28
  -D, --display-cop-names Display cop names in offense messages
28
29
  --cached git diff --cached
@@ -30,6 +30,11 @@ module RuboCop
30
30
  @options.config = config
31
31
  end
32
32
 
33
+ opt.on('-r', '--require FILE',
34
+ 'Require Ruby file') do |file|
35
+ require file
36
+ end
37
+
33
38
  opt.on('-d', '--debug', 'Display debug info') do
34
39
  @options.rubocop[:debug] = true
35
40
  end
@@ -1,5 +1,5 @@
1
1
  module RuboCop
2
2
  module Git
3
- VERSION = '0.0.3'
3
+ VERSION = '0.0.4'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-git
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Masaki Takeuchi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-27 00:00:00.000000000 Z
11
+ date: 2014-08-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler