payson_api 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
data/.travis.yml CHANGED
@@ -3,3 +3,4 @@ rvm:
3
3
  - 1.9.3
4
4
  - 1.9.2
5
5
  - 1.8.7
6
+ - 2.0.0
data/README.rdoc CHANGED
@@ -5,7 +5,7 @@ A simple utility to handle requests against the Payson payment gateway API.
5
5
 
6
6
  == Supported versions
7
7
 
8
- * Ruby 1.8.7, 1.9.2, 1.9.3
8
+ * Ruby 1.8.7, 1.9.2, 1.9.3, 2.0.0
9
9
 
10
10
 
11
11
  == Install
@@ -25,7 +25,7 @@ class IPN
25
25
  case @payment_type
26
26
  when 'GUARANTEE'
27
27
  @guarantee_status = data_hash['guaranteeStatus']
28
- @guarantee_deadline_at = Time.at(data_hash['guaranteeDeadlineTimestamp'])
28
+ @guarantee_deadline_at = Time.parse(data_hash['guaranteeDeadlineTimestamp'])
29
29
  when 'INVOICE'
30
30
  @invoice_status = data_hash['invoiceStatus']
31
31
  @shipping_address = ShippingAddress.parse(data_hash)
@@ -1,3 +1,3 @@
1
1
  module PaysonAPI
2
- VERSION = "0.3.1"
2
+ VERSION = "0.3.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: payson_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-04-07 00:00:00.000000000 Z
12
+ date: 2013-09-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake