spree-shipstation 6.0.1 → 6.0.3

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: ddec4f0247a95634906e9524cfb5cea90e8d2196263fbb1eeca89d648d2635fe
4
+ data.tar.gz: 110ab5a99182abba46d72cea236e15aa699d6ca93f36426553eb828ea04a53cc
5
5
  SHA512:
6
- metadata.gz: 78561c0f83a49b89661cbf09f0f7a514f479ac547e10ddb94ab99138e385c528b03d7dfbe50651c729b5438363b588fb65c67c11858584177ed6e08b2e949ed2
7
- data.tar.gz: 613780285783c9dbc119f49e8dddb703e016eaacd0cb4eaf2e19ecf3bb87b4d9f6e11f0c5b9956485c1a6ffc78cae109e3c63a5a70ad1390c69741b4f2eb879b
6
+ metadata.gz: 1585e912ace73bb1e8bf1011b770f60564ee13e98d36fb4760195b47cece397b51f2c3dda0fc471630c0187a10e361f5aa7488b00c26d370de0c83041fb47757
7
+ data.tar.gz: 5434abcf2c333f1ffddf4e562fcb0ac0c2048277d6670da17cb9cc0ac7b6f89896c54081735977ed60139f9bace28f25e6be5cbdda537f63d522c9eb2bb58d5c
data/CHANGELOG.md CHANGED
@@ -2,6 +2,23 @@
2
2
 
3
3
  All notable changes to this project are documented in this file.
4
4
 
5
+ ## 6.0.3
6
+
7
+ ### Changed
8
+
9
+ - The dashboard icon is ShipStation's gear alone, cropped edge to edge on a
10
+ transparent background, so the dashboard's own tile supplies the padding and
11
+ white background. 6.0.2's icon was a green square that sat oddly inside that
12
+ tile.
13
+
14
+ ## 6.0.2
15
+
16
+ ### Changed
17
+
18
+ - The integrations dashboard shows ShipStation's square app icon instead of the
19
+ wide wordmark, which was too small to read in the dashboard's icon tile. The
20
+ icon is a 3 KB PNG, down from the 17 KB WebP.
21
+
5
22
  ## 6.0.1
6
23
 
7
24
  ### 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.3"
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.3
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