zanoxrb 0.5.2 → 0.5.3

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: 15b11276787bfad7ed493defc45b24dab3225f3b
4
- data.tar.gz: 0f084a66538daef90b307e4ca2cd80665732b247
3
+ metadata.gz: 7fcd8165b965f5bc64f78ba1e67498994099f280
4
+ data.tar.gz: ca5f903829e1c2d29384ac0db4955a127f8cc259
5
5
  SHA512:
6
- metadata.gz: baccc1df285569e69daec70243669df20036fbe1b82e37662549c0175ea0643e796a246872ccc8be48835cbbff20b058ff243ea864cd2e3412cd45ff5adb3ee7
7
- data.tar.gz: f0d99b85105839f18bff8c196ae2235788e3467ec8432f895d69f5023c482b82c43ac6b4626e8174efa2d25b7073617e848762adbe36f9f9e8b8e770a5c75acc
6
+ metadata.gz: 7cc4f1c9cf140846bd2b3bef75e43609004e08c1ba95db621ef59d91d66cca124cce35aa61209d8fec4ac756be2c5d8f03d95303c435904fff7c3f0271a023ca
7
+ data.tar.gz: 674f79a0c9f1e80a7fbdaf97d7a039d76d72807e807c609a64dfcc7711f07b8c8867f212a2e48cbb7c2ed643daff79b99c73299bc9039bb5681c49f003900a38
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- zanoxrb (0.5.2)
4
+ zanoxrb (0.5.3)
5
5
  httparty (~> 0.13)
6
6
  ruby-try (~> 1.1)
7
7
 
@@ -71,8 +71,9 @@ module Zanox
71
71
  response.product_items.map { |product| new(product) }
72
72
  end
73
73
 
74
- def from_shop(shop_id)
75
- response = API.request(:products, programs: shop_id)
74
+ def from_shop(shop_id, args = {})
75
+ args.merge!({ programs: shop_id })
76
+ response = API.request(:products, args)
76
77
  response.product_items.map { |product| new(product) }
77
78
  end
78
79
  end
data/lib/zanox/version.rb CHANGED
@@ -23,5 +23,5 @@
23
23
  #++
24
24
 
25
25
  module Zanox
26
- VERSION = '0.5.2'
26
+ VERSION = '0.5.3'
27
27
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zanoxrb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2
4
+ version: 0.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Giovanni Capuano
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-01 00:00:00.000000000 Z
11
+ date: 2015-07-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  version_requirements: !ruby/object:Gem::Requirement