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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1b9358478e7b8b47145e11360abbf2d7efbd94e46da14bd3055d5d993124afa6
4
- data.tar.gz: 3d1f5f7e7db36decd6855646028165988884d526c6718c4c788bbc57456d26ff
3
+ metadata.gz: 346b30c74fb8bd756754d8db275124e291b497e278cd4989f0736fa13f70ff73
4
+ data.tar.gz: 10b2396a1c6e87578a3e87175321e0d8f12a7a3b87c7867a79f7547e9dfaf8c5
5
5
  SHA512:
6
- metadata.gz: 10b334f980b9ec0abd9c9a48d2a6d97a27c552f5675a27c7b46b083d6be912402e9a2cd475a60c464bbedd8bd3e298c7bed1a6249b6fdf7b65c56cd4aefbee3e
7
- data.tar.gz: 9cb77ed683ec5a2591df6b30aafa8e7c2b5e4dbf328e971b9a33644281826aa90b5cb7d617ce0b2ebb65f7daa75342213b1080b36cb72a757b437cf922df9fae
6
+ metadata.gz: c1ad28aca2cab2ccf535384ebe584f42e23b8279b997f6f36ac007fa005a2affb5588f90afb40f952bd227380c82f6c9be3e3080a25fbd6af4dbb87104b3967d
7
+ data.tar.gz: d385263a11f3e444ed557c57b92083b5736aaa69ffe153a1c1216b772dda636d2f76c6e88062c191ec9808c89398fe38c7b6e0563a8d91dd3467e11fea036d9b
data/README.md CHANGED
@@ -20,6 +20,10 @@ And run...
20
20
  bundle install
21
21
  ```
22
22
 
23
+ ## Configuring
24
+
25
+ If you want to disable Simplecov set the `SPREE_DEV_TOOLS_DISABLE_SIMPLECOV` ENV variable to any value.
26
+
23
27
  ## Contributing
24
28
 
25
29
  If you'd like to contribute, please take a look at the
@@ -1,10 +1,12 @@
1
1
  require 'simplecov'
2
2
 
3
- SimpleCov.start do
4
- add_group 'Controllers', 'app/controllers'
5
- add_group 'Helpers', 'app/helpers'
6
- add_group 'Mailers', 'app/mailers'
7
- add_group 'Models', 'app/models'
8
- add_group 'Views', 'app/views'
9
- add_group 'Libraries', 'lib/spree'
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 do |spree_config|
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)
@@ -1,5 +1,5 @@
1
1
  module SpreeDevTools
2
- VERSION = '0.2.0'
2
+ VERSION = '0.2.2'
3
3
 
4
4
  # Returns the version of the currently loaded SpreeDevTools as a
5
5
  # <tt>Gem::Version</tt>.
@@ -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 'rspec-rails', '~> 4.0'
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', '~> 4.3'
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.0
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: 2021-12-29 00:00:00.000000000 Z
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: '4.0'
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: '4.0'
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.4'
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.4'
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.2.32
436
+ rubygems_version: 3.3.26
437
437
  signing_key:
438
438
  specification_version: 4
439
439
  summary: Spree Dev Tools