solidus_friendly_promotions 1.9.1 → 1.9.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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b1d63ce9c998edebedc88fa30880ca469075882379c83e7d8b6400422b1c788a
|
|
4
|
+
data.tar.gz: b7baf6e466a970deb57e03c73ebcb138124fbe5df6fb34fd969d78e2f8ddfc4b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 86b3fb7b6c95683987c2dc421e4d9d06c7ef5893e4d30dcf0b9bfde07ba0e940f1e7190fc991f0cfbc012263263fd5db40441543b4edab3ef6114c5958341f19
|
|
7
|
+
data.tar.gz: ffd6bfbd56c2a0a0f64bc5f00dbc9f332c9c929ab004e675347d500a650a93f952d37d8014a59e3f6a26bd2b0bd1b4fcf156ced24a0199e4f4056e38ae17029a
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [v1.9.2](https://github.com/friendlycart/solidus_friendly_promotions/tree/v1.9.2) (2024-06-28)
|
|
4
|
+
|
|
5
|
+
[Full Changelog](https://github.com/friendlycart/solidus_friendly_promotions/compare/v1.9.1...v1.9.2)
|
|
6
|
+
|
|
3
7
|
## [v1.9.1](https://github.com/friendlycart/solidus_friendly_promotions/tree/v1.9.1) (2024-06-28)
|
|
4
8
|
|
|
5
9
|
[Full Changelog](https://github.com/friendlycart/solidus_friendly_promotions/compare/v1.9.0...v1.9.1)
|
|
@@ -10,8 +10,8 @@ class RenameFriendlyPromotionActionsToFriendlyBenefits < ActiveRecord::Migration
|
|
|
10
10
|
execute(update_benefit_type_sql)
|
|
11
11
|
update_adjustment_source_type_sql = <<~SQL
|
|
12
12
|
UPDATE spree_adjustments
|
|
13
|
-
SET source_type = REPLACE(source_type, 'SolidusFriendlyPromotions::
|
|
14
|
-
WHERE source_type
|
|
13
|
+
SET source_type = REPLACE(source_type, 'SolidusFriendlyPromotions::PromotionAction', 'SolidusFriendlyPromotions::Benefit')
|
|
14
|
+
WHERE source_type = 'SolidusFriendlyPromotions::PromotionAction'
|
|
15
15
|
SQL
|
|
16
16
|
execute(update_adjustment_source_type_sql)
|
|
17
17
|
end
|
|
@@ -27,8 +27,8 @@ class RenameFriendlyPromotionActionsToFriendlyBenefits < ActiveRecord::Migration
|
|
|
27
27
|
execute(update_benefit_type_sql)
|
|
28
28
|
update_adjustment_source_type_sql = <<~SQL
|
|
29
29
|
UPDATE spree_adjustments
|
|
30
|
-
SET source_type = REPLACE(source_type, 'SolidusFriendlyPromotions::
|
|
31
|
-
WHERE source_type
|
|
30
|
+
SET source_type = REPLACE(source_type, 'SolidusFriendlyPromotions::Benefit', 'SolidusFriendlyPromotions::PromotionAction')
|
|
31
|
+
WHERE source_type = 'SolidusFriendlyPromotions::Benefit'
|
|
32
32
|
SQL
|
|
33
33
|
execute(update_adjustment_source_type_sql)
|
|
34
34
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: solidus_friendly_promotions
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.9.
|
|
4
|
+
version: 1.9.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Martin Meyerhoff
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-
|
|
11
|
+
date: 2024-07-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: solidus_core
|
|
@@ -457,7 +457,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
457
457
|
- !ruby/object:Gem::Version
|
|
458
458
|
version: '0'
|
|
459
459
|
requirements: []
|
|
460
|
-
rubygems_version: 3.
|
|
460
|
+
rubygems_version: 3.4.20
|
|
461
461
|
signing_key:
|
|
462
462
|
specification_version: 4
|
|
463
463
|
summary: A replacement for Solidus' promotion system
|