olive_branch 1.2.2 → 1.2.3

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: a106693bc43b70d778cef9b9036eb117a847a000
4
- data.tar.gz: 5d9e7ac4ab6af23ce36a9df7b3393a4fc11f99f6
3
+ metadata.gz: 9e2e9bbfdd7b38cd05072fa906a2eb22c4b4abfd
4
+ data.tar.gz: 0ba21cac9581c7d30a60c5379f0e8bcdab98af16
5
5
  SHA512:
6
- metadata.gz: b74e3efc8aa26373c6b89502b4ce27c895dff86fd3a9e48a8d11d4c6bcb04b50ece997b294c543e73760f25b6fa55ab7b2355bf813423f300068c8fc0e9265f1
7
- data.tar.gz: 90980c1788233fe058ed5131cb2c1f294553c77bdb0ac8dc48801ca41971f283185fa9258f52e4ea2acaa77bd94c564cd68ed831fa7e3e3461ccfa0fe66c476b
6
+ metadata.gz: 7bea10e191c9e84977835f4b079cb0e822157312c31d66c7a2c1275e7a8721bf5a14c7bfd543fb33ca60b0db8db4e0f9da0ac80110054c5c82cbf6877a1f5726
7
+ data.tar.gz: 9ef36f76c3a6ee448943e7801a84f37a6520d0db86684d39ee772666caecbb43520ea4644b9e62a2d14882c3397c0b99fdc7cd4ed0c15829b8eaa06832de6037
@@ -22,9 +22,9 @@ module OliveBranch
22
22
 
23
23
  if inflection == "camel"
24
24
  if new_response.is_a? Array
25
- new_response.each { |o| o.deep_transform_keys! { |k| k.camelize(:lower)} }
25
+ new_response.each { |o| o.deep_transform_keys! { |k| k.underscore.camelize(:lower)} }
26
26
  else
27
- new_response.deep_transform_keys! { |k| k.camelize(:lower) }
27
+ new_response.deep_transform_keys! { |k| k.underscore.camelize(:lower) }
28
28
  end
29
29
  elsif inflection == "dash"
30
30
  if new_response.is_a? Array
@@ -1,3 +1,3 @@
1
1
  module OliveBranch
2
- VERSION = '1.2.2'
2
+ VERSION = '1.2.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: olive_branch
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.2
4
+ version: 1.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eli Fatsi
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-01-03 00:00:00.000000000 Z
12
+ date: 2017-03-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails