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 +4 -4
- data/lib/olive_branch/middleware.rb +2 -2
- data/lib/olive_branch/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9e2e9bbfdd7b38cd05072fa906a2eb22c4b4abfd
|
4
|
+
data.tar.gz: 0ba21cac9581c7d30a60c5379f0e8bcdab98af16
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
data/lib/olive_branch/version.rb
CHANGED
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.
|
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-
|
12
|
+
date: 2017-03-28 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|