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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b6cdf4762a15960790e781185e8ea4e32e729036
4
- data.tar.gz: 7f9bbadd71012d3b42022bcfc8f0f1ec6070fc3e
3
+ metadata.gz: 5be532662f189377d8045c6c626e8606be1afe7a
4
+ data.tar.gz: 0ed1a55eb681692c2a62cbb95d430ba53cd94a7a
5
5
  SHA512:
6
- metadata.gz: 82937e89725c75a11670c6abb74812ccb8265628f7f01d45c8280caedb6d0b2a3607d0d538e24dd08c730a69fdf9ad38ce442bea9e2118434c359fe0551b6277
7
- data.tar.gz: b4fe0faf6f505ea3e6418e27fb56491e40ec9b199bab2494cfa6f5551ed2f761980c08384f88d1270321216a9387c2e6910b136f4b64068402d934d41217d5ac
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[:created_at] }
28
+ orders.max_by { |order| order.created_at }
29
29
  end
30
30
 
31
31
  def self.finalize!(id)
@@ -1,3 +1,3 @@
1
1
  module Apruve
2
- VERSION = '2.0.3'
2
+ VERSION = '2.0.4'
3
3
  end
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.3
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-14 00:00:00.000000000 Z
12
+ date: 2017-12-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler