spree_dev_tools 0.2.0 → 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: 1b9358478e7b8b47145e11360abbf2d7efbd94e46da14bd3055d5d993124afa6
4
- data.tar.gz: 3d1f5f7e7db36decd6855646028165988884d526c6718c4c788bbc57456d26ff
3
+ metadata.gz: 4f7a89e1fa32b6f0ec4fc3dcbae105939d6b90a74c483c741ec539055917732e
4
+ data.tar.gz: e899db64cb49f92b6d67700259b605041291b0c2fe352ebb62bf031feaca474a
5
5
  SHA512:
6
- metadata.gz: 10b334f980b9ec0abd9c9a48d2a6d97a27c552f5675a27c7b46b083d6be912402e9a2cd475a60c464bbedd8bd3e298c7bed1a6249b6fdf7b65c56cd4aefbee3e
7
- data.tar.gz: 9cb77ed683ec5a2591df6b30aafa8e7c2b5e4dbf328e971b9a33644281826aa90b5cb7d617ce0b2ebb65f7daa75342213b1080b36cb72a757b437cf922df9fae
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.2.0'
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>.
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.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-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
@@ -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