lime_light_platform 1.0.0.8 → 1.0.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/lime_light_platform.rb +4 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b2b9d1a4b3305b831148380b924b25f60440aa4558f676c33c47e8b1eca2c699
|
4
|
+
data.tar.gz: 77fabb5c8382247e0674765db3a270ebb394844482eff1e46083c419835cba63
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fcc3aa2396b4f273a064290260005cac0d50ebf4e834407f87545eb502dedd247fda44ac6fd5347e6f3c5bcde2ec067f5d8bbe9c01345cf962f826bc6616bfeb
|
7
|
+
data.tar.gz: 58bc2138f775945234f0aa9fc7edf9bcde0502a04ea12d69d9b452588a9df55081f1d2ab80cd54def177d5c3575505e305d10a722bc7333ac4647d8dfebc8069
|
data/lib/lime_light_platform.rb
CHANGED
@@ -179,7 +179,10 @@ class LimeLightPlatform < AppBase
|
|
179
179
|
# only update what is present
|
180
180
|
keys.each do |key|
|
181
181
|
if key_exists(key, request)
|
182
|
-
|
182
|
+
if !key_exists(request['product_id'].to_s, call_params[:body]['product_id'])
|
183
|
+
call_params[:body]['product_id'][request['product_id'].to_s] = {}
|
184
|
+
end
|
185
|
+
|
183
186
|
call_params[:body]['product_id'][request['product_id'].to_s][key] = get_by_key(key, request)
|
184
187
|
end
|
185
188
|
end
|