cb_nitride 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cb_nitride/version.rb +1 -1
- data/lib/cb_nitride.rb +2 -1
- 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: 05e56189f0b36396c301b88df674c414226cb61a
|
4
|
+
data.tar.gz: 7b6b6088bbe3d46774e310c96122f55d07206df0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a40a466072f55170368f76d7dadae06973bce16627e688199a4f1021fc888291d795e506e226741c24ca3e97a82402a577226b24a27e930507b9fa98d40b7f1b
|
7
|
+
data.tar.gz: 1e43ad66dc3eaadb58cf35642bb2a6ecb0c6436a6c83cdc9c5e3180406a1e15f2003f55052c77f0134da96ef0c985646f4ea54b9d19806bd34fa757f3c73ba24
|
data/lib/cb_nitride/version.rb
CHANGED
data/lib/cb_nitride.rb
CHANGED
@@ -25,8 +25,9 @@ module CbNitride
|
|
25
25
|
end
|
26
26
|
|
27
27
|
def self.scrape_imminent!
|
28
|
+
agent = DiamondLogin.agent
|
28
29
|
DiamondNumberGenerator.generate_imminent!.map do |diamond_number|
|
29
|
-
diamond_item = item(diamond_number)
|
30
|
+
diamond_item = item(diamond_number, agent)
|
30
31
|
if diamond_item.nil?
|
31
32
|
binding.pry
|
32
33
|
else
|