spree-shipstation 6.0.0 → 6.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1ec0ccf29f471fcbd60126248195ed5adbb10f9ae5cc5301b23b640308ce6f0f
4
- data.tar.gz: 97d83306702cbbac6b67f7d4e2bca35676063e397e7e13717ad4eaed7e0d3487
3
+ metadata.gz: 51f07d4fcced52aecb29efb53060faf34b694ca79f5aad40354e863d5af36a21
4
+ data.tar.gz: 751d4675491fd6ad48f5e06c324046b5de29970729e44b001d9af3fa3bd54464
5
5
  SHA512:
6
- metadata.gz: 80e0b2aa61bcc31c1a59249d02522b548899cdea0fa5a7dfb04ba03aa24916105c54434495095f598a54a5d8aa472f58be1cfd2a9eb8c48636efcc8f759eaa84
7
- data.tar.gz: c3650585bc19e8dd5d89571771b413fa64de828a9f82afd72a899cbb0f751d576367dc8de94bd5d2f18b8e267da6ea84b37cd32a069aa1b12bed3999f530a26f
6
+ metadata.gz: 78561c0f83a49b89661cbf09f0f7a514f479ac547e10ddb94ab99138e385c528b03d7dfbe50651c729b5438363b588fb65c67c11858584177ed6e08b2e949ed2
7
+ data.tar.gz: 613780285783c9dbc119f49e8dddb703e016eaacd0cb4eaf2e19ecf3bb87b4d9f6e11f0c5b9956485c1a6ffc78cae109e3c63a5a70ad1390c69741b4f2eb879b
data/CHANGELOG.md CHANGED
@@ -2,6 +2,15 @@
2
2
 
3
3
  All notable changes to this project are documented in this file.
4
4
 
5
+ ## 6.0.1
6
+
7
+ ### Fixed
8
+
9
+ - The export no longer fails with a 500 (`undefined method 'attachment_path'`)
10
+ for an order whose items have an image.
11
+ - `ImageUrl` is now an absolute URL on the host ShipStation polls, so ShipStation
12
+ can fetch item images (#21).
13
+
5
14
  ## 6.0.0
6
15
 
7
16
  Spree 6 support. The major version tracks Spree's, so `spree-shipstation` 6.x
@@ -35,7 +35,9 @@ xml.Orders(pages: @pagy.pages) do
35
35
  xml.SKU item.sku
36
36
  xml.Name item.name
37
37
 
38
- image_url = still_image && url_for(still_image)
38
+ # main_app: this isolated engine lacks Active Storage's resolver, and
39
+ # ShipStation needs an absolute URL it can fetch.
40
+ image_url = still_image && main_app.rails_blob_url(still_image)
39
41
  xml.ImageUrl image_url if image_url
40
42
 
41
43
  xml.Weight weight.value
@@ -4,7 +4,7 @@ module Spree
4
4
  module Shipstation
5
5
  # Major version tracks Spree's major version: 6.x supports Spree 6; 5.0.x
6
6
  # lives on +5-0-stable+.
7
- VERSION = "6.0.0"
7
+ VERSION = "6.0.1"
8
8
 
9
9
  ##
10
10
  # Gem version as a comparable +Gem::Version+.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spree-shipstation
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.0.0
4
+ version: 6.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthew Kennedy