cb_nitride 0.0.12 → 0.0.14
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/hasher_methods.rb +2 -2
- 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: ac882d40f87f5e4c69ea8507d8e61fd9ce86f2aa
|
4
|
+
data.tar.gz: 6d22e602e8777945ae4936f85c7e1ba06c7096fe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e1731756985094a6030278d08a3198905f32eef378d59e2000a7a0fcc4d44654aa4cc6661ed46b98b87636e8b5a4187c4339ba0621b4d8f8c91b4625425e1140
|
7
|
+
data.tar.gz: 3140965107e017c245013827d0852a7e4839753b744409069a9a46752ee0339c1ce55333b33cf16a3980272c10c52b9e7e237c319a5ab3aee1545a2c7e60ff97
|
@@ -14,9 +14,9 @@ module CbNitride
|
|
14
14
|
def get_image_url(base_url, image_class)
|
15
15
|
image_container = item_page.css(image_class)
|
16
16
|
if image_container.empty?
|
17
|
-
|
17
|
+
error_array << "No Image"
|
18
18
|
else
|
19
|
-
|
19
|
+
base_url + item_page.css(image_class).children[1].attributes["src"].value
|
20
20
|
end
|
21
21
|
end
|
22
22
|
|
data/lib/cb_nitride/version.rb
CHANGED
data/lib/cb_nitride.rb
CHANGED