spree_dev_tools 0.1.12 → 0.2.1

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: 920a43b88349bd7f48f9ecf18d4028c8b46d06d8aee00919ef369784d9fbcf0b
4
- data.tar.gz: '0485a7cb1be4a17ed95a720ffd970691f24d7920bd8e11c0d2109adc84d8687d'
3
+ metadata.gz: 4f7a89e1fa32b6f0ec4fc3dcbae105939d6b90a74c483c741ec539055917732e
4
+ data.tar.gz: e899db64cb49f92b6d67700259b605041291b0c2fe352ebb62bf031feaca474a
5
5
  SHA512:
6
- metadata.gz: 777b24bb617f5580138643a3a3b30931b208d9237be2fc77d30063c0fa3fc4a2fab3503345dcbd9a75c96c3d5c1eeaa42ee1c6923bc88b6e6aeb0f314596c1a9
7
- data.tar.gz: 0aea9ce68cc2c2f0a9ad9f37b394b22dc9cd8344100fa416a99f370f75a0681aa4d1e26591dbba8d557c0a35bd34fc1009d5914be64bb4848158e278603fe33e
6
+ metadata.gz: 1b0bc74792de733a4d960b6af5bcc0595f7e4fc93d7a52ce60f41ca2396bafa9f11fdb3abe36baa901410c0e22826d24a3c3c55da96f2848d78813e5e06de1a7
7
+ data.tar.gz: cafd13a94d14cac4c1436bc406ca27eb0ef68fc606ea63f59641572d013427cd12e9f9355ec4e279146b614606ff700362580e5e0c91c4072427561858d90174
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.1.12'
2
+ VERSION = '0.2.1'
3
3
 
4
4
  # Returns the version of the currently loaded SpreeDevTools as a
5
5
  # <tt>Gem::Version</tt>.
@@ -32,8 +32,6 @@ Gem::Specification.new do |s|
32
32
  s.add_dependency 'gem-release'
33
33
  s.add_dependency 'github_changelog_generator'
34
34
  s.add_dependency 'jsonapi-rspec'
35
- s.add_dependency 'mysql2'
36
- s.add_dependency 'pg'
37
35
  s.add_dependency 'pry'
38
36
  s.add_dependency 'puma'
39
37
  s.add_dependency 'rails-controller-testing'
@@ -47,7 +45,6 @@ Gem::Specification.new do |s|
47
45
  s.add_dependency 'selenium-webdriver'
48
46
  s.add_dependency 'simplecov'
49
47
  s.add_dependency 'spree_core'
50
- s.add_dependency 'sqlite3'
51
48
  s.add_dependency 'timecop'
52
49
  s.add_dependency 'webdrivers', '~> 4.3'
53
50
  s.add_dependency 'rspec_junit_formatter', '~> 0.4'
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.1.12
4
+ version: 0.2.1
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-05 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
@@ -164,34 +164,6 @@ dependencies:
164
164
  - - ">="
165
165
  - !ruby/object:Gem::Version
166
166
  version: '0'
167
- - !ruby/object:Gem::Dependency
168
- name: mysql2
169
- requirement: !ruby/object:Gem::Requirement
170
- requirements:
171
- - - ">="
172
- - !ruby/object:Gem::Version
173
- version: '0'
174
- type: :runtime
175
- prerelease: false
176
- version_requirements: !ruby/object:Gem::Requirement
177
- requirements:
178
- - - ">="
179
- - !ruby/object:Gem::Version
180
- version: '0'
181
- - !ruby/object:Gem::Dependency
182
- name: pg
183
- requirement: !ruby/object:Gem::Requirement
184
- requirements:
185
- - - ">="
186
- - !ruby/object:Gem::Version
187
- version: '0'
188
- type: :runtime
189
- prerelease: false
190
- version_requirements: !ruby/object:Gem::Requirement
191
- requirements:
192
- - - ">="
193
- - !ruby/object:Gem::Version
194
- version: '0'
195
167
  - !ruby/object:Gem::Dependency
196
168
  name: pry
197
169
  requirement: !ruby/object:Gem::Requirement
@@ -374,20 +346,6 @@ dependencies:
374
346
  - - ">="
375
347
  - !ruby/object:Gem::Version
376
348
  version: '0'
377
- - !ruby/object:Gem::Dependency
378
- name: sqlite3
379
- requirement: !ruby/object:Gem::Requirement
380
- requirements:
381
- - - ">="
382
- - !ruby/object:Gem::Version
383
- version: '0'
384
- type: :runtime
385
- prerelease: false
386
- version_requirements: !ruby/object:Gem::Requirement
387
- requirements:
388
- - - ">="
389
- - !ruby/object:Gem::Version
390
- version: '0'
391
349
  - !ruby/object:Gem::Dependency
392
350
  name: timecop
393
351
  requirement: !ruby/object:Gem::Requirement
@@ -475,7 +433,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
475
433
  version: '0'
476
434
  requirements:
477
435
  - none
478
- rubygems_version: 3.2.22
436
+ rubygems_version: 3.3.26
479
437
  signing_key:
480
438
  specification_version: 4
481
439
  summary: Spree Dev Tools