imperituroard 0.3.4 → 0.3.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/imperituroard/version.rb +1 -1
- data/lib/imperituroard.rb +4 -4
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 500a839fe453e3c5901626f496174d46ea818bd1
|
4
|
+
data.tar.gz: f65dc2af09f9ca1b28f9428b0a755b2e937aa694
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a77ea3bb09d0d8089d93d8dc3a0f7ece46e29ab51df8881d4c9eddc97d6519059d88af0ad8714b51c22157e3a1f30a9e0286ea2c5d49489e826a1115dee52665
|
7
|
+
data.tar.gz: eeb346e271eb572a5b43fe8d09f26d76bea1672aa34e5611226f3763a8a4cd05815908407583eb015ad45c6cc3fc5dd84fbdc30523b804d4c0e481e19040a6c9
|
data/lib/imperituroard.rb
CHANGED
@@ -315,7 +315,7 @@ class Iot
|
|
315
315
|
|
316
316
|
thr3 = Thread.new do
|
317
317
|
|
318
|
-
if add_functions_connector.check_input_3(login,
|
318
|
+
if add_functions_connector.check_input_3(login, im_list)[:code]==200
|
319
319
|
|
320
320
|
li_new_imei = []
|
321
321
|
list1 = {}
|
@@ -478,7 +478,7 @@ class Iot
|
|
478
478
|
begin
|
479
479
|
thr4 = Thread.new do
|
480
480
|
|
481
|
-
if add_functions_connector.check_input_4(login,
|
481
|
+
if add_functions_connector.check_input_4(login, imei)[:code]==200
|
482
482
|
|
483
483
|
prof_name = mongo_client.get_profile_name_from_imei(imei)
|
484
484
|
if prof_name[:code]==200
|
@@ -555,7 +555,7 @@ class Iot
|
|
555
555
|
processed = []
|
556
556
|
begin
|
557
557
|
thr5 = Thread.new do
|
558
|
-
if add_functions_connector.check_input_5(login,
|
558
|
+
if add_functions_connector.check_input_5(login, newdevice_list)[:code]==200
|
559
559
|
|
560
560
|
for p in newdevice_list
|
561
561
|
prof_name = mongo_client.get_profile_name_from_imei(p[:imei])
|
@@ -628,7 +628,7 @@ class Iot
|
|
628
628
|
|
629
629
|
thr6 = Thread.new do
|
630
630
|
|
631
|
-
if add_functions_connector.check_input_5(login,
|
631
|
+
if add_functions_connector.check_input_5(login, device_list)[:code]==200
|
632
632
|
|
633
633
|
for g in device_list
|
634
634
|
|