parcel_api 1.1.0 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e278f6f435884f1fbb1a9cd7995ea76d3abe62d0
4
- data.tar.gz: b15d8b9a3817821c4f2d9cb9d4ac26e014d45772
3
+ metadata.gz: 33fc1e342902c65e83dd9577c46d3d659cb219a0
4
+ data.tar.gz: dd0ba98998fbf3203ce2f414db245272579bc4b1
5
5
  SHA512:
6
- metadata.gz: 321f295e0e881ebe615e1bb1b565c47a816fafaf0a9b4123ea9f59eef47790d816f690855733560d54f0641296ec717a847ae134668a729a54b1c083fc99f969
7
- data.tar.gz: 935c5fcc08fd7de9874371060bd5aa7aa505abe166d3032d28162b02714dcf422e6ef8522a3a18cce25bdb0de0ffcaed12cba2f27218d7824ebfbb65185579bb
6
+ metadata.gz: 6eae4d4ac188da4222b7c92d54b2510a3c61ad0196aca47b328a8089ff60d5129bdb4e0180d9a260a85b5a5e5bba31a02e450f498b8c1ba0e57ec307cb04f9fe
7
+ data.tar.gz: f34704c0b9d44288d53e3fd6fefaeeb7070a0cca42183d18788ac0064328844b971d3764514f80eb7da1c3a3a2c9e40e8533de417839f52341c21c157fc14a0f
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- parcel_api (1.1.0)
4
+ parcel_api (1.1.1)
5
5
  activesupport (~> 4.2)
6
6
  oauth2 (~> 1.0)
7
7
  recursive-open-struct (~> 0.6)
@@ -31,7 +31,7 @@ GEM
31
31
  json (1.8.3)
32
32
  jwt (1.5.6)
33
33
  method_source (0.8.2)
34
- minitest (5.9.0)
34
+ minitest (5.9.1)
35
35
  multi_json (1.11.0)
36
36
  multi_xml (0.5.5)
37
37
  multipart-post (2.0.0)
data/README.md CHANGED
@@ -13,6 +13,7 @@ __Features__
13
13
  * ParcelPickUp
14
14
  * ParcelLabel
15
15
  * ParcelTrack
16
+ * ParcelNotification
16
17
 
17
18
  ## Installation
18
19
 
@@ -35,7 +35,7 @@ module ParcelApi
35
35
  access_token = OAuth2::AccessToken.from_hash client, JSON.parse(json)
36
36
  else
37
37
  access_token = client.password.get_token @username, @password
38
- @redis.set(:parcel_api_access_token, access_token.to_hash.to_json, ex: access_token.expires_in.seconds - 1.minute)
38
+ @redis.set(:parcel_api_access_token, access_token.to_hash.to_json, ex: access_token.expires_in.seconds - 6.hours)
39
39
  access_token
40
40
  end
41
41
  end
@@ -1,3 +1,3 @@
1
1
  module ParcelApi
2
- VERSION = '1.1.0'
2
+ VERSION = '1.1.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: parcel_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robert Coleman
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-10-01 00:00:00.000000000 Z
11
+ date: 2016-10-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor