portmone 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/lib/portmone/responses/order_status.rb +1 -1
- data/lib/portmone/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3434d99ffbe6b472a16aa590a92d163d0e1db9d9
|
4
|
+
data.tar.gz: 7e9bf6cbcb2d4925fa778b20562c7102bb281c90
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0a9215af9650670ac4e589c55d9b75f8cdef67902c79a4f56ee00060e473bbc854983e3d8f7b100db4d3a96aafafc7e6eb6bf7d47219e2bba995cc16e3a8fc0d
|
7
|
+
data.tar.gz: 88daac8d69c11fb19f129368186f7a4dba21a22ba3f7dc78d0cd8437dc4e365911f22308dd5ce9372e4a417abe3405ef16ae8dd87f1fca7e52815da00cdc01ef
|
data/Gemfile.lock
CHANGED
@@ -80,6 +80,6 @@ private
|
|
80
80
|
def data
|
81
81
|
data = @xml_data.dig('portmoneresult', 'orders', 'order') || @xml_data.dig('portmoneresult', 'order')
|
82
82
|
data = [data] if data.is_a?(Hash) # cannot use Array() on Hash
|
83
|
-
data
|
83
|
+
data&.sort_by { |h| h['pay_date'] && ActiveSupport::TimeZone[@timezone].parse(h['pay_date']) }
|
84
84
|
end
|
85
85
|
end
|
data/lib/portmone/version.rb
CHANGED
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.
|
4
|
+
version: 0.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexander Sviridov
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-01-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|