eesitemap 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/eesitemap/version.rb +1 -1
- data/lib/eesitemap.rb +1 -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: a795fbf4d65634409483d17d83beb519d4c769ed
|
4
|
+
data.tar.gz: d229a2dbad326b16bd13df42fb0980284a7e0002
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ec7407fdc4ad8d02737ab57edf5d45ba7ee19a6734c69af8675a80624afc71fae6dda3d2c928db09f656ee4a4f70f20450ef197439ac12b980b3c8ce37811ef4
|
7
|
+
data.tar.gz: d30e99b6c21fe506fc347c38bd7d4470fd621c18c9a720850996f12eefb6040381531738200010d6f2b1a9ccc6653e39659e54cf648fd1413813c8d5650e0a72
|
data/lib/eesitemap/version.rb
CHANGED
data/lib/eesitemap.rb
CHANGED
@@ -84,7 +84,7 @@ module Eesitemap
|
|
84
84
|
end
|
85
85
|
|
86
86
|
def self.skus_list(cfg, permalink)
|
87
|
-
response = RestClient.get(cfg['site']['api'] + "/products/" + cfg['site']['code'] + "/" + permalink + ".json")
|
87
|
+
response = RestClient.get(cfg['site']['api'] + "/products/" + cfg['site']['code'] + "/" + URI::escape(permalink) + ".json")
|
88
88
|
if response.code == 200
|
89
89
|
JSON.parse(response.body)['variants']
|
90
90
|
else
|