active_shipping 1.8.6 → 1.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +12 -7
- data/CONTRIBUTING.md +14 -38
- data/MIT-LICENSE +2 -2
- data/README.md +61 -24
- data/Rakefile +3 -0
- data/active_shipping.gemspec +25 -26
- data/{Gemfile.activesupport32 → gemfiles/activesupport32.gemfile} +2 -1
- data/{Gemfile.activesupport40 → gemfiles/activesupport40.gemfile} +2 -1
- data/{Gemfile.activesupport41 → gemfiles/activesupport41.gemfile} +2 -1
- data/{Gemfile.activesupport42 → gemfiles/activesupport42.gemfile} +2 -1
- data/{Gemfile.activesupport50 → gemfiles/activesupport50.gemfile} +2 -1
- data/gemfiles/activesupport_master.gemfile +5 -0
- data/lib/active_shipping.rb +1 -23
- data/lib/active_shipping/carrier.rb +3 -3
- data/lib/active_shipping/carriers/canada_post_pws.rb +8 -8
- data/lib/active_shipping/carriers/ups.rb +19 -0
- data/lib/active_shipping/package.rb +3 -75
- data/lib/active_shipping/package_item.rb +72 -0
- data/lib/active_shipping/version.rb +1 -1
- data/test/remote/fedex_test.rb +5 -5
- data/test/remote/ups_test.rb +2 -1
- data/test/test_helper.rb +1 -0
- data/test/unit/carriers/canada_post_pws_tracking_test.rb +2 -2
- data/test/unit/carriers/fedex_test.rb +8 -8
- data/test/unit/carriers/kunaki_test.rb +1 -1
- data/test/unit/carriers/stamps_test.rb +1 -1
- data/test/unit/carriers/usps_test.rb +2 -2
- data/test/unit/external_return_label_request_test.rb +17 -17
- data/test/unit/package_item_test.rb +237 -0
- data/test/unit/package_test.rb +393 -58
- metadata +13 -12
metadata
CHANGED
@@ -1,17 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: active_shipping
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
8
|
-
- Tobi Lutke
|
9
|
-
- Cody Fauser
|
10
|
-
- Jimmy Baker
|
7
|
+
- Shopify
|
11
8
|
autorequire:
|
12
9
|
bindir: bin
|
13
10
|
cert_chain: []
|
14
|
-
date: 2016-
|
11
|
+
date: 2016-12-07 00:00:00.000000000 Z
|
15
12
|
dependencies:
|
16
13
|
- !ruby/object:Gem::Dependency
|
17
14
|
name: quantified
|
@@ -162,7 +159,7 @@ dependencies:
|
|
162
159
|
description: Get rates and tracking info from various shipping carriers. Extracted
|
163
160
|
from Shopify.
|
164
161
|
email:
|
165
|
-
-
|
162
|
+
- integrations-team@shopify.com
|
166
163
|
executables: []
|
167
164
|
extensions: []
|
168
165
|
extra_rdoc_files: []
|
@@ -173,16 +170,17 @@ files:
|
|
173
170
|
- CHANGELOG.md
|
174
171
|
- CONTRIBUTING.md
|
175
172
|
- Gemfile
|
176
|
-
- Gemfile.activesupport32
|
177
|
-
- Gemfile.activesupport40
|
178
|
-
- Gemfile.activesupport41
|
179
|
-
- Gemfile.activesupport42
|
180
|
-
- Gemfile.activesupport50
|
181
173
|
- MIT-LICENSE
|
182
174
|
- README.md
|
183
175
|
- Rakefile
|
184
176
|
- active_shipping.gemspec
|
185
177
|
- dev.yml
|
178
|
+
- gemfiles/activesupport32.gemfile
|
179
|
+
- gemfiles/activesupport40.gemfile
|
180
|
+
- gemfiles/activesupport41.gemfile
|
181
|
+
- gemfiles/activesupport42.gemfile
|
182
|
+
- gemfiles/activesupport50.gemfile
|
183
|
+
- gemfiles/activesupport_master.gemfile
|
186
184
|
- lib/active_shipping.rb
|
187
185
|
- lib/active_shipping/carrier.rb
|
188
186
|
- lib/active_shipping/carriers.rb
|
@@ -209,6 +207,7 @@ files:
|
|
209
207
|
- lib/active_shipping/label_response.rb
|
210
208
|
- lib/active_shipping/location.rb
|
211
209
|
- lib/active_shipping/package.rb
|
210
|
+
- lib/active_shipping/package_item.rb
|
212
211
|
- lib/active_shipping/rate_estimate.rb
|
213
212
|
- lib/active_shipping/rate_response.rb
|
214
213
|
- lib/active_shipping/response.rb
|
@@ -411,6 +410,7 @@ files:
|
|
411
410
|
- test/unit/carriers_test.rb
|
412
411
|
- test/unit/external_return_label_request_test.rb
|
413
412
|
- test/unit/location_test.rb
|
413
|
+
- test/unit/package_item_test.rb
|
414
414
|
- test/unit/package_test.rb
|
415
415
|
- test/unit/rate_estimate_test.rb
|
416
416
|
- test/unit/response_test.rb
|
@@ -634,6 +634,7 @@ test_files:
|
|
634
634
|
- test/unit/carriers_test.rb
|
635
635
|
- test/unit/external_return_label_request_test.rb
|
636
636
|
- test/unit/location_test.rb
|
637
|
+
- test/unit/package_item_test.rb
|
637
638
|
- test/unit/package_test.rb
|
638
639
|
- test/unit/rate_estimate_test.rb
|
639
640
|
- test/unit/response_test.rb
|