active_shipping 1.14.2 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (77) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +3 -25
  3. data/CHANGELOG.md +5 -0
  4. data/CONTRIBUTING.md +2 -0
  5. data/README.md +2 -8
  6. data/active_shipping.gemspec +9 -3
  7. data/gemfiles/activesupport42.gemfile +0 -1
  8. data/lib/active_shipping.rb +1 -1
  9. data/lib/active_shipping/carrier.rb +2 -4
  10. data/lib/active_shipping/carriers/australia_post.rb +2 -4
  11. data/lib/active_shipping/carriers/canada_post.rb +1 -1
  12. data/lib/active_shipping/carriers/canada_post_pws.rb +33 -37
  13. data/lib/active_shipping/carriers/correios.rb +0 -2
  14. data/lib/active_shipping/carriers/new_zealand_post.rb +0 -2
  15. data/lib/active_shipping/carriers/ups.rb +0 -2
  16. data/lib/active_shipping/carriers/usps.rb +1 -3
  17. data/lib/active_shipping/external_return_label_request.rb +0 -4
  18. data/lib/active_shipping/location.rb +65 -52
  19. data/lib/active_shipping/package.rb +17 -21
  20. data/lib/active_shipping/package_item.rb +8 -20
  21. data/lib/active_shipping/rate_estimate.rb +1 -1
  22. data/lib/active_shipping/version.rb +1 -1
  23. data/test/fixtures/xml/canadapost/example_request.xml +3 -3
  24. data/test/helpers/holiday_helpers.rb +54 -0
  25. data/test/remote/australia_post_test.rb +1 -1
  26. data/test/remote/canada_post_pws_platform_test.rb +1 -3
  27. data/test/remote/canada_post_pws_test.rb +1 -1
  28. data/test/remote/canada_post_test.rb +1 -1
  29. data/test/remote/correios_test.rb +1 -2
  30. data/test/remote/fedex_test.rb +8 -8
  31. data/test/remote/kunaki_test.rb +1 -1
  32. data/test/remote/new_zealand_post_test.rb +1 -1
  33. data/test/remote/shipwire_test.rb +1 -1
  34. data/test/remote/stamps_test.rb +7 -7
  35. data/test/remote/ups_surepost_test.rb +1 -1
  36. data/test/remote/ups_test.rb +13 -11
  37. data/test/remote/usps_returns_test.rb +1 -1
  38. data/test/remote/usps_test.rb +5 -5
  39. data/test/test_helper.rb +16 -6
  40. data/test/unit/carrier_test.rb +25 -25
  41. data/test/unit/carriers/australia_post_test.rb +5 -5
  42. data/test/unit/carriers/benchmark_test.rb +1 -1
  43. data/test/unit/carriers/canada_post_pws_rating_test.rb +1 -15
  44. data/test/unit/carriers/canada_post_pws_register_test.rb +1 -15
  45. data/test/unit/carriers/canada_post_pws_shipping_test.rb +1 -13
  46. data/test/unit/carriers/canada_post_pws_test.rb +4 -4
  47. data/test/unit/carriers/canada_post_pws_tracking_test.rb +1 -1
  48. data/test/unit/carriers/canada_post_test.rb +9 -9
  49. data/test/unit/carriers/correios_test.rb +1 -2
  50. data/test/unit/carriers/fedex_test.rb +5 -5
  51. data/test/unit/carriers/kunaki_test.rb +1 -1
  52. data/test/unit/carriers/new_zealand_post_test.rb +9 -10
  53. data/test/unit/carriers/shipwire_test.rb +1 -1
  54. data/test/unit/carriers/stamps_test.rb +1 -1
  55. data/test/unit/carriers/ups_test.rb +1 -1
  56. data/test/unit/carriers/usps_returns_test.rb +1 -1
  57. data/test/unit/carriers/usps_test.rb +1 -1
  58. data/test/unit/carriers_test.rb +4 -5
  59. data/test/unit/external_return_label_request_test.rb +129 -83
  60. data/test/unit/location_test.rb +187 -91
  61. data/test/unit/package_item_test.rb +42 -47
  62. data/test/unit/package_test.rb +76 -75
  63. data/test/unit/rate_estimate_test.rb +16 -20
  64. data/test/unit/response_test.rb +28 -9
  65. data/test/unit/shipment_event_test.rb +1 -1
  66. data/test/unit/shipment_packer_test.rb +31 -31
  67. data/test/unit/tracking_response_test.rb +1 -1
  68. metadata +71 -23
  69. data/gemfiles/activesupport32.gemfile +0 -7
  70. data/gemfiles/activesupport32_nokogiri_17.gemfile +0 -7
  71. data/gemfiles/activesupport40.gemfile +0 -6
  72. data/gemfiles/activesupport40_nokogiri_17.gemfile +0 -6
  73. data/gemfiles/activesupport41.gemfile +0 -6
  74. data/gemfiles/activesupport41_nokogiri_17.gemfile +0 -6
  75. data/gemfiles/activesupport42_nokogiri_17.gemfile +0 -6
  76. data/test/fixtures/xml/canadapost_pws/merchant_details_response_no_contract_number.xml +0 -7
  77. data/test/fixtures/xml/canadapost_pws/service_options_response_priority_worldwide.xml +0 -41
@@ -1,19 +1,38 @@
1
1
  require 'test_helper'
2
2
 
3
- class ResponseTest < Minitest::Test
4
- def test_initialize_success
5
- response = RateResponse.new(true, "success!", {:rate => 'Free!'}, :rates => [stub(:service_name => 'Free!', :total_price => 0)], :xml => "<rate>Free!</rate>")
6
- assert response.success?
3
+ class ResponseTest < ActiveSupport::TestCase
4
+ test "#initialize for a successful response" do
5
+ response = RateResponse.new(
6
+ true,
7
+ "success!",
8
+ { rate: 'Free!' },
9
+ rates: [ stub(service_name: 'Free!', total_price: 0) ],
10
+ xml: "<rate>Free!</rate>"
11
+ )
12
+ assert_predicate response, :success?
7
13
  end
8
14
 
9
- def test_initialize_failure
15
+ test "#initialize for a failed response raises ResponseError" do
10
16
  assert_raises(ActiveShipping::ResponseError) do
11
- RateResponse.new(false, "fail!", {:rate => 'Free!'}, :rates => [stub(:service_name => 'Free!', :total_price => 0)], :xml => "<rate>Free!</rate>")
17
+ RateResponse.new(
18
+ false,
19
+ "fail!",
20
+ { rate: 'Free!' },
21
+ rates: [ stub(service_name: 'Free!', total_price: 0) ],
22
+ xml: "<rate>Free!</rate>"
23
+ )
12
24
  end
13
25
  end
14
26
 
15
- def test_initialize_failure_no_raise
16
- response = RateResponse.new(false, "fail!", {:rate => 'Free!'}, :rates => [stub(:service_name => 'Free!', :total_price => 0)], :xml => "<rate>Free!</rate>", :allow_failure => true)
17
- refute response.success?
27
+ test "#initialize doesn't raise when you pass in allow_failure" do
28
+ response = RateResponse.new(
29
+ false,
30
+ "fail!",
31
+ { rate: 'Free!' },
32
+ rates: [ stub(service_name: 'Free!', total_price: 0) ],
33
+ xml: "<rate>Free!</rate>",
34
+ allow_failure: true,
35
+ )
36
+ refute_predicate response, :success?
18
37
  end
19
38
  end
@@ -1,6 +1,6 @@
1
1
  require 'test_helper'
2
2
 
3
- class ShipmentEventTest < Minitest::Test
3
+ class ShipmentEventTest < ActiveSupport::TestCase
4
4
  def test_equality
5
5
  options1 = [
6
6
  'ARRIVED AT UNIT',
@@ -1,42 +1,42 @@
1
1
  require 'test_helper'
2
2
 
3
- class ShipmentPackerTest < Minitest::Test
3
+ class ShipmentPackerTest < ActiveSupport::TestCase
4
4
  def setup
5
5
  @dimensions = [5.1, 15.2, 30.5]
6
6
  end
7
7
 
8
- def test_pack_divide_order_into_a_single_package
8
+ test "pack divide order into a single package" do
9
9
  items = [{ grams: 1, quantity: 1, price: 1.0 }]
10
10
 
11
11
  packages = ShipmentPacker.pack(items, @dimensions, 1, 'USD')
12
12
  assert_equal 1, packages.size
13
13
 
14
14
  package = packages.first
15
- assert_equal 1, package.weight
15
+ assert_equal Measured::Weight(1, :g), package.weight
16
16
  end
17
17
 
18
- def test_divide_order_with_multiple_lines_into_a_single_package
18
+ test "divide order with multiple lines into a single package" do
19
19
  items = [{ grams: 1, quantity: 2, price: 1.0 }]
20
20
 
21
21
  packages = ShipmentPacker.pack(items, @dimensions, 2, 'USD')
22
22
  assert_equal 1, packages.size
23
23
 
24
24
  package = packages.first
25
- assert_equal 2, package.weight
25
+ assert_equal Measured::Weight(2, :g), package.weight
26
26
  end
27
27
 
28
- def test_divide_order_with_single_line_into_two_packages
28
+ test "divide order with single line into two packages" do
29
29
  items = [{ grams: 1, quantity: 2, price: 1.0 }]
30
30
 
31
31
  packages = ShipmentPacker.pack(items, @dimensions, 1, 'USD')
32
32
  assert_equal 2, packages.size
33
33
 
34
34
  packages.each do |package|
35
- assert_equal 1, package.weight
35
+ assert_equal Measured::Weight(1, :g), package.weight
36
36
  end
37
37
  end
38
38
 
39
- def test_divide_order_with_single_line_into_two_packages_max_weight_as_float
39
+ test "divide order with single line into two packages max weight as float" do
40
40
  max_weight = 68038.8555
41
41
 
42
42
  items = [{ grams: 45359, quantity: 2, price: 1.0 }]
@@ -45,11 +45,11 @@ class ShipmentPackerTest < Minitest::Test
45
45
  assert_equal 2, packages.size
46
46
 
47
47
  packages.each do |package|
48
- assert_equal 45359, package.weight
48
+ assert_equal Measured::Weight(45359, :g), package.weight
49
49
  end
50
50
  end
51
51
 
52
- def test_divide_order_with_multiple_lines_into_two_packages
52
+ test "divide order with multiple lines into two packages" do
53
53
  items = [
54
54
  { grams: 1, quantity: 1, price: 1.0 },
55
55
  { grams: 1, quantity: 1, price: 1.0 }
@@ -59,11 +59,11 @@ class ShipmentPackerTest < Minitest::Test
59
59
  assert_equal 2, packages.size
60
60
 
61
61
  packages.each do |package|
62
- assert_equal 1, package.weight
62
+ assert_equal Measured::Weight(1, :g), package.weight
63
63
  end
64
64
  end
65
65
 
66
- def test_divide_order_into_two_packages_mixing_line_items
66
+ test "divide order into two packages mixing line items" do
67
67
  items = [
68
68
  { grams: 1, quantity: 1, price: 1.0 },
69
69
  { grams: 1, quantity: 1, price: 1.0 },
@@ -73,29 +73,29 @@ class ShipmentPackerTest < Minitest::Test
73
73
  packages = ShipmentPacker.pack(items, @dimensions, 2, 'USD')
74
74
  assert_equal 2, packages.size
75
75
 
76
- assert_equal 2, packages[0].weight
77
- assert_equal 1, packages[1].weight
76
+ assert_equal Measured::Weight(2, :g), packages[0].weight
77
+ assert_equal Measured::Weight(1, :g), packages[1].weight
78
78
  end
79
79
 
80
- def test_raise_overweight_exception_when_a_single_item_exceeds_the_maximum_weight_of_a_package
80
+ test "raise overweight exception when a single item exceeds the maximum weight of a package" do
81
81
  assert_raises(ShipmentPacker::OverweightItem) do
82
82
  items = [{ grams: 2, quantity: 1, price: 1.0 }]
83
83
  ShipmentPacker.pack(items, @dimensions, 1, 'USD')
84
84
  end
85
85
  end
86
86
 
87
- def test_raise_over_weight_exceptions_before_over_package_limit_exceptions
87
+ test "raise over weight exceptions before over package limit exceptions" do
88
88
  assert_raises(ShipmentPacker::OverweightItem) do
89
89
  items = [{ grams: 5, quantity: ShipmentPacker::EXCESS_PACKAGE_QUANTITY_THRESHOLD + 1, price: 1.0 }]
90
90
  ShipmentPacker.pack(items, @dimensions, 4, 'USD')
91
91
  end
92
92
  end
93
93
 
94
- def test_returns_an_empty_list_when_no_items_provided
94
+ test "returns an empty list when no items provided" do
95
95
  assert_equal [], ShipmentPacker.pack([], @dimensions, 1, 'USD')
96
96
  end
97
97
 
98
- def test_add_summarized_prices_for_all_items_and_currency_to_package
98
+ test "add summarized prices for all items and currency to package" do
99
99
  items = [
100
100
  { grams: 1, quantity: 3, price: 1.0 },
101
101
  { grams: 2, quantity: 1, price: 2.0 }
@@ -106,7 +106,7 @@ class ShipmentPackerTest < Minitest::Test
106
106
  assert_equal 'USD', packages.first.currency
107
107
  end
108
108
 
109
- def test_divide_items_and_prices_accordingly_when_splitting_into_two_packages
109
+ test "divide items and prices accordingly when splitting into two packages" do
110
110
  items = [
111
111
  { grams: 1, quantity: 1, price: 1.0 },
112
112
  { grams: 1, quantity: 1, price: 1.0 },
@@ -122,7 +122,7 @@ class ShipmentPackerTest < Minitest::Test
122
122
  assert_equal 'USD', packages[1].currency
123
123
  end
124
124
 
125
- def test_symbolize_item_keys
125
+ test "symbolize item keys" do
126
126
  string_key_items = [{ 'grams' => 1, 'quantity' => 1, 'price' => 1.0 }]
127
127
  indifferent_access_items = [{ 'grams' => 1, 'quantity' => 1, 'price' => 1.0 }.with_indifferent_access]
128
128
 
@@ -131,22 +131,22 @@ class ShipmentPackerTest < Minitest::Test
131
131
  assert_equal 1, packages.size
132
132
 
133
133
  package = packages.first
134
- assert_equal 1, package.weight
134
+ assert_equal Measured::Weight(1, :g), package.weight
135
135
  assert_equal 100, package.value
136
136
  end
137
137
  end
138
138
 
139
- def test_cast_quantity_and_grams_to_int
139
+ test "cast quantity and grams to int" do
140
140
  items = [{ grams: '1', quantity: '1', price: '1.0' }]
141
141
 
142
142
  packages = ShipmentPacker.pack(items, @dimensions, 1, 'USD')
143
143
 
144
144
  package = packages.first
145
- assert_equal 1, package.weight
145
+ assert_equal Measured::Weight(1, :g), package.weight
146
146
  assert_equal 100, package.value
147
147
  end
148
148
 
149
- def test_excess_packages_raised_over_threshold_before_packing_begins
149
+ test "excess packages raised over threshold before packing begins" do
150
150
  ActiveShipping::Package.expects(:new).never
151
151
  items = [{ grams: 1, quantity: ShipmentPacker::EXCESS_PACKAGE_QUANTITY_THRESHOLD + 1, price: 1.0 }]
152
152
 
@@ -155,21 +155,21 @@ class ShipmentPackerTest < Minitest::Test
155
155
  end
156
156
  end
157
157
 
158
- def test_excess_packages_not_raised_at_threshold
158
+ test "excess packages not raised at threshold" do
159
159
  items = [{ grams: 1, quantity: ShipmentPacker::EXCESS_PACKAGE_QUANTITY_THRESHOLD, price: 1.0 }]
160
160
  packages = ShipmentPacker.pack(items, @dimensions, 1, 'USD')
161
161
 
162
162
  assert_predicate packages, :present?
163
163
  end
164
164
 
165
- def test_excess_packages_not_raised_below_threshold
165
+ test "excess packages not raised below threshold" do
166
166
  items = [{ grams: 1, quantity: ShipmentPacker::EXCESS_PACKAGE_QUANTITY_THRESHOLD - 1, price: 1.0 }]
167
167
  packages = ShipmentPacker.pack(items, @dimensions, 1, 'USD')
168
168
 
169
169
  assert_predicate packages, :present?
170
170
  end
171
171
 
172
- def test_excess_packages_with_slightly_larger_max_weight_than_item_weight
172
+ test "excess packages with slightly larger max weight than item weight" do
173
173
  max_weight = 750
174
174
  items = [{ grams: 500, quantity: ShipmentPacker::EXCESS_PACKAGE_QUANTITY_THRESHOLD + 1, price: 1.0 }]
175
175
 
@@ -178,7 +178,7 @@ class ShipmentPackerTest < Minitest::Test
178
178
  end
179
179
  end
180
180
 
181
- def test_lots_of_zero_weight_items
181
+ test "lots of zero weight items" do
182
182
  items = [{ grams: 0, quantity: 1_000_000, price: 1.0 }]
183
183
  packages = ShipmentPacker.pack(items, @dimensions, 1, 'USD')
184
184
 
@@ -187,7 +187,7 @@ class ShipmentPackerTest < Minitest::Test
187
187
  assert_equal 100_000_000, packages[0].value
188
188
  end
189
189
 
190
- def test_dont_destroy_input_items
190
+ test "dont destroy input items" do
191
191
  items = [{ grams: 1, quantity: 5, price: 1.0 }]
192
192
 
193
193
  packages = ShipmentPacker.pack(items, @dimensions, 10, 'USD')
@@ -196,14 +196,14 @@ class ShipmentPackerTest < Minitest::Test
196
196
  assert_equal 1, packages.size
197
197
  end
198
198
 
199
- def test_dont_modify_input_item_quantities
199
+ test "dont modify input item quantities" do
200
200
  items = [{ grams: 1, quantity: 5, price: 1.0 }]
201
201
 
202
202
  ShipmentPacker.pack(items, @dimensions, 10, 'USD')
203
203
  assert_equal 5, items.first[:quantity]
204
204
  end
205
205
 
206
- def test_items_with_negative_weight
206
+ test "items with negative weight" do
207
207
  items = [{ grams: -1, quantity: 5, price: 1.0 }]
208
208
 
209
209
  ShipmentPacker.pack(items, @dimensions, 10, 'USD')
@@ -1,6 +1,6 @@
1
1
  require 'test_helper'
2
2
 
3
- class TrackingResponseTest < Minitest::Test
3
+ class TrackingResponseTest < ActiveSupport::TestCase
4
4
  def test_equality
5
5
  options1 = {
6
6
  carrier: 'usps',
metadata CHANGED
@@ -1,36 +1,36 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_shipping
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.14.2
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shopify
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-05-17 00:00:00.000000000 Z
11
+ date: 2017-05-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: quantified
14
+ name: measured
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 1.0.1
19
+ version: '2.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: 1.0.1
26
+ version: '2.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: activesupport
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '3.2'
33
+ version: '4.2'
34
34
  - - "<"
35
35
  - !ruby/object:Gem::Version
36
36
  version: 5.2.0
@@ -40,7 +40,7 @@ dependencies:
40
40
  requirements:
41
41
  - - ">="
42
42
  - !ruby/object:Gem::Version
43
- version: '3.2'
43
+ version: '4.2'
44
44
  - - "<"
45
45
  - !ruby/object:Gem::Version
46
46
  version: 5.2.0
@@ -64,14 +64,14 @@ dependencies:
64
64
  requirements:
65
65
  - - ">="
66
66
  - !ruby/object:Gem::Version
67
- version: 1.6.8
67
+ version: '1.6'
68
68
  type: :runtime
69
69
  prerelease: false
70
70
  version_requirements: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - ">="
73
73
  - !ruby/object:Gem::Version
74
- version: 1.6.8
74
+ version: '1.6'
75
75
  - !ruby/object:Gem::Dependency
76
76
  name: minitest
77
77
  requirement: !ruby/object:Gem::Requirement
@@ -86,6 +86,20 @@ dependencies:
86
86
  - - ">="
87
87
  - !ruby/object:Gem::Version
88
88
  version: '0'
89
+ - !ruby/object:Gem::Dependency
90
+ name: minitest-reporters
91
+ requirement: !ruby/object:Gem::Requirement
92
+ requirements:
93
+ - - ">="
94
+ - !ruby/object:Gem::Version
95
+ version: '0'
96
+ type: :development
97
+ prerelease: false
98
+ version_requirements: !ruby/object:Gem::Requirement
99
+ requirements:
100
+ - - ">="
101
+ - !ruby/object:Gem::Version
102
+ version: '0'
89
103
  - !ruby/object:Gem::Dependency
90
104
  name: rake
91
105
  requirement: !ruby/object:Gem::Requirement
@@ -156,6 +170,48 @@ dependencies:
156
170
  - - ">="
157
171
  - !ruby/object:Gem::Version
158
172
  version: '0'
173
+ - !ruby/object:Gem::Dependency
174
+ name: pry-byebug
175
+ requirement: !ruby/object:Gem::Requirement
176
+ requirements:
177
+ - - ">="
178
+ - !ruby/object:Gem::Version
179
+ version: '0'
180
+ type: :development
181
+ prerelease: false
182
+ version_requirements: !ruby/object:Gem::Requirement
183
+ requirements:
184
+ - - ">="
185
+ - !ruby/object:Gem::Version
186
+ version: '0'
187
+ - !ruby/object:Gem::Dependency
188
+ name: vcr
189
+ requirement: !ruby/object:Gem::Requirement
190
+ requirements:
191
+ - - ">="
192
+ - !ruby/object:Gem::Version
193
+ version: '0'
194
+ type: :development
195
+ prerelease: false
196
+ version_requirements: !ruby/object:Gem::Requirement
197
+ requirements:
198
+ - - ">="
199
+ - !ruby/object:Gem::Version
200
+ version: '0'
201
+ - !ruby/object:Gem::Dependency
202
+ name: webmock
203
+ requirement: !ruby/object:Gem::Requirement
204
+ requirements:
205
+ - - ">="
206
+ - !ruby/object:Gem::Version
207
+ version: '0'
208
+ type: :development
209
+ prerelease: false
210
+ version_requirements: !ruby/object:Gem::Requirement
211
+ requirements:
212
+ - - ">="
213
+ - !ruby/object:Gem::Version
214
+ version: '0'
159
215
  description: Get rates and tracking info from various shipping carriers. Extracted
160
216
  from Shopify.
161
217
  email:
@@ -175,14 +231,7 @@ files:
175
231
  - Rakefile
176
232
  - active_shipping.gemspec
177
233
  - dev.yml
178
- - gemfiles/activesupport32.gemfile
179
- - gemfiles/activesupport32_nokogiri_17.gemfile
180
- - gemfiles/activesupport40.gemfile
181
- - gemfiles/activesupport40_nokogiri_17.gemfile
182
- - gemfiles/activesupport41.gemfile
183
- - gemfiles/activesupport41_nokogiri_17.gemfile
184
234
  - gemfiles/activesupport42.gemfile
185
- - gemfiles/activesupport42_nokogiri_17.gemfile
186
235
  - gemfiles/activesupport50.gemfile
187
236
  - gemfiles/activesupport_master.gemfile
188
237
  - lib/active_shipping.rb
@@ -256,7 +305,6 @@ files:
256
305
  - test/fixtures/xml/canadapost_pws/dnc_tracking_details_en.xml
257
306
  - test/fixtures/xml/canadapost_pws/merchant_details_error.xml
258
307
  - test/fixtures/xml/canadapost_pws/merchant_details_response.xml
259
- - test/fixtures/xml/canadapost_pws/merchant_details_response_no_contract_number.xml
260
308
  - test/fixtures/xml/canadapost_pws/option_response.xml
261
309
  - test/fixtures/xml/canadapost_pws/option_response_no_conflicts.xml
262
310
  - test/fixtures/xml/canadapost_pws/rates_info.xml
@@ -266,7 +314,6 @@ files:
266
314
  - test/fixtures/xml/canadapost_pws/register_token_error.xml
267
315
  - test/fixtures/xml/canadapost_pws/register_token_response.xml
268
316
  - test/fixtures/xml/canadapost_pws/service_options_response.xml
269
- - test/fixtures/xml/canadapost_pws/service_options_response_priority_worldwide.xml
270
317
  - test/fixtures/xml/canadapost_pws/services_error.xml
271
318
  - test/fixtures/xml/canadapost_pws/services_response.xml
272
319
  - test/fixtures/xml/canadapost_pws/shipment_domestic.xml
@@ -393,6 +440,7 @@ files:
393
440
  - test/fixtures/xml/usps/world_rate_request_without_value.xml
394
441
  - test/fixtures/xml/usps_returns/external_return_label_response.xml
395
442
  - test/fixtures/xml/usps_returns/external_return_label_response_failure.xml
443
+ - test/helpers/holiday_helpers.rb
396
444
  - test/remote/australia_post_test.rb
397
445
  - test/remote/canada_post_pws_platform_test.rb
398
446
  - test/remote/canada_post_pws_test.rb
@@ -440,7 +488,8 @@ homepage: http://github.com/shopify/active_shipping
440
488
  licenses:
441
489
  - MIT
442
490
  metadata: {}
443
- post_install_message:
491
+ post_install_message: 'Thanks for installing ActiveShipping! If upgrading to v2.0,
492
+ please see the changelog for breaking changes: https://github.com/Shopify/active_shipping/blob/master/CHANGELOG.md.'
444
493
  rdoc_options: []
445
494
  require_paths:
446
495
  - lib
@@ -494,7 +543,6 @@ test_files:
494
543
  - test/fixtures/xml/canadapost_pws/dnc_tracking_details_en.xml
495
544
  - test/fixtures/xml/canadapost_pws/merchant_details_error.xml
496
545
  - test/fixtures/xml/canadapost_pws/merchant_details_response.xml
497
- - test/fixtures/xml/canadapost_pws/merchant_details_response_no_contract_number.xml
498
546
  - test/fixtures/xml/canadapost_pws/option_response.xml
499
547
  - test/fixtures/xml/canadapost_pws/option_response_no_conflicts.xml
500
548
  - test/fixtures/xml/canadapost_pws/rates_info.xml
@@ -504,7 +552,6 @@ test_files:
504
552
  - test/fixtures/xml/canadapost_pws/register_token_error.xml
505
553
  - test/fixtures/xml/canadapost_pws/register_token_response.xml
506
554
  - test/fixtures/xml/canadapost_pws/service_options_response.xml
507
- - test/fixtures/xml/canadapost_pws/service_options_response_priority_worldwide.xml
508
555
  - test/fixtures/xml/canadapost_pws/services_error.xml
509
556
  - test/fixtures/xml/canadapost_pws/services_response.xml
510
557
  - test/fixtures/xml/canadapost_pws/shipment_domestic.xml
@@ -631,6 +678,7 @@ test_files:
631
678
  - test/fixtures/xml/usps/world_rate_request_without_value.xml
632
679
  - test/fixtures/xml/usps_returns/external_return_label_response.xml
633
680
  - test/fixtures/xml/usps_returns/external_return_label_response_failure.xml
681
+ - test/helpers/holiday_helpers.rb
634
682
  - test/remote/australia_post_test.rb
635
683
  - test/remote/canada_post_pws_platform_test.rb
636
684
  - test/remote/canada_post_pws_test.rb