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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d782f3fa6e65adec2c3db9eee0850752f203473e
4
- data.tar.gz: 7487ab4e3bdb4550173ac5c604d0c344f0a8eb88
3
+ metadata.gz: a795fbf4d65634409483d17d83beb519d4c769ed
4
+ data.tar.gz: d229a2dbad326b16bd13df42fb0980284a7e0002
5
5
  SHA512:
6
- metadata.gz: a1b7870992023ce2057a9c372a290380c24aeeca78c620ba945ee8bacb40b5cdc9ab23cb21090cc5c57ffcdcfa4117cf3af6133a6074e97431e81fa623da637c
7
- data.tar.gz: 791a4a167b8f8d304e3a62baffed98b5427198671ff374f45fa06c125bd2dd6ec42856708012c9f563604a25dcb5d0e52ec7f3d7bbe2b32ec0460c7065a21116
6
+ metadata.gz: ec7407fdc4ad8d02737ab57edf5d45ba7ee19a6734c69af8675a80624afc71fae6dda3d2c928db09f656ee4a4f70f20450ef197439ac12b980b3c8ce37811ef4
7
+ data.tar.gz: d30e99b6c21fe506fc347c38bd7d4470fd621c18c9a720850996f12eefb6040381531738200010d6f2b1a9ccc6653e39659e54cf648fd1413813c8d5650e0a72
@@ -1,3 +1,3 @@
1
1
  module Eesitemap
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eesitemap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ijonas Kisselbach