active_shipping 1.0.0.pre2 → 1.0.0.pre3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/.gitignore +12 -0
- data/.travis.yml +14 -0
- data/.yardopts +14 -0
- data/Gemfile +3 -0
- data/Gemfile.activesupport32 +4 -0
- data/Gemfile.activesupport40 +4 -0
- data/Gemfile.activesupport41 +4 -0
- data/Gemfile.activesupport42 +4 -0
- data/Rakefile +23 -0
- data/active_shipping.gemspec +32 -0
- data/lib/active_shipping.rb +1 -1
- data/lib/active_shipping/carrier.rb +1 -1
- data/lib/active_shipping/carriers/shipwire.rb +32 -35
- data/lib/active_shipping/carriers/ups.rb +2 -2
- data/lib/active_shipping/carriers/usps.rb +103 -101
- data/lib/active_shipping/label_response.rb +1 -1
- data/lib/active_shipping/rate_estimate.rb +76 -15
- data/lib/active_shipping/rate_response.rb +20 -0
- data/lib/active_shipping/response.rb +17 -0
- data/lib/active_shipping/shipment_packer.rb +2 -2
- data/lib/active_shipping/shipping_response.rb +24 -2
- data/lib/active_shipping/tracking_response.rb +65 -17
- data/lib/active_shipping/version.rb +1 -1
- data/shipit.rubygems.yml +1 -0
- data/test/credentials.yml +47 -0
- data/test/fixtures/files/label1.pdf +0 -0
- data/test/fixtures/files/ups-shipping-label.gif +0 -0
- data/test/fixtures/json/newzealandpost/domestic_book.json +1 -0
- data/test/fixtures/json/newzealandpost/domestic_default.json +1 -0
- data/test/fixtures/json/newzealandpost/domestic_error.json +1 -0
- data/test/fixtures/json/newzealandpost/domestic_poster.json +1 -0
- data/test/fixtures/json/newzealandpost/domestic_small_half_pound.json +1 -0
- data/test/fixtures/json/newzealandpost/international_book.json +1 -0
- data/test/fixtures/json/newzealandpost/international_new_zealand_wii.json +1 -0
- data/test/fixtures/json/newzealandpost/international_small_half_pound.json +1 -0
- data/test/fixtures/json/newzealandpost/international_wii.json +1 -0
- data/test/fixtures/xml/canadapost/example_request.xml +25 -0
- data/test/fixtures/xml/canadapost/example_response.xml +130 -0
- data/test/fixtures/xml/canadapost/example_response_error.xml +16 -0
- data/test/fixtures/xml/canadapost/example_response_french.xml +122 -0
- data/test/fixtures/xml/canadapost/example_response_with_nil_value.xml +164 -0
- data/test/fixtures/xml/canadapost/example_response_with_postal_outlet.xml +155 -0
- data/test/fixtures/xml/canadapost/example_response_with_postal_outlet_french.xml +274 -0
- data/test/fixtures/xml/canadapost/example_response_with_strange_delivery_date.xml +130 -0
- data/test/fixtures/xml/canadapost_pws/dnc_tracking_details_en.xml +112 -0
- data/test/fixtures/xml/canadapost_pws/merchant_details_error.xml +7 -0
- data/test/fixtures/xml/canadapost_pws/merchant_details_response.xml +7 -0
- data/test/fixtures/xml/canadapost_pws/option_response.xml +13 -0
- data/test/fixtures/xml/canadapost_pws/option_response_no_conflicts.xml +7 -0
- data/test/fixtures/xml/canadapost_pws/rates_info.xml +190 -0
- data/test/fixtures/xml/canadapost_pws/rates_info_error.xml +7 -0
- data/test/fixtures/xml/canadapost_pws/receipt_response.xml +42 -0
- data/test/fixtures/xml/canadapost_pws/receipt_response_no_priced_options.xml +36 -0
- data/test/fixtures/xml/canadapost_pws/register_token_error.xml +7 -0
- data/test/fixtures/xml/canadapost_pws/register_token_response.xml +3 -0
- data/test/fixtures/xml/canadapost_pws/service_options_response.xml +42 -0
- data/test/fixtures/xml/canadapost_pws/services_error.xml +6 -0
- data/test/fixtures/xml/canadapost_pws/services_response.xml +32 -0
- data/test/fixtures/xml/canadapost_pws/shipment_domestic.xml +69 -0
- data/test/fixtures/xml/canadapost_pws/shipment_response.xml +20 -0
- data/test/fixtures/xml/canadapost_pws/shipment_us.xml +69 -0
- data/test/fixtures/xml/canadapost_pws/tracking_details_en.xml +152 -0
- data/test/fixtures/xml/canadapost_pws/tracking_details_en_error.xml +7 -0
- data/test/fixtures/xml/canadapost_pws/tracking_details_en_undelivered.xml +116 -0
- data/test/fixtures/xml/canadapost_pws/tracking_details_fr.xml +156 -0
- data/test/fixtures/xml/canadapost_pws/tracking_details_no_expected_delivery_date.xml +40 -0
- data/test/fixtures/xml/fedex/freight_rate_request.xml +82 -0
- data/test/fixtures/xml/fedex/freight_rate_response.xml +506 -0
- data/test/fixtures/xml/fedex/invalid_fedex_reply.xml +27 -0
- data/test/fixtures/xml/fedex/ottawa_to_beverly_hills_commercial_rate_request.xml +79 -0
- data/test/fixtures/xml/fedex/ottawa_to_beverly_hills_rate_request.xml +80 -0
- data/test/fixtures/xml/fedex/ottawa_to_beverly_hills_rate_response.xml +214 -0
- data/test/fixtures/xml/fedex/raterequest_reply.xml +213 -0
- data/test/fixtures/xml/fedex/reply_without_notifications.xml +185 -0
- data/test/fixtures/xml/fedex/tracking_request.xml +27 -0
- data/test/fixtures/xml/fedex/tracking_response.xml +151 -0
- data/test/fixtures/xml/fedex/tracking_response_empty_destination.xml +76 -0
- data/test/fixtures/xml/fedex/tracking_response_no_destination.xml +139 -0
- data/test/fixtures/xml/fedex/tracking_response_no_ship_time.xml +150 -0
- data/test/fixtures/xml/fedex/tracking_response_with_estimated_delivery_date.xml +95 -0
- data/test/fixtures/xml/fedex/tracking_response_with_shipper_address.xml +71 -0
- data/test/fixtures/xml/fedex/unknown_fedex_document_reply.xml +3 -0
- data/test/fixtures/xml/kunaki/invalid_state_response.xml +3 -0
- data/test/fixtures/xml/kunaki/no_valid_items_response.xml +3 -0
- data/test/fixtures/xml/kunaki/successful_rates_response.xml +3 -0
- data/test/fixtures/xml/kunaki/unsuccessful_rates_response.xml +9 -0
- data/test/fixtures/xml/shipwire/international_rates_response.xml +17 -0
- data/test/fixtures/xml/shipwire/new_carrier_rate_response.xml +18 -0
- data/test/fixtures/xml/shipwire/no_rates_response.xml +7 -0
- data/test/fixtures/xml/shipwire/rates_response.xml +36 -0
- data/test/fixtures/xml/shipwire/rates_response_no_estimate.xml +14 -0
- data/test/fixtures/xml/stamps/authenticate_user_request.xml +15 -0
- data/test/fixtures/xml/stamps/authenticate_user_response.xml +10 -0
- data/test/fixtures/xml/stamps/cleanse_address_request.xml +19 -0
- data/test/fixtures/xml/stamps/cleanse_address_response.xml +27 -0
- data/test/fixtures/xml/stamps/create_indicium_request.xml +69 -0
- data/test/fixtures/xml/stamps/create_indicium_response.xml +40 -0
- data/test/fixtures/xml/stamps/expired_authenticator_response.xml +15 -0
- data/test/fixtures/xml/stamps/get_account_info_request.xml +11 -0
- data/test/fixtures/xml/stamps/get_account_info_response.xml +36 -0
- data/test/fixtures/xml/stamps/get_purchase_status_request.xml +12 -0
- data/test/fixtures/xml/stamps/get_purchase_status_response.xml +16 -0
- data/test/fixtures/xml/stamps/get_rates_request.xml +19 -0
- data/test/fixtures/xml/stamps/get_rates_response.xml +351 -0
- data/test/fixtures/xml/stamps/purchase_postage_request.xml +13 -0
- data/test/fixtures/xml/stamps/purchase_postage_response.xml +17 -0
- data/test/fixtures/xml/stamps/track_shipment_request.xml +12 -0
- data/test/fixtures/xml/stamps/track_shipment_response.xml +45 -0
- data/test/fixtures/xml/ups/delivered_shipment_with_refund.xml +290 -0
- data/test/fixtures/xml/ups/delivered_shipment_without_events_tracking_response.xml +62 -0
- data/test/fixtures/xml/ups/example_tracking_response.xml +53 -0
- data/test/fixtures/xml/ups/in_transit_shipment.xml +183 -0
- data/test/fixtures/xml/ups/out_for_delivery_shipment.xml +165 -0
- data/test/fixtures/xml/ups/shipment_accept_response.xml +42 -0
- data/test/fixtures/xml/ups/shipment_confirm_response.xml +33 -0
- data/test/fixtures/xml/ups/shipment_from_tiger_direct.xml +222 -0
- data/test/fixtures/xml/ups/test_real_home_as_residential_destination_response.xml +1 -0
- data/test/fixtures/xml/ups/test_real_home_as_residential_destination_response_with_insured.xml +289 -0
- data/test/fixtures/xml/ups/test_real_home_as_residential_destination_with_origin_account_response.xml +311 -0
- data/test/fixtures/xml/ups/triple_accept_response.xml +72 -0
- data/test/fixtures/xml/ups/triple_confirm_response.xml +32 -0
- data/test/fixtures/xml/usps/beverly_hills_to_new_york_book_commercial_base_rate_response.xml +2 -0
- data/test/fixtures/xml/usps/beverly_hills_to_new_york_book_commercial_plus_rate_response.xml +258 -0
- data/test/fixtures/xml/usps/beverly_hills_to_new_york_book_rate_response.xml +108 -0
- data/test/fixtures/xml/usps/beverly_hills_to_ottawa_american_wii_commercial_base_rate_response.xml +84 -0
- data/test/fixtures/xml/usps/beverly_hills_to_ottawa_american_wii_commercial_plus_rate_response.xml +212 -0
- data/test/fixtures/xml/usps/beverly_hills_to_ottawa_american_wii_rate_response.xml +230 -0
- data/test/fixtures/xml/usps/delivered_tracking_response.xml +11 -0
- data/test/fixtures/xml/usps/first_class_packages_with_invalid_mail_type_response.xml +12 -0
- data/test/fixtures/xml/usps/first_class_packages_with_mail_type_response.xml +16 -0
- data/test/fixtures/xml/usps/first_class_packages_without_mail_type_response.xml +12 -0
- data/test/fixtures/xml/usps/invalid_xml_tracking_response_error.xml +2 -0
- data/test/fixtures/xml/usps/tracking_request.xml +3 -0
- data/test/fixtures/xml/usps/tracking_response.xml +13 -0
- data/test/fixtures/xml/usps/tracking_response_failure.xml +3 -0
- data/test/fixtures/xml/usps/tracking_response_not_available.xml +12 -0
- data/test/fixtures/xml/usps/tracking_response_test_error.xml +8 -0
- data/test/fixtures/xml/usps/us_rate_request.xml +18 -0
- data/test/fixtures/xml/usps/world_rate_request_with_value.xml +20 -0
- data/test/fixtures/xml/usps/world_rate_request_without_value.xml +20 -0
- data/test/remote/canada_post_pws_platform_test.rb +246 -0
- data/test/remote/canada_post_pws_test.rb +171 -0
- data/test/remote/canada_post_test.rb +53 -0
- data/test/remote/fedex_test.rb +216 -0
- data/test/remote/kunaki_test.rb +36 -0
- data/test/remote/new_zealand_post_test.rb +147 -0
- data/test/remote/shipwire_test.rb +82 -0
- data/test/remote/stamps_test.rb +394 -0
- data/test/remote/ups_test.rb +257 -0
- data/test/remote/usps_test.rb +235 -0
- data/test/test_helper.rb +220 -0
- data/test/unit/carriers/benchmark_test.rb +18 -0
- data/test/unit/carriers/canada_post_pws_rating_test.rb +349 -0
- data/test/unit/carriers/canada_post_pws_register_test.rb +75 -0
- data/test/unit/carriers/canada_post_pws_shipping_test.rb +244 -0
- data/test/unit/carriers/canada_post_pws_tracking_test.rb +154 -0
- data/test/unit/carriers/canada_post_test.rb +145 -0
- data/test/unit/carriers/fedex_test.rb +408 -0
- data/test/unit/carriers/kunaki_test.rb +52 -0
- data/test/unit/carriers/new_zealand_post_test.rb +174 -0
- data/test/unit/carriers/shipwire_test.rb +187 -0
- data/test/unit/carriers/stamps_test.rb +241 -0
- data/test/unit/carriers/ups_test.rb +311 -0
- data/test/unit/carriers/usps_test.rb +484 -0
- data/test/unit/carriers_test.rb +17 -0
- data/test/unit/label_response_test.rb +15 -0
- data/test/unit/location_test.rb +138 -0
- data/test/unit/package_test.rb +68 -0
- data/test/unit/rate_estimate_test.rb +34 -0
- data/test/unit/response_test.rb +14 -0
- data/test/unit/shipment_packer_test.rb +174 -0
- metadata +331 -35
- metadata.gz.sig +0 -0
- data/lib/vendor/quantified/MIT-LICENSE +0 -22
- data/lib/vendor/quantified/README.markdown +0 -49
- data/lib/vendor/quantified/Rakefile +0 -13
- data/lib/vendor/quantified/init.rb +0 -0
- data/lib/vendor/quantified/lib/quantified.rb +0 -6
- data/lib/vendor/quantified/lib/quantified/attribute.rb +0 -211
- data/lib/vendor/quantified/lib/quantified/length.rb +0 -20
- data/lib/vendor/quantified/lib/quantified/mass.rb +0 -19
- data/lib/vendor/quantified/test/length_test.rb +0 -94
- data/lib/vendor/quantified/test/mass_test.rb +0 -96
- data/lib/vendor/quantified/test/test_helper.rb +0 -19
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: active_shipping
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.
|
4
|
+
version: 1.0.0.pre3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James MacAulay
|
@@ -33,42 +33,42 @@ cert_chain:
|
|
33
33
|
fl3hbtVFTqbOlwL9vy1fudXcolIE/ZTcxQ+er07ZFZdKCXayR9PPs64heamfn0fp
|
34
34
|
TConQSX2BnZdhIEYW+cKzEC/bLc=
|
35
35
|
-----END CERTIFICATE-----
|
36
|
-
date: 2015-01-
|
36
|
+
date: 2015-01-26 00:00:00.000000000 Z
|
37
37
|
dependencies:
|
38
38
|
- !ruby/object:Gem::Dependency
|
39
|
-
name:
|
39
|
+
name: quantified
|
40
40
|
requirement: !ruby/object:Gem::Requirement
|
41
41
|
requirements:
|
42
|
-
- - "
|
43
|
-
- !ruby/object:Gem::Version
|
44
|
-
version: '3.2'
|
45
|
-
- - "<"
|
42
|
+
- - "~>"
|
46
43
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
44
|
+
version: '1.0'
|
48
45
|
type: :runtime
|
49
46
|
prerelease: false
|
50
47
|
version_requirements: !ruby/object:Gem::Requirement
|
51
48
|
requirements:
|
52
|
-
- - "
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '3.2'
|
55
|
-
- - "<"
|
49
|
+
- - "~>"
|
56
50
|
- !ruby/object:Gem::Version
|
57
|
-
version:
|
51
|
+
version: '1.0'
|
58
52
|
- !ruby/object:Gem::Dependency
|
59
|
-
name:
|
53
|
+
name: activesupport
|
60
54
|
requirement: !ruby/object:Gem::Requirement
|
61
55
|
requirements:
|
62
56
|
- - ">="
|
63
57
|
- !ruby/object:Gem::Version
|
64
|
-
version:
|
58
|
+
version: '3.2'
|
59
|
+
- - "<"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 5.0.0
|
65
62
|
type: :runtime
|
66
63
|
prerelease: false
|
67
64
|
version_requirements: !ruby/object:Gem::Requirement
|
68
65
|
requirements:
|
69
66
|
- - ">="
|
70
67
|
- !ruby/object:Gem::Version
|
71
|
-
version:
|
68
|
+
version: '3.2'
|
69
|
+
- - "<"
|
70
|
+
- !ruby/object:Gem::Version
|
71
|
+
version: 5.0.0
|
72
72
|
- !ruby/object:Gem::Dependency
|
73
73
|
name: active_utils
|
74
74
|
requirement: !ruby/object:Gem::Requirement
|
@@ -173,17 +173,28 @@ dependencies:
|
|
173
173
|
- - ">="
|
174
174
|
- !ruby/object:Gem::Version
|
175
175
|
version: '0'
|
176
|
-
description: Get rates and tracking info from various shipping carriers.
|
176
|
+
description: Get rates and tracking info from various shipping carriers. Extracted
|
177
|
+
from Shopify.
|
177
178
|
email:
|
178
179
|
- james@shopify.com
|
179
180
|
executables: []
|
180
181
|
extensions: []
|
181
182
|
extra_rdoc_files: []
|
182
183
|
files:
|
184
|
+
- ".gitignore"
|
185
|
+
- ".travis.yml"
|
186
|
+
- ".yardopts"
|
183
187
|
- CHANGELOG.md
|
184
188
|
- CONTRIBUTING.md
|
189
|
+
- Gemfile
|
190
|
+
- Gemfile.activesupport32
|
191
|
+
- Gemfile.activesupport40
|
192
|
+
- Gemfile.activesupport41
|
193
|
+
- Gemfile.activesupport42
|
185
194
|
- MIT-LICENSE
|
186
195
|
- README.md
|
196
|
+
- Rakefile
|
197
|
+
- active_shipping.gemspec
|
187
198
|
- lib/active_shipping.rb
|
188
199
|
- lib/active_shipping/carrier.rb
|
189
200
|
- lib/active_shipping/carriers.rb
|
@@ -211,17 +222,6 @@ files:
|
|
211
222
|
- lib/active_shipping/tracking_response.rb
|
212
223
|
- lib/active_shipping/version.rb
|
213
224
|
- lib/certs/eParcel.dtd
|
214
|
-
- lib/vendor/quantified/MIT-LICENSE
|
215
|
-
- lib/vendor/quantified/README.markdown
|
216
|
-
- lib/vendor/quantified/Rakefile
|
217
|
-
- lib/vendor/quantified/init.rb
|
218
|
-
- lib/vendor/quantified/lib/quantified.rb
|
219
|
-
- lib/vendor/quantified/lib/quantified/attribute.rb
|
220
|
-
- lib/vendor/quantified/lib/quantified/length.rb
|
221
|
-
- lib/vendor/quantified/lib/quantified/mass.rb
|
222
|
-
- lib/vendor/quantified/test/length_test.rb
|
223
|
-
- lib/vendor/quantified/test/mass_test.rb
|
224
|
-
- lib/vendor/quantified/test/test_helper.rb
|
225
225
|
- lib/vendor/test_helper.rb
|
226
226
|
- lib/vendor/xml_node/README
|
227
227
|
- lib/vendor/xml_node/Rakefile
|
@@ -230,13 +230,162 @@ files:
|
|
230
230
|
- lib/vendor/xml_node/lib/xml_node.rb
|
231
231
|
- lib/vendor/xml_node/test/test_generating.rb
|
232
232
|
- lib/vendor/xml_node/test/test_parsing.rb
|
233
|
+
- shipit.rubygems.yml
|
234
|
+
- test/credentials.yml
|
235
|
+
- test/fixtures/files/label1.pdf
|
236
|
+
- test/fixtures/files/ups-shipping-label.gif
|
237
|
+
- test/fixtures/json/newzealandpost/domestic_book.json
|
238
|
+
- test/fixtures/json/newzealandpost/domestic_default.json
|
239
|
+
- test/fixtures/json/newzealandpost/domestic_error.json
|
240
|
+
- test/fixtures/json/newzealandpost/domestic_poster.json
|
241
|
+
- test/fixtures/json/newzealandpost/domestic_small_half_pound.json
|
242
|
+
- test/fixtures/json/newzealandpost/international_book.json
|
243
|
+
- test/fixtures/json/newzealandpost/international_new_zealand_wii.json
|
244
|
+
- test/fixtures/json/newzealandpost/international_small_half_pound.json
|
245
|
+
- test/fixtures/json/newzealandpost/international_wii.json
|
246
|
+
- test/fixtures/xml/canadapost/example_request.xml
|
247
|
+
- test/fixtures/xml/canadapost/example_response.xml
|
248
|
+
- test/fixtures/xml/canadapost/example_response_error.xml
|
249
|
+
- test/fixtures/xml/canadapost/example_response_french.xml
|
250
|
+
- test/fixtures/xml/canadapost/example_response_with_nil_value.xml
|
251
|
+
- test/fixtures/xml/canadapost/example_response_with_postal_outlet.xml
|
252
|
+
- test/fixtures/xml/canadapost/example_response_with_postal_outlet_french.xml
|
253
|
+
- test/fixtures/xml/canadapost/example_response_with_strange_delivery_date.xml
|
254
|
+
- test/fixtures/xml/canadapost_pws/dnc_tracking_details_en.xml
|
255
|
+
- test/fixtures/xml/canadapost_pws/merchant_details_error.xml
|
256
|
+
- test/fixtures/xml/canadapost_pws/merchant_details_response.xml
|
257
|
+
- test/fixtures/xml/canadapost_pws/option_response.xml
|
258
|
+
- test/fixtures/xml/canadapost_pws/option_response_no_conflicts.xml
|
259
|
+
- test/fixtures/xml/canadapost_pws/rates_info.xml
|
260
|
+
- test/fixtures/xml/canadapost_pws/rates_info_error.xml
|
261
|
+
- test/fixtures/xml/canadapost_pws/receipt_response.xml
|
262
|
+
- test/fixtures/xml/canadapost_pws/receipt_response_no_priced_options.xml
|
263
|
+
- test/fixtures/xml/canadapost_pws/register_token_error.xml
|
264
|
+
- test/fixtures/xml/canadapost_pws/register_token_response.xml
|
265
|
+
- test/fixtures/xml/canadapost_pws/service_options_response.xml
|
266
|
+
- test/fixtures/xml/canadapost_pws/services_error.xml
|
267
|
+
- test/fixtures/xml/canadapost_pws/services_response.xml
|
268
|
+
- test/fixtures/xml/canadapost_pws/shipment_domestic.xml
|
269
|
+
- test/fixtures/xml/canadapost_pws/shipment_response.xml
|
270
|
+
- test/fixtures/xml/canadapost_pws/shipment_us.xml
|
271
|
+
- test/fixtures/xml/canadapost_pws/tracking_details_en.xml
|
272
|
+
- test/fixtures/xml/canadapost_pws/tracking_details_en_error.xml
|
273
|
+
- test/fixtures/xml/canadapost_pws/tracking_details_en_undelivered.xml
|
274
|
+
- test/fixtures/xml/canadapost_pws/tracking_details_fr.xml
|
275
|
+
- test/fixtures/xml/canadapost_pws/tracking_details_no_expected_delivery_date.xml
|
276
|
+
- test/fixtures/xml/fedex/freight_rate_request.xml
|
277
|
+
- test/fixtures/xml/fedex/freight_rate_response.xml
|
278
|
+
- test/fixtures/xml/fedex/invalid_fedex_reply.xml
|
279
|
+
- test/fixtures/xml/fedex/ottawa_to_beverly_hills_commercial_rate_request.xml
|
280
|
+
- test/fixtures/xml/fedex/ottawa_to_beverly_hills_rate_request.xml
|
281
|
+
- test/fixtures/xml/fedex/ottawa_to_beverly_hills_rate_response.xml
|
282
|
+
- test/fixtures/xml/fedex/raterequest_reply.xml
|
283
|
+
- test/fixtures/xml/fedex/reply_without_notifications.xml
|
284
|
+
- test/fixtures/xml/fedex/tracking_request.xml
|
285
|
+
- test/fixtures/xml/fedex/tracking_response.xml
|
286
|
+
- test/fixtures/xml/fedex/tracking_response_empty_destination.xml
|
287
|
+
- test/fixtures/xml/fedex/tracking_response_no_destination.xml
|
288
|
+
- test/fixtures/xml/fedex/tracking_response_no_ship_time.xml
|
289
|
+
- test/fixtures/xml/fedex/tracking_response_with_estimated_delivery_date.xml
|
290
|
+
- test/fixtures/xml/fedex/tracking_response_with_shipper_address.xml
|
291
|
+
- test/fixtures/xml/fedex/unknown_fedex_document_reply.xml
|
292
|
+
- test/fixtures/xml/kunaki/invalid_state_response.xml
|
293
|
+
- test/fixtures/xml/kunaki/no_valid_items_response.xml
|
294
|
+
- test/fixtures/xml/kunaki/successful_rates_response.xml
|
295
|
+
- test/fixtures/xml/kunaki/unsuccessful_rates_response.xml
|
296
|
+
- test/fixtures/xml/shipwire/international_rates_response.xml
|
297
|
+
- test/fixtures/xml/shipwire/new_carrier_rate_response.xml
|
298
|
+
- test/fixtures/xml/shipwire/no_rates_response.xml
|
299
|
+
- test/fixtures/xml/shipwire/rates_response.xml
|
300
|
+
- test/fixtures/xml/shipwire/rates_response_no_estimate.xml
|
301
|
+
- test/fixtures/xml/stamps/authenticate_user_request.xml
|
302
|
+
- test/fixtures/xml/stamps/authenticate_user_response.xml
|
303
|
+
- test/fixtures/xml/stamps/cleanse_address_request.xml
|
304
|
+
- test/fixtures/xml/stamps/cleanse_address_response.xml
|
305
|
+
- test/fixtures/xml/stamps/create_indicium_request.xml
|
306
|
+
- test/fixtures/xml/stamps/create_indicium_response.xml
|
307
|
+
- test/fixtures/xml/stamps/expired_authenticator_response.xml
|
308
|
+
- test/fixtures/xml/stamps/get_account_info_request.xml
|
309
|
+
- test/fixtures/xml/stamps/get_account_info_response.xml
|
310
|
+
- test/fixtures/xml/stamps/get_purchase_status_request.xml
|
311
|
+
- test/fixtures/xml/stamps/get_purchase_status_response.xml
|
312
|
+
- test/fixtures/xml/stamps/get_rates_request.xml
|
313
|
+
- test/fixtures/xml/stamps/get_rates_response.xml
|
314
|
+
- test/fixtures/xml/stamps/purchase_postage_request.xml
|
315
|
+
- test/fixtures/xml/stamps/purchase_postage_response.xml
|
316
|
+
- test/fixtures/xml/stamps/track_shipment_request.xml
|
317
|
+
- test/fixtures/xml/stamps/track_shipment_response.xml
|
318
|
+
- test/fixtures/xml/ups/delivered_shipment_with_refund.xml
|
319
|
+
- test/fixtures/xml/ups/delivered_shipment_without_events_tracking_response.xml
|
320
|
+
- test/fixtures/xml/ups/example_tracking_response.xml
|
321
|
+
- test/fixtures/xml/ups/in_transit_shipment.xml
|
322
|
+
- test/fixtures/xml/ups/out_for_delivery_shipment.xml
|
323
|
+
- test/fixtures/xml/ups/shipment_accept_response.xml
|
324
|
+
- test/fixtures/xml/ups/shipment_confirm_response.xml
|
325
|
+
- test/fixtures/xml/ups/shipment_from_tiger_direct.xml
|
326
|
+
- test/fixtures/xml/ups/test_real_home_as_residential_destination_response.xml
|
327
|
+
- test/fixtures/xml/ups/test_real_home_as_residential_destination_response_with_insured.xml
|
328
|
+
- test/fixtures/xml/ups/test_real_home_as_residential_destination_with_origin_account_response.xml
|
329
|
+
- test/fixtures/xml/ups/triple_accept_response.xml
|
330
|
+
- test/fixtures/xml/ups/triple_confirm_response.xml
|
331
|
+
- test/fixtures/xml/usps/beverly_hills_to_new_york_book_commercial_base_rate_response.xml
|
332
|
+
- test/fixtures/xml/usps/beverly_hills_to_new_york_book_commercial_plus_rate_response.xml
|
333
|
+
- test/fixtures/xml/usps/beverly_hills_to_new_york_book_rate_response.xml
|
334
|
+
- test/fixtures/xml/usps/beverly_hills_to_ottawa_american_wii_commercial_base_rate_response.xml
|
335
|
+
- test/fixtures/xml/usps/beverly_hills_to_ottawa_american_wii_commercial_plus_rate_response.xml
|
336
|
+
- test/fixtures/xml/usps/beverly_hills_to_ottawa_american_wii_rate_response.xml
|
337
|
+
- test/fixtures/xml/usps/delivered_tracking_response.xml
|
338
|
+
- test/fixtures/xml/usps/first_class_packages_with_invalid_mail_type_response.xml
|
339
|
+
- test/fixtures/xml/usps/first_class_packages_with_mail_type_response.xml
|
340
|
+
- test/fixtures/xml/usps/first_class_packages_without_mail_type_response.xml
|
341
|
+
- test/fixtures/xml/usps/invalid_xml_tracking_response_error.xml
|
342
|
+
- test/fixtures/xml/usps/tracking_request.xml
|
343
|
+
- test/fixtures/xml/usps/tracking_response.xml
|
344
|
+
- test/fixtures/xml/usps/tracking_response_failure.xml
|
345
|
+
- test/fixtures/xml/usps/tracking_response_not_available.xml
|
346
|
+
- test/fixtures/xml/usps/tracking_response_test_error.xml
|
347
|
+
- test/fixtures/xml/usps/us_rate_request.xml
|
348
|
+
- test/fixtures/xml/usps/world_rate_request_with_value.xml
|
349
|
+
- test/fixtures/xml/usps/world_rate_request_without_value.xml
|
350
|
+
- test/remote/canada_post_pws_platform_test.rb
|
351
|
+
- test/remote/canada_post_pws_test.rb
|
352
|
+
- test/remote/canada_post_test.rb
|
353
|
+
- test/remote/fedex_test.rb
|
354
|
+
- test/remote/kunaki_test.rb
|
355
|
+
- test/remote/new_zealand_post_test.rb
|
356
|
+
- test/remote/shipwire_test.rb
|
357
|
+
- test/remote/stamps_test.rb
|
358
|
+
- test/remote/ups_test.rb
|
359
|
+
- test/remote/usps_test.rb
|
360
|
+
- test/test_helper.rb
|
361
|
+
- test/unit/carriers/benchmark_test.rb
|
362
|
+
- test/unit/carriers/canada_post_pws_rating_test.rb
|
363
|
+
- test/unit/carriers/canada_post_pws_register_test.rb
|
364
|
+
- test/unit/carriers/canada_post_pws_shipping_test.rb
|
365
|
+
- test/unit/carriers/canada_post_pws_tracking_test.rb
|
366
|
+
- test/unit/carriers/canada_post_test.rb
|
367
|
+
- test/unit/carriers/fedex_test.rb
|
368
|
+
- test/unit/carriers/kunaki_test.rb
|
369
|
+
- test/unit/carriers/new_zealand_post_test.rb
|
370
|
+
- test/unit/carriers/shipwire_test.rb
|
371
|
+
- test/unit/carriers/stamps_test.rb
|
372
|
+
- test/unit/carriers/ups_test.rb
|
373
|
+
- test/unit/carriers/usps_test.rb
|
374
|
+
- test/unit/carriers_test.rb
|
375
|
+
- test/unit/label_response_test.rb
|
376
|
+
- test/unit/location_test.rb
|
377
|
+
- test/unit/package_test.rb
|
378
|
+
- test/unit/rate_estimate_test.rb
|
379
|
+
- test/unit/response_test.rb
|
380
|
+
- test/unit/shipment_packer_test.rb
|
233
381
|
homepage: http://github.com/shopify/active_shipping
|
234
|
-
licenses:
|
382
|
+
licenses:
|
383
|
+
- MIT
|
235
384
|
metadata: {}
|
236
385
|
post_install_message:
|
237
386
|
rdoc_options: []
|
238
387
|
require_paths:
|
239
|
-
- lib
|
388
|
+
- - lib
|
240
389
|
required_ruby_version: !ruby/object:Gem::Requirement
|
241
390
|
requirements:
|
242
391
|
- - ">="
|
@@ -244,13 +393,160 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
244
393
|
version: '0'
|
245
394
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
246
395
|
requirements:
|
247
|
-
- - "
|
396
|
+
- - ">"
|
248
397
|
- !ruby/object:Gem::Version
|
249
|
-
version: 1.3.
|
398
|
+
version: 1.3.1
|
250
399
|
requirements: []
|
251
|
-
rubyforge_project:
|
400
|
+
rubyforge_project:
|
252
401
|
rubygems_version: 2.2.2
|
253
402
|
signing_key:
|
254
403
|
specification_version: 4
|
255
|
-
summary:
|
256
|
-
test_files:
|
404
|
+
summary: Simple shipping abstraction library
|
405
|
+
test_files:
|
406
|
+
- test/credentials.yml
|
407
|
+
- test/fixtures/files/label1.pdf
|
408
|
+
- test/fixtures/files/ups-shipping-label.gif
|
409
|
+
- test/fixtures/json/newzealandpost/domestic_book.json
|
410
|
+
- test/fixtures/json/newzealandpost/domestic_default.json
|
411
|
+
- test/fixtures/json/newzealandpost/domestic_error.json
|
412
|
+
- test/fixtures/json/newzealandpost/domestic_poster.json
|
413
|
+
- test/fixtures/json/newzealandpost/domestic_small_half_pound.json
|
414
|
+
- test/fixtures/json/newzealandpost/international_book.json
|
415
|
+
- test/fixtures/json/newzealandpost/international_new_zealand_wii.json
|
416
|
+
- test/fixtures/json/newzealandpost/international_small_half_pound.json
|
417
|
+
- test/fixtures/json/newzealandpost/international_wii.json
|
418
|
+
- test/fixtures/xml/canadapost/example_request.xml
|
419
|
+
- test/fixtures/xml/canadapost/example_response.xml
|
420
|
+
- test/fixtures/xml/canadapost/example_response_error.xml
|
421
|
+
- test/fixtures/xml/canadapost/example_response_french.xml
|
422
|
+
- test/fixtures/xml/canadapost/example_response_with_nil_value.xml
|
423
|
+
- test/fixtures/xml/canadapost/example_response_with_postal_outlet.xml
|
424
|
+
- test/fixtures/xml/canadapost/example_response_with_postal_outlet_french.xml
|
425
|
+
- test/fixtures/xml/canadapost/example_response_with_strange_delivery_date.xml
|
426
|
+
- test/fixtures/xml/canadapost_pws/dnc_tracking_details_en.xml
|
427
|
+
- test/fixtures/xml/canadapost_pws/merchant_details_error.xml
|
428
|
+
- test/fixtures/xml/canadapost_pws/merchant_details_response.xml
|
429
|
+
- test/fixtures/xml/canadapost_pws/option_response.xml
|
430
|
+
- test/fixtures/xml/canadapost_pws/option_response_no_conflicts.xml
|
431
|
+
- test/fixtures/xml/canadapost_pws/rates_info.xml
|
432
|
+
- test/fixtures/xml/canadapost_pws/rates_info_error.xml
|
433
|
+
- test/fixtures/xml/canadapost_pws/receipt_response.xml
|
434
|
+
- test/fixtures/xml/canadapost_pws/receipt_response_no_priced_options.xml
|
435
|
+
- test/fixtures/xml/canadapost_pws/register_token_error.xml
|
436
|
+
- test/fixtures/xml/canadapost_pws/register_token_response.xml
|
437
|
+
- test/fixtures/xml/canadapost_pws/service_options_response.xml
|
438
|
+
- test/fixtures/xml/canadapost_pws/services_error.xml
|
439
|
+
- test/fixtures/xml/canadapost_pws/services_response.xml
|
440
|
+
- test/fixtures/xml/canadapost_pws/shipment_domestic.xml
|
441
|
+
- test/fixtures/xml/canadapost_pws/shipment_response.xml
|
442
|
+
- test/fixtures/xml/canadapost_pws/shipment_us.xml
|
443
|
+
- test/fixtures/xml/canadapost_pws/tracking_details_en.xml
|
444
|
+
- test/fixtures/xml/canadapost_pws/tracking_details_en_error.xml
|
445
|
+
- test/fixtures/xml/canadapost_pws/tracking_details_en_undelivered.xml
|
446
|
+
- test/fixtures/xml/canadapost_pws/tracking_details_fr.xml
|
447
|
+
- test/fixtures/xml/canadapost_pws/tracking_details_no_expected_delivery_date.xml
|
448
|
+
- test/fixtures/xml/fedex/freight_rate_request.xml
|
449
|
+
- test/fixtures/xml/fedex/freight_rate_response.xml
|
450
|
+
- test/fixtures/xml/fedex/invalid_fedex_reply.xml
|
451
|
+
- test/fixtures/xml/fedex/ottawa_to_beverly_hills_commercial_rate_request.xml
|
452
|
+
- test/fixtures/xml/fedex/ottawa_to_beverly_hills_rate_request.xml
|
453
|
+
- test/fixtures/xml/fedex/ottawa_to_beverly_hills_rate_response.xml
|
454
|
+
- test/fixtures/xml/fedex/raterequest_reply.xml
|
455
|
+
- test/fixtures/xml/fedex/reply_without_notifications.xml
|
456
|
+
- test/fixtures/xml/fedex/tracking_request.xml
|
457
|
+
- test/fixtures/xml/fedex/tracking_response.xml
|
458
|
+
- test/fixtures/xml/fedex/tracking_response_empty_destination.xml
|
459
|
+
- test/fixtures/xml/fedex/tracking_response_no_destination.xml
|
460
|
+
- test/fixtures/xml/fedex/tracking_response_no_ship_time.xml
|
461
|
+
- test/fixtures/xml/fedex/tracking_response_with_estimated_delivery_date.xml
|
462
|
+
- test/fixtures/xml/fedex/tracking_response_with_shipper_address.xml
|
463
|
+
- test/fixtures/xml/fedex/unknown_fedex_document_reply.xml
|
464
|
+
- test/fixtures/xml/kunaki/invalid_state_response.xml
|
465
|
+
- test/fixtures/xml/kunaki/no_valid_items_response.xml
|
466
|
+
- test/fixtures/xml/kunaki/successful_rates_response.xml
|
467
|
+
- test/fixtures/xml/kunaki/unsuccessful_rates_response.xml
|
468
|
+
- test/fixtures/xml/shipwire/international_rates_response.xml
|
469
|
+
- test/fixtures/xml/shipwire/new_carrier_rate_response.xml
|
470
|
+
- test/fixtures/xml/shipwire/no_rates_response.xml
|
471
|
+
- test/fixtures/xml/shipwire/rates_response.xml
|
472
|
+
- test/fixtures/xml/shipwire/rates_response_no_estimate.xml
|
473
|
+
- test/fixtures/xml/stamps/authenticate_user_request.xml
|
474
|
+
- test/fixtures/xml/stamps/authenticate_user_response.xml
|
475
|
+
- test/fixtures/xml/stamps/cleanse_address_request.xml
|
476
|
+
- test/fixtures/xml/stamps/cleanse_address_response.xml
|
477
|
+
- test/fixtures/xml/stamps/create_indicium_request.xml
|
478
|
+
- test/fixtures/xml/stamps/create_indicium_response.xml
|
479
|
+
- test/fixtures/xml/stamps/expired_authenticator_response.xml
|
480
|
+
- test/fixtures/xml/stamps/get_account_info_request.xml
|
481
|
+
- test/fixtures/xml/stamps/get_account_info_response.xml
|
482
|
+
- test/fixtures/xml/stamps/get_purchase_status_request.xml
|
483
|
+
- test/fixtures/xml/stamps/get_purchase_status_response.xml
|
484
|
+
- test/fixtures/xml/stamps/get_rates_request.xml
|
485
|
+
- test/fixtures/xml/stamps/get_rates_response.xml
|
486
|
+
- test/fixtures/xml/stamps/purchase_postage_request.xml
|
487
|
+
- test/fixtures/xml/stamps/purchase_postage_response.xml
|
488
|
+
- test/fixtures/xml/stamps/track_shipment_request.xml
|
489
|
+
- test/fixtures/xml/stamps/track_shipment_response.xml
|
490
|
+
- test/fixtures/xml/ups/delivered_shipment_with_refund.xml
|
491
|
+
- test/fixtures/xml/ups/delivered_shipment_without_events_tracking_response.xml
|
492
|
+
- test/fixtures/xml/ups/example_tracking_response.xml
|
493
|
+
- test/fixtures/xml/ups/in_transit_shipment.xml
|
494
|
+
- test/fixtures/xml/ups/out_for_delivery_shipment.xml
|
495
|
+
- test/fixtures/xml/ups/shipment_accept_response.xml
|
496
|
+
- test/fixtures/xml/ups/shipment_confirm_response.xml
|
497
|
+
- test/fixtures/xml/ups/shipment_from_tiger_direct.xml
|
498
|
+
- test/fixtures/xml/ups/test_real_home_as_residential_destination_response.xml
|
499
|
+
- test/fixtures/xml/ups/test_real_home_as_residential_destination_response_with_insured.xml
|
500
|
+
- test/fixtures/xml/ups/test_real_home_as_residential_destination_with_origin_account_response.xml
|
501
|
+
- test/fixtures/xml/ups/triple_accept_response.xml
|
502
|
+
- test/fixtures/xml/ups/triple_confirm_response.xml
|
503
|
+
- test/fixtures/xml/usps/beverly_hills_to_new_york_book_commercial_base_rate_response.xml
|
504
|
+
- test/fixtures/xml/usps/beverly_hills_to_new_york_book_commercial_plus_rate_response.xml
|
505
|
+
- test/fixtures/xml/usps/beverly_hills_to_new_york_book_rate_response.xml
|
506
|
+
- test/fixtures/xml/usps/beverly_hills_to_ottawa_american_wii_commercial_base_rate_response.xml
|
507
|
+
- test/fixtures/xml/usps/beverly_hills_to_ottawa_american_wii_commercial_plus_rate_response.xml
|
508
|
+
- test/fixtures/xml/usps/beverly_hills_to_ottawa_american_wii_rate_response.xml
|
509
|
+
- test/fixtures/xml/usps/delivered_tracking_response.xml
|
510
|
+
- test/fixtures/xml/usps/first_class_packages_with_invalid_mail_type_response.xml
|
511
|
+
- test/fixtures/xml/usps/first_class_packages_with_mail_type_response.xml
|
512
|
+
- test/fixtures/xml/usps/first_class_packages_without_mail_type_response.xml
|
513
|
+
- test/fixtures/xml/usps/invalid_xml_tracking_response_error.xml
|
514
|
+
- test/fixtures/xml/usps/tracking_request.xml
|
515
|
+
- test/fixtures/xml/usps/tracking_response.xml
|
516
|
+
- test/fixtures/xml/usps/tracking_response_failure.xml
|
517
|
+
- test/fixtures/xml/usps/tracking_response_not_available.xml
|
518
|
+
- test/fixtures/xml/usps/tracking_response_test_error.xml
|
519
|
+
- test/fixtures/xml/usps/us_rate_request.xml
|
520
|
+
- test/fixtures/xml/usps/world_rate_request_with_value.xml
|
521
|
+
- test/fixtures/xml/usps/world_rate_request_without_value.xml
|
522
|
+
- test/remote/canada_post_pws_platform_test.rb
|
523
|
+
- test/remote/canada_post_pws_test.rb
|
524
|
+
- test/remote/canada_post_test.rb
|
525
|
+
- test/remote/fedex_test.rb
|
526
|
+
- test/remote/kunaki_test.rb
|
527
|
+
- test/remote/new_zealand_post_test.rb
|
528
|
+
- test/remote/shipwire_test.rb
|
529
|
+
- test/remote/stamps_test.rb
|
530
|
+
- test/remote/ups_test.rb
|
531
|
+
- test/remote/usps_test.rb
|
532
|
+
- test/test_helper.rb
|
533
|
+
- test/unit/carriers/benchmark_test.rb
|
534
|
+
- test/unit/carriers/canada_post_pws_rating_test.rb
|
535
|
+
- test/unit/carriers/canada_post_pws_register_test.rb
|
536
|
+
- test/unit/carriers/canada_post_pws_shipping_test.rb
|
537
|
+
- test/unit/carriers/canada_post_pws_tracking_test.rb
|
538
|
+
- test/unit/carriers/canada_post_test.rb
|
539
|
+
- test/unit/carriers/fedex_test.rb
|
540
|
+
- test/unit/carriers/kunaki_test.rb
|
541
|
+
- test/unit/carriers/new_zealand_post_test.rb
|
542
|
+
- test/unit/carriers/shipwire_test.rb
|
543
|
+
- test/unit/carriers/stamps_test.rb
|
544
|
+
- test/unit/carriers/ups_test.rb
|
545
|
+
- test/unit/carriers/usps_test.rb
|
546
|
+
- test/unit/carriers_test.rb
|
547
|
+
- test/unit/label_response_test.rb
|
548
|
+
- test/unit/location_test.rb
|
549
|
+
- test/unit/package_test.rb
|
550
|
+
- test/unit/rate_estimate_test.rb
|
551
|
+
- test/unit/response_test.rb
|
552
|
+
- test/unit/shipment_packer_test.rb
|
metadata.gz.sig
CHANGED
Binary file
|
@@ -1,22 +0,0 @@
|
|
1
|
-
Copyright (c) 2009 James MacAulay
|
2
|
-
|
3
|
-
Permission is hereby granted, free of charge, to any person
|
4
|
-
obtaining a copy of this software and associated documentation
|
5
|
-
files (the "Software"), to deal in the Software without
|
6
|
-
restriction, including without limitation the rights to use,
|
7
|
-
copy, modify, merge, publish, distribute, sublicense, and/or sell
|
8
|
-
copies of the Software, and to permit persons to whom the
|
9
|
-
Software is furnished to do so, subject to the following
|
10
|
-
conditions:
|
11
|
-
|
12
|
-
The above copyright notice and this permission notice shall be
|
13
|
-
included in all copies or substantial portions of the Software.
|
14
|
-
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
16
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
17
|
-
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
18
|
-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
19
|
-
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
20
|
-
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
21
|
-
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
22
|
-
OTHER DEALINGS IN THE SOFTWARE.
|