gazelle_styleguide 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZWRkZWZlY2I0OThiZmE2ZDBjZWYxN2JiMTE2MDcyNjk1MGIxYjY0OQ==
4
+ ZmIyMTJlZDc1Yzc4NDg5NDAzNzUzZDI3MzE0ZTJiZmU4MzkzYTBlMA==
5
5
  data.tar.gz: !binary |-
6
- OTQxOTM4YjI4YjJmNDZkNWM0NWRhZWViYWM0ZTRiMDkzM2JkZjg4Mg==
6
+ ZDMwMjQ5MTY1MDQ3N2YxNmRiNjQzN2VkNTJjNTZmYWRhOWQ0OGMxOQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MjQ0OGJiYjllNDY3MmQwZjQxMTk0MjFjZDZjYTc3NjJkY2NmMzZmZGExNWIy
10
- OWJhODU4YTlhYjVkMzkxNTE2YmE0ZmZjOWVjYzQ1OWVhNDE1MGNlZTNlYmY3
11
- ZjNmMDc0MTM0YWMyYmExMjVmOGNmYzYxNDhhY2IyMzk4ZTFkNjI=
9
+ ZDEwOWVmMGRkMzllOTQ0MDM5OWNiMGM5MDIwZjAwYmJhMGQyMzhhN2U5MTk0
10
+ NjI3Y2I3ZDBlNGJhMmJkNmI4MDdhN2MwMDMyMzIwOWUzZmU2MDRmZDAzMTFj
11
+ MDBiN2YxZWMwMzA4Zjg2ZmIyZmViNDc3ODY1ZjU5NWRhNTA4ZTk=
12
12
  data.tar.gz: !binary |-
13
- ODE0NjIyNTQ0NTg5YzJlNTM3ZWU5NjE3NzNiNDg1ZDhkZTQ2NzZiNTA4Mzdl
14
- ZTYxZTgzNDgyMTMxMjE0NjM2NjY1YTI2Yzg4NjFjZmY5MmQ1Zjk2NjI5MWMx
15
- MjYxNTM4YjUwMDg2MWVhY2NlOTEyYTU2YjA1NTJlMzgzMTQ0Yzk=
13
+ ZTI4MjVhMzVhOWExZGQ1NWFiYmRmYzg3ZjAyNTE1MmMwMTZlODE3NDkwODk3
14
+ ZmY4NDdjZTE1MmIzZWYzOTBjMzA4OTg2YTc3OTcxNTkyMmM1MWJmOGJlZmYy
15
+ NDhiMzUyZDFmOTY2NTI5OTIyMDM4NGQyMDg4ZDA0NWEyOTAzMjA=
@@ -33,10 +33,12 @@ module GazelleStyleguide
33
33
  option :all, aliases: :a
34
34
  option :changed, aliases: :c
35
35
  option :staged, aliases: :s
36
+ option :debug, aliases: :d
36
37
  def fix(*files)
37
38
  require 'rubocop'
38
39
  files = lint_files(files, options).select{|file| file =~ /\.rb|Gemfile|Rakefile|\.task|\.rake/}
39
40
  args = ['-a', '-c', GazelleStyleguide.config_for('rubocop.yml')] + files
41
+ args.unshift('-d') if options[:debug]
40
42
 
41
43
  Rubocop::CLI.new.run(args)
42
44
  end
@@ -2,5 +2,5 @@
2
2
 
3
3
  # Styleguide version
4
4
  module GazelleStyleguide
5
- VERSION = '0.0.5'
5
+ VERSION = '0.0.6'
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gazelle_styleguide
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Allen Madsen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-13 00:00:00.000000000 Z
11
+ date: 2014-05-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pre-commit