solidus_product_assembly 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +12 -0
- data/.github/stale.yml +4 -4
- data/.github_changelog_generator +2 -0
- data/.gitignore +4 -0
- data/.rspec +0 -1
- data/.rubocop.yml +4 -1
- data/.rubocop_todo.yml +153 -29
- data/CHANGELOG.md +98 -1
- data/Gemfile +19 -4
- data/README.md +64 -73
- data/app/decorators/models/solidus_product_assembly/spree/product_decorator.rb +19 -6
- data/app/decorators/models/solidus_product_assembly/spree/stock/differentiator_decorator.rb +17 -0
- data/bin/rails +4 -12
- data/bin/rails-engine +13 -0
- data/bin/rails-sandbox +16 -0
- data/bin/rake +7 -0
- data/bin/sandbox +86 -0
- data/bin/setup +1 -1
- data/lib/generators/solidus_product_assembly/install/install_generator.rb +17 -9
- data/lib/generators/solidus_product_assembly/install/templates/initializer.rb +6 -0
- data/lib/solidus_product_assembly/configuration.rb +21 -0
- data/lib/solidus_product_assembly/engine.rb +2 -1
- data/lib/solidus_product_assembly/version.rb +1 -1
- data/lib/solidus_product_assembly.rb +3 -1
- data/solidus_product_assembly.gemspec +23 -22
- data/spec/models/spree/product_spec.rb +18 -0
- data/spec/spec_helper.rb +13 -8
- metadata +57 -35
- data/app/decorators/controllers/solidus_product_assembly/spree/checkout_controller_decorator.rb +0 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a19e2fc4629cafb8d296f9a5b8258500387ccd988b1eccd87b1ca8c49ce5ee97
|
4
|
+
data.tar.gz: 182ab4d194c7b42ce3a9303ae295172bddc7df08a4fd9d58f97f3f481b2d0247
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 35265dd9d72240d7bcab27f17856a1683e89d4ef31fe533fe048d3e80827f632bd5bac54fd6268b7d6f7c7a0075e9092758a9a2d3d2b13deeb4f969412b34a53
|
7
|
+
data.tar.gz: c3fd31fbb302b4335149014f953e0904aa81c119780bd4bfbb3e696cc9e9a8739b0818d409ac20b85abfef6efcdc9185839d6a9e696c573427ad71a1263b9316
|
data/.circleci/config.yml
CHANGED
@@ -1,6 +1,9 @@
|
|
1
1
|
version: 2.1
|
2
2
|
|
3
3
|
orbs:
|
4
|
+
# Required for feature specs.
|
5
|
+
browser-tools: circleci/browser-tools@1.1
|
6
|
+
|
4
7
|
# Always take the latest version of the orb, this allows us to
|
5
8
|
# run specs against Solidus supported versions only without the need
|
6
9
|
# to change this configuration every time a Solidus version is released
|
@@ -11,17 +14,26 @@ jobs:
|
|
11
14
|
run-specs-with-postgres:
|
12
15
|
executor: solidusio_extensions/postgres
|
13
16
|
steps:
|
17
|
+
- browser-tools/install-browser-tools
|
14
18
|
- solidusio_extensions/run-tests
|
15
19
|
run-specs-with-mysql:
|
16
20
|
executor: solidusio_extensions/mysql
|
17
21
|
steps:
|
22
|
+
- browser-tools/install-browser-tools
|
18
23
|
- solidusio_extensions/run-tests
|
24
|
+
lint-code:
|
25
|
+
executor: solidusio_extensions/sqlite-memory
|
26
|
+
steps:
|
27
|
+
- browser-tools/install-browser-tools
|
28
|
+
- solidusio_extensions/lint-code
|
19
29
|
|
20
30
|
workflows:
|
21
31
|
"Run specs on supported Solidus versions":
|
22
32
|
jobs:
|
23
33
|
- run-specs-with-postgres
|
24
34
|
- run-specs-with-mysql
|
35
|
+
- lint-code
|
36
|
+
|
25
37
|
"Weekly run specs against master":
|
26
38
|
triggers:
|
27
39
|
- schedule:
|
data/.github/stale.yml
CHANGED
@@ -1,17 +1,17 @@
|
|
1
1
|
# Number of days of inactivity before an issue becomes stale
|
2
2
|
daysUntilStale: 60
|
3
3
|
# Number of days of inactivity before a stale issue is closed
|
4
|
-
daysUntilClose:
|
4
|
+
daysUntilClose: false
|
5
5
|
# Issues with these labels will never be considered stale
|
6
6
|
exemptLabels:
|
7
7
|
- pinned
|
8
8
|
- security
|
9
9
|
# Label to use when marking an issue as stale
|
10
|
-
staleLabel:
|
10
|
+
staleLabel: stale
|
11
11
|
# Comment to post when marking an issue as stale. Set to `false` to disable
|
12
12
|
markComment: >
|
13
13
|
This issue has been automatically marked as stale because it has not had
|
14
|
-
recent activity. It
|
14
|
+
recent activity. It might be closed if no further activity occurs. Thank you
|
15
15
|
for your contributions.
|
16
16
|
# Comment to post when closing a stale issue. Set to `false` to disable
|
17
|
-
closeComment: false
|
17
|
+
closeComment: false
|
data/.gitignore
CHANGED
data/.rspec
CHANGED
data/.rubocop.yml
CHANGED
data/.rubocop_todo.yml
CHANGED
@@ -1,46 +1,139 @@
|
|
1
1
|
# This configuration was generated by
|
2
2
|
# `rubocop --auto-gen-config`
|
3
|
-
# on
|
3
|
+
# on 2022-09-14 16:19:15 UTC using RuboCop version 1.36.0.
|
4
4
|
# The point is for the user to remove these configuration records
|
5
5
|
# one by one as the offenses are removed from the code base.
|
6
6
|
# Note that changes in the inspected code, or installation of new
|
7
7
|
# versions of RuboCop, may require this file to be generated again.
|
8
8
|
|
9
|
+
# Offense count: 1
|
10
|
+
# This cop supports safe autocorrection (--autocorrect).
|
11
|
+
# Configuration parameters: TreatCommentsAsGroupSeparators, ConsiderPunctuation, Include.
|
12
|
+
# Include: **/*.gemfile, **/Gemfile, **/gems.rb
|
13
|
+
Bundler/OrderedGems:
|
14
|
+
Exclude:
|
15
|
+
- 'Gemfile'
|
16
|
+
|
9
17
|
# Offense count: 2
|
10
|
-
#
|
11
|
-
|
18
|
+
# This cop supports safe autocorrection (--autocorrect).
|
19
|
+
# Configuration parameters: TreatCommentsAsGroupSeparators, ConsiderPunctuation, Include.
|
20
|
+
# Include: **/*.gemspec
|
21
|
+
Gemspec/OrderedDependencies:
|
12
22
|
Exclude:
|
13
|
-
- '
|
23
|
+
- 'solidus_product_assembly.gemspec'
|
24
|
+
|
25
|
+
# Offense count: 1
|
26
|
+
# Configuration parameters: Include.
|
27
|
+
# Include: **/*.gemspec
|
28
|
+
Gemspec/RequiredRubyVersion:
|
29
|
+
Exclude:
|
30
|
+
- 'solidus_product_assembly.gemspec'
|
31
|
+
|
32
|
+
# Offense count: 21
|
33
|
+
# This cop supports safe autocorrection (--autocorrect).
|
34
|
+
# Configuration parameters: EnforcedStyle, IndentationWidth.
|
35
|
+
# SupportedStyles: with_first_argument, with_fixed_indentation
|
36
|
+
Layout/ArgumentAlignment:
|
37
|
+
Exclude:
|
38
|
+
- 'app/decorators/models/solidus_product_assembly/spree/product_decorator.rb'
|
39
|
+
- 'app/decorators/models/solidus_product_assembly/spree/shipment_decorator.rb'
|
40
|
+
- 'app/models/spree/assemblies_part.rb'
|
41
|
+
- 'app/overrides/add_admin_product_form_fields.rb'
|
42
|
+
- 'app/overrides/add_admin_tabs.rb'
|
43
|
+
- 'app/overrides/add_line_item_description.rb'
|
14
44
|
|
15
45
|
# Offense count: 2
|
16
|
-
#
|
17
|
-
# Configuration parameters: EnforcedStyleAlignWith,
|
46
|
+
# This cop supports safe autocorrection (--autocorrect).
|
47
|
+
# Configuration parameters: EnforcedStyleAlignWith, Severity.
|
18
48
|
# SupportedStylesAlignWith: keyword, variable, start_of_line
|
19
49
|
Layout/EndAlignment:
|
20
50
|
Exclude:
|
21
51
|
- 'db/migrate/20091029165620_add_parts_fields_to_products.rb'
|
22
52
|
|
23
53
|
# Offense count: 1
|
54
|
+
# This cop supports safe autocorrection (--autocorrect).
|
55
|
+
# Configuration parameters: AllowForAlignment, AllowBeforeTrailingComments, ForceEqualSignAlignment.
|
56
|
+
Layout/ExtraSpacing:
|
57
|
+
Exclude:
|
58
|
+
- 'solidus_product_assembly.gemspec'
|
59
|
+
|
60
|
+
# Offense count: 1
|
61
|
+
# This cop supports safe autocorrection (--autocorrect).
|
62
|
+
# Configuration parameters: Width, AllowedPatterns, IgnoredPatterns.
|
63
|
+
Layout/IndentationWidth:
|
64
|
+
Exclude:
|
65
|
+
- 'spec/models/spree/shipment_spec.rb'
|
66
|
+
|
67
|
+
# Offense count: 8
|
68
|
+
# This cop supports safe autocorrection (--autocorrect).
|
69
|
+
# Configuration parameters: EnforcedStyle, IndentationWidth.
|
70
|
+
# SupportedStyles: aligned, indented, indented_relative_to_receiver
|
71
|
+
Layout/MultilineMethodCallIndentation:
|
72
|
+
Exclude:
|
73
|
+
- 'app/decorators/models/solidus_product_assembly/spree/product_decorator.rb'
|
74
|
+
- 'spec/models/spree/order_contents_spec.rb'
|
75
|
+
|
76
|
+
# Offense count: 1
|
77
|
+
# This cop supports safe autocorrection (--autocorrect).
|
78
|
+
# Configuration parameters: AllowForAlignment, EnforcedStyleForExponentOperator.
|
79
|
+
# SupportedStylesForExponentOperator: space, no_space
|
80
|
+
Layout/SpaceAroundOperators:
|
81
|
+
Exclude:
|
82
|
+
- 'solidus_product_assembly.gemspec'
|
83
|
+
|
84
|
+
# Offense count: 1
|
85
|
+
# This cop supports safe autocorrection (--autocorrect).
|
86
|
+
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters.
|
87
|
+
# SupportedStyles: space, no_space
|
88
|
+
# SupportedStylesForEmptyBraces: space, no_space
|
89
|
+
Layout/SpaceInsideBlockBraces:
|
90
|
+
Exclude:
|
91
|
+
- 'spec/models/spree/shipment_spec.rb'
|
92
|
+
|
93
|
+
# Offense count: 1
|
94
|
+
# This cop supports safe autocorrection (--autocorrect).
|
95
|
+
# Configuration parameters: AllowInHeredoc.
|
96
|
+
Layout/TrailingWhitespace:
|
97
|
+
Exclude:
|
98
|
+
- 'spec/features/checkout_spec.rb'
|
99
|
+
|
100
|
+
# Offense count: 1
|
101
|
+
# Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods.
|
24
102
|
Lint/AmbiguousBlockAssociation:
|
25
103
|
Exclude:
|
26
104
|
- 'spec/models/spree/order_inventory_spec.rb'
|
27
105
|
|
28
|
-
# Offense count:
|
106
|
+
# Offense count: 1
|
107
|
+
# This cop supports safe autocorrection (--autocorrect).
|
29
108
|
Lint/AmbiguousOperator:
|
30
109
|
Exclude:
|
31
110
|
- 'app/views/spree/api/line_items/show.v1.rabl'
|
32
|
-
- 'lib/solidus_product_assembly/engine.rb'
|
33
111
|
|
34
|
-
# Offense count:
|
112
|
+
# Offense count: 1
|
113
|
+
Lint/MissingSuper:
|
114
|
+
Exclude:
|
115
|
+
- 'app/models/spree/order_inventory_assembly.rb'
|
116
|
+
|
117
|
+
# Offense count: 1
|
118
|
+
# This cop supports safe autocorrection (--autocorrect).
|
119
|
+
Lint/RedundantCopDisableDirective:
|
120
|
+
Exclude:
|
121
|
+
- 'lib/generators/solidus_product_assembly/install/install_generator.rb'
|
122
|
+
|
123
|
+
# Offense count: 3
|
35
124
|
Lint/ShadowingOuterLocalVariable:
|
36
125
|
Exclude:
|
37
126
|
- 'app/decorators/models/solidus_product_assembly/spree/shipment_decorator.rb'
|
38
|
-
- 'app/models/spree/order_inventory_assembly.rb'
|
39
127
|
- 'lib/tasks/spree2_upgrade.rake'
|
40
128
|
|
129
|
+
# Offense count: 2
|
130
|
+
# This cop supports safe autocorrection (--autocorrect).
|
131
|
+
Performance/BigDecimalWithNumericArgument:
|
132
|
+
Exclude:
|
133
|
+
- 'spec/models/spree/inventory_unit_spec.rb'
|
134
|
+
|
41
135
|
# Offense count: 3
|
42
|
-
#
|
43
|
-
# Configuration parameters: AutoCorrect.
|
136
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
44
137
|
Performance/TimesMap:
|
45
138
|
Exclude:
|
46
139
|
- 'app/decorators/models/solidus_product_assembly/spree/stock/inventory_unit_builder_decorator.rb'
|
@@ -52,8 +145,14 @@ RSpec/AnyInstance:
|
|
52
145
|
- 'spec/features/admin/return_items_spec.rb'
|
53
146
|
- 'spec/models/spree/stock/availability_validator_spec.rb'
|
54
147
|
|
148
|
+
# Offense count: 2
|
149
|
+
# This cop supports safe autocorrection (--autocorrect).
|
150
|
+
RSpec/Capybara/CurrentPathExpectation:
|
151
|
+
Exclude:
|
152
|
+
- 'spec/features/checkout_spec.rb'
|
153
|
+
|
55
154
|
# Offense count: 42
|
56
|
-
# Configuration parameters: Prefixes.
|
155
|
+
# Configuration parameters: Prefixes, AllowedPatterns.
|
57
156
|
# Prefixes: when, with, without
|
58
157
|
RSpec/ContextWording:
|
59
158
|
Exclude:
|
@@ -72,6 +171,12 @@ RSpec/ContextWording:
|
|
72
171
|
- 'spec/models/spree/variant_spec.rb'
|
73
172
|
- 'spec/support/shared_contexts/order_with_bundle.rb'
|
74
173
|
|
174
|
+
# Offense count: 2
|
175
|
+
# This cop supports safe autocorrection (--autocorrect).
|
176
|
+
RSpec/EmptyLineAfterFinalLet:
|
177
|
+
Exclude:
|
178
|
+
- 'spec/models/spree/shipment_spec.rb'
|
179
|
+
|
75
180
|
# Offense count: 9
|
76
181
|
RSpec/ExpectInHook:
|
77
182
|
Exclude:
|
@@ -84,7 +189,7 @@ RSpec/InstanceVariable:
|
|
84
189
|
Exclude:
|
85
190
|
- 'spec/models/spree/product_spec.rb'
|
86
191
|
|
87
|
-
# Offense count:
|
192
|
+
# Offense count: 14
|
88
193
|
RSpec/LetSetup:
|
89
194
|
Exclude:
|
90
195
|
- 'spec/features/checkout_spec.rb'
|
@@ -101,11 +206,15 @@ RSpec/MessageSpies:
|
|
101
206
|
EnforcedStyle: receive
|
102
207
|
|
103
208
|
# Offense count: 19
|
104
|
-
# Configuration parameters: AggregateFailuresByDefault.
|
105
209
|
RSpec/MultipleExpectations:
|
106
210
|
Max: 14
|
107
211
|
|
108
|
-
# Offense count:
|
212
|
+
# Offense count: 23
|
213
|
+
# Configuration parameters: AllowSubject.
|
214
|
+
RSpec/MultipleMemoizedHelpers:
|
215
|
+
Max: 10
|
216
|
+
|
217
|
+
# Offense count: 23
|
109
218
|
# Configuration parameters: IgnoreSharedExamples.
|
110
219
|
RSpec/NamedSubject:
|
111
220
|
Exclude:
|
@@ -114,23 +223,26 @@ RSpec/NamedSubject:
|
|
114
223
|
- 'spec/models/spree/order_contents_spec.rb'
|
115
224
|
- 'spec/models/spree/order_inventory_assembly_spec.rb'
|
116
225
|
- 'spec/models/spree/order_inventory_spec.rb'
|
226
|
+
- 'spec/models/spree/product_spec.rb'
|
117
227
|
- 'spec/models/spree/stock/availability_validator_spec.rb'
|
118
228
|
- 'spec/models/spree/stock/coordinator_spec.rb'
|
119
229
|
- 'spec/models/spree/stock/inventory_unit_builder_spec.rb'
|
120
230
|
|
121
231
|
# Offense count: 2
|
232
|
+
# Configuration parameters: AllowedGroups.
|
122
233
|
RSpec/NestedGroups:
|
123
234
|
Max: 5
|
124
235
|
|
125
236
|
# Offense count: 3
|
237
|
+
# This cop supports safe autocorrection (--autocorrect).
|
126
238
|
RSpec/ScatteredLet:
|
127
239
|
Exclude:
|
128
240
|
- 'spec/models/spree/order_inventory_spec.rb'
|
129
241
|
|
130
|
-
# Offense count:
|
131
|
-
RSpec/
|
242
|
+
# Offense count: 2
|
243
|
+
RSpec/StubbedMock:
|
132
244
|
Exclude:
|
133
|
-
- 'spec/models/spree/
|
245
|
+
- 'spec/models/spree/line_item_spec.rb'
|
134
246
|
|
135
247
|
# Offense count: 2
|
136
248
|
# Configuration parameters: IgnoreNameless, IgnoreSymbolicNames.
|
@@ -147,15 +259,21 @@ Rails/CreateTableWithTimestamps:
|
|
147
259
|
- 'db/migrate/20091028152124_add_many_to_many_relation_to_products.rb'
|
148
260
|
|
149
261
|
# Offense count: 2
|
150
|
-
# Configuration parameters: Include.
|
262
|
+
# Configuration parameters: IgnoreScopes, Include.
|
151
263
|
# Include: app/models/**/*.rb
|
152
264
|
Rails/InverseOf:
|
153
265
|
Exclude:
|
154
266
|
- 'app/models/spree/assemblies_part.rb'
|
155
267
|
|
268
|
+
# Offense count: 2
|
269
|
+
# This cop supports safe autocorrection (--autocorrect).
|
270
|
+
Rails/RedundantForeignKey:
|
271
|
+
Exclude:
|
272
|
+
- 'app/models/spree/assemblies_part.rb'
|
273
|
+
|
156
274
|
# Offense count: 8
|
157
|
-
# Configuration parameters:
|
158
|
-
#
|
275
|
+
# Configuration parameters: ForbiddenMethods, AllowedMethods.
|
276
|
+
# ForbiddenMethods: decrement!, decrement_counter, increment!, increment_counter, insert, insert!, insert_all, insert_all!, toggle!, touch, touch_all, update_all, update_attribute, update_column, update_columns, update_counters, upsert, upsert_all
|
159
277
|
Rails/SkipsModelValidations:
|
160
278
|
Exclude:
|
161
279
|
- 'lib/tasks/spree2_upgrade.rake'
|
@@ -168,8 +286,8 @@ Rails/SkipsModelValidations:
|
|
168
286
|
- 'spec/models/spree/stock/coordinator_spec.rb'
|
169
287
|
|
170
288
|
# Offense count: 2
|
171
|
-
#
|
172
|
-
# Configuration parameters:
|
289
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
290
|
+
# Configuration parameters: EnforcedStyle.
|
173
291
|
# SupportedStyles: nested, compact
|
174
292
|
Style/ClassAndModuleChildren:
|
175
293
|
Exclude:
|
@@ -177,16 +295,22 @@ Style/ClassAndModuleChildren:
|
|
177
295
|
- 'app/models/spree/calculator/returns/assemblies_default_refund_amount.rb'
|
178
296
|
|
179
297
|
# Offense count: 3
|
180
|
-
# Configuration parameters: MinBodyLength.
|
298
|
+
# Configuration parameters: MinBodyLength, AllowConsecutiveConditionals.
|
181
299
|
Style/GuardClause:
|
182
300
|
Exclude:
|
183
301
|
- 'app/decorators/models/solidus_product_assembly/spree/line_item_decorator.rb'
|
184
302
|
- 'app/decorators/models/solidus_product_assembly/spree/stock/inventory_validator_decorator.rb'
|
185
303
|
- 'app/models/spree/order_inventory_assembly.rb'
|
186
304
|
|
187
|
-
# Offense count:
|
188
|
-
#
|
189
|
-
|
305
|
+
# Offense count: 2
|
306
|
+
# This cop supports safe autocorrection (--autocorrect).
|
307
|
+
Style/OrAssignment:
|
308
|
+
Exclude:
|
309
|
+
- 'app/models/spree/order_inventory_assembly.rb'
|
310
|
+
|
311
|
+
# Offense count: 6
|
312
|
+
# This cop supports safe autocorrection (--autocorrect).
|
313
|
+
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns, IgnoredPatterns.
|
190
314
|
# URISchemes: http, https
|
191
|
-
|
315
|
+
Layout/LineLength:
|
192
316
|
Max: 146
|
data/CHANGELOG.md
CHANGED
@@ -1,4 +1,101 @@
|
|
1
|
+
# Changelog
|
2
|
+
|
3
|
+
## [v1.2.0](https://github.com/solidusio-contrib/solidus_product_assembly/tree/v1.2.0) (2022-11-02)
|
4
|
+
|
5
|
+
[Full Changelog](https://github.com/solidusio-contrib/solidus_product_assembly/compare/v1.1.0...v1.2.0)
|
6
|
+
|
7
|
+
**Merged pull requests:**
|
8
|
+
|
9
|
+
- Fix before payment override [\#112](https://github.com/solidusio-contrib/solidus_product_assembly/pull/112) ([cpfergus1](https://github.com/cpfergus1))
|
10
|
+
- Update to use forked solidus\_frontend when needed [\#111](https://github.com/solidusio-contrib/solidus_product_assembly/pull/111) ([waiting-for-dev](https://github.com/waiting-for-dev))
|
11
|
+
- Search part globalize [\#109](https://github.com/solidusio-contrib/solidus_product_assembly/pull/109) ([AlistairNorman](https://github.com/AlistairNorman))
|
12
|
+
|
13
|
+
## [v1.1.0](https://github.com/solidusio-contrib/solidus_product_assembly/tree/v1.1.0) (2021-10-19)
|
14
|
+
|
15
|
+
[Full Changelog](https://github.com/solidusio-contrib/solidus_product_assembly/compare/v1.0.0...v1.1.0)
|
16
|
+
|
17
|
+
**Closed issues:**
|
18
|
+
|
19
|
+
- Dependabot couldn't find a Gemfile-local for this project [\#107](https://github.com/solidusio-contrib/solidus_product_assembly/issues/107)
|
20
|
+
- Prepare Solidus Product Assembly for Solidus 3.0 [\#102](https://github.com/solidusio-contrib/solidus_product_assembly/issues/102)
|
21
|
+
- Error on running specs locally [\#91](https://github.com/solidusio-contrib/solidus_product_assembly/issues/91)
|
22
|
+
- Dependabot can't resolve your Ruby dependency files [\#80](https://github.com/solidusio-contrib/solidus_product_assembly/issues/80)
|
23
|
+
- Dependabot can't resolve your Ruby dependency files [\#79](https://github.com/solidusio-contrib/solidus_product_assembly/issues/79)
|
24
|
+
- Dependabot can't resolve your Ruby dependency files [\#78](https://github.com/solidusio-contrib/solidus_product_assembly/issues/78)
|
25
|
+
- Dependabot can't resolve your Ruby dependency files [\#77](https://github.com/solidusio-contrib/solidus_product_assembly/issues/77)
|
26
|
+
- Dependabot can't resolve your Ruby dependency files [\#76](https://github.com/solidusio-contrib/solidus_product_assembly/issues/76)
|
27
|
+
- Dependabot can't resolve your Ruby dependency files [\#75](https://github.com/solidusio-contrib/solidus_product_assembly/issues/75)
|
28
|
+
- Dependabot can't resolve your Ruby dependency files [\#74](https://github.com/solidusio-contrib/solidus_product_assembly/issues/74)
|
29
|
+
- Dependabot can't resolve your Ruby dependency files [\#73](https://github.com/solidusio-contrib/solidus_product_assembly/issues/73)
|
30
|
+
- Action links for assembly don't work [\#62](https://github.com/solidusio-contrib/solidus_product_assembly/issues/62)
|
31
|
+
- Wrong return item amounts when returning orders with line items with quantity \> 1 [\#46](https://github.com/solidusio-contrib/solidus_product_assembly/issues/46)
|
32
|
+
- `method_missing': undefined method `add\_routes' [\#39](https://github.com/solidusio-contrib/solidus_product_assembly/issues/39)
|
33
|
+
- Deface is required [\#37](https://github.com/solidusio-contrib/solidus_product_assembly/issues/37)
|
34
|
+
- Javascript not registering Events [\#23](https://github.com/solidusio-contrib/solidus_product_assembly/issues/23)
|
35
|
+
- Cannot select parts [\#18](https://github.com/solidusio-contrib/solidus_product_assembly/issues/18)
|
36
|
+
|
37
|
+
**Merged pull requests:**
|
38
|
+
|
39
|
+
- Solidus 3 preparation [\#106](https://github.com/solidusio-contrib/solidus_product_assembly/pull/106) ([cpfergus1](https://github.com/cpfergus1))
|
40
|
+
- Upgrade to GitHub-native Dependabot [\#104](https://github.com/solidusio-contrib/solidus_product_assembly/pull/104) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
|
41
|
+
- Bump solidus\_support dependency to \(~\> 0.5\) [\#96](https://github.com/solidusio-contrib/solidus_product_assembly/pull/96) ([jcsanti](https://github.com/jcsanti))
|
42
|
+
- Display parts' available\_on in the admin's "parts" tab \(feature proposal\) [\#95](https://github.com/solidusio-contrib/solidus_product_assembly/pull/95) ([jcsanti](https://github.com/jcsanti))
|
43
|
+
- Fix Community Guidelines link in Readme [\#94](https://github.com/solidusio-contrib/solidus_product_assembly/pull/94) ([jcsanti](https://github.com/jcsanti))
|
44
|
+
- Fix failing test in shipment\_spec due to missing store [\#93](https://github.com/solidusio-contrib/solidus_product_assembly/pull/93) ([jcsanti](https://github.com/jcsanti))
|
45
|
+
- Fix deprecation warning about SolidusSupport.solidus\_gem\_version [\#84](https://github.com/solidusio-contrib/solidus_product_assembly/pull/84) ([stem](https://github.com/stem))
|
46
|
+
- Upgrade the extension using solidus\_dev\_support [\#81](https://github.com/solidusio-contrib/solidus_product_assembly/pull/81) ([blocknotes](https://github.com/blocknotes))
|
47
|
+
- Adopt solidus\_extension\_dev\_tools [\#71](https://github.com/solidusio-contrib/solidus_product_assembly/pull/71) ([aldesantis](https://github.com/aldesantis))
|
48
|
+
- Remove deprecation for Reimbursement\#simulate [\#69](https://github.com/solidusio-contrib/solidus_product_assembly/pull/69) ([spaghetticode](https://github.com/spaghetticode))
|
49
|
+
- Remove broken buttons in Shipments page [\#68](https://github.com/solidusio-contrib/solidus_product_assembly/pull/68) ([spaghetticode](https://github.com/spaghetticode))
|
50
|
+
- Update factory\_bot requirement from 5.1.0 to 5.1.1 [\#67](https://github.com/solidusio-contrib/solidus_product_assembly/pull/67) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
|
51
|
+
- Update puma requirement from ~\> 3.12 to ~\> 4.2 [\#66](https://github.com/solidusio-contrib/solidus_product_assembly/pull/66) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
|
52
|
+
- Update factory\_bot requirement from 4.10.0 to 5.1.0 [\#65](https://github.com/solidusio-contrib/solidus_product_assembly/pull/65) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
|
53
|
+
- Update pg requirement from ~\> 0.21 to ~\> 1.1 [\#64](https://github.com/solidusio-contrib/solidus_product_assembly/pull/64) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
|
54
|
+
- Update sqlite3 requirement from ~\> 1.3.6 to ~\> 1.4.1 [\#63](https://github.com/solidusio-contrib/solidus_product_assembly/pull/63) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
|
55
|
+
- Use `ActionView::Helpers::TranslationHelper.t` [\#60](https://github.com/solidusio-contrib/solidus_product_assembly/pull/60) ([spaghetticode](https://github.com/spaghetticode))
|
56
|
+
- Releasing new gem version to RubyGems, changelog generation [\#57](https://github.com/solidusio-contrib/solidus_product_assembly/pull/57) ([spaghetticode](https://github.com/spaghetticode))
|
57
|
+
- Remove Travis CI [\#56](https://github.com/solidusio-contrib/solidus_product_assembly/pull/56) ([spaghetticode](https://github.com/spaghetticode))
|
58
|
+
- Add SKU to \_stock\_item [\#55](https://github.com/solidusio-contrib/solidus_product_assembly/pull/55) ([ericsaupe](https://github.com/ericsaupe))
|
59
|
+
- Add CircleCI build [\#54](https://github.com/solidusio-contrib/solidus_product_assembly/pull/54) ([spaghetticode](https://github.com/spaghetticode))
|
60
|
+
- Load Capybara config from `solidus_support` gem [\#53](https://github.com/solidusio-contrib/solidus_product_assembly/pull/53) ([spaghetticode](https://github.com/spaghetticode))
|
61
|
+
- Fix build on Travis [\#52](https://github.com/solidusio-contrib/solidus_product_assembly/pull/52) ([spaghetticode](https://github.com/spaghetticode))
|
62
|
+
- Update `#determine_target_shipment` after Solidus \#3197 [\#50](https://github.com/solidusio-contrib/solidus_product_assembly/pull/50) ([spaghetticode](https://github.com/spaghetticode))
|
63
|
+
- Show split/delete actions for all items \(admin/orders/shipment\) [\#49](https://github.com/solidusio-contrib/solidus_product_assembly/pull/49) ([MinasMazar](https://github.com/MinasMazar))
|
64
|
+
- Show correct RMA amounts when assembly has more than one piece for var… [\#48](https://github.com/solidusio-contrib/solidus_product_assembly/pull/48) ([spaghetticode](https://github.com/spaghetticode))
|
65
|
+
- Fix build on Travis [\#47](https://github.com/solidusio-contrib/solidus_product_assembly/pull/47) ([spaghetticode](https://github.com/spaghetticode))
|
66
|
+
- Fix return item amounts with multiple items [\#45](https://github.com/solidusio-contrib/solidus_product_assembly/pull/45) ([spaghetticode](https://github.com/spaghetticode))
|
67
|
+
- add deface as a development dependency in gemspec [\#44](https://github.com/solidusio-contrib/solidus_product_assembly/pull/44) ([kevinjbayer](https://github.com/kevinjbayer))
|
68
|
+
- Round up default refund amount for assembly parts [\#43](https://github.com/solidusio-contrib/solidus_product_assembly/pull/43) ([spaghetticode](https://github.com/spaghetticode))
|
69
|
+
- Remove assembly part prices from carton manifest [\#42](https://github.com/solidusio-contrib/solidus_product_assembly/pull/42) ([spaghetticode](https://github.com/spaghetticode))
|
70
|
+
- Split refund amount proportionally on each assembly part [\#41](https://github.com/solidusio-contrib/solidus_product_assembly/pull/41) ([spaghetticode](https://github.com/spaghetticode))
|
71
|
+
- Fix stock finalization with non-backorderable stock and Solidus \>= 2.8 [\#40](https://github.com/solidusio-contrib/solidus_product_assembly/pull/40) ([spaghetticode](https://github.com/spaghetticode))
|
72
|
+
- Replace `Spree.t` with `I18n.t` [\#38](https://github.com/solidusio-contrib/solidus_product_assembly/pull/38) ([spaghetticode](https://github.com/spaghetticode))
|
73
|
+
- Lock SQLite3 to version 1.3 [\#36](https://github.com/solidusio-contrib/solidus_product_assembly/pull/36) ([aitbw](https://github.com/aitbw))
|
74
|
+
- Add Solidus v2.8 to Travis config [\#35](https://github.com/solidusio-contrib/solidus_product_assembly/pull/35) ([aitbw](https://github.com/aitbw))
|
75
|
+
- Remove stale edit button [\#34](https://github.com/solidusio-contrib/solidus_product_assembly/pull/34) ([spaghetticode](https://github.com/spaghetticode))
|
76
|
+
- Use Selenium with Chrome headless instead of Poltergeist [\#33](https://github.com/solidusio-contrib/solidus_product_assembly/pull/33) ([spaghetticode](https://github.com/spaghetticode))
|
77
|
+
- Fix `stock_item` partial for splitting items [\#32](https://github.com/solidusio-contrib/solidus_product_assembly/pull/32) ([spaghetticode](https://github.com/spaghetticode))
|
78
|
+
- Fix admin edit for shipping costs and tracking [\#31](https://github.com/solidusio-contrib/solidus_product_assembly/pull/31) ([spaghetticode](https://github.com/spaghetticode))
|
79
|
+
- AvailabilityValidator delegates to Solidus implementation when product is not an assembly [\#30](https://github.com/solidusio-contrib/solidus_product_assembly/pull/30) ([spaghetticode](https://github.com/spaghetticode))
|
80
|
+
- Test suite maintenance [\#29](https://github.com/solidusio-contrib/solidus_product_assembly/pull/29) ([aitbw](https://github.com/aitbw))
|
81
|
+
- Remove 2.2 from CI \(EOL\) [\#28](https://github.com/solidusio-contrib/solidus_product_assembly/pull/28) ([jacobherrington](https://github.com/jacobherrington))
|
82
|
+
- Remove versions past EOL from .travis.yml [\#27](https://github.com/solidusio-contrib/solidus_product_assembly/pull/27) ([jacobherrington](https://github.com/jacobherrington))
|
83
|
+
- Add Solidus 2.7 to .travis.yml [\#26](https://github.com/solidusio-contrib/solidus_product_assembly/pull/26) ([jacobherrington](https://github.com/jacobherrington))
|
84
|
+
- Update for Solidus 2.5 [\#21](https://github.com/solidusio-contrib/solidus_product_assembly/pull/21) ([jhawthorn](https://github.com/jhawthorn))
|
85
|
+
- Fix warnings [\#20](https://github.com/solidusio-contrib/solidus_product_assembly/pull/20) ([jhawthorn](https://github.com/jhawthorn))
|
86
|
+
- 2.4 fixes [\#19](https://github.com/solidusio-contrib/solidus_product_assembly/pull/19) ([jhawthorn](https://github.com/jhawthorn))
|
87
|
+
- Avoid stubbing in spec [\#17](https://github.com/solidusio-contrib/solidus_product_assembly/pull/17) ([jhawthorn](https://github.com/jhawthorn))
|
88
|
+
- Remove old Spree information from README [\#16](https://github.com/solidusio-contrib/solidus_product_assembly/pull/16) ([brchristian](https://github.com/brchristian))
|
89
|
+
- Removing small\_image Method Call. Replacing It To Avoid Error. [\#15](https://github.com/solidusio-contrib/solidus_product_assembly/pull/15) ([hugohernani](https://github.com/hugohernani))
|
90
|
+
- Fix deprecations and removals [\#14](https://github.com/solidusio-contrib/solidus_product_assembly/pull/14) ([jhawthorn](https://github.com/jhawthorn))
|
91
|
+
- Remove add\_routes fo routes.draw [\#13](https://github.com/solidusio-contrib/solidus_product_assembly/pull/13) ([denissellu](https://github.com/denissellu))
|
92
|
+
- Fix migration to allow rollback [\#12](https://github.com/solidusio-contrib/solidus_product_assembly/pull/12) ([tudorpavel](https://github.com/tudorpavel))
|
93
|
+
- Parts informations in API [\#11](https://github.com/solidusio-contrib/solidus_product_assembly/pull/11) ([DanielePalombo](https://github.com/DanielePalombo))
|
94
|
+
|
1
95
|
## [v1.0.0](https://github.com/solidusio-contrib/solidus_product_assembly/tree/v1.0.0) (2016-09-06)
|
96
|
+
|
97
|
+
[Full Changelog](https://github.com/solidusio-contrib/solidus_product_assembly/compare/7a6d85258735c0035d675364fc9000cdd7355e0e...v1.0.0)
|
98
|
+
|
2
99
|
**Closed issues:**
|
3
100
|
|
4
101
|
- Inventory Validation fail upon checkout, for the assembly product [\#3](https://github.com/solidusio-contrib/solidus_product_assembly/issues/3)
|
@@ -16,4 +113,4 @@
|
|
16
113
|
|
17
114
|
|
18
115
|
|
19
|
-
\* *This
|
116
|
+
\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*
|
data/Gemfile
CHANGED
@@ -4,12 +4,24 @@ source 'https://rubygems.org'
|
|
4
4
|
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
|
5
5
|
|
6
6
|
branch = ENV.fetch('SOLIDUS_BRANCH', 'master')
|
7
|
-
|
7
|
+
solidus_git, solidus_frontend_git = if (branch == 'master') || (branch >= 'v3.2')
|
8
|
+
%w[solidusio/solidus solidusio/solidus_frontend]
|
9
|
+
else
|
10
|
+
%w[solidusio/solidus] * 2
|
11
|
+
end
|
12
|
+
gem 'solidus', github: solidus_git, branch: branch
|
13
|
+
gem 'solidus_frontend', github: solidus_frontend_git, branch: branch
|
14
|
+
|
15
|
+
# Needed to help Bundler figure out how to resolve dependencies,
|
16
|
+
# otherwise it takes forever to resolve them.
|
17
|
+
# See https://github.com/bundler/bundler/issues/6677
|
18
|
+
gem 'rails', '>0.a'
|
8
19
|
|
9
20
|
# Provides basic authentication functionality for testing parts of your engine
|
10
21
|
gem 'solidus_auth_devise'
|
22
|
+
gem 'solidus_globalize', github: 'solidusio-contrib/solidus_globalize'
|
11
23
|
|
12
|
-
case ENV
|
24
|
+
case ENV.fetch('DB', nil)
|
13
25
|
when 'mysql'
|
14
26
|
gem 'mysql2'
|
15
27
|
when 'postgresql'
|
@@ -26,5 +38,8 @@ end
|
|
26
38
|
gemspec
|
27
39
|
|
28
40
|
# Use a local Gemfile to include development dependencies that might not be
|
29
|
-
# relevant for the project or for other contributors, e.g
|
30
|
-
|
41
|
+
# relevant for the project or for other contributors, e.g. pry-byebug.
|
42
|
+
#
|
43
|
+
# We use `send` instead of calling `eval_gemfile` to work around an issue with
|
44
|
+
# how Dependabot parses projects: https://github.com/dependabot/dependabot-core/issues/1658.
|
45
|
+
send(:eval_gemfile, 'Gemfile-local') if File.exist? 'Gemfile-local'
|