cynic 0.0.3.2 → 0.0.3.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/bin/cynic +1 -1
  3. data/lib/cynic/version.rb +1 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 823bae839b41c6f0ab62c448400acf0b6e44151d
4
- data.tar.gz: 7c1d10178f90c1eaf6fc7e45c1a78ade88db87c6
3
+ metadata.gz: f06ba77863844a1b79da02973a972d9521c45939
4
+ data.tar.gz: f3cdd7b18a0f6c2a37716c4b4b7b8564505d5cc6
5
5
  SHA512:
6
- metadata.gz: 126207698093348a5c0dd342678779e2d20db4dd08341550f95e9e8295736d45d818b83f018a0aac1c1d25c106ef37ec423686dddcc200126c982834f55f6bf9
7
- data.tar.gz: 62dbe748e92119f985f68dbf7c8fc6dd0f26cd3b1b66d7f0f40b970639e7973326fa77eb65ee96f6fcef49e9cd98bef72aecd35da82c7bdce32a690df7ec1f62
6
+ metadata.gz: e6a1475e4715bcafbb5c0b2630046661dc2171d8872891f4142002b874f3741ae04260fb55d69e979bd0d008c2ced2d44ae8982201d9ad2946c20a566ad5138d
7
+ data.tar.gz: 618272197924429b08bcb7d48153ae00a57392768452f686232166107191345f47642866b3cb9e17dbc20339bd0ca8dba7c4d7f3c019da6a66d4d204bf5ca9ec
data/bin/cynic CHANGED
@@ -8,7 +8,7 @@ module Cynic
8
8
 
9
9
  def initialize(args)
10
10
  @name, @options = args[1], args[2..-1]
11
- @app_name = @name.capitalize
11
+ @app_name = @name.gsub(/(?<=[_-]|^|\s)(\w)/){$1.upcase}.gsub(/(?:[_-]|\s)(\w)/,'\1')
12
12
  end
13
13
 
14
14
 
data/lib/cynic/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Cynic
2
- VERSION = "0.0.3.2"
2
+ VERSION = "0.0.3.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cynic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3.2
4
+ version: 0.0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bookis Smuin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-01-29 00:00:00.000000000 Z
11
+ date: 2014-02-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack