spree_dev_tools 0.2.0 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -0
- data/lib/spree_dev_tools/rspec/support/simplecov.rb +9 -7
- data/lib/spree_dev_tools/rspec/support/spree.rb +1 -3
- data/lib/spree_dev_tools/version.rb +1 -1
- data/spree_dev_tools.gemspec +3 -3
- metadata +25 -25
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 346b30c74fb8bd756754d8db275124e291b497e278cd4989f0736fa13f70ff73
|
4
|
+
data.tar.gz: 10b2396a1c6e87578a3e87175321e0d8f12a7a3b87c7867a79f7547e9dfaf8c5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c1ad28aca2cab2ccf535384ebe584f42e23b8279b997f6f36ac007fa005a2affb5588f90afb40f952bd227380c82f6c9be3e3080a25fbd6af4dbb87104b3967d
|
7
|
+
data.tar.gz: d385263a11f3e444ed557c57b92083b5736aaa69ffe153a1c1216b772dda636d2f76c6e88062c191ec9808c89398fe38c7b6e0563a8d91dd3467e11fea036d9b
|
data/README.md
CHANGED
@@ -1,10 +1,12 @@
|
|
1
1
|
require 'simplecov'
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
3
|
+
unless ENV['SPREE_DEV_TOOLS_DISABLE_SIMPLECOV'].present?
|
4
|
+
SimpleCov.start do
|
5
|
+
add_group 'Controllers', 'app/controllers'
|
6
|
+
add_group 'Helpers', 'app/helpers'
|
7
|
+
add_group 'Mailers', 'app/mailers'
|
8
|
+
add_group 'Models', 'app/models'
|
9
|
+
add_group 'Views', 'app/views'
|
10
|
+
add_group 'Libraries', 'lib/spree'
|
11
|
+
end
|
10
12
|
end
|
@@ -51,9 +51,7 @@ RSpec.configure do |config|
|
|
51
51
|
|
52
52
|
country = create(:country, name: 'United States of America', iso_name: 'UNITED STATES', iso: 'US', states_required: true)
|
53
53
|
|
54
|
-
reset_spree_preferences
|
55
|
-
spree_config.default_country_id = country.id
|
56
|
-
end
|
54
|
+
reset_spree_preferences
|
57
55
|
|
58
56
|
if Spree.version.to_f >= 4.2
|
59
57
|
create(:store, default: true, default_country: country)
|
data/spree_dev_tools.gemspec
CHANGED
@@ -37,7 +37,8 @@ Gem::Specification.new do |s|
|
|
37
37
|
s.add_dependency 'rails-controller-testing'
|
38
38
|
s.add_dependency 'redis'
|
39
39
|
s.add_dependency 'rspec-activemodel-mocks'
|
40
|
-
s.add_dependency '
|
40
|
+
s.add_dependency 'rspec_junit_formatter'
|
41
|
+
s.add_dependency 'rspec-rails'
|
41
42
|
s.add_dependency 'rspec-retry'
|
42
43
|
s.add_dependency 'rubocop'
|
43
44
|
s.add_dependency 'rubocop-rails'
|
@@ -46,6 +47,5 @@ Gem::Specification.new do |s|
|
|
46
47
|
s.add_dependency 'simplecov'
|
47
48
|
s.add_dependency 'spree_core'
|
48
49
|
s.add_dependency 'timecop'
|
49
|
-
s.add_dependency 'webdrivers'
|
50
|
-
s.add_dependency 'rspec_junit_formatter', '~> 0.4'
|
50
|
+
s.add_dependency 'webdrivers'
|
51
51
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spree_dev_tools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Spark Solutions
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-02-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: appraisal
|
@@ -234,20 +234,34 @@ dependencies:
|
|
234
234
|
- - ">="
|
235
235
|
- !ruby/object:Gem::Version
|
236
236
|
version: '0'
|
237
|
+
- !ruby/object:Gem::Dependency
|
238
|
+
name: rspec_junit_formatter
|
239
|
+
requirement: !ruby/object:Gem::Requirement
|
240
|
+
requirements:
|
241
|
+
- - ">="
|
242
|
+
- !ruby/object:Gem::Version
|
243
|
+
version: '0'
|
244
|
+
type: :runtime
|
245
|
+
prerelease: false
|
246
|
+
version_requirements: !ruby/object:Gem::Requirement
|
247
|
+
requirements:
|
248
|
+
- - ">="
|
249
|
+
- !ruby/object:Gem::Version
|
250
|
+
version: '0'
|
237
251
|
- !ruby/object:Gem::Dependency
|
238
252
|
name: rspec-rails
|
239
253
|
requirement: !ruby/object:Gem::Requirement
|
240
254
|
requirements:
|
241
|
-
- - "
|
255
|
+
- - ">="
|
242
256
|
- !ruby/object:Gem::Version
|
243
|
-
version: '
|
257
|
+
version: '0'
|
244
258
|
type: :runtime
|
245
259
|
prerelease: false
|
246
260
|
version_requirements: !ruby/object:Gem::Requirement
|
247
261
|
requirements:
|
248
|
-
- - "
|
262
|
+
- - ">="
|
249
263
|
- !ruby/object:Gem::Version
|
250
|
-
version: '
|
264
|
+
version: '0'
|
251
265
|
- !ruby/object:Gem::Dependency
|
252
266
|
name: rspec-retry
|
253
267
|
requirement: !ruby/object:Gem::Requirement
|
@@ -364,30 +378,16 @@ dependencies:
|
|
364
378
|
name: webdrivers
|
365
379
|
requirement: !ruby/object:Gem::Requirement
|
366
380
|
requirements:
|
367
|
-
- - "
|
368
|
-
- !ruby/object:Gem::Version
|
369
|
-
version: '4.3'
|
370
|
-
type: :runtime
|
371
|
-
prerelease: false
|
372
|
-
version_requirements: !ruby/object:Gem::Requirement
|
373
|
-
requirements:
|
374
|
-
- - "~>"
|
375
|
-
- !ruby/object:Gem::Version
|
376
|
-
version: '4.3'
|
377
|
-
- !ruby/object:Gem::Dependency
|
378
|
-
name: rspec_junit_formatter
|
379
|
-
requirement: !ruby/object:Gem::Requirement
|
380
|
-
requirements:
|
381
|
-
- - "~>"
|
381
|
+
- - ">="
|
382
382
|
- !ruby/object:Gem::Version
|
383
|
-
version: '0
|
383
|
+
version: '0'
|
384
384
|
type: :runtime
|
385
385
|
prerelease: false
|
386
386
|
version_requirements: !ruby/object:Gem::Requirement
|
387
387
|
requirements:
|
388
|
-
- - "
|
388
|
+
- - ">="
|
389
389
|
- !ruby/object:Gem::Version
|
390
|
-
version: '0
|
390
|
+
version: '0'
|
391
391
|
description: Spree Developer Tools
|
392
392
|
email: we@sparksolutions.co
|
393
393
|
executables: []
|
@@ -433,7 +433,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
433
433
|
version: '0'
|
434
434
|
requirements:
|
435
435
|
- none
|
436
|
-
rubygems_version: 3.
|
436
|
+
rubygems_version: 3.3.26
|
437
437
|
signing_key:
|
438
438
|
specification_version: 4
|
439
439
|
summary: Spree Dev Tools
|