spree_page_builder 5.4.3 → 5.4.5
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 +4 -4
- data/config/initializers/yaml_column_safe_buffer.rb +18 -0
- data/config/locales/en.yml +13 -0
- metadata +4 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e8ecddc161890334dd98a1bb3bb3e3bbddfdb568426a9b5cc80af2984fd064f4
|
|
4
|
+
data.tar.gz: 0cb02dbb65e4dc99e06a64684de8b75d302ace7ceac8b8e04899b9798a1f702f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ff9a3928a595220975e972a07022c2e2f5cad9c6a64a7e4381cc91ee0eb66a5e19cfca5b5144d42a05dbaccda8d4e5b94e4a9f1e0fbceb85dd6c9129a2a72f87
|
|
7
|
+
data.tar.gz: e3a6d135529a2c35788c5577d980e2ae010f557f161f0953d0d1a603db369677f34113a22b49bae1837dc722c0cae2bce54154602fe6ba6a4fdda0e082cfbc01
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Spree.t returns ActiveSupport::SafeBuffer, which Psych.safe_dump rejects when
|
|
2
|
+
# storing translated defaults in serialized preference columns.
|
|
3
|
+
if defined?(ActiveSupport::SafeBuffer)
|
|
4
|
+
ActiveSupport::SafeBuffer.class_eval do
|
|
5
|
+
unless method_defined?(:encode_with)
|
|
6
|
+
def encode_with(coder)
|
|
7
|
+
coder.represent_scalar(nil, to_s)
|
|
8
|
+
end
|
|
9
|
+
end
|
|
10
|
+
end
|
|
11
|
+
end
|
|
12
|
+
|
|
13
|
+
Rails.application.config.after_initialize do
|
|
14
|
+
permitted_classes = ActiveRecord.yaml_column_permitted_classes
|
|
15
|
+
next if permitted_classes.include?(ActiveSupport::SafeBuffer)
|
|
16
|
+
|
|
17
|
+
ActiveRecord.yaml_column_permitted_classes = permitted_classes + [ActiveSupport::SafeBuffer]
|
|
18
|
+
end
|
data/config/locales/en.yml
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
en:
|
|
2
2
|
spree:
|
|
3
|
+
automatic_taxon_names:
|
|
4
|
+
new_arrivals: New arrivals
|
|
5
|
+
on_sale: On sale
|
|
6
|
+
blog: Blog
|
|
7
|
+
changes_published: Changes published!
|
|
8
|
+
pages_defaults:
|
|
9
|
+
homepage:
|
|
10
|
+
featured_taxon_heading_new_arrivals: New arrivals
|
|
11
|
+
featured_taxon_heading_on_sale: On sale
|
|
12
|
+
image_with_text_heading: About us
|
|
13
|
+
image_with_text_text: Welcome to our shop! We carefully curate high-quality products that we believe in. Our process involves rigorous testing and selection to ensure we only offer items that meet our standards. We're passionate about delivering exceptional value and service to our customers.
|
|
14
|
+
shop_all: Shop All
|
|
15
|
+
theme_is_now_live: Theme is now live
|
|
3
16
|
admin:
|
|
4
17
|
edit_theme: Edit theme
|
|
5
18
|
page_builder:
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: spree_page_builder
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 5.4.
|
|
4
|
+
version: 5.4.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Vendo Connect Inc.
|
|
@@ -279,6 +279,7 @@ files:
|
|
|
279
279
|
- app/views/spree/admin/themes/update.turbo_stream.erb
|
|
280
280
|
- config/initializers/spree_admin_navigation.rb
|
|
281
281
|
- config/initializers/spree_admin_partials.rb
|
|
282
|
+
- config/initializers/yaml_column_safe_buffer.rb
|
|
282
283
|
- config/locales/en.yml
|
|
283
284
|
- config/routes.rb
|
|
284
285
|
- db/migrate/20250120094216_create_page_builder_models.rb
|
|
@@ -300,9 +301,9 @@ licenses:
|
|
|
300
301
|
- AGPL-3.0-or-later
|
|
301
302
|
metadata:
|
|
302
303
|
bug_tracker_uri: https://github.com/spree/spree-rails-storefront/issues
|
|
303
|
-
changelog_uri: https://github.com/spree/spree-rails-storefront/releases/tag/v5.4.
|
|
304
|
+
changelog_uri: https://github.com/spree/spree-rails-storefront/releases/tag/v5.4.5
|
|
304
305
|
documentation_uri: https://docs.spreecommerce.org/
|
|
305
|
-
source_code_uri: https://github.com/spree/spree-rails-storefront/tree/v5.4.
|
|
306
|
+
source_code_uri: https://github.com/spree/spree-rails-storefront/tree/v5.4.5
|
|
306
307
|
rdoc_options: []
|
|
307
308
|
require_paths:
|
|
308
309
|
- lib
|