apruve 2.0.3 → 2.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/apruve/resources/order.rb +1 -1
- data/lib/apruve/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: 5be532662f189377d8045c6c626e8606be1afe7a
|
4
|
+
data.tar.gz: 0ed1a55eb681692c2a62cbb95d430ba53cd94a7a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 04ed6ba3695cc979c23b0170faecea21266f23602fb817fc94a45cb57de4296189ed9cedf1da460dca59ee65ccaae7b10bf83727e2d2d251139220ebb4d78f77
|
7
|
+
data.tar.gz: f400b82592c391e5d7c35edca48f177514c73c5e0a994e54b14ce8ad18ee44c6c23d0aa3419f1df1f7d7cfa43fc4d876a43a65a859bfc24ba37d586fad231dbf
|
@@ -25,7 +25,7 @@ module Apruve
|
|
25
25
|
response = Apruve.get("orders?secure_hash=#{hash}")
|
26
26
|
logger.debug response.body
|
27
27
|
orders = response.body.map { |order| Order.new(order) }
|
28
|
-
orders.max_by { |order| order
|
28
|
+
orders.max_by { |order| order.created_at }
|
29
29
|
end
|
30
30
|
|
31
31
|
def self.finalize!(id)
|
data/lib/apruve/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: apruve
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Apruve, Inc.
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-12-
|
12
|
+
date: 2017-12-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|