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 +4 -4
- data/LICENSE +18 -23
- data/README.md +0 -2
- data/lib/spree_dev_tools/rspec/spec_helper.rb +3 -2
- data/lib/spree_dev_tools/rspec/support/spree.rb +0 -10
- data/lib/spree_dev_tools/version.rb +3 -1
- data/spree_dev_tools.gemspec +10 -9
- metadata +9 -8
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b2d10dce399e32ba95b15d20c406f7a916f9a5b29c5f73e9a79f0b4c80bdd7bf
|
|
4
|
+
data.tar.gz: 53123bce68c8e04726dfd315e3c62ee9c566d2fc467727b1084e4689829588ca
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 13c683d38dbff807c8d730ed77c8a2f0e944dba02647cdfded39e7dd87adda64b056f89358d3a01c8aabe8bf216d516644e526ca1a8a9f7eb763bab1f169b64c
|
|
7
|
+
data.tar.gz: 3129253b8dc368cd05502b8296f0121d7e08c214f24998c3df4a3453460cdf7f2c893fa23406a430a737a31742ea2692a678548386150bc6f17932eca863dc16
|
data/LICENSE
CHANGED
|
@@ -1,26 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
All rights reserved.
|
|
1
|
+
MIT License
|
|
3
2
|
|
|
4
|
-
|
|
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
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
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
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
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
|
data/spree_dev_tools.gemspec
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
#
|
|
2
|
-
|
|
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.
|
|
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 = '
|
|
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
|
|
19
|
+
s.license = 'MIT'
|
|
19
20
|
|
|
20
|
-
s.files
|
|
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 '
|
|
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.
|
|
4
|
+
version: 0.6.0.rc1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
|
-
-
|
|
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:
|
|
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:
|
|
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:
|
|
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
|
-
-
|
|
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.
|
|
417
|
+
version: 3.2.0
|
|
417
418
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
418
419
|
requirements:
|
|
419
420
|
- - ">="
|