easypost 2.0.8 → 2.0.9
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +5 -0
- data/VERSION +1 -1
- data/easypost.gemspec +1 -1
- data/lib/easypost/batch.rb +1 -1
- data/spec/batch_spec.rb +2 -0
- data/spec/spec_helper.rb +2 -2
- metadata +17 -10
- checksums.yaml +0 -7
data/CHANGELOG
CHANGED
@@ -1,3 +1,8 @@
|
|
1
|
+
=== 2.0.9 2013-09-19
|
2
|
+
|
3
|
+
* Interface Change: Changed batch.scan_form to batch.create_scan_form to support the ability to refer to scan forms associated to batches.
|
4
|
+
|
5
|
+
|
1
6
|
=== 2.0.3 2013-07-31
|
2
7
|
|
3
8
|
* API Addition: Tracker resource added. Trackers can be used to register any tracking code with EasyPost webhooks.
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.0.
|
1
|
+
2.0.9
|
data/easypost.gemspec
CHANGED
@@ -9,7 +9,7 @@ Gem::Specification.new do |spec|
|
|
9
9
|
spec.date = Time.now.strftime("%Y-%m-%d")
|
10
10
|
spec.summary = 'EasyPost Ruby Client Library'
|
11
11
|
spec.description = 'Client library for accessing the EasyPost shipping API via Ruby.'
|
12
|
-
spec.authors = ['
|
12
|
+
spec.authors = ['Sawyer Bateman']
|
13
13
|
spec.email = 'contact@easypost.com'
|
14
14
|
spec.homepage = 'https://www.easypost.com/docs'
|
15
15
|
|
data/lib/easypost/batch.rb
CHANGED
data/spec/batch_spec.rb
CHANGED
@@ -51,6 +51,7 @@ describe EasyPost::Batch do
|
|
51
51
|
|
52
52
|
# expect(batch.state).to equal("created")
|
53
53
|
# expect(batch.status[:created]).to equal(2)
|
54
|
+
|
54
55
|
end
|
55
56
|
end
|
56
57
|
|
@@ -69,6 +70,7 @@ describe EasyPost::Batch do
|
|
69
70
|
:city => "New York",
|
70
71
|
:state => "NY",
|
71
72
|
:zip => "10010"
|
73
|
+
|
72
74
|
)
|
73
75
|
parcel = EasyPost::Parcel.create(
|
74
76
|
:weight => 7.2,
|
data/spec/spec_helper.rb
CHANGED
@@ -44,7 +44,7 @@ end
|
|
44
44
|
def parcel_dimensions
|
45
45
|
parcel = EasyPost::Parcel.create(
|
46
46
|
:width => 15.2,
|
47
|
-
:length => 18,
|
47
|
+
:length => 18,
|
48
48
|
:height => 9.5,
|
49
49
|
:weight => 35.1
|
50
50
|
)
|
@@ -81,4 +81,4 @@ def customs_info_poor
|
|
81
81
|
:customs_items => [customs_item]
|
82
82
|
)
|
83
83
|
return customs_info
|
84
|
-
end
|
84
|
+
end
|
metadata
CHANGED
@@ -1,19 +1,20 @@
|
|
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.9
|
5
|
+
prerelease:
|
5
6
|
platform: ruby
|
6
7
|
authors:
|
7
|
-
- Jon Calhoun
|
8
8
|
- Sawyer Bateman
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-09-
|
12
|
+
date: 2013-09-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rest-client
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
17
18
|
requirements:
|
18
19
|
- - ~>
|
19
20
|
- !ruby/object:Gem::Version
|
@@ -21,6 +22,7 @@ dependencies:
|
|
21
22
|
type: :runtime
|
22
23
|
prerelease: false
|
23
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
24
26
|
requirements:
|
25
27
|
- - ~>
|
26
28
|
- !ruby/object:Gem::Version
|
@@ -28,8 +30,9 @@ dependencies:
|
|
28
30
|
- !ruby/object:Gem::Dependency
|
29
31
|
name: multi_json
|
30
32
|
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
31
34
|
requirements:
|
32
|
-
- - '>='
|
35
|
+
- - ! '>='
|
33
36
|
- !ruby/object:Gem::Version
|
34
37
|
version: 1.0.4
|
35
38
|
- - <
|
@@ -38,8 +41,9 @@ dependencies:
|
|
38
41
|
type: :runtime
|
39
42
|
prerelease: false
|
40
43
|
version_requirements: !ruby/object:Gem::Requirement
|
44
|
+
none: false
|
41
45
|
requirements:
|
42
|
-
- - '>='
|
46
|
+
- - ! '>='
|
43
47
|
- !ruby/object:Gem::Version
|
44
48
|
version: 1.0.4
|
45
49
|
- - <
|
@@ -48,6 +52,7 @@ dependencies:
|
|
48
52
|
- !ruby/object:Gem::Dependency
|
49
53
|
name: rspec
|
50
54
|
requirement: !ruby/object:Gem::Requirement
|
55
|
+
none: false
|
51
56
|
requirements:
|
52
57
|
- - ~>
|
53
58
|
- !ruby/object:Gem::Version
|
@@ -55,6 +60,7 @@ dependencies:
|
|
55
60
|
type: :development
|
56
61
|
prerelease: false
|
57
62
|
version_requirements: !ruby/object:Gem::Requirement
|
63
|
+
none: false
|
58
64
|
requirements:
|
59
65
|
- - ~>
|
60
66
|
- !ruby/object:Gem::Version
|
@@ -101,25 +107,26 @@ files:
|
|
101
107
|
- spec/spec_helper.rb
|
102
108
|
homepage: https://www.easypost.com/docs
|
103
109
|
licenses: []
|
104
|
-
metadata: {}
|
105
110
|
post_install_message:
|
106
111
|
rdoc_options: []
|
107
112
|
require_paths:
|
108
113
|
- lib
|
109
114
|
required_ruby_version: !ruby/object:Gem::Requirement
|
115
|
+
none: false
|
110
116
|
requirements:
|
111
|
-
- - '>='
|
117
|
+
- - ! '>='
|
112
118
|
- !ruby/object:Gem::Version
|
113
119
|
version: '0'
|
114
120
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
121
|
+
none: false
|
115
122
|
requirements:
|
116
|
-
- - '>='
|
123
|
+
- - ! '>='
|
117
124
|
- !ruby/object:Gem::Version
|
118
125
|
version: '0'
|
119
126
|
requirements: []
|
120
127
|
rubyforge_project:
|
121
|
-
rubygems_version:
|
128
|
+
rubygems_version: 1.8.25
|
122
129
|
signing_key:
|
123
|
-
specification_version:
|
130
|
+
specification_version: 3
|
124
131
|
summary: EasyPost Ruby Client Library
|
125
132
|
test_files: []
|
checksums.yaml
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
---
|
2
|
-
SHA1:
|
3
|
-
metadata.gz: ca93c7b6808dc40c294f24f9fa37abf2e51c0634
|
4
|
-
data.tar.gz: f2cad79d7c574be0627202df58787a8f44a016b3
|
5
|
-
SHA512:
|
6
|
-
metadata.gz: ede873b849ab0ae4977a060ee6ec78e55b035d6330bfd2fcd764ee1edbe86e6cd8a56929587f484e3a082ba7aa2b9eb8b13de75ed46b0a8547b4377b47059c6a
|
7
|
-
data.tar.gz: 2dda0396555f845862a52660598a4e5a32ac6815d4cf73bf788f68cd8719377b45a1dedfd764d96a5f3e2c2c66071fb0ea0c35a21d287038639b66377ee906ca
|