portmone 0.0.11 → 0.0.12

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
  SHA256:
3
- metadata.gz: 9fe495560f190d3a31fb237722ead6975acee2d8460705856a3a17d00f4b09c0
4
- data.tar.gz: 3f5bda3441a40f2f0ce357f2f6a1133955e07af80f7949abca07288f13884084
3
+ metadata.gz: 26414bad113ba645e7eb88e78140e0cfec72d0cf0360364de8184e4ef8f0805d
4
+ data.tar.gz: fc32e7f9586acb8f4fecc1b0657a289daa8212c2c001ef6d85c27a96afc4ae88
5
5
  SHA512:
6
- metadata.gz: 8a4146876d8bf77f951d9a8723c09cd6b8fa16d825b6e4c292df138734b6548b8db2956fdd88facd40e9c3502ecffafb88aa93113066222411194eea3c7e62cd
7
- data.tar.gz: 3ab543099ef5d69655a92ba9090b4aadfff063d83cca7d23f78d7f57e0fcfc20e51fcb36d3157b074b9e71cf92041d2a4137717fd16c541c2048e2b4d9edcf0d
6
+ metadata.gz: 5431f8509bad0285ffab4c43b563aee623d2e2497054cadd65d261a6240b493325ddb1850f496524ad6d251c3d3fd85e9f8a84ccdcf835dbab04705cccd0f2e0
7
+ data.tar.gz: 335de3ab2131325bcaed1820405e2d2d5f143881144cc4a4d0adc4e262cab237da5af86800c6d37eea2cd85b75c8190a7f06498036e1f8961958739ab58ded33
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- portmone (0.0.11)
4
+ portmone (0.0.12)
5
5
  activesupport
6
6
  faraday (~> 0.9)
7
7
  money (~> 6.0)
@@ -42,10 +42,11 @@ module Portmone
42
42
 
43
43
  def order_status(shop_order_number, created_date: nil)
44
44
  if created_date
45
- date = format_date(created_date)
45
+ start_date = created_date - 1.day
46
+ end_date = created_date + 1.day
46
47
  generic_report(shop_order_number: shop_order_number,
47
- start_date: date,
48
- end_date: date)
48
+ start_date: format_date(start_date),
49
+ end_date: format_date(end_date))
49
50
  else
50
51
  generic_report(shop_order_number: shop_order_number)
51
52
  end
@@ -1,3 +1,3 @@
1
1
  module Portmone
2
- VERSION = '0.0.11'
2
+ VERSION = '0.0.12'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: portmone
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.11
4
+ version: 0.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Sviridov
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-09-05 00:00:00.000000000 Z
11
+ date: 2019-10-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport