solidus_easypost 1.0.3 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (97) hide show
  1. checksums.yaml +5 -5
  2. data/.circleci/config.yml +41 -0
  3. data/.gem_release.yml +5 -0
  4. data/.github/stale.yml +17 -0
  5. data/.github_changelog_generator +2 -0
  6. data/.gitignore +21 -0
  7. data/.rspec +2 -0
  8. data/.rubocop.yml +7 -0
  9. data/.rubocop_todo.yml +36 -0
  10. data/CHANGELOG.md +113 -0
  11. data/Gemfile +33 -0
  12. data/LICENSE +26 -0
  13. data/README.md +194 -0
  14. data/Rakefile +6 -0
  15. data/app/controllers/spree/admin/postage_labels_controller.rb +20 -0
  16. data/app/decorators/models/solidus_easypost/spree/carton_decorator.rb +38 -0
  17. data/app/decorators/models/solidus_easypost/spree/shipment_decorator.rb +47 -0
  18. data/app/decorators/models/solidus_easypost/spree/shipping_rate_decorator.rb +13 -0
  19. data/app/models/solidus_easypost/parcel_dimension.rb +34 -0
  20. data/app/models/solidus_easypost/return_authorization.rb +27 -0
  21. data/app/overrides/spree/admin/orders/_shipment/add_postage_label.html.erb.deface +10 -0
  22. data/bin/console +17 -0
  23. data/bin/rails +7 -0
  24. data/bin/rails-engine +13 -0
  25. data/bin/rails-sandbox +16 -0
  26. data/bin/rake +7 -0
  27. data/bin/sandbox +86 -0
  28. data/bin/setup +8 -0
  29. data/config/initializers/webhooks.rb +7 -0
  30. data/config/locales/en.yml +8 -0
  31. data/config/routes.rb +9 -0
  32. data/db/migrate/20140515024440_add_easy_post_fields_to_shipping_rate.rb +9 -0
  33. data/db/migrate/20201025110912_add_tracker_id_to_cartons.rb +6 -0
  34. data/lib/generators/solidus_easypost/install/install_generator.rb +28 -0
  35. data/lib/generators/solidus_easypost/install/templates/initializer.rb +26 -0
  36. data/lib/solidus_easypost/address_builder.rb +45 -0
  37. data/lib/solidus_easypost/calculator/base_dimension_calculator.rb +28 -0
  38. data/lib/solidus_easypost/calculator/weight_dimension_calculator.rb +22 -0
  39. data/lib/solidus_easypost/configuration.rb +34 -0
  40. data/lib/solidus_easypost/engine.rb +19 -0
  41. data/lib/solidus_easypost/errors/unknown_partial_resource_error.rb +11 -0
  42. data/lib/solidus_easypost/estimator.rb +37 -0
  43. data/lib/solidus_easypost/parcel_builder.rb +27 -0
  44. data/lib/solidus_easypost/shipment_builder.rb +32 -0
  45. data/lib/solidus_easypost/shipping_method_selector.rb +17 -0
  46. data/lib/solidus_easypost/shipping_rate_calculator.rb +9 -0
  47. data/lib/solidus_easypost/testing_support/factories/address_factory.rb +10 -0
  48. data/lib/solidus_easypost/testing_support/factories/product_factory.rb +7 -0
  49. data/lib/solidus_easypost/testing_support/factories/shipment_factory.rb +30 -0
  50. data/lib/solidus_easypost/testing_support/factories/shipping_method_factory.rb +8 -0
  51. data/lib/solidus_easypost/testing_support/factories/stock_location_factory.rb +10 -0
  52. data/lib/solidus_easypost/testing_support/factories/variant_factory.rb +7 -0
  53. data/lib/solidus_easypost/testing_support/factories.rb +3 -0
  54. data/lib/solidus_easypost/tracker_webhook_handler.rb +14 -0
  55. data/lib/solidus_easypost/version.rb +5 -0
  56. data/lib/solidus_easypost.rb +32 -0
  57. data/solidus_easypost.gemspec +41 -0
  58. data/spec/cassettes/address_builder/from_address.yml +65 -0
  59. data/spec/cassettes/address_builder/from_stock_location.yml +65 -0
  60. data/spec/cassettes/estimator.yml +269 -0
  61. data/spec/cassettes/integration/checkout.yml +377 -0
  62. data/spec/cassettes/integration/order_shipping/with_purchase_labels.yml +373 -0
  63. data/spec/cassettes/integration/order_shipping/without_purchase_labels.yml +251 -0
  64. data/spec/cassettes/parcel_builder/from_package.yml +63 -0
  65. data/spec/cassettes/parcel_builder/from_return_authorization.yml +63 -0
  66. data/spec/cassettes/postage_labels/show.yml +72 -0
  67. data/spec/cassettes/return_authorization.yml +310 -0
  68. data/spec/cassettes/shipment_builder/from_package.yml +251 -0
  69. data/spec/cassettes/shipment_builder/from_return_authorization.yml +251 -0
  70. data/spec/cassettes/shipment_builder/from_shipment.yml +250 -0
  71. data/spec/controllers/spree/admin/postage_labels_controller_spec.rb +18 -0
  72. data/spec/features/admin/postage_labels_spec.rb +18 -0
  73. data/spec/integration/checkout_spec.rb +45 -0
  74. data/spec/integration/order_shipping_spec.rb +33 -0
  75. data/spec/models/solidus_easypost/parcel_dimension_spec.rb +80 -0
  76. data/spec/models/solidus_easypost/return_authorization_spec.rb +17 -0
  77. data/spec/models/spree/carton_spec.rb +57 -0
  78. data/spec/models/spree/shipment_spec.rb +69 -0
  79. data/spec/models/spree/shipping_rate_spec.rb +23 -0
  80. data/spec/solidus_easypost/address_builder_spec.rb +17 -0
  81. data/spec/solidus_easypost/calculator/weight_dimension_calculator_spec.rb +39 -0
  82. data/spec/solidus_easypost/estimator_spec.rb +52 -0
  83. data/spec/solidus_easypost/parcel_builder_spec.rb +113 -0
  84. data/spec/solidus_easypost/shipment_builder_spec.rb +28 -0
  85. data/spec/solidus_easypost/shipping_method_selector_spec.rb +33 -0
  86. data/spec/solidus_easypost/shipping_rate_calculator_spec.rb +12 -0
  87. data/spec/solidus_easypost/tracker_webhook_handler_spec.rb +58 -0
  88. data/spec/solidus_easypost_spec.rb +19 -0
  89. data/spec/spec_helper.rb +31 -0
  90. data/spec/support/easypost.rb +5 -0
  91. data/spec/support/factory_bot.rb +3 -0
  92. data/spec/support/helpers/api_stubs.rb +40 -0
  93. data/spec/support/helpers/configuration.rb +28 -0
  94. data/spec/support/helpers/shipping_methods.rb +26 -0
  95. data/spec/support/solidus.rb +1 -0
  96. data/spec/support/vcr.rb +12 -0
  97. metadata +170 -142
@@ -0,0 +1,40 @@
1
+ module SolidusEasypost
2
+ module TestHelpers
3
+ module ApiStubs
4
+ def stub_easypost_shipment
5
+ EasyPost::Shipment.class_eval do
6
+ def rates; end
7
+
8
+ def tracking_code; end
9
+ end
10
+
11
+ easypost_shipment = instance_spy(
12
+ EasyPost::Shipment,
13
+ id: SecureRandom.hex,
14
+ tracking_code: SecureRandom.hex,
15
+ rates: Array.new(3) { stub_easypost_rate },
16
+ )
17
+
18
+ allow(EasyPost::Shipment).to receive(:retrieve)
19
+ .with(easypost_shipment.id)
20
+ .and_return(easypost_shipment)
21
+
22
+ easypost_shipment
23
+ end
24
+
25
+ def stub_easypost_rate
26
+ easypost_rate = instance_spy(EasyPost::Rate, id: SecureRandom.hex)
27
+
28
+ allow(EasyPost::Shipment).to receive(:retrieve)
29
+ .with(easypost_rate.id)
30
+ .and_return(easypost_rate)
31
+
32
+ easypost_rate
33
+ end
34
+ end
35
+ end
36
+ end
37
+
38
+ RSpec.configure do |config|
39
+ config.include SolidusEasypost::TestHelpers::ApiStubs
40
+ end
@@ -0,0 +1,28 @@
1
+ module SolidusEasypost
2
+ module TestHelpers
3
+ module Configuration
4
+ def stub_easypost_config(values)
5
+ allow(SolidusEasypost.configuration).to receive_messages(values)
6
+ end
7
+
8
+ def use_easypost_estimator
9
+ stock_configuration = ::Spree::Core::StockConfiguration.new.tap do |stock_config|
10
+ stock_config.estimator_class = 'SolidusEasypost::Estimator'
11
+ end
12
+
13
+ if ::Spree.solidus_gem_version >= Gem::Version.new('2.9.0')
14
+ stub_spree_preferences(stock: stock_configuration)
15
+ else
16
+ # rubocop:disable RSpec/AnyInstance
17
+ allow_any_instance_of(::Spree::AppConfiguration).to receive(:stock)
18
+ .and_return(stock_configuration)
19
+ # rubocop:enable RSpec/AnyInstance
20
+ end
21
+ end
22
+ end
23
+ end
24
+ end
25
+
26
+ RSpec.configure do |config|
27
+ config.include SolidusEasypost::TestHelpers::Configuration
28
+ end
@@ -0,0 +1,26 @@
1
+ module SolidusEasypost
2
+ module TestHelpers
3
+ module ShippingMethods
4
+ def create_easypost_shipping_methods
5
+ [
6
+ %w[USPS Express],
7
+ %w[USPS First],
8
+ %w[USPS ParcelSelect],
9
+ %w[USPS Priority],
10
+ ].each do |(carrier, service_level)|
11
+ create(
12
+ :shipping_method,
13
+ name: "#{carrier} #{service_level}",
14
+ carrier: carrier,
15
+ service_level: service_level,
16
+ available_to_users: true,
17
+ )
18
+ end
19
+ end
20
+ end
21
+ end
22
+ end
23
+
24
+ RSpec.configure do |config|
25
+ config.include SolidusEasypost::TestHelpers::ShippingMethods
26
+ end
@@ -0,0 +1 @@
1
+ require 'spree/testing_support/order_walkthrough'
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'vcr'
4
+ require 'webmock/rspec'
5
+
6
+ VCR.configure do |config|
7
+ config.cassette_library_dir = 'spec/cassettes'
8
+ config.hook_into :webmock
9
+ config.configure_rspec_metadata!
10
+ config.default_cassette_options = { record: :none }
11
+ config.ignore_localhost = true
12
+ end
metadata CHANGED
@@ -1,31 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solidus_easypost
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 3.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brendan Deere
8
8
  autorequire:
9
- bindir: bin
9
+ bindir: exe
10
10
  cert_chain: []
11
- date: 2016-07-20 00:00:00.000000000 Z
11
+ date: 2022-01-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: solidus
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: '1.0'
20
- type: :runtime
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - "~>"
25
- - !ruby/object:Gem::Version
26
- version: '1.0'
27
- - !ruby/object:Gem::Dependency
28
- name: easypost
14
+ name: deface
29
15
  requirement: !ruby/object:Gem::Requirement
30
16
  requirements:
31
17
  - - ">="
@@ -39,83 +25,13 @@ dependencies:
39
25
  - !ruby/object:Gem::Version
40
26
  version: '0'
41
27
  - !ruby/object:Gem::Dependency
42
- name: capybara
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - "~>"
46
- - !ruby/object:Gem::Version
47
- version: '2.1'
48
- type: :development
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - "~>"
53
- - !ruby/object:Gem::Version
54
- version: '2.1'
55
- - !ruby/object:Gem::Dependency
56
- name: coffee-rails
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - ">="
60
- - !ruby/object:Gem::Version
61
- version: '0'
62
- type: :development
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - ">="
67
- - !ruby/object:Gem::Version
68
- version: '0'
69
- - !ruby/object:Gem::Dependency
70
- name: database_cleaner
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - ">="
74
- - !ruby/object:Gem::Version
75
- version: '0'
76
- type: :development
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - ">="
81
- - !ruby/object:Gem::Version
82
- version: '0'
83
- - !ruby/object:Gem::Dependency
84
- name: factory_girl
85
- requirement: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - "~>"
88
- - !ruby/object:Gem::Version
89
- version: '4.4'
90
- type: :development
91
- prerelease: false
92
- version_requirements: !ruby/object:Gem::Requirement
93
- requirements:
94
- - - "~>"
95
- - !ruby/object:Gem::Version
96
- version: '4.4'
97
- - !ruby/object:Gem::Dependency
98
- name: ffaker
99
- requirement: !ruby/object:Gem::Requirement
100
- requirements:
101
- - - ">="
102
- - !ruby/object:Gem::Version
103
- version: '0'
104
- type: :development
105
- prerelease: false
106
- version_requirements: !ruby/object:Gem::Requirement
107
- requirements:
108
- - - ">="
109
- - !ruby/object:Gem::Version
110
- version: '0'
111
- - !ruby/object:Gem::Dependency
112
- name: rspec-rails
28
+ name: easypost
113
29
  requirement: !ruby/object:Gem::Requirement
114
30
  requirements:
115
31
  - - ">="
116
32
  - !ruby/object:Gem::Version
117
33
  version: '0'
118
- type: :development
34
+ type: :runtime
119
35
  prerelease: false
120
36
  version_requirements: !ruby/object:Gem::Requirement
121
37
  requirements:
@@ -123,75 +39,53 @@ dependencies:
123
39
  - !ruby/object:Gem::Version
124
40
  version: '0'
125
41
  - !ruby/object:Gem::Dependency
126
- name: sass-rails
42
+ name: solidus_core
127
43
  requirement: !ruby/object:Gem::Requirement
128
44
  requirements:
129
45
  - - ">="
130
46
  - !ruby/object:Gem::Version
131
- version: '0'
132
- type: :development
133
- prerelease: false
134
- version_requirements: !ruby/object:Gem::Requirement
135
- requirements:
136
- - - ">="
47
+ version: 2.0.0
48
+ - - "<"
137
49
  - !ruby/object:Gem::Version
138
- version: '0'
139
- - !ruby/object:Gem::Dependency
140
- name: selenium-webdriver
141
- requirement: !ruby/object:Gem::Requirement
142
- requirements:
143
- - - ">="
144
- - !ruby/object:Gem::Version
145
- version: '0'
146
- type: :development
50
+ version: '4'
51
+ type: :runtime
147
52
  prerelease: false
148
53
  version_requirements: !ruby/object:Gem::Requirement
149
54
  requirements:
150
55
  - - ">="
151
56
  - !ruby/object:Gem::Version
152
- version: '0'
153
- - !ruby/object:Gem::Dependency
154
- name: simplecov
155
- requirement: !ruby/object:Gem::Requirement
156
- requirements:
157
- - - ">="
57
+ version: 2.0.0
58
+ - - "<"
158
59
  - !ruby/object:Gem::Version
159
- version: '0'
160
- type: :development
161
- prerelease: false
162
- version_requirements: !ruby/object:Gem::Requirement
163
- requirements:
164
- - - ">="
165
- - !ruby/object:Gem::Version
166
- version: '0'
60
+ version: '4'
167
61
  - !ruby/object:Gem::Dependency
168
- name: sqlite3
62
+ name: solidus_support
169
63
  requirement: !ruby/object:Gem::Requirement
170
64
  requirements:
171
- - - ">="
65
+ - - "~>"
172
66
  - !ruby/object:Gem::Version
173
- version: '0'
174
- type: :development
67
+ version: '0.5'
68
+ type: :runtime
175
69
  prerelease: false
176
70
  version_requirements: !ruby/object:Gem::Requirement
177
71
  requirements:
178
- - - ">="
72
+ - - "~>"
179
73
  - !ruby/object:Gem::Version
180
- version: '0'
74
+ version: '0.5'
181
75
  - !ruby/object:Gem::Dependency
182
- name: pry
76
+ name: solidus_dev_support
183
77
  requirement: !ruby/object:Gem::Requirement
184
78
  requirements:
185
- - - ">="
79
+ - - "~>"
186
80
  - !ruby/object:Gem::Version
187
- version: '0'
81
+ version: '2.1'
188
82
  type: :development
189
83
  prerelease: false
190
84
  version_requirements: !ruby/object:Gem::Requirement
191
85
  requirements:
192
- - - ">="
86
+ - - "~>"
193
87
  - !ruby/object:Gem::Version
194
- version: '0'
88
+ version: '2.1'
195
89
  - !ruby/object:Gem::Dependency
196
90
  name: vcr
197
91
  requirement: !ruby/object:Gem::Requirement
@@ -220,15 +114,112 @@ dependencies:
220
114
  - - ">="
221
115
  - !ruby/object:Gem::Version
222
116
  version: '0'
223
- description: Easy post integration for Solidus
117
+ description:
224
118
  email: brendan@stembolt.com
225
119
  executables: []
226
120
  extensions: []
227
121
  extra_rdoc_files: []
228
- files: []
122
+ files:
123
+ - ".circleci/config.yml"
124
+ - ".gem_release.yml"
125
+ - ".github/stale.yml"
126
+ - ".github_changelog_generator"
127
+ - ".gitignore"
128
+ - ".rspec"
129
+ - ".rubocop.yml"
130
+ - ".rubocop_todo.yml"
131
+ - CHANGELOG.md
132
+ - Gemfile
133
+ - LICENSE
134
+ - README.md
135
+ - Rakefile
136
+ - app/controllers/spree/admin/postage_labels_controller.rb
137
+ - app/decorators/models/solidus_easypost/spree/carton_decorator.rb
138
+ - app/decorators/models/solidus_easypost/spree/shipment_decorator.rb
139
+ - app/decorators/models/solidus_easypost/spree/shipping_rate_decorator.rb
140
+ - app/models/solidus_easypost/parcel_dimension.rb
141
+ - app/models/solidus_easypost/return_authorization.rb
142
+ - app/overrides/spree/admin/orders/_shipment/add_postage_label.html.erb.deface
143
+ - bin/console
144
+ - bin/rails
145
+ - bin/rails-engine
146
+ - bin/rails-sandbox
147
+ - bin/rake
148
+ - bin/sandbox
149
+ - bin/setup
150
+ - config/initializers/webhooks.rb
151
+ - config/locales/en.yml
152
+ - config/routes.rb
153
+ - db/migrate/20140515024440_add_easy_post_fields_to_shipping_rate.rb
154
+ - db/migrate/20201025110912_add_tracker_id_to_cartons.rb
155
+ - lib/generators/solidus_easypost/install/install_generator.rb
156
+ - lib/generators/solidus_easypost/install/templates/initializer.rb
157
+ - lib/solidus_easypost.rb
158
+ - lib/solidus_easypost/address_builder.rb
159
+ - lib/solidus_easypost/calculator/base_dimension_calculator.rb
160
+ - lib/solidus_easypost/calculator/weight_dimension_calculator.rb
161
+ - lib/solidus_easypost/configuration.rb
162
+ - lib/solidus_easypost/engine.rb
163
+ - lib/solidus_easypost/errors/unknown_partial_resource_error.rb
164
+ - lib/solidus_easypost/estimator.rb
165
+ - lib/solidus_easypost/parcel_builder.rb
166
+ - lib/solidus_easypost/shipment_builder.rb
167
+ - lib/solidus_easypost/shipping_method_selector.rb
168
+ - lib/solidus_easypost/shipping_rate_calculator.rb
169
+ - lib/solidus_easypost/testing_support/factories.rb
170
+ - lib/solidus_easypost/testing_support/factories/address_factory.rb
171
+ - lib/solidus_easypost/testing_support/factories/product_factory.rb
172
+ - lib/solidus_easypost/testing_support/factories/shipment_factory.rb
173
+ - lib/solidus_easypost/testing_support/factories/shipping_method_factory.rb
174
+ - lib/solidus_easypost/testing_support/factories/stock_location_factory.rb
175
+ - lib/solidus_easypost/testing_support/factories/variant_factory.rb
176
+ - lib/solidus_easypost/tracker_webhook_handler.rb
177
+ - lib/solidus_easypost/version.rb
178
+ - solidus_easypost.gemspec
179
+ - spec/cassettes/address_builder/from_address.yml
180
+ - spec/cassettes/address_builder/from_stock_location.yml
181
+ - spec/cassettes/estimator.yml
182
+ - spec/cassettes/integration/checkout.yml
183
+ - spec/cassettes/integration/order_shipping/with_purchase_labels.yml
184
+ - spec/cassettes/integration/order_shipping/without_purchase_labels.yml
185
+ - spec/cassettes/parcel_builder/from_package.yml
186
+ - spec/cassettes/parcel_builder/from_return_authorization.yml
187
+ - spec/cassettes/postage_labels/show.yml
188
+ - spec/cassettes/return_authorization.yml
189
+ - spec/cassettes/shipment_builder/from_package.yml
190
+ - spec/cassettes/shipment_builder/from_return_authorization.yml
191
+ - spec/cassettes/shipment_builder/from_shipment.yml
192
+ - spec/controllers/spree/admin/postage_labels_controller_spec.rb
193
+ - spec/features/admin/postage_labels_spec.rb
194
+ - spec/integration/checkout_spec.rb
195
+ - spec/integration/order_shipping_spec.rb
196
+ - spec/models/solidus_easypost/parcel_dimension_spec.rb
197
+ - spec/models/solidus_easypost/return_authorization_spec.rb
198
+ - spec/models/spree/carton_spec.rb
199
+ - spec/models/spree/shipment_spec.rb
200
+ - spec/models/spree/shipping_rate_spec.rb
201
+ - spec/solidus_easypost/address_builder_spec.rb
202
+ - spec/solidus_easypost/calculator/weight_dimension_calculator_spec.rb
203
+ - spec/solidus_easypost/estimator_spec.rb
204
+ - spec/solidus_easypost/parcel_builder_spec.rb
205
+ - spec/solidus_easypost/shipment_builder_spec.rb
206
+ - spec/solidus_easypost/shipping_method_selector_spec.rb
207
+ - spec/solidus_easypost/shipping_rate_calculator_spec.rb
208
+ - spec/solidus_easypost/tracker_webhook_handler_spec.rb
209
+ - spec/solidus_easypost_spec.rb
210
+ - spec/spec_helper.rb
211
+ - spec/support/easypost.rb
212
+ - spec/support/factory_bot.rb
213
+ - spec/support/helpers/api_stubs.rb
214
+ - spec/support/helpers/configuration.rb
215
+ - spec/support/helpers/shipping_methods.rb
216
+ - spec/support/solidus.rb
217
+ - spec/support/vcr.rb
229
218
  homepage: https://github.com/solidusio-contrib/solidus_easypost
230
- licenses: []
231
- metadata: {}
219
+ licenses:
220
+ - BSD-3-Clause
221
+ metadata:
222
+ rubygems_mfa_required: 'true'
232
223
  post_install_message:
233
224
  rdoc_options: []
234
225
  require_paths:
@@ -237,17 +228,54 @@ required_ruby_version: !ruby/object:Gem::Requirement
237
228
  requirements:
238
229
  - - ">="
239
230
  - !ruby/object:Gem::Version
240
- version: 2.1.0
231
+ version: '2.5'
241
232
  required_rubygems_version: !ruby/object:Gem::Requirement
242
233
  requirements:
243
234
  - - ">="
244
235
  - !ruby/object:Gem::Version
245
236
  version: '0'
246
- requirements:
247
- - none
248
- rubyforge_project:
249
- rubygems_version: 2.4.5.1
237
+ requirements: []
238
+ rubygems_version: 3.1.2
250
239
  signing_key:
251
240
  specification_version: 4
252
- summary: Easy post integration for Solidus
253
- test_files: []
241
+ summary: EasyPost integration for Solidus stores.
242
+ test_files:
243
+ - spec/cassettes/address_builder/from_address.yml
244
+ - spec/cassettes/address_builder/from_stock_location.yml
245
+ - spec/cassettes/estimator.yml
246
+ - spec/cassettes/integration/checkout.yml
247
+ - spec/cassettes/integration/order_shipping/with_purchase_labels.yml
248
+ - spec/cassettes/integration/order_shipping/without_purchase_labels.yml
249
+ - spec/cassettes/parcel_builder/from_package.yml
250
+ - spec/cassettes/parcel_builder/from_return_authorization.yml
251
+ - spec/cassettes/postage_labels/show.yml
252
+ - spec/cassettes/return_authorization.yml
253
+ - spec/cassettes/shipment_builder/from_package.yml
254
+ - spec/cassettes/shipment_builder/from_return_authorization.yml
255
+ - spec/cassettes/shipment_builder/from_shipment.yml
256
+ - spec/controllers/spree/admin/postage_labels_controller_spec.rb
257
+ - spec/features/admin/postage_labels_spec.rb
258
+ - spec/integration/checkout_spec.rb
259
+ - spec/integration/order_shipping_spec.rb
260
+ - spec/models/solidus_easypost/parcel_dimension_spec.rb
261
+ - spec/models/solidus_easypost/return_authorization_spec.rb
262
+ - spec/models/spree/carton_spec.rb
263
+ - spec/models/spree/shipment_spec.rb
264
+ - spec/models/spree/shipping_rate_spec.rb
265
+ - spec/solidus_easypost/address_builder_spec.rb
266
+ - spec/solidus_easypost/calculator/weight_dimension_calculator_spec.rb
267
+ - spec/solidus_easypost/estimator_spec.rb
268
+ - spec/solidus_easypost/parcel_builder_spec.rb
269
+ - spec/solidus_easypost/shipment_builder_spec.rb
270
+ - spec/solidus_easypost/shipping_method_selector_spec.rb
271
+ - spec/solidus_easypost/shipping_rate_calculator_spec.rb
272
+ - spec/solidus_easypost/tracker_webhook_handler_spec.rb
273
+ - spec/solidus_easypost_spec.rb
274
+ - spec/spec_helper.rb
275
+ - spec/support/easypost.rb
276
+ - spec/support/factory_bot.rb
277
+ - spec/support/helpers/api_stubs.rb
278
+ - spec/support/helpers/configuration.rb
279
+ - spec/support/helpers/shipping_methods.rb
280
+ - spec/support/solidus.rb
281
+ - spec/support/vcr.rb