git_command 0.0.5 → 0.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/git_command.rb +1 -1
  3. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bac3d95ff9163cf0a3425544493d2b6140a41dac
4
- data.tar.gz: 0360bbe7ce3a43ecb3193bcb4ac238dd177f6025
3
+ metadata.gz: d656be6341b4ea305d1977e08c7bcb4d4444fd47
4
+ data.tar.gz: 8fbdadf25d07b3da2d1ea8b55ad204e5b4992c0f
5
5
  SHA512:
6
- metadata.gz: 54ee731ddedbb094723d0528fa4c063acd73b6395721178a27ee7a6828976cacf8a3e7c95c723ae96569c42ea1ff64a6509854412b60f31e39aff5034d0e4d48
7
- data.tar.gz: 41714a642b73ea1932da674a55a2ee7e420f37a6792dd57b241d98455234c39b68b50151474e25118e50bbd41fda85dd2439fa708e861bdde1925f63e9af27db
6
+ metadata.gz: a083b09c039c8f0306f15499076dffcaf8866b749b197d9fbf245d3f2fa1cbf975256e55413f9ed1da6881dd45dda6aa44201db5f5c6648186a28241f597bb8a
7
+ data.tar.gz: 092b81860522fac0c0265547352d5061e89591549914845dfe2f031cbb6d0057af0ef7c7569ee3caf5872c7fd5ee61753432c38accdb6aa3e53dbeab11db8bc4
data/lib/git_command.rb CHANGED
@@ -17,7 +17,7 @@ def command command, &block
17
17
  is_option = true
18
18
  option = arg.gsub /--/, ''
19
19
  elsif flag?(arg)
20
- options[arg] = true
20
+ options[arg.gsub(/-/, '').to_sym] = true
21
21
  else
22
22
  args << arg
23
23
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: git_command
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
  - Cody Poll
@@ -27,17 +27,17 @@ require_paths:
27
27
  - lib
28
28
  required_ruby_version: !ruby/object:Gem::Requirement
29
29
  requirements:
30
- - - '>='
30
+ - - ">="
31
31
  - !ruby/object:Gem::Version
32
32
  version: '0'
33
33
  required_rubygems_version: !ruby/object:Gem::Requirement
34
34
  requirements:
35
- - - '>='
35
+ - - ">="
36
36
  - !ruby/object:Gem::Version
37
37
  version: '0'
38
38
  requirements: []
39
39
  rubyforge_project:
40
- rubygems_version: 2.0.14
40
+ rubygems_version: 2.4.3
41
41
  signing_key:
42
42
  specification_version: 4
43
43
  summary: A small framework for creating custom git commands in ruby