spree_dev_tools 0.5.3 → 0.6.0.rc1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2058081f755c42fa8191a31894ea9c4b3d341e50518c9a9101b385abe3c5b40b
4
- data.tar.gz: 7c16c577c49bd5ce75050573724468e6f8a4083900137d80cc7563c40b575520
3
+ metadata.gz: b2d10dce399e32ba95b15d20c406f7a916f9a5b29c5f73e9a79f0b4c80bdd7bf
4
+ data.tar.gz: 53123bce68c8e04726dfd315e3c62ee9c566d2fc467727b1084e4689829588ca
5
5
  SHA512:
6
- metadata.gz: 2906f80e75276118f3a6339beb45c64f95b17af860ff64473465861b1d7be2c7eb828efc1910c778687710d19470e86f91c06fd8066a82cc1b894a7b93ff4a49
7
- data.tar.gz: 22e5fca07939189288209a72e65217213c81a84f24705706926154576f0125fa9f919fc42d00c77fce569f3d045632974be3065afaf18f0ecaf046ad36bdab92
6
+ metadata.gz: 13c683d38dbff807c8d730ed77c8a2f0e944dba02647cdfded39e7dd87adda64b056f89358d3a01c8aabe8bf216d516644e526ca1a8a9f7eb763bab1f169b64c
7
+ data.tar.gz: 3129253b8dc368cd05502b8296f0121d7e08c214f24998c3df4a3453460cdf7f2c893fa23406a430a737a31742ea2692a678548386150bc6f17932eca863dc16
data/LICENSE CHANGED
@@ -1,26 +1,21 @@
1
- Copyright (c) 2021 Spark Solutions Sp. z o.o.
2
- All rights reserved.
1
+ MIT License
3
2
 
4
- Redistribution and use in source and binary forms, with or without modification,
5
- are permitted provided that the following conditions are met:
3
+ Copyright (c) 2026 Vendo Connect Inc., Vendo Sp. z o.o.
6
4
 
7
- * Redistributions of source code must retain the above copyright notice,
8
- this list of conditions and the following disclaimer.
9
- * Redistributions in binary form must reproduce the above copyright notice,
10
- this list of conditions and the following disclaimer in the documentation
11
- and/or other materials provided with the distribution.
12
- * Neither the name Spree nor the names of its contributors may be used to
13
- endorse or promote products derived from this software without specific
14
- prior written permission.
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
15
11
 
16
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
17
- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
18
- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
19
- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
20
- CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
21
- EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
22
- PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
23
- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
24
- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
25
- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
26
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
data/README.md CHANGED
@@ -31,5 +31,3 @@ If you want to disable Simplecov set the `SPREE_DEV_TOOLS_DISABLE_SIMPLECOV` ENV
31
31
  If you'd like to contribute, please take a look at the
32
32
  [instructions](CONTRIBUTING.md) for installing dependencies and crafting a good
33
33
  pull request.
34
-
35
- Copyright (c) 2020 Spark Solutions, released under the New BSD License
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # This file is copied to ~/spec when you run 'ruby script/generate rspec'
2
4
  # from the project root directory.
3
5
  ENV['RAILS_ENV'] ||= 'test'
@@ -6,13 +8,12 @@ require 'rspec/rails'
6
8
 
7
9
  # Requires supporting files with custom matchers and macros, etc,
8
10
  # in ./support/ and its subdirectories.
9
- Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
11
+ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].sort.each { |f| require f }
10
12
 
11
13
  require 'pry'
12
14
 
13
15
  RSpec.configure do |config|
14
16
  config.color = true
15
- config.default_formatter = 'doc'
16
17
  config.fail_fast = ENV['FAIL_FAST'] || false
17
18
  config.infer_spec_type_from_file_location!
18
19
  config.mock_with :rspec
@@ -12,13 +12,6 @@ require 'spree/testing_support/order_walkthrough'
12
12
  require 'spree/testing_support/capybara_config'
13
13
  require 'spree/testing_support/rspec_retry_config'
14
14
  require 'spree/testing_support/image_helpers'
15
-
16
- require 'jsonapi/rspec'
17
- require 'spree/api/testing_support/v2/base'
18
- require 'spree/api/testing_support/factories'
19
- require 'spree/api/testing_support/v2/current_order'
20
- require 'spree/api/testing_support/v2/platform_contexts'
21
- require 'spree/api/testing_support/v2/serializers_params'
22
15
  require 'spree/core/controller_helpers/strong_parameters'
23
16
 
24
17
  module Spree
@@ -42,12 +35,9 @@ RSpec.configure do |config|
42
35
  config.include Spree::TestingSupport::ControllerRequests, type: :controller
43
36
  config.include Spree::TestingSupport::ImageHelpers
44
37
  config.include Spree::Core::ControllerHelpers::StrongParameters, type: :controller
45
-
46
- config.include JSONAPI::RSpec, type: :request # required for API v2 request specs
47
38
  config.include Spree::TestingSupport::ApiHelpers, type: :request
48
39
 
49
40
  config.before(:each) do
50
- Spree::Webhooks.disabled = true if defined?(Spree::Webhooks) && Spree::Webhooks.respond_to?(:disabled=)
51
41
  Spree::LegacyWebhooks.disabled = true if defined?(Spree::LegacyWebhooks) && Spree::LegacyWebhooks.respond_to?(:disabled=)
52
42
  reset_spree_preferences
53
43
  end
@@ -1,5 +1,7 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module SpreeDevTools
2
- VERSION = '0.5.3'
4
+ VERSION = '0.6.0.rc1'
3
5
 
4
6
  # Returns the version of the currently loaded SpreeDevTools as a
5
7
  # <tt>Gem::Version</tt>.
@@ -1,5 +1,6 @@
1
- # encoding: UTF-8
2
- lib = File.expand_path('../lib/', __FILE__)
1
+ # frozen_string_literal: true
2
+
3
+ lib = File.expand_path('lib', __dir__)
3
4
  $LOAD_PATH.unshift lib unless $LOAD_PATH.include?(lib)
4
5
 
5
6
  require 'spree_dev_tools/version'
@@ -9,15 +10,15 @@ Gem::Specification.new do |s|
9
10
  s.name = 'spree_dev_tools'
10
11
  s.version = SpreeDevTools::VERSION
11
12
  s.summary = 'Spree Dev Tools'
12
- s.description = 'Spree Developer Tools'
13
- s.required_ruby_version = '>= 2.4.0'
13
+ s.description = 'Spree Developer Tools to help you develop and test your Spree applications and extensions.'
14
+ s.required_ruby_version = '>= 3.2.0'
14
15
 
15
- s.author = 'Spark Solutions'
16
+ s.author = 'Vendo Connect Inc., Vendo Sp. z o.o.'
16
17
  s.email = 'we@sparksolutions.co'
17
18
  s.homepage = 'https://github.com/spree/spree_dev_tools'
18
- s.license = 'BSD-3-Clause'
19
+ s.license = 'MIT'
19
20
 
20
- s.files = `git ls-files`.split("\n").reject { |f| f.match(/^spec/) && !f.match(/^spec\/fixtures/) }
21
+ s.files = `git ls-files`.split("\n").reject { |f| f.match(/^spec/) && !f.match(%r{^spec/fixtures}) }
21
22
  s.require_path = 'lib'
22
23
  s.requirements << 'none'
23
24
 
@@ -33,7 +34,7 @@ Gem::Specification.new do |s|
33
34
  s.add_dependency 'gem-release'
34
35
  s.add_dependency 'github_changelog_generator'
35
36
  s.add_dependency 'i18n-tasks'
36
- s.add_dependency 'jsonapi-rspec'
37
+ s.add_dependency 'parallel_tests'
37
38
  s.add_dependency 'pry'
38
39
  s.add_dependency 'puma'
39
40
  s.add_dependency 'rails-controller-testing'
@@ -44,7 +45,7 @@ Gem::Specification.new do |s|
44
45
  s.add_dependency 'ruby-lsp', '>= 0.23.0'
45
46
  s.add_dependency 'selenium-webdriver', '>= 4.10'
46
47
  s.add_dependency 'simplecov'
47
- s.add_dependency 'spree', '>= 5.0'
48
+ s.add_dependency 'spree', '>= 5.4.0.alpha'
48
49
  s.add_dependency 'timecop'
49
50
  s.add_dependency 'webdrivers'
50
51
  end
metadata CHANGED
@@ -1,10 +1,10 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spree_dev_tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.3
4
+ version: 0.6.0.rc1
5
5
  platform: ruby
6
6
  authors:
7
- - Spark Solutions
7
+ - Vendo Connect Inc., Vendo Sp. z o.o.
8
8
  bindir: bin
9
9
  cert_chain: []
10
10
  date: 1980-01-02 00:00:00.000000000 Z
@@ -178,7 +178,7 @@ dependencies:
178
178
  - !ruby/object:Gem::Version
179
179
  version: '0'
180
180
  - !ruby/object:Gem::Dependency
181
- name: jsonapi-rspec
181
+ name: parallel_tests
182
182
  requirement: !ruby/object:Gem::Requirement
183
183
  requirements:
184
184
  - - ">="
@@ -337,14 +337,14 @@ dependencies:
337
337
  requirements:
338
338
  - - ">="
339
339
  - !ruby/object:Gem::Version
340
- version: '5.0'
340
+ version: 5.4.0.alpha
341
341
  type: :runtime
342
342
  prerelease: false
343
343
  version_requirements: !ruby/object:Gem::Requirement
344
344
  requirements:
345
345
  - - ">="
346
346
  - !ruby/object:Gem::Version
347
- version: '5.0'
347
+ version: 5.4.0.alpha
348
348
  - !ruby/object:Gem::Dependency
349
349
  name: timecop
350
350
  requirement: !ruby/object:Gem::Requirement
@@ -373,7 +373,8 @@ dependencies:
373
373
  - - ">="
374
374
  - !ruby/object:Gem::Version
375
375
  version: '0'
376
- description: Spree Developer Tools
376
+ description: Spree Developer Tools to help you develop and test your Spree applications
377
+ and extensions.
377
378
  email: we@sparksolutions.co
378
379
  executables: []
379
380
  extensions: []
@@ -404,7 +405,7 @@ files:
404
405
  - spree_dev_tools.gemspec
405
406
  homepage: https://github.com/spree/spree_dev_tools
406
407
  licenses:
407
- - BSD-3-Clause
408
+ - MIT
408
409
  metadata: {}
409
410
  rdoc_options: []
410
411
  require_paths:
@@ -413,7 +414,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
413
414
  requirements:
414
415
  - - ">="
415
416
  - !ruby/object:Gem::Version
416
- version: 2.4.0
417
+ version: 3.2.0
417
418
  required_rubygems_version: !ruby/object:Gem::Requirement
418
419
  requirements:
419
420
  - - ">="