dazzle 1.3.3 → 1.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dazzle.rb +3 -3
- 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: 8b8fd6bf51a50ad754efb7f3290ead3b69d8048afb083c29282781b0719ee941
|
4
|
+
data.tar.gz: a040211474baee0a539260506a15b3c4a7ad7c6c253cd477500f0d5839d0f8e2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3933200ceb9a5042d02d67f9ab19349a2a5caf0453f61710e6ce619f90e0c1bbe70a60f77cb6ddd09a6d3e18171309a414749e55e4d33bfcc9620ead14056761
|
7
|
+
data.tar.gz: 67c795c7e470c789e8c32b16fcd87682d154363743ff4ce82522b7e4ce862f996001cf63eb15cfdee41ae9a53bbf3e2bf3537b4185fd93096744b29dbf28db02
|
data/lib/dazzle.rb
CHANGED
@@ -36,10 +36,10 @@ class Dazzling
|
|
36
36
|
for val in arr
|
37
37
|
counter = counter + 1
|
38
38
|
|
39
|
-
#only takes the first
|
39
|
+
#only takes the first 12 prices as format is {samsung,,440,,iphone,,600,,} ...etc.
|
40
40
|
#(every 4th value is new device)
|
41
|
-
#(only taking
|
42
|
-
if counter ==
|
41
|
+
#(only taking 12 because only need a sample, taking a whole db would be too large)
|
42
|
+
if counter == 49
|
43
43
|
break
|
44
44
|
end
|
45
45
|
|