cl 0.1.19 → 0.1.20

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: 9181f0ed6a196c969893f4e17e2e0b777b9e2e82
4
- data.tar.gz: ce3466314da721b79bf72cbc8cdcd8b1f92f8572
3
+ metadata.gz: af6796a209dc36a6858d28570150728e43254ce2
4
+ data.tar.gz: 3b46ed2c8f04287ffc8effb5d050f60deb2fd360
5
5
  SHA512:
6
- metadata.gz: b634b9301380a28a648511f7c2eb6fdfb37c90cdcaa3389dad8cb58c94d66b9a8e18eb42e39854e0331b4da3bd5b9025d49faab1a365b43121d4d2f9d5942fda
7
- data.tar.gz: 8d6b23e371ab98b134338458a51f7f74df8a7371b0641c10e768bf7af43c5f624d05f949eba6acf0ddd390b88b77582553842637915b951e5e7b7dc0f19f506d
6
+ metadata.gz: f38f23ae73bd95b116154be8b5b0a0971ac38260883132b0c229f0ba574c53b99ad2232e0767b593ce9d54ccbd41be0df437329f675067979043befe10583de4
7
+ data.tar.gz: 77dac679a5da561cf9315f8f5fa0313584d6ae5969e856e38326820204add52859c4918daf2d4f193af4ebee0cc85800fc263ef98ded8ea38943fff24e6228a8
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cl (0.1.17)
4
+ cl (0.1.19)
5
5
  regstry (~> 1.0.3)
6
6
 
7
7
  GEM
data/lib/cl/parser.rb CHANGED
@@ -38,7 +38,7 @@ class Cl
38
38
  end
39
39
 
40
40
  def dasherize(strs)
41
- strs.map { |str| str.gsub('_', '-') if str.start_with?('--') }
41
+ strs.map { |str| str.start_with?('--') ? str.gsub('_', '-') : str }
42
42
  end
43
43
 
44
44
  def dasherize!(strs)
data/lib/cl/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  class Cl
2
- VERSION = '0.1.19'
2
+ VERSION = '0.1.20'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.19
4
+ version: 0.1.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sven Fuchs