solidus_core 4.2.4 → 4.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/concerns/spree/named_type.rb +2 -0
- data/app/models/spree/address.rb +4 -2
- data/app/models/spree/adjustment.rb +1 -0
- data/app/models/spree/adjustment_reason.rb +2 -0
- data/app/models/spree/credit_card.rb +6 -3
- data/app/models/spree/order.rb +22 -8
- data/app/models/spree/payment_method/bogus_credit_card.rb +14 -9
- data/app/models/spree/payment_method/simple_bogus_credit_card.rb +12 -6
- data/app/models/spree/payment_method.rb +3 -1
- data/app/models/spree/preference.rb +1 -1
- data/app/models/spree/promotion/rules/minimum_quantity.rb +59 -0
- data/app/models/spree/promotion.rb +1 -1
- data/app/models/spree/refund_reason.rb +6 -1
- data/app/models/spree/reimbursement_type.rb +6 -1
- data/app/models/spree/return_item.rb +1 -1
- data/app/models/spree/return_reason.rb +6 -1
- data/app/models/spree/shipping_rate.rb +1 -2
- data/app/models/spree/stock_item.rb +1 -0
- data/app/models/spree/store.rb +2 -0
- data/app/models/spree/store_credit_reason.rb +6 -1
- data/app/models/spree/tax_rate.rb +4 -0
- data/app/models/spree/variant.rb +0 -5
- data/app/views/spree/order_mailer/inventory_cancellation_email.html.erb +0 -1
- data/config/locales/en.yml +12 -2
- data/db/migrate/20230427095534_drop_deprecated_address_id_from_shipments.rb +1 -1
- data/db/migrate/20231027084517_add_order_promotions_foreign_key.rb +10 -0
- data/db/migrate/20231031175215_add_promotion_order_promotion_foreign_key.rb +10 -0
- data/lib/generators/solidus/install/app_templates/frontend/starter.rb +1 -1
- data/lib/generators/solidus/install/install_generator.rb +53 -16
- data/lib/generators/solidus/install/templates/config/initializers/spree.rb.tt +9 -9
- data/lib/generators/spree/dummy/templates/rails/database.yml +41 -93
- data/lib/generators/spree/dummy/templates/rails/test.rb +1 -1
- data/lib/spree/app_configuration.rb +17 -2
- data/lib/spree/core/engine.rb +7 -5
- data/lib/spree/core/version.rb +2 -2
- data/lib/spree/core.rb +2 -0
- data/lib/spree/permitted_attributes.rb +1 -0
- data/lib/spree/preferences/persistable.rb +7 -1
- data/lib/spree/ransack_4_1_patch.rb +16 -0
- data/lib/spree/testing_support/dummy_app/database.yml +37 -46
- data/lib/spree/testing_support/dummy_app/rake_tasks.rb +1 -4
- data/lib/spree/testing_support/dummy_app.rb +21 -12
- data/solidus_core.gemspec +2 -2
- metadata +27 -23
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: solidus_core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.
|
4
|
+
version: 4.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Solidus Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-12-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionmailer
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '7.0'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: '7.
|
22
|
+
version: '7.2'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '7.0'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: '7.
|
32
|
+
version: '7.2'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: actionpack
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -39,7 +39,7 @@ dependencies:
|
|
39
39
|
version: '7.0'
|
40
40
|
- - "<"
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version: '7.
|
42
|
+
version: '7.2'
|
43
43
|
type: :runtime
|
44
44
|
prerelease: false
|
45
45
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -49,7 +49,7 @@ dependencies:
|
|
49
49
|
version: '7.0'
|
50
50
|
- - "<"
|
51
51
|
- !ruby/object:Gem::Version
|
52
|
-
version: '7.
|
52
|
+
version: '7.2'
|
53
53
|
- !ruby/object:Gem::Dependency
|
54
54
|
name: actionview
|
55
55
|
requirement: !ruby/object:Gem::Requirement
|
@@ -59,7 +59,7 @@ dependencies:
|
|
59
59
|
version: '7.0'
|
60
60
|
- - "<"
|
61
61
|
- !ruby/object:Gem::Version
|
62
|
-
version: '7.
|
62
|
+
version: '7.2'
|
63
63
|
type: :runtime
|
64
64
|
prerelease: false
|
65
65
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -69,7 +69,7 @@ dependencies:
|
|
69
69
|
version: '7.0'
|
70
70
|
- - "<"
|
71
71
|
- !ruby/object:Gem::Version
|
72
|
-
version: '7.
|
72
|
+
version: '7.2'
|
73
73
|
- !ruby/object:Gem::Dependency
|
74
74
|
name: activejob
|
75
75
|
requirement: !ruby/object:Gem::Requirement
|
@@ -79,7 +79,7 @@ dependencies:
|
|
79
79
|
version: '7.0'
|
80
80
|
- - "<"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: '7.
|
82
|
+
version: '7.2'
|
83
83
|
type: :runtime
|
84
84
|
prerelease: false
|
85
85
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -89,7 +89,7 @@ dependencies:
|
|
89
89
|
version: '7.0'
|
90
90
|
- - "<"
|
91
91
|
- !ruby/object:Gem::Version
|
92
|
-
version: '7.
|
92
|
+
version: '7.2'
|
93
93
|
- !ruby/object:Gem::Dependency
|
94
94
|
name: activemodel
|
95
95
|
requirement: !ruby/object:Gem::Requirement
|
@@ -99,7 +99,7 @@ dependencies:
|
|
99
99
|
version: '7.0'
|
100
100
|
- - "<"
|
101
101
|
- !ruby/object:Gem::Version
|
102
|
-
version: '7.
|
102
|
+
version: '7.2'
|
103
103
|
type: :runtime
|
104
104
|
prerelease: false
|
105
105
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -109,7 +109,7 @@ dependencies:
|
|
109
109
|
version: '7.0'
|
110
110
|
- - "<"
|
111
111
|
- !ruby/object:Gem::Version
|
112
|
-
version: '7.
|
112
|
+
version: '7.2'
|
113
113
|
- !ruby/object:Gem::Dependency
|
114
114
|
name: activerecord
|
115
115
|
requirement: !ruby/object:Gem::Requirement
|
@@ -119,7 +119,7 @@ dependencies:
|
|
119
119
|
version: '7.0'
|
120
120
|
- - "<"
|
121
121
|
- !ruby/object:Gem::Version
|
122
|
-
version: '7.
|
122
|
+
version: '7.2'
|
123
123
|
type: :runtime
|
124
124
|
prerelease: false
|
125
125
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -129,7 +129,7 @@ dependencies:
|
|
129
129
|
version: '7.0'
|
130
130
|
- - "<"
|
131
131
|
- !ruby/object:Gem::Version
|
132
|
-
version: '7.
|
132
|
+
version: '7.2'
|
133
133
|
- !ruby/object:Gem::Dependency
|
134
134
|
name: activestorage
|
135
135
|
requirement: !ruby/object:Gem::Requirement
|
@@ -139,7 +139,7 @@ dependencies:
|
|
139
139
|
version: '7.0'
|
140
140
|
- - "<"
|
141
141
|
- !ruby/object:Gem::Version
|
142
|
-
version: '7.
|
142
|
+
version: '7.2'
|
143
143
|
type: :runtime
|
144
144
|
prerelease: false
|
145
145
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -149,7 +149,7 @@ dependencies:
|
|
149
149
|
version: '7.0'
|
150
150
|
- - "<"
|
151
151
|
- !ruby/object:Gem::Version
|
152
|
-
version: '7.
|
152
|
+
version: '7.2'
|
153
153
|
- !ruby/object:Gem::Dependency
|
154
154
|
name: activesupport
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|
@@ -159,7 +159,7 @@ dependencies:
|
|
159
159
|
version: '7.0'
|
160
160
|
- - "<"
|
161
161
|
- !ruby/object:Gem::Version
|
162
|
-
version: '7.
|
162
|
+
version: '7.2'
|
163
163
|
type: :runtime
|
164
164
|
prerelease: false
|
165
165
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -169,7 +169,7 @@ dependencies:
|
|
169
169
|
version: '7.0'
|
170
170
|
- - "<"
|
171
171
|
- !ruby/object:Gem::Version
|
172
|
-
version: '7.
|
172
|
+
version: '7.2'
|
173
173
|
- !ruby/object:Gem::Dependency
|
174
174
|
name: railties
|
175
175
|
requirement: !ruby/object:Gem::Requirement
|
@@ -179,7 +179,7 @@ dependencies:
|
|
179
179
|
version: '7.0'
|
180
180
|
- - "<"
|
181
181
|
- !ruby/object:Gem::Version
|
182
|
-
version: '7.
|
182
|
+
version: '7.2'
|
183
183
|
type: :runtime
|
184
184
|
prerelease: false
|
185
185
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -189,7 +189,7 @@ dependencies:
|
|
189
189
|
version: '7.0'
|
190
190
|
- - "<"
|
191
191
|
- !ruby/object:Gem::Version
|
192
|
-
version: '7.
|
192
|
+
version: '7.2'
|
193
193
|
- !ruby/object:Gem::Dependency
|
194
194
|
name: activemerchant
|
195
195
|
requirement: !ruby/object:Gem::Requirement
|
@@ -396,14 +396,14 @@ dependencies:
|
|
396
396
|
requirements:
|
397
397
|
- - "~>"
|
398
398
|
- !ruby/object:Gem::Version
|
399
|
-
version: '
|
399
|
+
version: '4.0'
|
400
400
|
type: :runtime
|
401
401
|
prerelease: false
|
402
402
|
version_requirements: !ruby/object:Gem::Requirement
|
403
403
|
requirements:
|
404
404
|
- - "~>"
|
405
405
|
- !ruby/object:Gem::Version
|
406
|
-
version: '
|
406
|
+
version: '4.0'
|
407
407
|
- !ruby/object:Gem::Dependency
|
408
408
|
name: sprockets-rails
|
409
409
|
requirement: !ruby/object:Gem::Requirement
|
@@ -577,6 +577,7 @@ files:
|
|
577
577
|
- app/models/spree/promotion/rules/first_order.rb
|
578
578
|
- app/models/spree/promotion/rules/first_repeat_purchase_since.rb
|
579
579
|
- app/models/spree/promotion/rules/item_total.rb
|
580
|
+
- app/models/spree/promotion/rules/minimum_quantity.rb
|
580
581
|
- app/models/spree/promotion/rules/nth_order.rb
|
581
582
|
- app/models/spree/promotion/rules/one_use_per_user.rb
|
582
583
|
- app/models/spree/promotion/rules/option_value.rb
|
@@ -794,6 +795,8 @@ files:
|
|
794
795
|
- db/migrate/20230325161633_drop_unused_promo_action_line_items.rb
|
795
796
|
- db/migrate/20230425103509_remove_taxon_position.rb
|
796
797
|
- db/migrate/20230427095534_drop_deprecated_address_id_from_shipments.rb
|
798
|
+
- db/migrate/20231027084517_add_order_promotions_foreign_key.rb
|
799
|
+
- db/migrate/20231031175215_add_promotion_order_promotion_foreign_key.rb
|
797
800
|
- db/seeds.rb
|
798
801
|
- lib/generators/solidus/install/app_templates/authentication/custom.rb
|
799
802
|
- lib/generators/solidus/install/app_templates/authentication/devise.rb
|
@@ -905,6 +908,7 @@ files:
|
|
905
908
|
- lib/spree/preferences/static_model_preferences.rb
|
906
909
|
- lib/spree/preferences/statically_configurable.rb
|
907
910
|
- lib/spree/preferences/store.rb
|
911
|
+
- lib/spree/ransack_4_1_patch.rb
|
908
912
|
- lib/spree/testing_support/ability_helpers.rb
|
909
913
|
- lib/spree/testing_support/authorization_helpers.rb
|
910
914
|
- lib/spree/testing_support/blacklist_urls.rb
|
@@ -1048,7 +1052,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
1048
1052
|
- !ruby/object:Gem::Version
|
1049
1053
|
version: 1.8.23
|
1050
1054
|
requirements: []
|
1051
|
-
rubygems_version: 3.4.
|
1055
|
+
rubygems_version: 3.4.10
|
1052
1056
|
signing_key:
|
1053
1057
|
specification_version: 4
|
1054
1058
|
summary: Essential models, mailers, and classes for the Solidus e-commerce project.
|