atpay_tokens 2.3.0 → 2.4.0

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -31,7 +31,7 @@ gem 'atpay_tokens'
31
31
 
32
32
  With the `keys` scope, authenticate with OAuth, and make a request
33
33
  to the 'keys' endpoint (see the api documentation at
34
- https://developer.atpay.com) to receive the partner_id,
34
+ http://developer.atpay.com) to receive the partner_id,
35
35
  public key and private key.
36
36
 
37
37
  Apply these values to your configuration
data/atpay_tokens.gemspec CHANGED
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'atpay_tokens'
3
- s.version = '2.3.0'
4
- s.date = '2013-11-28'
3
+ s.version = '2.4.0'
4
+ s.date = '2014-02-27'
5
5
  s.summary = "@Pay Token Generator"
6
6
  s.description = "Client interface for the @Pay API, key generation for performance optimization"
7
7
  s.authors = ["James Kassemi", "Glen Holcomb"]
data/circle.yml CHANGED
@@ -1,9 +1,9 @@
1
1
  dependencies:
2
2
  pre:
3
- - curl -O http://download.dnscrypt.org/libsodium/releases/libsodium-0.4.1.tar.gz
4
- - tar -xvzf libsodium-0.4.1.tar.gz
5
- - cd libsodium-0.4.1 && ./configure && make
6
- - cp libsodium-0.4.1/src/libsodium/.libs/libsodium.so ./lib/
3
+ - curl -O http://download.dnscrypt.org/libsodium/releases/libsodium-0.4.5.tar.gz
4
+ - tar -xvzf libsodium-0.4.5.tar.gz
5
+ - cd libsodium-0.4.5 && ./configure && make
6
+ - cp libsodium-0.4.5/src/libsodium/.libs/libsodium.so ./lib/
7
7
 
8
8
  machine:
9
9
  environment:
@@ -88,7 +88,7 @@ module AtPay
88
88
  def to_h
89
89
  {
90
90
  sale_price: @amount,
91
- expires_at: Time.at(@expires),
91
+ expires_at: Time.at(Time.now + @expires),
92
92
  group: @group,
93
93
  encoded_key: @checksum
94
94
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: atpay_tokens
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.0
4
+ version: 2.4.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2013-11-28 00:00:00.000000000 Z
13
+ date: 2014-02-27 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: ffi