spree-shipstation 6.0.1 → 6.0.2

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: 51f07d4fcced52aecb29efb53060faf34b694ca79f5aad40354e863d5af36a21
4
- data.tar.gz: 751d4675491fd6ad48f5e06c324046b5de29970729e44b001d9af3fa3bd54464
3
+ metadata.gz: 6265e27adc2f61f510f6ae7bcda32a278cb554582d442202c6064860457ef5c7
4
+ data.tar.gz: 55fca1027b418015342e49018845ad654efadf649368a8306c05422450da5710
5
5
  SHA512:
6
- metadata.gz: 78561c0f83a49b89661cbf09f0f7a514f479ac547e10ddb94ab99138e385c528b03d7dfbe50651c729b5438363b588fb65c67c11858584177ed6e08b2e949ed2
7
- data.tar.gz: 613780285783c9dbc119f49e8dddb703e016eaacd0cb4eaf2e19ecf3bb87b4d9f6e11f0c5b9956485c1a6ffc78cae109e3c63a5a70ad1390c69741b4f2eb879b
6
+ metadata.gz: de29b08dceb4ab02811e473de9bdd99013e5b4f0295c92624ad2c2c2a20d3af8f679d742f07147b4e28e6f907ba6aff8fa210f298cbc9c2eeeff7aedbb50ccf2
7
+ data.tar.gz: 992db8b647fcc04515371c2ee63a2fd54c28a8dac0057a1a3a9c72b0d5add3a2604520e0a56fd907604cd821f550086f6ca00c37fc075bb9a97797a42cdd3823
data/CHANGELOG.md CHANGED
@@ -2,6 +2,14 @@
2
2
 
3
3
  All notable changes to this project are documented in this file.
4
4
 
5
+ ## 6.0.2
6
+
7
+ ### Changed
8
+
9
+ - The integrations dashboard shows ShipStation's square app icon instead of the
10
+ wide wordmark, which was too small to read in the dashboard's icon tile. The
11
+ icon is a 3 KB PNG, down from the 17 KB WebP.
12
+
5
13
  ## 6.0.1
6
14
 
7
15
  ### Fixed
@@ -16,7 +16,7 @@ module Spree
16
16
  must_contain_at_least_one_number: /\d/
17
17
  }.freeze
18
18
 
19
- LOGO_PATH = Spree::Shipstation::Engine.root.join("app/assets/images/integration_icons/shipstation-logo.webp")
19
+ LOGO_PATH = Spree::Shipstation::Engine.root.join("app/assets/images/integration_icons/shipstation-icon.png")
20
20
 
21
21
  preference :username, :string
22
22
 
@@ -68,7 +68,7 @@ module Spree
68
68
  def self.logo_url
69
69
  # Array#pack("m0") is strict Base64 without the base64 gem, which
70
70
  # Ruby 3.4 and later no longer ship as a default gem.
71
- @logo_url ||= "data:image/webp;base64,#{[LOGO_PATH.binread].pack("m0")}".freeze
71
+ @logo_url ||= "data:image/png;base64,#{[LOGO_PATH.binread].pack("m0")}".freeze
72
72
  end
73
73
 
74
74
  ##
@@ -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.1"
7
+ VERSION = "6.0.2"
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.1
4
+ version: 6.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthew Kennedy
@@ -59,7 +59,7 @@ files:
59
59
  - LICENSE
60
60
  - README.md
61
61
  - Rakefile
62
- - app/assets/images/integration_icons/shipstation-logo.webp
62
+ - app/assets/images/integration_icons/shipstation-icon.png
63
63
  - app/controllers/spree/shipstation_controller.rb
64
64
  - app/helpers/spree/shipstation/export_helper.rb
65
65
  - app/models/spree/integrations/shipstation.rb