easypost 2.0.2 → 2.0.3
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.
- data/CHANGELOG +6 -1
- data/Gemfile.lock +1 -1
- data/VERSION +1 -1
- data/easypost.gemspec +1 -1
- data/lib/easypost.rb +1 -0
- data/lib/easypost/tracker.rb +5 -0
- data/lib/easypost/util.rb +2 -0
- metadata +3 -2
data/CHANGELOG
CHANGED
@@ -1,3 +1,8 @@
|
|
1
|
+
=== 2.0.3 2013-07-31
|
2
|
+
|
3
|
+
* API Addition: Tracker resource added. Trackers can be used to register any tracking code with EasyPost webhooks.
|
4
|
+
|
5
|
+
|
1
6
|
=== 2.0.2 2013-07-23
|
2
7
|
|
3
8
|
* API Addition: Shipment.track_with_code returns tracking details for any tracking code.
|
@@ -8,4 +13,4 @@
|
|
8
13
|
* API Addition: Address.create_and_verify returns a verified address in one step.
|
9
14
|
* API Addition: Shipment.label forces the creation of additional label formats (pdf, epl2, zpl).
|
10
15
|
* API Addition: Shipment.insure purchases insurance for a shipment.
|
11
|
-
* Library Update: Added the ability to negatively filter carriers and services with Shipment.lowest_rate (e.g. '!usps').
|
16
|
+
* Library Update: Added the ability to negatively filter carriers and services with Shipment.lowest_rate (e.g. '!usps').
|
data/Gemfile.lock
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.0.
|
1
|
+
2.0.3
|
data/easypost.gemspec
CHANGED
@@ -6,7 +6,7 @@ require 'easypost/version'
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
7
|
spec.name = 'easypost'
|
8
8
|
spec.version = EasyPost::VERSION
|
9
|
-
spec.date = '2013-07-
|
9
|
+
spec.date = '2013-07-31'
|
10
10
|
spec.summary = 'EasyPost Ruby Client Library'
|
11
11
|
spec.description = 'Client library for accessing the EasyPost shipping API via Ruby.'
|
12
12
|
spec.authors = ['Jon Calhoun', 'Sawyer Bateman']
|
data/lib/easypost.rb
CHANGED
data/lib/easypost/util.rb
CHANGED
@@ -25,6 +25,7 @@ module EasyPost
|
|
25
25
|
'Rate' => Rate,
|
26
26
|
'Refund' => Refund,
|
27
27
|
'Batch' => Batch,
|
28
|
+
'Tracker' => Tracker,
|
28
29
|
'PostageLabel' => PostageLabel }
|
29
30
|
|
30
31
|
prefixes = { 'adr' => Address,
|
@@ -36,6 +37,7 @@ module EasyPost
|
|
36
37
|
'rate' => Rate,
|
37
38
|
'rfnd' => Refund,
|
38
39
|
'batch' => Batch,
|
40
|
+
'trk' => Tracker,
|
39
41
|
'pl' => PostageLabel }
|
40
42
|
|
41
43
|
case response
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: easypost
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.3
|
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-07-
|
13
|
+
date: 2013-07-31 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rest-client
|
@@ -97,6 +97,7 @@ files:
|
|
97
97
|
- lib/easypost/resource.rb
|
98
98
|
- lib/easypost/scan_form.rb
|
99
99
|
- lib/easypost/shipment.rb
|
100
|
+
- lib/easypost/tracker.rb
|
100
101
|
- lib/easypost/util.rb
|
101
102
|
- lib/easypost/version.rb
|
102
103
|
- spec/address_spec.rb
|