solidus_dev_support 2.5.6 → 2.6.0
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/.circleci/config.yml +3 -1
- data/.rubocop.yml +3 -2
- data/CHANGELOG.md +1 -408
- data/OLD_CHANGELOG.md +211 -1
- data/Rakefile +0 -13
- data/lib/solidus_dev_support/rubocop.rb +1 -1
- data/lib/solidus_dev_support/templates/extension/README.md +1 -8
- data/lib/solidus_dev_support/templates/extension/spec/spec_helper.rb.tt +2 -1
- data/lib/solidus_dev_support/testing_support/factories.rb +7 -71
- data/lib/solidus_dev_support/version.rb +1 -1
- data/solidus_dev_support.gemspec +1 -1
- data/spec/features/create_extension_spec.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ecf66be08fc8080f6c64bfd58e1f81ebe5c66aa72d6473146a7fa0ff1ad68e9b
|
|
4
|
+
data.tar.gz: 6f1fe3ec075e8ec5935a336eeedc78974262945cca8eb38e831518e062104d60
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 15433d4424d7fb44d65be238ddc4240ffb82201b32ed4c94d46ce418ef3fbeda26d84f328750996e57afc12e5a24f515f6fd98aaaa5cb4191f62d199bbd266f4
|
|
7
|
+
data.tar.gz: 3c0fed4e30d243ad9a99ad4e17abe9db1e2978c1c1d90190e636a07355b2eca5a49b938b9998dec1a0126c72101f6360b84e96c814db9ef9a04fd07337fab968
|
data/.circleci/config.yml
CHANGED
|
@@ -36,7 +36,9 @@ jobs:
|
|
|
36
36
|
ruby_version: '2.7'
|
|
37
37
|
steps: ['setup', 'solidusio_extensions/run-tests-solidus-older']
|
|
38
38
|
lint-code:
|
|
39
|
-
executor:
|
|
39
|
+
executor:
|
|
40
|
+
name: solidusio_extensions/sqlite
|
|
41
|
+
ruby_version: '3.0'
|
|
40
42
|
steps: ['setup', 'solidusio_extensions/lint-code']
|
|
41
43
|
|
|
42
44
|
workflows:
|
data/.rubocop.yml
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
inherit_from:
|
|
2
2
|
- https://relaxed.ruby.style/rubocop.yml
|
|
3
3
|
|
|
4
|
+
Gemspec/RequiredRubyVersion:
|
|
5
|
+
Enabled: false
|
|
4
6
|
Layout/EmptyLinesAroundAttributeAccessor:
|
|
5
7
|
Enabled: true
|
|
6
8
|
Layout/SpaceAroundMethodCallOperator:
|
|
@@ -42,7 +44,7 @@ Gemspec/DeprecatedAttributeAssignment:
|
|
|
42
44
|
Enabled: false
|
|
43
45
|
|
|
44
46
|
AllCops:
|
|
45
|
-
TargetRubyVersion:
|
|
47
|
+
TargetRubyVersion: 3.0
|
|
46
48
|
Exclude:
|
|
47
49
|
- tmp/**/*
|
|
48
50
|
- "vendor/**/*"
|
|
@@ -55,4 +57,3 @@ Style/FrozenStringLiteralComment:
|
|
|
55
57
|
- "**/bin/*"
|
|
56
58
|
- "**/exe/*"
|
|
57
59
|
- "spec/**/*"
|
|
58
|
-
|
data/CHANGELOG.md
CHANGED
|
@@ -1,410 +1,3 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
[Full Changelog](https://github.com/solidusio/solidus_dev_support/compare/v2.5.5...2.5.6)
|
|
6
|
-
|
|
7
|
-
**Implemented enhancements:**
|
|
8
|
-
|
|
9
|
-
- Allow Solidus 4 [\#203](https://github.com/solidusio/solidus_dev_support/pull/203) ([elia](https://github.com/elia))
|
|
10
|
-
- Update proposed defaults [\#191](https://github.com/solidusio/solidus_dev_support/pull/191) ([elia](https://github.com/elia))
|
|
11
|
-
|
|
12
|
-
**Fixed bugs:**
|
|
13
|
-
|
|
14
|
-
- Fix sandbox default solidus branch [\#192](https://github.com/solidusio/solidus_dev_support/pull/192) ([RyanofWoods](https://github.com/RyanofWoods))
|
|
15
|
-
|
|
16
|
-
**Merged pull requests:**
|
|
17
|
-
|
|
18
|
-
- Remove Slack notifications for CI failures [\#199](https://github.com/solidusio/solidus_dev_support/pull/199) ([waiting-for-dev](https://github.com/waiting-for-dev))
|
|
19
|
-
|
|
20
|
-
## [v2.5.5](https://github.com/solidusio/solidus_dev_support/tree/v2.5.5) (2022-09-08)
|
|
21
|
-
|
|
22
|
-
[Full Changelog](https://github.com/solidusio/solidus_dev_support/compare/v2.5.4...v2.5.5)
|
|
23
|
-
|
|
24
|
-
**Implemented enhancements:**
|
|
25
|
-
|
|
26
|
-
- Configure solidus\_chrome\_headless as capybara-screenshot driver [\#190](https://github.com/solidusio/solidus_dev_support/pull/190) ([tvdeyen](https://github.com/tvdeyen))
|
|
27
|
-
- Misc: auth-devise, extracted frontend gem, sqlite [\#188](https://github.com/solidusio/solidus_dev_support/pull/188) ([elia](https://github.com/elia))
|
|
28
|
-
|
|
29
|
-
**Fixed bugs:**
|
|
30
|
-
|
|
31
|
-
- Revert temporary fix for Octokit [\#186](https://github.com/solidusio/solidus_dev_support/pull/186) ([waiting-for-dev](https://github.com/waiting-for-dev))
|
|
32
|
-
|
|
33
|
-
## [v2.5.4](https://github.com/solidusio/solidus_dev_support/tree/v2.5.4) (2022-05-31)
|
|
34
|
-
|
|
35
|
-
[Full Changelog](https://github.com/solidusio/solidus_dev_support/compare/v2.5.2...v2.5.4)
|
|
36
|
-
|
|
37
|
-
**Fixed bugs:**
|
|
38
|
-
|
|
39
|
-
- Add a missing require for octokit/repository [\#185](https://github.com/solidusio/solidus_dev_support/pull/185) ([elia](https://github.com/elia))
|
|
40
|
-
- Fix window resizing of `solidus_chrome_headless` driver [\#184](https://github.com/solidusio/solidus_dev_support/pull/184) ([gsmendoza](https://github.com/gsmendoza))
|
|
41
|
-
|
|
42
|
-
## [v2.5.2](https://github.com/solidusio/solidus_dev_support/tree/v2.5.2) (2021-11-23)
|
|
43
|
-
|
|
44
|
-
[Full Changelog](https://github.com/solidusio/solidus_dev_support/compare/v2.5.1...v2.5.2)
|
|
45
|
-
|
|
46
|
-
**Merged pull requests:**
|
|
47
|
-
|
|
48
|
-
- Loosen webdrivers constraint in solidus\_dev\_support [\#180](https://github.com/solidusio/solidus_dev_support/pull/180) ([gsmendoza](https://github.com/gsmendoza))
|
|
49
|
-
|
|
50
|
-
## [v2.5.1](https://github.com/solidusio/solidus_dev_support/tree/v2.5.1) (2021-08-31)
|
|
51
|
-
|
|
52
|
-
[Full Changelog](https://github.com/solidusio/solidus_dev_support/compare/v2.5.0...v2.5.1)
|
|
53
|
-
|
|
54
|
-
## [v2.5.0](https://github.com/solidusio/solidus_dev_support/tree/v2.5.0) (2021-04-20)
|
|
55
|
-
|
|
56
|
-
[Full Changelog](https://github.com/solidusio/solidus_dev_support/compare/v2.4.3...v2.5.0)
|
|
57
|
-
|
|
58
|
-
**Implemented enhancements:**
|
|
59
|
-
|
|
60
|
-
- Allow Solidus 3 [\#176](https://github.com/solidusio/solidus_dev_support/pull/176) ([kennyadsl](https://github.com/kennyadsl))
|
|
61
|
-
- Relax Ruby version requirement [\#174](https://github.com/solidusio/solidus_dev_support/pull/174) ([gauravtiwari](https://github.com/gauravtiwari))
|
|
62
|
-
|
|
63
|
-
## [v2.4.3](https://github.com/solidusio/solidus_dev_support/tree/v2.4.3) (2021-02-23)
|
|
64
|
-
|
|
65
|
-
[Full Changelog](https://github.com/solidusio/solidus_dev_support/compare/v2.4.2...v2.4.3)
|
|
66
|
-
|
|
67
|
-
**Implemented enhancements:**
|
|
68
|
-
|
|
69
|
-
- Add instruction on how to use the new factories in apps [\#172](https://github.com/solidusio/solidus_dev_support/pull/172) ([kennyadsl](https://github.com/kennyadsl))
|
|
70
|
-
|
|
71
|
-
**Fixed bugs:**
|
|
72
|
-
|
|
73
|
-
- Explode directories into individual files [\#171](https://github.com/solidusio/solidus_dev_support/pull/171) ([kennyadsl](https://github.com/kennyadsl))
|
|
74
|
-
- Fix factories loading, part 2 [\#170](https://github.com/solidusio/solidus_dev_support/pull/170) ([kennyadsl](https://github.com/kennyadsl))
|
|
75
|
-
|
|
76
|
-
## [v2.4.2](https://github.com/solidusio/solidus_dev_support/tree/v2.4.2) (2021-02-19)
|
|
77
|
-
|
|
78
|
-
[Full Changelog](https://github.com/solidusio/solidus_dev_support/compare/v2.4.1...v2.4.2)
|
|
79
|
-
|
|
80
|
-
## [v2.4.1](https://github.com/solidusio/solidus_dev_support/tree/v2.4.1) (2021-02-19)
|
|
81
|
-
|
|
82
|
-
[Full Changelog](https://github.com/solidusio/solidus_dev_support/compare/v2.4.0...v2.4.1)
|
|
83
|
-
|
|
84
|
-
**Fixed bugs:**
|
|
85
|
-
|
|
86
|
-
- Fix loading factories in extensions after the last changes in Solidus [\#169](https://github.com/solidusio/solidus_dev_support/pull/169) ([kennyadsl](https://github.com/kennyadsl))
|
|
87
|
-
|
|
88
|
-
## [v2.4.0](https://github.com/solidusio/solidus_dev_support/tree/v2.4.0) (2021-02-05)
|
|
89
|
-
|
|
90
|
-
[Full Changelog](https://github.com/solidusio/solidus_dev_support/compare/v2.3.0...v2.4.0)
|
|
91
|
-
|
|
92
|
-
**Implemented enhancements:**
|
|
93
|
-
|
|
94
|
-
- Improve engine's requires to remove double inclusions [\#165](https://github.com/solidusio/solidus_dev_support/pull/165) ([kennyadsl](https://github.com/kennyadsl))
|
|
95
|
-
- Remove double require of core factories from rails\_helper [\#164](https://github.com/solidusio/solidus_dev_support/pull/164) ([kennyadsl](https://github.com/kennyadsl))
|
|
96
|
-
|
|
97
|
-
**Fixed bugs:**
|
|
98
|
-
|
|
99
|
-
- Fix typo in configuration.rb.tt [\#166](https://github.com/solidusio/solidus_dev_support/pull/166) ([brchristian](https://github.com/brchristian))
|
|
100
|
-
|
|
101
|
-
**Merged pull requests:**
|
|
102
|
-
|
|
103
|
-
- Rename spree:install to solidus:install in the sandbox template [\#167](https://github.com/solidusio/solidus_dev_support/pull/167) ([blocknotes](https://github.com/blocknotes))
|
|
104
|
-
|
|
105
|
-
## [v2.3.0](https://github.com/solidusio/solidus_dev_support/tree/v2.3.0) (2021-01-14)
|
|
106
|
-
|
|
107
|
-
[Full Changelog](https://github.com/solidusio/solidus_dev_support/compare/v2.2.0...v2.3.0)
|
|
108
|
-
|
|
109
|
-
**Implemented enhancements:**
|
|
110
|
-
|
|
111
|
-
- Do not raise if source\_code\_uri is missing in the gemspec [\#163](https://github.com/solidusio/solidus_dev_support/pull/163) ([kennyadsl](https://github.com/kennyadsl))
|
|
112
|
-
- Factory bot fixes for latest Solidus 2.11 release [\#162](https://github.com/solidusio/solidus_dev_support/pull/162) ([elia](https://github.com/elia))
|
|
113
|
-
|
|
114
|
-
**Fixed bugs:**
|
|
115
|
-
|
|
116
|
-
- use rubocop-rspec 2.x [\#161](https://github.com/solidusio/solidus_dev_support/pull/161) ([ccarruitero](https://github.com/ccarruitero))
|
|
117
|
-
|
|
118
|
-
## [v2.2.0](https://github.com/solidusio/solidus_dev_support/tree/v2.2.0) (2020-11-27)
|
|
119
|
-
|
|
120
|
-
[Full Changelog](https://github.com/solidusio/solidus_dev_support/compare/v2.1.0...v2.2.0)
|
|
121
|
-
|
|
122
|
-
**Implemented enhancements:**
|
|
123
|
-
|
|
124
|
-
- Improve the URL generation for the gemspec and Readme \(defaulting to the solidusio-contrib organization\), consistently use a file-based Changelog [\#159](https://github.com/solidusio/solidus_dev_support/pull/159) ([elia](https://github.com/elia))
|
|
125
|
-
- Configuration Cleanup [\#158](https://github.com/solidusio/solidus_dev_support/pull/158) ([elia](https://github.com/elia))
|
|
126
|
-
- Refer to Solidus wiki page for gem release info [\#157](https://github.com/solidusio/solidus_dev_support/pull/157) ([spaghetticode](https://github.com/spaghetticode))
|
|
127
|
-
- Upgrade to RuboCop 1.0 [\#156](https://github.com/solidusio/solidus_dev_support/pull/156) ([aldesantis](https://github.com/aldesantis))
|
|
128
|
-
- Add a command to display gem's version [\#154](https://github.com/solidusio/solidus_dev_support/pull/154) ([igorbp](https://github.com/igorbp))
|
|
129
|
-
|
|
130
|
-
**Fixed bugs:**
|
|
131
|
-
|
|
132
|
-
- Require "webdrivers" before using it as the default javascript driver [\#152](https://github.com/solidusio/solidus_dev_support/pull/152) ([ccarruitero](https://github.com/ccarruitero))
|
|
133
|
-
|
|
134
|
-
**Merged pull requests:**
|
|
135
|
-
|
|
136
|
-
- Don't let mergify mark a PR as red because it's missing a review [\#153](https://github.com/solidusio/solidus_dev_support/pull/153) ([elia](https://github.com/elia))
|
|
137
|
-
|
|
138
|
-
## [v2.1.0](https://github.com/solidusio/solidus_dev_support/tree/v2.1.0) (2020-10-02)
|
|
139
|
-
|
|
140
|
-
[Full Changelog](https://github.com/solidusio/solidus_dev_support/compare/v2.0.1...v2.1.0)
|
|
141
|
-
|
|
142
|
-
**Implemented enhancements:**
|
|
143
|
-
|
|
144
|
-
- Add standard github\_changelog\_generator configuration [\#151](https://github.com/solidusio/solidus_dev_support/pull/151) ([aldesantis](https://github.com/aldesantis))
|
|
145
|
-
- Move generated factories to `testing_support/` [\#150](https://github.com/solidusio/solidus_dev_support/pull/150) ([aldesantis](https://github.com/aldesantis))
|
|
146
|
-
- Add extension configuration boilerplate [\#149](https://github.com/solidusio/solidus_dev_support/pull/149) ([aldesantis](https://github.com/aldesantis))
|
|
147
|
-
|
|
148
|
-
**Fixed bugs:**
|
|
149
|
-
|
|
150
|
-
- Fix `NewCops: Enable` option for RuboCop [\#148](https://github.com/solidusio/solidus_dev_support/pull/148) ([aldesantis](https://github.com/aldesantis))
|
|
151
|
-
|
|
152
|
-
## [v2.0.1](https://github.com/solidusio/solidus_dev_support/tree/v2.0.1) (2020-09-22)
|
|
153
|
-
|
|
154
|
-
[Full Changelog](https://github.com/solidusio/solidus_dev_support/compare/v2.0.0...v2.0.1)
|
|
155
|
-
|
|
156
|
-
**Fixed bugs:**
|
|
157
|
-
|
|
158
|
-
- Fix gem\_version not being found during extension generation [\#144](https://github.com/solidusio/solidus_dev_support/pull/144) ([aldesantis](https://github.com/aldesantis))
|
|
159
|
-
|
|
160
|
-
## [v2.0.0](https://github.com/solidusio/solidus_dev_support/tree/v2.0.0) (2020-09-22)
|
|
161
|
-
|
|
162
|
-
[Full Changelog](https://github.com/solidusio/solidus_dev_support/compare/v1.6.0...v2.0.0)
|
|
163
|
-
|
|
164
|
-
**Breaking changes:**
|
|
165
|
-
|
|
166
|
-
- Switch the JS driver to WebDriver/Selenium [\#136](https://github.com/solidusio/solidus_dev_support/pull/136) ([elia](https://github.com/elia))
|
|
167
|
-
|
|
168
|
-
**Implemented enhancements:**
|
|
169
|
-
|
|
170
|
-
- Enable new RuboCop cops automatically [\#143](https://github.com/solidusio/solidus_dev_support/pull/143) ([aldesantis](https://github.com/aldesantis))
|
|
171
|
-
- Don't forcefully close issues via stale-bot [\#139](https://github.com/solidusio/solidus_dev_support/pull/139) ([elia](https://github.com/elia))
|
|
172
|
-
- Add the approximate recommendation for dev-support to the gemspec [\#137](https://github.com/solidusio/solidus_dev_support/pull/137) ([elia](https://github.com/elia))
|
|
173
|
-
|
|
174
|
-
**Fixed bugs:**
|
|
175
|
-
|
|
176
|
-
- fix capybara driver declaration [\#141](https://github.com/solidusio/solidus_dev_support/pull/141) ([ccarruitero](https://github.com/ccarruitero))
|
|
177
|
-
- Bump RuboCop to latest 0.90.0 version [\#138](https://github.com/solidusio/solidus_dev_support/pull/138) ([peterberkenbosch](https://github.com/peterberkenbosch))
|
|
178
|
-
- Fix missing backslash in solidus install command [\#135](https://github.com/solidusio/solidus_dev_support/pull/135) ([nirebu](https://github.com/nirebu))
|
|
179
|
-
|
|
180
|
-
## [v1.6.0](https://github.com/solidusio/solidus_dev_support/tree/v1.6.0) (2020-08-26)
|
|
181
|
-
|
|
182
|
-
[Full Changelog](https://github.com/solidusio/solidus_dev_support/compare/v1.5.0...v1.6.0)
|
|
183
|
-
|
|
184
|
-
**Implemented enhancements:**
|
|
185
|
-
|
|
186
|
-
- Let the extension name include spaces [\#133](https://github.com/solidusio/solidus_dev_support/pull/133) ([elia](https://github.com/elia))
|
|
187
|
-
- Add precompiled badges fro CI and coverage [\#132](https://github.com/solidusio/solidus_dev_support/pull/132) ([elia](https://github.com/elia))
|
|
188
|
-
- Add Changelog Rake task [\#128](https://github.com/solidusio/solidus_dev_support/pull/128) ([tvdeyen](https://github.com/tvdeyen))
|
|
189
|
-
- Readme fixes [\#122](https://github.com/solidusio/solidus_dev_support/pull/122) ([elia](https://github.com/elia))
|
|
190
|
-
|
|
191
|
-
**Fixed bugs:**
|
|
192
|
-
|
|
193
|
-
- Don't install a payment-method in the sandbox [\#131](https://github.com/solidusio/solidus_dev_support/pull/131) ([elia](https://github.com/elia))
|
|
194
|
-
- Run extension generator in sandbox [\#127](https://github.com/solidusio/solidus_dev_support/pull/127) ([elia](https://github.com/elia))
|
|
195
|
-
|
|
196
|
-
## [v1.5.0](https://github.com/solidusio/solidus_dev_support/tree/v1.5.0) (2020-06-13)
|
|
197
|
-
|
|
198
|
-
[Full Changelog](https://github.com/solidusio/solidus_dev_support/compare/v1.4.0...v1.5.0)
|
|
199
|
-
|
|
200
|
-
**Fixed bugs:**
|
|
201
|
-
|
|
202
|
-
- Fix formatting typo in readme [\#117](https://github.com/solidusio/solidus_dev_support/pull/117) ([aldesantis](https://github.com/aldesantis))
|
|
203
|
-
|
|
204
|
-
**Removed:**
|
|
205
|
-
|
|
206
|
-
- Remove deprecated bin/r and bin/sandbox\_rails binaries [\#118](https://github.com/solidusio/solidus_dev_support/pull/118) ([aldesantis](https://github.com/aldesantis))
|
|
207
|
-
|
|
208
|
-
## [1.4.0] - 2020-06-05
|
|
209
|
-
|
|
210
|
-
### Added
|
|
211
|
-
|
|
212
|
-
- Added a "Usage" section to the default readme
|
|
213
|
-
|
|
214
|
-
### Changed
|
|
215
|
-
|
|
216
|
-
- Restored `bin/rails` and renamed the context specific bins to `bin/rails-engine` and `bin/rails-sandbox`
|
|
217
|
-
- Adjusted the readme structure with better formatting and grammar
|
|
218
|
-
- Moved the RuboCop `AllCops/Exclude` statement back to the internal configuration
|
|
219
|
-
|
|
220
|
-
### Deprecated
|
|
221
|
-
|
|
222
|
-
- Deprecated `bin/r` in favor of `bin/rails-engine` and `bin/sandbox_rails` in favor of `bin/rails-sandbox`
|
|
223
|
-
|
|
224
|
-
## [1.3.0] - 2020-05-22
|
|
225
|
-
|
|
226
|
-
### Added
|
|
227
|
-
|
|
228
|
-
- Ignored `.rvmrc`, `.ruby-version` and `.ruby-gemset` by default in extensions
|
|
229
|
-
- Added deprecation warning when extensions don't support Zeitwerk
|
|
230
|
-
|
|
231
|
-
### Changed
|
|
232
|
-
|
|
233
|
-
- Updated the extension template to use latest (0.5.X) solidus_support
|
|
234
|
-
- Set Ruby 2.5+ as the minimum Ruby version in generated extensions
|
|
235
|
-
|
|
236
|
-
### Removed
|
|
237
|
-
|
|
238
|
-
- Removed Stale from the default extension configuration
|
|
239
|
-
|
|
240
|
-
## [1.2.0] - 2020-04-24
|
|
241
|
-
|
|
242
|
-
### Changed
|
|
243
|
-
|
|
244
|
-
- Updated the extension template with the latest modifications
|
|
245
|
-
|
|
246
|
-
## [1.1.0] - 2020-03-06
|
|
247
|
-
|
|
248
|
-
### Added
|
|
249
|
-
|
|
250
|
-
- Made Git ignore `sandbox` in generated extensions
|
|
251
|
-
- Added support for specifying `SOLIDUS_BRANCH` in the sandbox
|
|
252
|
-
|
|
253
|
-
### Changed
|
|
254
|
-
|
|
255
|
-
- Split `bin/rails` into `bin/r` and `bin/sandbox_rails`
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
### Fixed
|
|
259
|
-
|
|
260
|
-
- Fixed the sandbox Gemfile not including Solidus
|
|
261
|
-
|
|
262
|
-
## [1.0.1] - 2020-02-17
|
|
263
|
-
|
|
264
|
-
### Fixed
|
|
265
|
-
|
|
266
|
-
- Fixed missing factory definitions when using `modify` on Solidus factories
|
|
267
|
-
|
|
268
|
-
## [1.0.0] - 2020-02-07
|
|
269
|
-
|
|
270
|
-
### Added
|
|
271
|
-
|
|
272
|
-
- Added a binstub for `rake` to the extension generator
|
|
273
|
-
- Added the ability for the generator to reuse existing data for the gemspec
|
|
274
|
-
|
|
275
|
-
### Fixed
|
|
276
|
-
|
|
277
|
-
- Fixed Dependabot throwing an error because of `eval_gemfile` in the Gemfile
|
|
278
|
-
|
|
279
|
-
## [0.6.0] - 2020-01-20
|
|
280
|
-
|
|
281
|
-
### Added
|
|
282
|
-
|
|
283
|
-
- Added support for a local Gemfile for local development dependencies (e.g. 'pry-debug')
|
|
284
|
-
- Added a `bin/sandbox` script to all extension for local development with `bin/rails` support.
|
|
285
|
-
|
|
286
|
-
### Changed
|
|
287
|
-
|
|
288
|
-
- The default rake task no longer re-generates the `test_app` each time it runs.
|
|
289
|
-
In order to get that behavior back simply call clobber before launching it:
|
|
290
|
-
`bin/rake clobber default`
|
|
291
|
-
|
|
292
|
-
### Fixed
|
|
293
|
-
|
|
294
|
-
- Fixed generated extensions isolating the wrong namespace
|
|
295
|
-
|
|
296
|
-
## [0.5.0] - 2020-01-16
|
|
297
|
-
|
|
298
|
-
### Added
|
|
299
|
-
|
|
300
|
-
- Added `--require spec_helper` to the generated `.rspec`
|
|
301
|
-
|
|
302
|
-
### Fixed
|
|
303
|
-
|
|
304
|
-
- Replaced "Spree" with "Solidus" in the license of generated extensions
|
|
305
|
-
|
|
306
|
-
### Changed
|
|
307
|
-
|
|
308
|
-
- Updated gem-release to use tags instead of branches for new releases
|
|
309
|
-
|
|
310
|
-
## [0.4.1] - 2020-01-15
|
|
311
|
-
|
|
312
|
-
### Fixed
|
|
313
|
-
|
|
314
|
-
- Fixed the generated RuboCop config inheriting from this gem's dev-only config
|
|
315
|
-
- Fixed the generated extension not requiring the `version` file
|
|
316
|
-
- Fixed the generator not properly marking `bin/` files as executable
|
|
317
|
-
|
|
318
|
-
## [0.4.0] - 2020-01-10
|
|
319
|
-
|
|
320
|
-
### Added
|
|
321
|
-
|
|
322
|
-
- Enforced Rails version depending on the Solidus version in generated Gemfile
|
|
323
|
-
- Made Git ignore `spec/examples.txt` in generated extensions
|
|
324
|
-
- Added the ability to run `solidus extension .` to update an extension
|
|
325
|
-
|
|
326
|
-
### Changed
|
|
327
|
-
|
|
328
|
-
- The `solidus` executable is now solely managed by Thor and is open to extension by other gems
|
|
329
|
-
|
|
330
|
-
### Fixed
|
|
331
|
-
|
|
332
|
-
- Fixed generated extensions using an old Rakefile
|
|
333
|
-
- Fixed some RuboCop offenses in the generated files
|
|
334
|
-
- Fixed the `bin/setup` script calling a non-existing Rake binary
|
|
335
|
-
|
|
336
|
-
### Removed
|
|
337
|
-
|
|
338
|
-
- Removed RuboCop from the default Rake task
|
|
339
|
-
- Removed the `-v` option from the `solidus` executable
|
|
340
|
-
- Removed the factory_bot gem from the Gemfile
|
|
341
|
-
|
|
342
|
-
## [0.3.0] - 2020-01-10
|
|
343
|
-
|
|
344
|
-
### Added
|
|
345
|
-
|
|
346
|
-
- Adopted Ruby 2.4+ as the minimum Ruby version in generated extensions
|
|
347
|
-
- Added `bin/console`, `bin/rails` and `bin/setup` to generated extensions
|
|
348
|
-
- Added some Bundler gemspec defaults to generated extensions
|
|
349
|
-
- Configured the default Rake task to run generate the test app before running RSpec
|
|
350
|
-
|
|
351
|
-
### Changed
|
|
352
|
-
|
|
353
|
-
- Updated solidus_support to 0.4.0 for Zeitwerk and Rails 6 compatibility
|
|
354
|
-
- Updated the `solidus` executable to only rely on Thor and be open to extension by other gems
|
|
355
|
-
|
|
356
|
-
### Removed
|
|
357
|
-
|
|
358
|
-
- Removed solidus_support as a dependency
|
|
359
|
-
|
|
360
|
-
### Fixed
|
|
361
|
-
|
|
362
|
-
- Fixed `extension:test_app` not going back to the root after execution
|
|
363
|
-
|
|
364
|
-
## [0.2.0] - 2019-12-16
|
|
365
|
-
|
|
366
|
-
### Added
|
|
367
|
-
|
|
368
|
-
- Adopted [Apparition](https://github.com/twalpole/apparition) as the deafult JS driver for Capybara
|
|
369
|
-
- Fixed window size to 1920x1080px in feature specs
|
|
370
|
-
- Added [Stale](https://github.com/apps/stale) to automatically mark GitHub issues as stale
|
|
371
|
-
|
|
372
|
-
### Changed
|
|
373
|
-
|
|
374
|
-
- Disabled all `Metrics` cops except for `LineLength`
|
|
375
|
-
- Set `Layout/AlignArguments` cop to `with_fixed_indentation`
|
|
376
|
-
- Disabled `Layout/MultilineOperationIndentation` cop
|
|
377
|
-
- Renamed the project to SolidusDevSupport (was SolidusExtensionDevTools)
|
|
378
|
-
|
|
379
|
-
### Fixed
|
|
380
|
-
|
|
381
|
-
- Fixed Chrome not starting in headless mode
|
|
382
|
-
|
|
383
|
-
## [0.1.1] - 2019-11-11
|
|
384
|
-
|
|
385
|
-
### Fixed
|
|
386
|
-
|
|
387
|
-
- Fixed `rails_helper` not working due to `SolidusDevSupport` not being available
|
|
388
|
-
|
|
389
|
-
## [0.1.0] - 2019-11-11
|
|
390
|
-
|
|
391
|
-
Initial release.
|
|
392
|
-
|
|
393
|
-
[Unreleased]: https://github.com/solidusio/solidus_dev_support/compare/v1.4.0...HEAD
|
|
394
|
-
[1.4.0]: https://github.com/solidusio/solidus_dev_support/compare/v1.3.0...v1.4.0
|
|
395
|
-
[1.3.0]: https://github.com/solidusio/solidus_dev_support/compare/v1.2.0...v1.3.0
|
|
396
|
-
[1.2.0]: https://github.com/solidusio/solidus_dev_support/compare/v1.1.0...v1.2.0
|
|
397
|
-
[1.1.0]: https://github.com/solidusio/solidus_dev_support/compare/v1.0.1...v1.1.0
|
|
398
|
-
[1.0.1]: https://github.com/solidusio/solidus_dev_support/compare/v1.0.0...v1.0.1
|
|
399
|
-
[1.0.0]: https://github.com/solidusio/solidus_dev_support/compare/v0.6.0...v1.0.0
|
|
400
|
-
[0.6.0]: https://github.com/solidusio/solidus_dev_support/compare/v0.5.0...v0.6.0
|
|
401
|
-
[0.5.0]: https://github.com/solidusio/solidus_dev_support/compare/v0.4.1...v0.5.0
|
|
402
|
-
[0.4.1]: https://github.com/solidusio/solidus_dev_support/compare/v0.4.0...v0.4.1
|
|
403
|
-
[0.4.0]: https://github.com/solidusio/solidus_dev_support/compare/v0.3.0...v0.4.0
|
|
404
|
-
[0.3.0]: https://github.com/solidusio/solidus_dev_support/compare/v0.2.0...v0.3.0
|
|
405
|
-
[0.2.0]: https://github.com/solidusio/solidus_dev_support/compare/v0.1.1...v0.2.0
|
|
406
|
-
[0.1.1]: https://github.com/solidusio/solidus_dev_support/compare/v0.1.0...v0.1.1
|
|
407
|
-
[0.1.0]: https://github.com/solidusio/solidus_dev_support/releases/tag/v0.1.0
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*
|
|
3
|
+
See https://github.com/solidusio/solidus_dev_support/releases or OLD_CHANGELOG.md for older versions.
|
data/OLD_CHANGELOG.md
CHANGED
|
@@ -1,3 +1,210 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## [2.5.6](https://github.com/solidusio/solidus_dev_support/tree/2.5.6) (2023-04-24)
|
|
4
|
+
|
|
5
|
+
[Full Changelog](https://github.com/solidusio/solidus_dev_support/compare/v2.5.5...2.5.6)
|
|
6
|
+
|
|
7
|
+
**Implemented enhancements:**
|
|
8
|
+
|
|
9
|
+
- Allow Solidus 4 [\#203](https://github.com/solidusio/solidus_dev_support/pull/203) ([elia](https://github.com/elia))
|
|
10
|
+
- Update proposed defaults [\#191](https://github.com/solidusio/solidus_dev_support/pull/191) ([elia](https://github.com/elia))
|
|
11
|
+
|
|
12
|
+
**Fixed bugs:**
|
|
13
|
+
|
|
14
|
+
- Fix sandbox default solidus branch [\#192](https://github.com/solidusio/solidus_dev_support/pull/192) ([RyanofWoods](https://github.com/RyanofWoods))
|
|
15
|
+
|
|
16
|
+
**Merged pull requests:**
|
|
17
|
+
|
|
18
|
+
- Remove Slack notifications for CI failures [\#199](https://github.com/solidusio/solidus_dev_support/pull/199) ([waiting-for-dev](https://github.com/waiting-for-dev))
|
|
19
|
+
|
|
20
|
+
## [v2.5.5](https://github.com/solidusio/solidus_dev_support/tree/v2.5.5) (2022-09-08)
|
|
21
|
+
|
|
22
|
+
[Full Changelog](https://github.com/solidusio/solidus_dev_support/compare/v2.5.4...v2.5.5)
|
|
23
|
+
|
|
24
|
+
**Implemented enhancements:**
|
|
25
|
+
|
|
26
|
+
- Configure solidus\_chrome\_headless as capybara-screenshot driver [\#190](https://github.com/solidusio/solidus_dev_support/pull/190) ([tvdeyen](https://github.com/tvdeyen))
|
|
27
|
+
- Misc: auth-devise, extracted frontend gem, sqlite [\#188](https://github.com/solidusio/solidus_dev_support/pull/188) ([elia](https://github.com/elia))
|
|
28
|
+
|
|
29
|
+
**Fixed bugs:**
|
|
30
|
+
|
|
31
|
+
- Revert temporary fix for Octokit [\#186](https://github.com/solidusio/solidus_dev_support/pull/186) ([waiting-for-dev](https://github.com/waiting-for-dev))
|
|
32
|
+
|
|
33
|
+
## [v2.5.4](https://github.com/solidusio/solidus_dev_support/tree/v2.5.4) (2022-05-31)
|
|
34
|
+
|
|
35
|
+
[Full Changelog](https://github.com/solidusio/solidus_dev_support/compare/v2.5.2...v2.5.4)
|
|
36
|
+
|
|
37
|
+
**Fixed bugs:**
|
|
38
|
+
|
|
39
|
+
- Add a missing require for octokit/repository [\#185](https://github.com/solidusio/solidus_dev_support/pull/185) ([elia](https://github.com/elia))
|
|
40
|
+
- Fix window resizing of `solidus_chrome_headless` driver [\#184](https://github.com/solidusio/solidus_dev_support/pull/184) ([gsmendoza](https://github.com/gsmendoza))
|
|
41
|
+
|
|
42
|
+
## [v2.5.2](https://github.com/solidusio/solidus_dev_support/tree/v2.5.2) (2021-11-23)
|
|
43
|
+
|
|
44
|
+
[Full Changelog](https://github.com/solidusio/solidus_dev_support/compare/v2.5.1...v2.5.2)
|
|
45
|
+
|
|
46
|
+
**Merged pull requests:**
|
|
47
|
+
|
|
48
|
+
- Loosen webdrivers constraint in solidus\_dev\_support [\#180](https://github.com/solidusio/solidus_dev_support/pull/180) ([gsmendoza](https://github.com/gsmendoza))
|
|
49
|
+
|
|
50
|
+
## [v2.5.1](https://github.com/solidusio/solidus_dev_support/tree/v2.5.1) (2021-08-31)
|
|
51
|
+
|
|
52
|
+
[Full Changelog](https://github.com/solidusio/solidus_dev_support/compare/v2.5.0...v2.5.1)
|
|
53
|
+
|
|
54
|
+
## [v2.5.0](https://github.com/solidusio/solidus_dev_support/tree/v2.5.0) (2021-04-20)
|
|
55
|
+
|
|
56
|
+
[Full Changelog](https://github.com/solidusio/solidus_dev_support/compare/v2.4.3...v2.5.0)
|
|
57
|
+
|
|
58
|
+
**Implemented enhancements:**
|
|
59
|
+
|
|
60
|
+
- Allow Solidus 3 [\#176](https://github.com/solidusio/solidus_dev_support/pull/176) ([kennyadsl](https://github.com/kennyadsl))
|
|
61
|
+
- Relax Ruby version requirement [\#174](https://github.com/solidusio/solidus_dev_support/pull/174) ([gauravtiwari](https://github.com/gauravtiwari))
|
|
62
|
+
|
|
63
|
+
## [v2.4.3](https://github.com/solidusio/solidus_dev_support/tree/v2.4.3) (2021-02-23)
|
|
64
|
+
|
|
65
|
+
[Full Changelog](https://github.com/solidusio/solidus_dev_support/compare/v2.4.2...v2.4.3)
|
|
66
|
+
|
|
67
|
+
**Implemented enhancements:**
|
|
68
|
+
|
|
69
|
+
- Add instruction on how to use the new factories in apps [\#172](https://github.com/solidusio/solidus_dev_support/pull/172) ([kennyadsl](https://github.com/kennyadsl))
|
|
70
|
+
|
|
71
|
+
**Fixed bugs:**
|
|
72
|
+
|
|
73
|
+
- Explode directories into individual files [\#171](https://github.com/solidusio/solidus_dev_support/pull/171) ([kennyadsl](https://github.com/kennyadsl))
|
|
74
|
+
- Fix factories loading, part 2 [\#170](https://github.com/solidusio/solidus_dev_support/pull/170) ([kennyadsl](https://github.com/kennyadsl))
|
|
75
|
+
|
|
76
|
+
## [v2.4.2](https://github.com/solidusio/solidus_dev_support/tree/v2.4.2) (2021-02-19)
|
|
77
|
+
|
|
78
|
+
[Full Changelog](https://github.com/solidusio/solidus_dev_support/compare/v2.4.1...v2.4.2)
|
|
79
|
+
|
|
80
|
+
## [v2.4.1](https://github.com/solidusio/solidus_dev_support/tree/v2.4.1) (2021-02-19)
|
|
81
|
+
|
|
82
|
+
[Full Changelog](https://github.com/solidusio/solidus_dev_support/compare/v2.4.0...v2.4.1)
|
|
83
|
+
|
|
84
|
+
**Fixed bugs:**
|
|
85
|
+
|
|
86
|
+
- Fix loading factories in extensions after the last changes in Solidus [\#169](https://github.com/solidusio/solidus_dev_support/pull/169) ([kennyadsl](https://github.com/kennyadsl))
|
|
87
|
+
|
|
88
|
+
## [v2.4.0](https://github.com/solidusio/solidus_dev_support/tree/v2.4.0) (2021-02-05)
|
|
89
|
+
|
|
90
|
+
[Full Changelog](https://github.com/solidusio/solidus_dev_support/compare/v2.3.0...v2.4.0)
|
|
91
|
+
|
|
92
|
+
**Implemented enhancements:**
|
|
93
|
+
|
|
94
|
+
- Improve engine's requires to remove double inclusions [\#165](https://github.com/solidusio/solidus_dev_support/pull/165) ([kennyadsl](https://github.com/kennyadsl))
|
|
95
|
+
- Remove double require of core factories from rails\_helper [\#164](https://github.com/solidusio/solidus_dev_support/pull/164) ([kennyadsl](https://github.com/kennyadsl))
|
|
96
|
+
|
|
97
|
+
**Fixed bugs:**
|
|
98
|
+
|
|
99
|
+
- Fix typo in configuration.rb.tt [\#166](https://github.com/solidusio/solidus_dev_support/pull/166) ([brchristian](https://github.com/brchristian))
|
|
100
|
+
|
|
101
|
+
**Merged pull requests:**
|
|
102
|
+
|
|
103
|
+
- Rename spree:install to solidus:install in the sandbox template [\#167](https://github.com/solidusio/solidus_dev_support/pull/167) ([blocknotes](https://github.com/blocknotes))
|
|
104
|
+
|
|
105
|
+
## [v2.3.0](https://github.com/solidusio/solidus_dev_support/tree/v2.3.0) (2021-01-14)
|
|
106
|
+
|
|
107
|
+
[Full Changelog](https://github.com/solidusio/solidus_dev_support/compare/v2.2.0...v2.3.0)
|
|
108
|
+
|
|
109
|
+
**Implemented enhancements:**
|
|
110
|
+
|
|
111
|
+
- Do not raise if source\_code\_uri is missing in the gemspec [\#163](https://github.com/solidusio/solidus_dev_support/pull/163) ([kennyadsl](https://github.com/kennyadsl))
|
|
112
|
+
- Factory bot fixes for latest Solidus 2.11 release [\#162](https://github.com/solidusio/solidus_dev_support/pull/162) ([elia](https://github.com/elia))
|
|
113
|
+
|
|
114
|
+
**Fixed bugs:**
|
|
115
|
+
|
|
116
|
+
- use rubocop-rspec 2.x [\#161](https://github.com/solidusio/solidus_dev_support/pull/161) ([ccarruitero](https://github.com/ccarruitero))
|
|
117
|
+
|
|
118
|
+
## [v2.2.0](https://github.com/solidusio/solidus_dev_support/tree/v2.2.0) (2020-11-27)
|
|
119
|
+
|
|
120
|
+
[Full Changelog](https://github.com/solidusio/solidus_dev_support/compare/v2.1.0...v2.2.0)
|
|
121
|
+
|
|
122
|
+
**Implemented enhancements:**
|
|
123
|
+
|
|
124
|
+
- Improve the URL generation for the gemspec and Readme \(defaulting to the solidusio-contrib organization\), consistently use a file-based Changelog [\#159](https://github.com/solidusio/solidus_dev_support/pull/159) ([elia](https://github.com/elia))
|
|
125
|
+
- Configuration Cleanup [\#158](https://github.com/solidusio/solidus_dev_support/pull/158) ([elia](https://github.com/elia))
|
|
126
|
+
- Refer to Solidus wiki page for gem release info [\#157](https://github.com/solidusio/solidus_dev_support/pull/157) ([spaghetticode](https://github.com/spaghetticode))
|
|
127
|
+
- Upgrade to RuboCop 1.0 [\#156](https://github.com/solidusio/solidus_dev_support/pull/156) ([aldesantis](https://github.com/aldesantis))
|
|
128
|
+
- Add a command to display gem's version [\#154](https://github.com/solidusio/solidus_dev_support/pull/154) ([igorbp](https://github.com/igorbp))
|
|
129
|
+
|
|
130
|
+
**Fixed bugs:**
|
|
131
|
+
|
|
132
|
+
- Require "webdrivers" before using it as the default javascript driver [\#152](https://github.com/solidusio/solidus_dev_support/pull/152) ([ccarruitero](https://github.com/ccarruitero))
|
|
133
|
+
|
|
134
|
+
**Merged pull requests:**
|
|
135
|
+
|
|
136
|
+
- Don't let mergify mark a PR as red because it's missing a review [\#153](https://github.com/solidusio/solidus_dev_support/pull/153) ([elia](https://github.com/elia))
|
|
137
|
+
|
|
138
|
+
## [v2.1.0](https://github.com/solidusio/solidus_dev_support/tree/v2.1.0) (2020-10-02)
|
|
139
|
+
|
|
140
|
+
[Full Changelog](https://github.com/solidusio/solidus_dev_support/compare/v2.0.1...v2.1.0)
|
|
141
|
+
|
|
142
|
+
**Implemented enhancements:**
|
|
143
|
+
|
|
144
|
+
- Add standard github\_changelog\_generator configuration [\#151](https://github.com/solidusio/solidus_dev_support/pull/151) ([aldesantis](https://github.com/aldesantis))
|
|
145
|
+
- Move generated factories to `testing_support/` [\#150](https://github.com/solidusio/solidus_dev_support/pull/150) ([aldesantis](https://github.com/aldesantis))
|
|
146
|
+
- Add extension configuration boilerplate [\#149](https://github.com/solidusio/solidus_dev_support/pull/149) ([aldesantis](https://github.com/aldesantis))
|
|
147
|
+
|
|
148
|
+
**Fixed bugs:**
|
|
149
|
+
|
|
150
|
+
- Fix `NewCops: Enable` option for RuboCop [\#148](https://github.com/solidusio/solidus_dev_support/pull/148) ([aldesantis](https://github.com/aldesantis))
|
|
151
|
+
|
|
152
|
+
## [v2.0.1](https://github.com/solidusio/solidus_dev_support/tree/v2.0.1) (2020-09-22)
|
|
153
|
+
|
|
154
|
+
[Full Changelog](https://github.com/solidusio/solidus_dev_support/compare/v2.0.0...v2.0.1)
|
|
155
|
+
|
|
156
|
+
**Fixed bugs:**
|
|
157
|
+
|
|
158
|
+
- Fix gem\_version not being found during extension generation [\#144](https://github.com/solidusio/solidus_dev_support/pull/144) ([aldesantis](https://github.com/aldesantis))
|
|
159
|
+
|
|
160
|
+
## [v2.0.0](https://github.com/solidusio/solidus_dev_support/tree/v2.0.0) (2020-09-22)
|
|
161
|
+
|
|
162
|
+
[Full Changelog](https://github.com/solidusio/solidus_dev_support/compare/v1.6.0...v2.0.0)
|
|
163
|
+
|
|
164
|
+
**Breaking changes:**
|
|
165
|
+
|
|
166
|
+
- Switch the JS driver to WebDriver/Selenium [\#136](https://github.com/solidusio/solidus_dev_support/pull/136) ([elia](https://github.com/elia))
|
|
167
|
+
|
|
168
|
+
**Implemented enhancements:**
|
|
169
|
+
|
|
170
|
+
- Enable new RuboCop cops automatically [\#143](https://github.com/solidusio/solidus_dev_support/pull/143) ([aldesantis](https://github.com/aldesantis))
|
|
171
|
+
- Don't forcefully close issues via stale-bot [\#139](https://github.com/solidusio/solidus_dev_support/pull/139) ([elia](https://github.com/elia))
|
|
172
|
+
- Add the approximate recommendation for dev-support to the gemspec [\#137](https://github.com/solidusio/solidus_dev_support/pull/137) ([elia](https://github.com/elia))
|
|
173
|
+
|
|
174
|
+
**Fixed bugs:**
|
|
175
|
+
|
|
176
|
+
- fix capybara driver declaration [\#141](https://github.com/solidusio/solidus_dev_support/pull/141) ([ccarruitero](https://github.com/ccarruitero))
|
|
177
|
+
- Bump RuboCop to latest 0.90.0 version [\#138](https://github.com/solidusio/solidus_dev_support/pull/138) ([peterberkenbosch](https://github.com/peterberkenbosch))
|
|
178
|
+
- Fix missing backslash in solidus install command [\#135](https://github.com/solidusio/solidus_dev_support/pull/135) ([nirebu](https://github.com/nirebu))
|
|
179
|
+
|
|
180
|
+
## [v1.6.0](https://github.com/solidusio/solidus_dev_support/tree/v1.6.0) (2020-08-26)
|
|
181
|
+
|
|
182
|
+
[Full Changelog](https://github.com/solidusio/solidus_dev_support/compare/v1.5.0...v1.6.0)
|
|
183
|
+
|
|
184
|
+
**Implemented enhancements:**
|
|
185
|
+
|
|
186
|
+
- Let the extension name include spaces [\#133](https://github.com/solidusio/solidus_dev_support/pull/133) ([elia](https://github.com/elia))
|
|
187
|
+
- Add precompiled badges fro CI and coverage [\#132](https://github.com/solidusio/solidus_dev_support/pull/132) ([elia](https://github.com/elia))
|
|
188
|
+
- Add Changelog Rake task [\#128](https://github.com/solidusio/solidus_dev_support/pull/128) ([tvdeyen](https://github.com/tvdeyen))
|
|
189
|
+
- Readme fixes [\#122](https://github.com/solidusio/solidus_dev_support/pull/122) ([elia](https://github.com/elia))
|
|
190
|
+
|
|
191
|
+
**Fixed bugs:**
|
|
192
|
+
|
|
193
|
+
- Don't install a payment-method in the sandbox [\#131](https://github.com/solidusio/solidus_dev_support/pull/131) ([elia](https://github.com/elia))
|
|
194
|
+
- Run extension generator in sandbox [\#127](https://github.com/solidusio/solidus_dev_support/pull/127) ([elia](https://github.com/elia))
|
|
195
|
+
|
|
196
|
+
## [v1.5.0](https://github.com/solidusio/solidus_dev_support/tree/v1.5.0) (2020-06-13)
|
|
197
|
+
|
|
198
|
+
[Full Changelog](https://github.com/solidusio/solidus_dev_support/compare/v1.4.0...v1.5.0)
|
|
199
|
+
|
|
200
|
+
**Fixed bugs:**
|
|
201
|
+
|
|
202
|
+
- Fix formatting typo in readme [\#117](https://github.com/solidusio/solidus_dev_support/pull/117) ([aldesantis](https://github.com/aldesantis))
|
|
203
|
+
|
|
204
|
+
**Removed:**
|
|
205
|
+
|
|
206
|
+
- Remove deprecated bin/r and bin/sandbox\_rails binaries [\#118](https://github.com/solidusio/solidus_dev_support/pull/118) ([aldesantis](https://github.com/aldesantis))
|
|
207
|
+
|
|
1
208
|
## [1.4.0] - 2020-06-05
|
|
2
209
|
|
|
3
210
|
### Added
|
|
@@ -8,7 +215,7 @@
|
|
|
8
215
|
|
|
9
216
|
- Restored `bin/rails` and renamed the context specific bins to `bin/rails-engine` and `bin/rails-sandbox`
|
|
10
217
|
- Adjusted the readme structure with better formatting and grammar
|
|
11
|
-
- Moved the RuboCop `AllCops/Exclude` statement back to the internal configuration
|
|
218
|
+
- Moved the RuboCop `AllCops/Exclude` statement back to the internal configuration
|
|
12
219
|
|
|
13
220
|
### Deprecated
|
|
14
221
|
|
|
@@ -198,3 +405,6 @@ Initial release.
|
|
|
198
405
|
[0.2.0]: https://github.com/solidusio/solidus_dev_support/compare/v0.1.1...v0.2.0
|
|
199
406
|
[0.1.1]: https://github.com/solidusio/solidus_dev_support/compare/v0.1.0...v0.1.1
|
|
200
407
|
[0.1.0]: https://github.com/solidusio/solidus_dev_support/releases/tag/v0.1.0
|
|
408
|
+
|
|
409
|
+
|
|
410
|
+
\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*
|
data/Rakefile
CHANGED
|
@@ -1,19 +1,6 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
3
|
require "bundler/gem_tasks"
|
|
4
|
-
|
|
5
|
-
desc "Update the changelog, specify the version for the unreleased changes appending VERSION=1.2.3 to the command"
|
|
6
|
-
task :changelog do
|
|
7
|
-
require_relative "lib/solidus_dev_support/version"
|
|
8
|
-
|
|
9
|
-
future_release = ENV.fetch("VERSION") {
|
|
10
|
-
warn "Using current version (#{SolidusDevSupport::VERSION}) for unreleased changes, use VERSION=1.2.3 to select a different one."
|
|
11
|
-
SolidusDevSupport::VERSION
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
sh "bundle exec github_changelog_generator --project solidus_dev_support --user solidusio --future-release #{future_release}"
|
|
15
|
-
end
|
|
16
|
-
|
|
17
4
|
require "rspec/core/rake_task"
|
|
18
5
|
RSpec::Core::RakeTask.new(:spec)
|
|
19
6
|
|
|
@@ -42,14 +42,7 @@ bundle exec rubocop
|
|
|
42
42
|
```
|
|
43
43
|
|
|
44
44
|
When testing your application's integration with this extension you may use its factories.
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
```ruby
|
|
48
|
-
require '<%= file_name %>/testing_support/factories'
|
|
49
|
-
```
|
|
50
|
-
|
|
51
|
-
Or, if you are using `FactoryBot.definition_file_paths`, you can load Solidus core
|
|
52
|
-
factories along with this extension's factories using this statement:
|
|
45
|
+
You can load Solidus core factories along with this extension's factories using this statement:
|
|
53
46
|
|
|
54
47
|
```ruby
|
|
55
48
|
SolidusDevSupport::TestingSupport::Factories.load_for(<%= class_name %>::Engine)
|
|
@@ -18,7 +18,8 @@ require 'solidus_dev_support/rspec/feature_helper'
|
|
|
18
18
|
# in spec/support/ and its subdirectories.
|
|
19
19
|
Dir["#{__dir__}/support/**/*.rb"].sort.each { |f| require f }
|
|
20
20
|
|
|
21
|
-
# Requires factories defined in
|
|
21
|
+
# Requires factories defined in Solidus core and this extension.
|
|
22
|
+
# See: lib/<%= file_name %>/testing_support/factories.rb
|
|
22
23
|
SolidusDevSupport::TestingSupport::Factories.load_for(<%= class_name %>::Engine)
|
|
23
24
|
|
|
24
25
|
RSpec.configure do |config|
|
|
@@ -1,86 +1,22 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
3
|
require 'factory_bot'
|
|
4
|
-
|
|
5
|
-
Spree::Deprecation.silence do
|
|
6
|
-
require 'spree/testing_support/factories'
|
|
7
|
-
puts <<~MSG
|
|
8
|
-
We are transitioning to a new way of loading factories for extensions.
|
|
9
|
-
Be sure this extension does not load factories using require but uses
|
|
10
|
-
the load_for() method in its spec_helper.rb, eg:
|
|
11
|
-
|
|
12
|
-
SolidusDevSupport::TestingSupport::Factories.load_for(ExtensionName1::Engine, ExtensionName2::Engine)
|
|
13
|
-
|
|
14
|
-
This will load Solidus Core factories right before the ones defined in
|
|
15
|
-
lib/extension_name/testing_support/factories/*_factory.rb or
|
|
16
|
-
lib/extension_name/testing_support/factories.rb
|
|
17
|
-
|
|
18
|
-
This message will be removed when all extensions are updated.
|
|
19
|
-
MSG
|
|
20
|
-
end
|
|
21
|
-
|
|
22
|
-
begin
|
|
23
|
-
require 'spree/testing_support/factory_bot'
|
|
24
|
-
rescue LoadError
|
|
25
|
-
# Do nothing, we are testing the extension against an old version of Solidus
|
|
26
|
-
end
|
|
4
|
+
require 'spree/testing_support/factory_bot'
|
|
27
5
|
|
|
28
6
|
module SolidusDevSupport
|
|
29
7
|
module TestingSupport
|
|
30
8
|
module Factories
|
|
31
9
|
def self.load_for(*engines)
|
|
32
10
|
paths = engines.flat_map do |engine|
|
|
33
|
-
|
|
34
|
-
# deprecation warning and just use it.
|
|
35
|
-
obsolete_factories_file = engine.root.glob('lib/*/factories.rb').first # 'lib/*/factories/*_factory.rb'
|
|
36
|
-
if obsolete_factories_file.present?
|
|
37
|
-
ActiveSupport::Deprecation.warn <<-WARN.squish, caller(4)
|
|
38
|
-
SolidusDevSupport::TestingSupport::Factories.load_for() is automatically loading
|
|
39
|
-
all factories present in #{obsolete_factories_file.dirname.to_s.gsub(engine.root.to_s, '')}/testing_support/factories/.
|
|
40
|
-
Please move the content of #{obsolete_factories_file.to_s.gsub(engine.root.to_s, '')} to that directory.
|
|
41
|
-
WARN
|
|
42
|
-
|
|
43
|
-
[obsolete_factories_file]
|
|
44
|
-
else
|
|
45
|
-
# If there are both a lib/*/testing_support/factories.rb and a lib/*/testing_support/factories/,
|
|
46
|
-
# we assume that the factories.rb file is only used to load all factories prensent in the directory.
|
|
47
|
-
# That file can be removed from the extension, in fact, we ignore it and emit a message asking to
|
|
48
|
-
# remove it.
|
|
49
|
-
factories_file_or_folder = engine.root.glob('lib/*/testing_support/factories{,.rb}')
|
|
50
|
-
if factories_file_or_folder.size == 2
|
|
51
|
-
folder, file = factories_file_or_folder.partition(&:directory?).map(&:first).map { |path| path.to_s.gsub(engine.root.to_s, '') }
|
|
52
|
-
ActiveSupport::Deprecation.warn <<-WARN.squish, caller(4)
|
|
53
|
-
SolidusDevSupport::TestingSupport::Factories.load_for() is automatically loading
|
|
54
|
-
all factories present into #{folder}. You should now safely remove #{file} if it
|
|
55
|
-
is only used to load ./factories content.
|
|
56
|
-
WARN
|
|
57
|
-
|
|
58
|
-
engine.root.glob('lib/*/testing_support/factories/**/*_factory.rb')
|
|
59
|
-
elsif factories_file_or_folder.first.directory?
|
|
60
|
-
engine.root.glob('lib/*/testing_support/factories/**/*_factory.rb')
|
|
61
|
-
else
|
|
62
|
-
factories_file_or_folder
|
|
63
|
-
end
|
|
64
|
-
end
|
|
11
|
+
engine.root.glob('lib/*/testing_support/factories{,.rb}')
|
|
65
12
|
end.map { |path| path.sub(/.rb\z/, '').to_s }
|
|
66
13
|
|
|
67
|
-
|
|
68
|
-
FactoryBot.definition_file_paths
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
].flatten
|
|
72
|
-
|
|
73
|
-
FactoryBot.reload
|
|
74
|
-
else
|
|
75
|
-
FactoryBot.find_definitions
|
|
76
|
-
|
|
77
|
-
paths.each { |path| require path }
|
|
78
|
-
end
|
|
79
|
-
end
|
|
14
|
+
FactoryBot.definition_file_paths = [
|
|
15
|
+
Spree::TestingSupport::FactoryBot.definition_file_paths,
|
|
16
|
+
paths,
|
|
17
|
+
].flatten
|
|
80
18
|
|
|
81
|
-
|
|
82
|
-
defined?(Spree::TestingSupport::FactoryBot) &&
|
|
83
|
-
Spree::TestingSupport::FactoryBot.respond_to?(:definition_file_paths)
|
|
19
|
+
FactoryBot.reload
|
|
84
20
|
end
|
|
85
21
|
end
|
|
86
22
|
end
|
data/solidus_dev_support.gemspec
CHANGED
|
@@ -14,7 +14,7 @@ Gem::Specification.new do |spec|
|
|
|
14
14
|
|
|
15
15
|
spec.metadata['homepage_uri'] = spec.homepage
|
|
16
16
|
spec.metadata['source_code_uri'] = 'https://github.com/solidusio/solidus_dev_support'
|
|
17
|
-
spec.metadata['changelog_uri'] = 'https://github.com/solidusio/solidus_dev_support/
|
|
17
|
+
spec.metadata['changelog_uri'] = 'https://github.com/solidusio/solidus_dev_support/releases'
|
|
18
18
|
spec.metadata['rubygems_mfa_required'] = 'true'
|
|
19
19
|
|
|
20
20
|
spec.required_ruby_version = '>= 2.5.0'
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: solidus_dev_support
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.6.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Alessandro Desantis
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-
|
|
11
|
+
date: 2023-05-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: capybara
|
|
@@ -367,7 +367,7 @@ licenses:
|
|
|
367
367
|
metadata:
|
|
368
368
|
homepage_uri: https://github.com/solidusio/solidus_dev_support
|
|
369
369
|
source_code_uri: https://github.com/solidusio/solidus_dev_support
|
|
370
|
-
changelog_uri: https://github.com/solidusio/solidus_dev_support/
|
|
370
|
+
changelog_uri: https://github.com/solidusio/solidus_dev_support/releases
|
|
371
371
|
rubygems_mfa_required: 'true'
|
|
372
372
|
post_install_message:
|
|
373
373
|
rdoc_options: []
|
|
@@ -384,7 +384,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
384
384
|
- !ruby/object:Gem::Version
|
|
385
385
|
version: '0'
|
|
386
386
|
requirements: []
|
|
387
|
-
rubygems_version: 3.
|
|
387
|
+
rubygems_version: 3.3.7
|
|
388
388
|
signing_key:
|
|
389
389
|
specification_version: 4
|
|
390
390
|
summary: Development tools for Solidus extensions.
|