Skip to content

Commit 54a564d

Browse files
Fix Spree 5.4 compatiblity and CI builds (#14)
1 parent 51e062b commit 54a564d

File tree

4 files changed

+14
-7
lines changed

4 files changed

+14
-7
lines changed

Gemfile

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,16 @@ gem 'rails-controller-testing'
1111
spree_opts = if ENV['SPREE_PATH']
1212
{ 'path': ENV['SPREE_PATH'] }
1313
else
14-
{ 'github': 'spree/spree', 'branch': 'main', 'glob': 'backend/engines/**/*.gemspec' }
14+
{ 'github': 'spree/spree', 'branch': 'main', 'glob': 'spree/**/*.gemspec' }
1515
end
1616
gem 'spree', spree_opts
1717
gem 'spree_admin', spree_opts
1818

19-
gem 'spree_storefront'
20-
gem 'spree_page_builder'
19+
gem 'spree_posts', { github: 'spree/spree-posts', branch: 'main' }
20+
21+
spree_storefront_opts = { github: 'spree/spree-rails-storefront', branch: 'main', glob: '**/*.gemspec' }
22+
gem 'spree_storefront', spree_storefront_opts
23+
gem 'spree_page_builder', spree_storefront_opts
2124

2225
if ENV['DB'] == 'mysql'
2326
gem 'mysql2'

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
1+
> [!NOTE]
2+
> For users using our default headless [storefront](https://github.com/spree/storefront), you don't need to install this extension, follow [Storefront README](https://github.com/spree/storefront) to setup GA/GTM via ENV variables.
3+
4+
15
# Google Analytics 4 integration for Spree Commerce
26

3-
This is a Google Analytics 4 extension for [Spree Commerce](https://spreecommerce.org) - the [open-source eCommerce platform](https://spreecommerce.org) for [Rails](https://spreecommerce.org/category/ruby-on-rails/).
7+
This is a Google Analytics 4 extension for [Spree Rails Storefront](https://github.com/spree/spree-rails-storefront).
48

59
This [Google Analytics 4 integration for Spree Commerce](https://spreecommerce.org/docs/integrations/analytics/google-analytics) allows you to track user behavior, sales performance, and marketing effectiveness across your store.
610

@@ -87,7 +91,7 @@ If you'd like to contribute, please take a look at the
8791
[instructions](CONTRIBUTING.md) for installing dependencies and crafting a good
8892
pull request.
8993

90-
Copyright (c) 2025 [name of extension creator], released under the New BSD License
94+
Copyright (c) 2025 Vendo Connect Inc., Vendo Sp. z o.o., released under the MIT License
9195

9296
## Join the Community
9397

@@ -99,4 +103,3 @@ Copyright (c) 2025 [name of extension creator], released under the New BSD Licen
99103
* migrations and upgrades,
100104
* delivering your Spree application,
101105
* optimizing your Spree stack.
102-

Rakefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,5 @@ task :test_app do
2121
install_storefront: true,
2222
install_admin: true
2323
)
24+
system({ 'BUNDLE_GEMFILE' => File.expand_path('Gemfile', __dir__) }, 'bundle exec rails g spree_posts:install')
2425
end

spree_google_analytics.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Gem::Specification.new do |s|
1111
s.summary = "Spree Commerce Google analytics Extension"
1212
s.required_ruby_version = '>= 3.0'
1313

14-
s.author = 'Vendo Connect Inc.'
14+
s.author = 'Vendo Connect Inc., Vendo Sp. z o.o.'
1515
s.email = 'hello@spreecommerce.org'
1616
s.homepage = 'https://github.com/spree/spree_google_analytics'
1717
s.license = 'MIT'

0 commit comments

Comments
 (0)