imperituroard 1.0.8 → 1.0.9

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: 5e7e99efd1a73f476d513d802842f3f0433cd5be
4
- data.tar.gz: 760abd30d5d6ea6419c0f4195c08b9dca3d73537
3
+ metadata.gz: 9c8f6bbfe4c5e01a964045775d36b13741596323
4
+ data.tar.gz: 310767c96c24eaba6b79bd68ea5deea2040f6df3
5
5
  SHA512:
6
- metadata.gz: 6f8d0903a392cf44f300612e621ea34647cf5158c67dbd2f0fa75c7470e867e48a3d94b0676f666ed50ea6e9b40d6702467ac9a05ea9737831fe9cf024e8903f
7
- data.tar.gz: 24741e66dc260aaef273175b302f840a89b4ffb7b25395e73bc1d087661f89cd54130e7c49076d4572c782a4a574adfff19c495f099ce1ac044c004d435c78dd
6
+ metadata.gz: a11a03525f557e5c371b66826dc040c3eeaaf991697bf292c565b5f9f2431b568764765a4b1add9bbdbcdd3a5187f035c0f3790b13703d99dbd552d701b764a4
7
+ data.tar.gz: 83ab21b87e290534e833043230524fbef8b1fa1def3112c80b6e3046b21dd1ce180651f99d31626780ff89803f7f52434e24451b174e49470898cbfa5d253971
@@ -131,10 +131,14 @@ class IotFunctions_2
131
131
 
132
132
  #########
133
133
 
134
+ if aaa.key?("type") && !aaa.key?("device_type")
135
+ aaa["device_type"] = aaa["type"]
136
+ elsif aaa.key?("device_type") && !aaa.key?("type")
137
+ aaa["type"] = aaa["device_type"]
138
+ end
134
139
 
135
140
  if credentials[:code] == 200
136
141
 
137
-
138
142
  begin
139
143
  dev_name = aaa["imei"].to_s
140
144
 
@@ -1,4 +1,4 @@
1
1
  module Imperituroard
2
- VERSION = "1.0.8"
2
+ VERSION = "1.0.9"
3
3
  end
4
4
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: imperituroard
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.8
4
+ version: 1.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dzmitry Buynovskiy