beslist 0.2.3 → 0.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2accce20d94ee488fdc249eb8c24c5a3f303abc7
4
- data.tar.gz: 0e351c802dfbafaa6c15df9467eb7634af753636
3
+ metadata.gz: 04eb2b0126af0ff8eed967bd3d87e22e2d7a4525
4
+ data.tar.gz: df7803113c9ee74fc8c92edfeefe8145d7f5247a
5
5
  SHA512:
6
- metadata.gz: 6e0980721b7d19df844e3d80a3cc6497b4a3500165514dba3f3d92a8e0491e59c46618b5a0f78f66722eb46332d68da6d5107a91202d57c575e1addd1c2eba95
7
- data.tar.gz: a93cff6307c6b78d9681d23dcdea3ad37075910cffed394b1c51473838012a8463e60626a5d29b66c0dfb48564e09d38ef57936c0013edfadb1b9f0a647b4dc3
6
+ metadata.gz: 1367b83b7318604e107007d3b06c06a3744a3b9bf776afa29d59ee5750746a0b8303857119716879a1ee916c1be842e8aa5a620b61d2f26996f24db846e28974
7
+ data.tar.gz: fb871bb3a46aaa88aaee05bc97037c0e2e282b9d9c9e2d84e18ce8e537df86334f8b298052f45117318374ab5aacc238de962660ae4e4a073ec876b51ad07f58
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.3
1
+ 0.2.4
data/beslist.gemspec CHANGED
@@ -2,16 +2,16 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: beslist 0.2.3 ruby lib
5
+ # stub: beslist 0.2.4 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "beslist"
9
- s.version = "0.2.3"
9
+ s.version = "0.2.4"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib"]
13
13
  s.authors = ["Tsyren Ochirov"]
14
- s.date = "2015-12-28"
14
+ s.date = "2016-01-08"
15
15
  s.description = "A Ruby client for the Beslist API."
16
16
  s.email = "nsu1team@gmail.com"
17
17
  s.extra_rdoc_files = [
@@ -24,7 +24,10 @@ module Beslist
24
24
 
25
25
  req.params.merge!(date_from: date_from) if date_from
26
26
  req.params.merge!(date_to: date_to) if date_to
27
- req.params.merge!(output_type: 'test', test_orders: '250') if Beslist::API::Config.mode == 'sandbox'
27
+ if Beslist::API::Config.mode == 'sandbox'
28
+ req.params.merge!(output_type: 'test', test_orders: '250')
29
+ req.params.merge!(test_products: options[:test_products]) unless options[:test_products].nil?
30
+ end
28
31
  end
29
32
  end
30
33
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: beslist
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tsyren Ochirov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-28 00:00:00.000000000 Z
11
+ date: 2016-01-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: multi_xml