fortytwo 0.0.15 → 0.0.16

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: 05ee77a0d0900c833dc2c2001cad145a71936475
4
- data.tar.gz: 6e4b40f2c46eebb6206b1e3b46d99a1f2f12c9f9
3
+ metadata.gz: ef420af91ffca023e757643f48c8e771d4ba450b
4
+ data.tar.gz: 7dbee2110a58c69d12a868eebd27076e22e9cad0
5
5
  SHA512:
6
- metadata.gz: 85796b2b74f3549b1ed610de07bc1ea47a1a08a2c273fad2fc9a4da5ba04afd4bea9ec3712abcec236b78b7f4f9ccf6b59bad3e84d2801719598c73a00eec423
7
- data.tar.gz: 1a37f8bd13b7ef37d7c6ed649a20966e7bc6820930f037389a6fa731171b275a13220b4205bbe8c5ceefe6fb1a96a9e38a2d04c54a37b4eb3d46fe95fbc1f9dc
6
+ metadata.gz: a3636e5be03897bd002995d57394e1528943fa60ebd9db0b69b6437afc389bdbf7f22580932b838e9c0e08a10bfef7eb659dfac7fedcd1af9867ae17fb63ca54
7
+ data.tar.gz: ef72e2ff4858c245d6f17b62bf677e88354ac79ceff81deab444d4987c15d04d912441b8fb5cebaa321e733327dfce6c5e9aa10cf355c28b7af857c9b49d9efc
@@ -5,7 +5,7 @@ module FortyTwo
5
5
  return if json.nil?
6
6
 
7
7
  json.each do |key, value|
8
- key = key.chomp('?') if key.end_with?('?')
8
+ key = key.chomp('?') if !key.is_a?(Hash) || key.end_with?('?')
9
9
  instance_variable_set("@#{key}", value)
10
10
  end
11
11
  end
@@ -1,3 +1,3 @@
1
1
  module FortyTwo
2
- VERSION = '0.0.15'
2
+ VERSION = '0.0.16'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fortytwo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.15
4
+ version: 0.0.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matias Fernandez