solidus_dev_support 2.4.2 → 2.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +47 -1
- data/lib/solidus_dev_support/templates/extension/README.md +9 -2
- data/lib/solidus_dev_support/templates/extension/extension.gemspec.tt +1 -1
- data/lib/solidus_dev_support/testing_support/factories.rb +2 -0
- data/lib/solidus_dev_support/version.rb +1 -1
- data/solidus_dev_support.gemspec +6 -5
- metadata +30 -17
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e98ad4f08c0abe09fd5c4a86640e25db13f003324dcbd0ca1dc8e8747dcfd35b
|
4
|
+
data.tar.gz: 76ac684f40e4615ed1cad8a91c0f1140416e4009ad0e2ddd61986d05a04703e5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 075e9de0887997b6893354aa756a720b82e8cad4f15bbaf59face03658b1a3259360aff1d6b25850d9ea37365dc81e12321b69ed6130b4919384df8ac1b79a9c
|
7
|
+
data.tar.gz: 8b9432063e8147d83bc856961d8404b140bedc8a921137ba3db8f04542e1d18bfcf87a31f7bcba516a76adc4e977d0bcde8698568945f60e51bd114aaf3631ee
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,51 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [2.5.2](https://github.com/solidusio/solidus_dev_support/tree/2.5.2) (2021-11-23)
|
4
|
+
|
5
|
+
[Full Changelog](https://github.com/solidusio/solidus_dev_support/compare/v2.5.1...2.5.2)
|
6
|
+
|
7
|
+
**Merged pull requests:**
|
8
|
+
|
9
|
+
- Loosen webdrivers constraint in solidus\_dev\_support [\#180](https://github.com/solidusio/solidus_dev_support/pull/180) ([gsmendoza](https://github.com/gsmendoza))
|
10
|
+
|
11
|
+
## [v2.5.1](https://github.com/solidusio/solidus_dev_support/tree/v2.5.1) (2021-08-31)
|
12
|
+
|
13
|
+
[Full Changelog](https://github.com/solidusio/solidus_dev_support/compare/v2.5.0...v2.5.1)
|
14
|
+
|
15
|
+
## [v2.5.0](https://github.com/solidusio/solidus_dev_support/tree/v2.5.0) (2021-04-20)
|
16
|
+
|
17
|
+
[Full Changelog](https://github.com/solidusio/solidus_dev_support/compare/v2.4.3...v2.5.0)
|
18
|
+
|
19
|
+
**Implemented enhancements:**
|
20
|
+
|
21
|
+
- Allow Solidus 3 [\#176](https://github.com/solidusio/solidus_dev_support/pull/176) ([kennyadsl](https://github.com/kennyadsl))
|
22
|
+
- Relax Ruby version requirement [\#174](https://github.com/solidusio/solidus_dev_support/pull/174) ([gauravtiwari](https://github.com/gauravtiwari))
|
23
|
+
|
24
|
+
## [v2.4.3](https://github.com/solidusio/solidus_dev_support/tree/v2.4.3) (2021-02-23)
|
25
|
+
|
26
|
+
[Full Changelog](https://github.com/solidusio/solidus_dev_support/compare/v2.4.2...v2.4.3)
|
27
|
+
|
28
|
+
**Implemented enhancements:**
|
29
|
+
|
30
|
+
- 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))
|
31
|
+
|
32
|
+
**Fixed bugs:**
|
33
|
+
|
34
|
+
- Explode directories into individual files [\#171](https://github.com/solidusio/solidus_dev_support/pull/171) ([kennyadsl](https://github.com/kennyadsl))
|
35
|
+
- Fix factories loading, part 2 [\#170](https://github.com/solidusio/solidus_dev_support/pull/170) ([kennyadsl](https://github.com/kennyadsl))
|
36
|
+
|
37
|
+
## [v2.4.2](https://github.com/solidusio/solidus_dev_support/tree/v2.4.2) (2021-02-19)
|
38
|
+
|
39
|
+
[Full Changelog](https://github.com/solidusio/solidus_dev_support/compare/v2.4.1...v2.4.2)
|
40
|
+
|
41
|
+
## [v2.4.1](https://github.com/solidusio/solidus_dev_support/tree/v2.4.1) (2021-02-19)
|
42
|
+
|
43
|
+
[Full Changelog](https://github.com/solidusio/solidus_dev_support/compare/v2.4.0...v2.4.1)
|
44
|
+
|
45
|
+
**Fixed bugs:**
|
46
|
+
|
47
|
+
- 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))
|
48
|
+
|
3
49
|
## [v2.4.0](https://github.com/solidusio/solidus_dev_support/tree/v2.4.0) (2021-02-05)
|
4
50
|
|
5
51
|
[Full Changelog](https://github.com/solidusio/solidus_dev_support/compare/v2.3.0...v2.4.0)
|
@@ -57,7 +103,7 @@
|
|
57
103
|
**Implemented enhancements:**
|
58
104
|
|
59
105
|
- Add standard github\_changelog\_generator configuration [\#151](https://github.com/solidusio/solidus_dev_support/pull/151) ([aldesantis](https://github.com/aldesantis))
|
60
|
-
- Move generated factories to `
|
106
|
+
- Move generated factories to `testing_support/` [\#150](https://github.com/solidusio/solidus_dev_support/pull/150) ([aldesantis](https://github.com/aldesantis))
|
61
107
|
- Add extension configuration boilerplate [\#149](https://github.com/solidusio/solidus_dev_support/pull/149) ([aldesantis](https://github.com/aldesantis))
|
62
108
|
|
63
109
|
**Fixed bugs:**
|
@@ -42,10 +42,17 @@ bundle exec rubocop
|
|
42
42
|
```
|
43
43
|
|
44
44
|
When testing your application's integration with this extension you may use its factories.
|
45
|
-
Simply add this require statement to your spec_helper
|
45
|
+
Simply add this require statement to your `spec/spec_helper.rb`:
|
46
46
|
|
47
47
|
```ruby
|
48
|
-
require '<%= file_name %>/factories'
|
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:
|
53
|
+
|
54
|
+
```ruby
|
55
|
+
SolidusDevSupport::TestingSupport::Factories.load_for(<%= class_name %>::Engine)
|
49
56
|
```
|
50
57
|
|
51
58
|
### Running the sandbox
|
@@ -29,7 +29,7 @@ Gem::Specification.new do |spec|
|
|
29
29
|
spec.executables = files.grep(%r{^exe/}) { |f| File.basename(f) }
|
30
30
|
spec.require_paths = ["lib"]
|
31
31
|
|
32
|
-
spec.add_dependency 'solidus_core', ['>= 2.0.0', '<
|
32
|
+
spec.add_dependency 'solidus_core', ['>= 2.0.0', '< 4']
|
33
33
|
spec.add_dependency 'solidus_support', '~> 0.5'
|
34
34
|
|
35
35
|
spec.add_development_dependency 'solidus_dev_support', '<%= SolidusDevSupport.gem_version.approximate_recommendation %>'
|
@@ -55,6 +55,8 @@ module SolidusDevSupport
|
|
55
55
|
is only used to load ./factories content.
|
56
56
|
WARN
|
57
57
|
|
58
|
+
engine.root.glob('lib/*/testing_support/factories/**/*_factory.rb')
|
59
|
+
elsif factories_file_or_folder.first.directory?
|
58
60
|
engine.root.glob('lib/*/testing_support/factories/**/*_factory.rb')
|
59
61
|
else
|
60
62
|
factories_file_or_folder
|
data/solidus_dev_support.gemspec
CHANGED
@@ -15,8 +15,9 @@ Gem::Specification.new do |spec|
|
|
15
15
|
spec.metadata['homepage_uri'] = spec.homepage
|
16
16
|
spec.metadata['source_code_uri'] = 'https://github.com/solidusio/solidus_dev_support'
|
17
17
|
spec.metadata['changelog_uri'] = 'https://github.com/solidusio/solidus_dev_support/blob/master/CHANGELOG.md'
|
18
|
+
spec.metadata['rubygems_mfa_required'] = 'true'
|
18
19
|
|
19
|
-
spec.required_ruby_version =
|
20
|
+
spec.required_ruby_version = '>= 2.5.0'
|
20
21
|
|
21
22
|
# Specify which files should be added to the gem when it is released.
|
22
23
|
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
@@ -37,15 +38,15 @@ Gem::Specification.new do |spec|
|
|
37
38
|
spec.add_dependency 'ffaker', '~> 2.13'
|
38
39
|
spec.add_dependency 'gem-release', '~> 2.1'
|
39
40
|
spec.add_dependency 'github_changelog_generator', '~> 1.15'
|
40
|
-
spec.add_dependency 'puma', '
|
41
|
+
spec.add_dependency 'puma', '>= 4.3', '< 6.0'
|
41
42
|
spec.add_dependency 'rspec_junit_formatter'
|
42
|
-
spec.add_dependency 'rspec-rails', '
|
43
|
+
spec.add_dependency 'rspec-rails', '>= 4.0.0.beta3', '< 6.0'
|
43
44
|
spec.add_dependency 'rubocop', '~> 1.0'
|
44
45
|
spec.add_dependency 'rubocop-performance', '~> 1.5'
|
45
46
|
spec.add_dependency 'rubocop-rails', '~> 2.3'
|
46
47
|
spec.add_dependency 'rubocop-rspec', '~> 2.0'
|
47
|
-
spec.add_dependency 'solidus_core', ['>= 2.0', '<
|
48
|
-
spec.add_dependency 'webdrivers', '
|
48
|
+
spec.add_dependency 'solidus_core', ['>= 2.0', '< 4']
|
49
|
+
spec.add_dependency 'webdrivers', '>= 4.4'
|
49
50
|
|
50
51
|
spec.add_development_dependency 'bundler'
|
51
52
|
spec.add_development_dependency 'rake'
|
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.5.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alessandro Desantis
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-11-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capybara
|
@@ -140,16 +140,22 @@ dependencies:
|
|
140
140
|
name: puma
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
142
142
|
requirements:
|
143
|
-
- - "
|
143
|
+
- - ">="
|
144
144
|
- !ruby/object:Gem::Version
|
145
145
|
version: '4.3'
|
146
|
+
- - "<"
|
147
|
+
- !ruby/object:Gem::Version
|
148
|
+
version: '6.0'
|
146
149
|
type: :runtime
|
147
150
|
prerelease: false
|
148
151
|
version_requirements: !ruby/object:Gem::Requirement
|
149
152
|
requirements:
|
150
|
-
- - "
|
153
|
+
- - ">="
|
151
154
|
- !ruby/object:Gem::Version
|
152
155
|
version: '4.3'
|
156
|
+
- - "<"
|
157
|
+
- !ruby/object:Gem::Version
|
158
|
+
version: '6.0'
|
153
159
|
- !ruby/object:Gem::Dependency
|
154
160
|
name: rspec_junit_formatter
|
155
161
|
requirement: !ruby/object:Gem::Requirement
|
@@ -168,16 +174,22 @@ dependencies:
|
|
168
174
|
name: rspec-rails
|
169
175
|
requirement: !ruby/object:Gem::Requirement
|
170
176
|
requirements:
|
171
|
-
- - "
|
177
|
+
- - ">="
|
172
178
|
- !ruby/object:Gem::Version
|
173
179
|
version: 4.0.0.beta3
|
180
|
+
- - "<"
|
181
|
+
- !ruby/object:Gem::Version
|
182
|
+
version: '6.0'
|
174
183
|
type: :runtime
|
175
184
|
prerelease: false
|
176
185
|
version_requirements: !ruby/object:Gem::Requirement
|
177
186
|
requirements:
|
178
|
-
- - "
|
187
|
+
- - ">="
|
179
188
|
- !ruby/object:Gem::Version
|
180
189
|
version: 4.0.0.beta3
|
190
|
+
- - "<"
|
191
|
+
- !ruby/object:Gem::Version
|
192
|
+
version: '6.0'
|
181
193
|
- !ruby/object:Gem::Dependency
|
182
194
|
name: rubocop
|
183
195
|
requirement: !ruby/object:Gem::Requirement
|
@@ -243,7 +255,7 @@ dependencies:
|
|
243
255
|
version: '2.0'
|
244
256
|
- - "<"
|
245
257
|
- !ruby/object:Gem::Version
|
246
|
-
version: '
|
258
|
+
version: '4'
|
247
259
|
type: :runtime
|
248
260
|
prerelease: false
|
249
261
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -253,19 +265,19 @@ dependencies:
|
|
253
265
|
version: '2.0'
|
254
266
|
- - "<"
|
255
267
|
- !ruby/object:Gem::Version
|
256
|
-
version: '
|
268
|
+
version: '4'
|
257
269
|
- !ruby/object:Gem::Dependency
|
258
270
|
name: webdrivers
|
259
271
|
requirement: !ruby/object:Gem::Requirement
|
260
272
|
requirements:
|
261
|
-
- - "
|
273
|
+
- - ">="
|
262
274
|
- !ruby/object:Gem::Version
|
263
275
|
version: '4.4'
|
264
276
|
type: :runtime
|
265
277
|
prerelease: false
|
266
278
|
version_requirements: !ruby/object:Gem::Requirement
|
267
279
|
requirements:
|
268
|
-
- - "
|
280
|
+
- - ">="
|
269
281
|
- !ruby/object:Gem::Version
|
270
282
|
version: '4.4'
|
271
283
|
- !ruby/object:Gem::Dependency
|
@@ -296,7 +308,7 @@ dependencies:
|
|
296
308
|
- - ">="
|
297
309
|
- !ruby/object:Gem::Version
|
298
310
|
version: '0'
|
299
|
-
description:
|
311
|
+
description:
|
300
312
|
email:
|
301
313
|
- alessandrodesantis@nebulab.it
|
302
314
|
executables:
|
@@ -384,23 +396,24 @@ metadata:
|
|
384
396
|
homepage_uri: https://github.com/solidusio/solidus_dev_support
|
385
397
|
source_code_uri: https://github.com/solidusio/solidus_dev_support
|
386
398
|
changelog_uri: https://github.com/solidusio/solidus_dev_support/blob/master/CHANGELOG.md
|
387
|
-
|
399
|
+
rubygems_mfa_required: 'true'
|
400
|
+
post_install_message:
|
388
401
|
rdoc_options: []
|
389
402
|
require_paths:
|
390
403
|
- lib
|
391
404
|
required_ruby_version: !ruby/object:Gem::Requirement
|
392
405
|
requirements:
|
393
|
-
- - "
|
406
|
+
- - ">="
|
394
407
|
- !ruby/object:Gem::Version
|
395
|
-
version:
|
408
|
+
version: 2.5.0
|
396
409
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
397
410
|
requirements:
|
398
411
|
- - ">="
|
399
412
|
- !ruby/object:Gem::Version
|
400
413
|
version: '0'
|
401
414
|
requirements: []
|
402
|
-
rubygems_version: 3.
|
403
|
-
signing_key:
|
415
|
+
rubygems_version: 3.0.3
|
416
|
+
signing_key:
|
404
417
|
specification_version: 4
|
405
418
|
summary: Development tools for Solidus extensions.
|
406
419
|
test_files:
|