lightspeed_restaurant 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/lightspeed_restaurant.rb +2 -0
- data/lib/lightspeed_restaurant/base.rb +0 -1
- data/lib/lightspeed_restaurant/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: b455bf08e0c2af217e66cec7d63bfe22e4a93eaa
|
4
|
+
data.tar.gz: 4c7a6b0dcba4b2c24936108b1ebe48ea82a4e670
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5675d34001aee365992a75b83ad8b7020ca7b975db3f66bca1fa47aafbda5ee39bce3aa8c3a0448342f7ac221ea6a0059dd42d8bdff342b2e76ccaf192c1396f
|
7
|
+
data.tar.gz: 1d80cce1918cee6a38a9ddad29516a952f9359267f50cca6c1fa5e2c376c6b19e88de51cda4cfc7bed55db856390c09394475e6868abe1253bb50c6fc606a971
|
@@ -19,7 +19,6 @@ module LightspeedRestaurant
|
|
19
19
|
def convert_to_obj(h)
|
20
20
|
h.each do |key, value|
|
21
21
|
self.class.send(:attr_accessor, key)
|
22
|
-
value = ['Missing', 'N/A', ''].include?(value) ? nil : value
|
23
22
|
instance_variable_set("@#{key}", value)
|
24
23
|
convert_to_obj(value) if value.is_a? Hash
|
25
24
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lightspeed_restaurant
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Olivier Buffon
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-04-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: excon
|