spree_dev_tools 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +22 -0
- data/Gemfile +3 -0
- data/LICENSE +26 -0
- data/README.md +29 -0
- data/lib/spree_dev_tools/rspec/spec_helper.rb +100 -0
- data/lib/spree_dev_tools/rspec/support/capybara.rb +23 -0
- data/lib/spree_dev_tools/rspec/support/database_cleaner.rb +25 -0
- data/lib/spree_dev_tools/rspec/support/factory_bot.rb +12 -0
- data/lib/spree_dev_tools/rspec/support/spree_cart.rb +35 -0
- data/lib/spree_dev_tools/version.rb +17 -0
- data/lib/spree_dev_tools.rb +1 -0
- data/spree_dev_tools-0.0.1.rc1.gem +0 -0
- data/spree_dev_tools.gemspec +43 -0
- metadata +322 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 909785f6a825a6cccf04355a28651a36c3fd7f892195af5c3629bb3478f0e2dd
|
4
|
+
data.tar.gz: c49fa656b6f42f63a58e464f46f2d13a66979d6b318a267085d0fe4ad97a0bf7
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 33282bb8be2fb127e2decb4e8a612b18d58779fa35e05701c0c1481bab34486400cf6c477795e13675f722ffc5a8a7a7ff8f37e106ccdee2d49fed2a489a2802
|
7
|
+
data.tar.gz: e38058b0968f716e61bad5e9a8771f0575a2156756316fad39a987cff22fe5de63cc0781c9523270c910cd8c62bf24450a16c828537230fdda3d244dbe0c374b
|
data/.gitignore
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
\#*
|
2
|
+
*~
|
3
|
+
.#*
|
4
|
+
.DS_Store
|
5
|
+
.idea
|
6
|
+
.localeapp/locales
|
7
|
+
.project
|
8
|
+
.vscode
|
9
|
+
coverage
|
10
|
+
default
|
11
|
+
Gemfile.lock
|
12
|
+
tmp
|
13
|
+
nbproject
|
14
|
+
pkg
|
15
|
+
*.sw?
|
16
|
+
spec/dummy
|
17
|
+
.rvmrc
|
18
|
+
.sass-cache
|
19
|
+
public/spree
|
20
|
+
.ruby-version
|
21
|
+
.ruby-gemset
|
22
|
+
gemfiles/*.gemfile.lock
|
data/Gemfile
ADDED
data/LICENSE
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
Copyright (c) 2020 Spark Solutions Sp. z o.o.
|
2
|
+
All rights reserved.
|
3
|
+
|
4
|
+
Redistribution and use in source and binary forms, with or without modification,
|
5
|
+
are permitted provided that the following conditions are met:
|
6
|
+
|
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.
|
15
|
+
|
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.
|
data/README.md
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
# Spree Developer Tools
|
2
|
+
|
3
|
+
This gem includes:
|
4
|
+
|
5
|
+
* all dependencies to run Spree applications in development and test environments
|
6
|
+
* configuration for testing environment
|
7
|
+
* rspec and capybara helpers
|
8
|
+
|
9
|
+
## Installation
|
10
|
+
|
11
|
+
Add it to your `Gemfile`
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
gem 'spree_dev_tools'
|
15
|
+
```
|
16
|
+
|
17
|
+
And run...
|
18
|
+
|
19
|
+
```bash
|
20
|
+
bundle install
|
21
|
+
```
|
22
|
+
|
23
|
+
## Contributing
|
24
|
+
|
25
|
+
If you'd like to contribute, please take a look at the
|
26
|
+
[instructions](CONTRIBUTING.md) for installing dependencies and crafting a good
|
27
|
+
pull request.
|
28
|
+
|
29
|
+
Copyright (c) 2020 Spark Solutions, released under the New BSD License
|
@@ -0,0 +1,100 @@
|
|
1
|
+
# Run Coverage report
|
2
|
+
require 'simplecov'
|
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'
|
10
|
+
end
|
11
|
+
|
12
|
+
require 'rspec/rails'
|
13
|
+
require 'ffaker'
|
14
|
+
require 'pry'
|
15
|
+
|
16
|
+
# Requires supporting ruby files with custom matchers and macros, etc,
|
17
|
+
# in spec/support/ and its subdirectories.
|
18
|
+
Dir[File.join(File.dirname(__FILE__), 'support/**/*.rb')].sort.each { |f| require f }
|
19
|
+
|
20
|
+
# Requires factories and other useful helpers defined in spree_core.
|
21
|
+
require 'spree/testing_support/authorization_helpers'
|
22
|
+
require 'spree/testing_support/capybara_ext'
|
23
|
+
require 'spree/testing_support/factories'
|
24
|
+
require 'spree/testing_support/preferences'
|
25
|
+
require 'spree/testing_support/controller_requests'
|
26
|
+
require 'spree/testing_support/flash'
|
27
|
+
require 'spree/testing_support/url_helpers'
|
28
|
+
require 'spree/testing_support/order_walkthrough'
|
29
|
+
require 'spree/testing_support/caching'
|
30
|
+
|
31
|
+
# API v2 helpers
|
32
|
+
require 'spree/api/testing_support/v2/base'
|
33
|
+
require 'spree/api/testing_support/v2/current_order'
|
34
|
+
|
35
|
+
if defined?(Warden)
|
36
|
+
include Warden::Test::Helpers
|
37
|
+
Warden.test_mode!
|
38
|
+
end
|
39
|
+
|
40
|
+
RSpec.configure do |config|
|
41
|
+
# Infer an example group's spec type from the file location.
|
42
|
+
config.infer_spec_type_from_file_location!
|
43
|
+
|
44
|
+
# == URL Helpers
|
45
|
+
#
|
46
|
+
# Allows access to Spree's routes in specs:
|
47
|
+
#
|
48
|
+
# visit spree.admin_path
|
49
|
+
# current_path.should eql(spree.products_path)
|
50
|
+
config.include Spree::TestingSupport::UrlHelpers
|
51
|
+
|
52
|
+
# == Requests support
|
53
|
+
#
|
54
|
+
# Adds convenient methods to request Spree's controllers
|
55
|
+
# spree_get :index
|
56
|
+
config.include Spree::TestingSupport::ControllerRequests, type: :controller
|
57
|
+
|
58
|
+
config.include Spree::TestingSupport::Preferences
|
59
|
+
config.include Spree::TestingSupport::Flash
|
60
|
+
|
61
|
+
config.before :each do
|
62
|
+
Rails.cache.clear
|
63
|
+
reset_spree_preferences do |config|
|
64
|
+
# config.my_custom_preference = 10
|
65
|
+
end
|
66
|
+
create(:store)
|
67
|
+
end
|
68
|
+
|
69
|
+
if defined?(Devise)
|
70
|
+
config.before(:each, type: :controller) do
|
71
|
+
@request.env['devise.mapping'] = Devise.mappings[:spree_user]
|
72
|
+
end
|
73
|
+
|
74
|
+
config.include Devise::TestHelpers, type: :controller
|
75
|
+
|
76
|
+
config.include Warden::Test::Helpers
|
77
|
+
config.before :suite do
|
78
|
+
Warden.test_mode!
|
79
|
+
end
|
80
|
+
end
|
81
|
+
|
82
|
+
# == Mock Framework
|
83
|
+
#
|
84
|
+
# If you prefer to use mocha, flexmock or RR, uncomment the appropriate line:
|
85
|
+
#
|
86
|
+
# config.mock_with :mocha
|
87
|
+
# config.mock_with :flexmock
|
88
|
+
# config.mock_with :rr
|
89
|
+
config.mock_with :rspec
|
90
|
+
config.color = true
|
91
|
+
config.default_formatter = 'doc'
|
92
|
+
|
93
|
+
# Capybara javascript drivers require transactional fixtures set to false, and we use DatabaseCleaner
|
94
|
+
# to cleanup after each test instead. Without transactional fixtures set to false the records created
|
95
|
+
# to setup a test will be unavailable to the browser, which runs under a separate server instance.
|
96
|
+
config.use_transactional_fixtures = false
|
97
|
+
|
98
|
+
config.fail_fast = ENV['FAIL_FAST'] || false
|
99
|
+
config.order = 'random'
|
100
|
+
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
require 'capybara/rspec'
|
2
|
+
require 'capybara-screenshot'
|
3
|
+
require 'capybara-screenshot/rspec'
|
4
|
+
require 'capybara/rails'
|
5
|
+
require 'selenium-webdriver'
|
6
|
+
|
7
|
+
RSpec.configure do
|
8
|
+
Capybara.register_driver :chrome do |app|
|
9
|
+
Selenium::WebDriver.logger.level = :error
|
10
|
+
|
11
|
+
Capybara::Selenium::Driver.new app,
|
12
|
+
browser: :chrome,
|
13
|
+
options: Selenium::WebDriver::Chrome::Options.new(
|
14
|
+
args: %w[headless disable-gpu window-size=1920,1080 --enable-features=NetworkService,NetworkServiceInProcess --disable-features=VizDisplayCompositor],
|
15
|
+
log_level: :error
|
16
|
+
)
|
17
|
+
end
|
18
|
+
Capybara.javascript_driver = :chrome
|
19
|
+
|
20
|
+
Capybara::Screenshot.register_driver(:chrome) do |driver, path|
|
21
|
+
driver.browser.save_screenshot(path)
|
22
|
+
end
|
23
|
+
end
|
@@ -0,0 +1,25 @@
|
|
1
|
+
require 'database_cleaner'
|
2
|
+
|
3
|
+
RSpec.configure do |config|
|
4
|
+
config.before(:suite) do
|
5
|
+
DatabaseCleaner.clean_with :truncation
|
6
|
+
end
|
7
|
+
|
8
|
+
config.before do
|
9
|
+
DatabaseCleaner.strategy = :transaction
|
10
|
+
end
|
11
|
+
|
12
|
+
# Before each spec check if it is a Javascript test and switch between using database transactions or not where necessary.
|
13
|
+
config.before(:each, :js) do
|
14
|
+
DatabaseCleaner.strategy = :truncation
|
15
|
+
end
|
16
|
+
|
17
|
+
config.before do
|
18
|
+
DatabaseCleaner.start
|
19
|
+
end
|
20
|
+
|
21
|
+
# After each spec clean the database.
|
22
|
+
config.append_after do
|
23
|
+
DatabaseCleaner.clean
|
24
|
+
end
|
25
|
+
end
|
@@ -0,0 +1,12 @@
|
|
1
|
+
require 'factory_bot'
|
2
|
+
|
3
|
+
FactoryBot.find_definitions
|
4
|
+
|
5
|
+
RSpec.configure do |config|
|
6
|
+
config.include FactoryBot::Syntax::Methods
|
7
|
+
end
|
8
|
+
|
9
|
+
# enable factories decorators
|
10
|
+
Dir[Rails.root.join('spec/factories/spree/**/*.rb')].sort.each do |factory|
|
11
|
+
require factory if factory =~ /decorator/
|
12
|
+
end
|
@@ -0,0 +1,35 @@
|
|
1
|
+
def update_cart
|
2
|
+
if Spree.version.to_f < 4.1
|
3
|
+
click_button 'update-button'
|
4
|
+
else
|
5
|
+
page.execute_script("$('form#update-cart').submit()")
|
6
|
+
end
|
7
|
+
end
|
8
|
+
|
9
|
+
def cart_container
|
10
|
+
if Spree.version.to_f < 4.1
|
11
|
+
find_all("#cart-detail tbody tr:first-child").first
|
12
|
+
else
|
13
|
+
find_all("#cart-detail .shopping-cart-item").first
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
def add_to_cart(product)
|
18
|
+
visit spree.product_path(product)
|
19
|
+
|
20
|
+
expect(page).to have_selector('form#add-to-cart-form')
|
21
|
+
expect(page).to have_selector(:button, id: 'add-to-cart-button', disabled: false)
|
22
|
+
|
23
|
+
yield if block_given?
|
24
|
+
|
25
|
+
click_button 'add-to-cart-button'
|
26
|
+
|
27
|
+
if Spree.version.to_f < 4.1
|
28
|
+
wait_for_condition do
|
29
|
+
expect(page).to have_content(Spree.t(:cart))
|
30
|
+
end
|
31
|
+
else
|
32
|
+
expect(page).to have_content(Spree.t(:added_to_cart))
|
33
|
+
visit spree.cart_path
|
34
|
+
end
|
35
|
+
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
module SpreeDevTools
|
2
|
+
module_function
|
3
|
+
|
4
|
+
# Returns the version of the currently loaded SpreeDevTools as a
|
5
|
+
# <tt>Gem::Version</tt>.
|
6
|
+
def version
|
7
|
+
Gem::Version.new VERSION::STRING
|
8
|
+
end
|
9
|
+
|
10
|
+
module VERSION
|
11
|
+
MAJOR = 0
|
12
|
+
MINOR = 0
|
13
|
+
TINY = 1
|
14
|
+
|
15
|
+
STRING = [MAJOR, MINOR, TINY].compact.join('.')
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1 @@
|
|
1
|
+
require 'spree_dev_tools/version'
|
Binary file
|
@@ -0,0 +1,43 @@
|
|
1
|
+
# encoding: UTF-8
|
2
|
+
lib = File.expand_path('../lib/', __FILE__)
|
3
|
+
$LOAD_PATH.unshift lib unless $LOAD_PATH.include?(lib)
|
4
|
+
|
5
|
+
require 'spree_dev_tools/version'
|
6
|
+
|
7
|
+
Gem::Specification.new do |s|
|
8
|
+
s.platform = Gem::Platform::RUBY
|
9
|
+
s.name = 'spree_dev_tools'
|
10
|
+
s.version = SpreeDevTools.version
|
11
|
+
s.summary = 'Spree Dev Tools'
|
12
|
+
s.description = 'Spree Developer Tools'
|
13
|
+
s.required_ruby_version = '>= 2.3.0'
|
14
|
+
|
15
|
+
s.author = 'Spark Solutions'
|
16
|
+
s.email = 'we@sparksolutions.co'
|
17
|
+
s.homepage = 'https://github.com/spree/spree_dev_tools'
|
18
|
+
s.license = 'BSD-3-Clause'
|
19
|
+
|
20
|
+
s.files = `git ls-files`.split("\n").reject { |f| f.match(/^spec/) && !f.match(/^spec\/fixtures/) }
|
21
|
+
s.require_path = 'lib'
|
22
|
+
s.requirements << 'none'
|
23
|
+
|
24
|
+
s.add_dependency 'appraisal'
|
25
|
+
s.add_dependency 'awesome_print'
|
26
|
+
s.add_dependency 'capybara'
|
27
|
+
s.add_dependency 'capybara-screenshot'
|
28
|
+
s.add_dependency 'coffee-rails'
|
29
|
+
s.add_dependency 'database_cleaner'
|
30
|
+
s.add_dependency 'factory_bot', '~> 4.7'
|
31
|
+
s.add_dependency 'ffaker'
|
32
|
+
s.add_dependency 'mysql2'
|
33
|
+
s.add_dependency 'pg'
|
34
|
+
s.add_dependency 'pry'
|
35
|
+
s.add_dependency 'puma'
|
36
|
+
s.add_dependency 'rails-controller-testing'
|
37
|
+
s.add_dependency 'rspec-rails', '~> 4.0.0'
|
38
|
+
s.add_dependency 'sass-rails'
|
39
|
+
s.add_dependency 'selenium-webdriver'
|
40
|
+
s.add_dependency 'simplecov'
|
41
|
+
s.add_dependency 'sqlite3'
|
42
|
+
s.add_dependency 'webdrivers', '~> 4.0.0'
|
43
|
+
end
|
metadata
ADDED
@@ -0,0 +1,322 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: spree_dev_tools
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Spark Solutions
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2020-04-16 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: appraisal
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: awesome_print
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: capybara
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: capybara-screenshot
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: coffee-rails
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: database_cleaner
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: factory_bot
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '4.7'
|
104
|
+
type: :runtime
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '4.7'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: ffaker
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: mysql2
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :runtime
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: pg
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - ">="
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0'
|
146
|
+
type: :runtime
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ">="
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: pry
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - ">="
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '0'
|
160
|
+
type: :runtime
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - ">="
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '0'
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: puma
|
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: rails-controller-testing
|
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
|
+
- !ruby/object:Gem::Dependency
|
196
|
+
name: rspec-rails
|
197
|
+
requirement: !ruby/object:Gem::Requirement
|
198
|
+
requirements:
|
199
|
+
- - "~>"
|
200
|
+
- !ruby/object:Gem::Version
|
201
|
+
version: 4.0.0
|
202
|
+
type: :runtime
|
203
|
+
prerelease: false
|
204
|
+
version_requirements: !ruby/object:Gem::Requirement
|
205
|
+
requirements:
|
206
|
+
- - "~>"
|
207
|
+
- !ruby/object:Gem::Version
|
208
|
+
version: 4.0.0
|
209
|
+
- !ruby/object:Gem::Dependency
|
210
|
+
name: sass-rails
|
211
|
+
requirement: !ruby/object:Gem::Requirement
|
212
|
+
requirements:
|
213
|
+
- - ">="
|
214
|
+
- !ruby/object:Gem::Version
|
215
|
+
version: '0'
|
216
|
+
type: :runtime
|
217
|
+
prerelease: false
|
218
|
+
version_requirements: !ruby/object:Gem::Requirement
|
219
|
+
requirements:
|
220
|
+
- - ">="
|
221
|
+
- !ruby/object:Gem::Version
|
222
|
+
version: '0'
|
223
|
+
- !ruby/object:Gem::Dependency
|
224
|
+
name: selenium-webdriver
|
225
|
+
requirement: !ruby/object:Gem::Requirement
|
226
|
+
requirements:
|
227
|
+
- - ">="
|
228
|
+
- !ruby/object:Gem::Version
|
229
|
+
version: '0'
|
230
|
+
type: :runtime
|
231
|
+
prerelease: false
|
232
|
+
version_requirements: !ruby/object:Gem::Requirement
|
233
|
+
requirements:
|
234
|
+
- - ">="
|
235
|
+
- !ruby/object:Gem::Version
|
236
|
+
version: '0'
|
237
|
+
- !ruby/object:Gem::Dependency
|
238
|
+
name: simplecov
|
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'
|
251
|
+
- !ruby/object:Gem::Dependency
|
252
|
+
name: sqlite3
|
253
|
+
requirement: !ruby/object:Gem::Requirement
|
254
|
+
requirements:
|
255
|
+
- - ">="
|
256
|
+
- !ruby/object:Gem::Version
|
257
|
+
version: '0'
|
258
|
+
type: :runtime
|
259
|
+
prerelease: false
|
260
|
+
version_requirements: !ruby/object:Gem::Requirement
|
261
|
+
requirements:
|
262
|
+
- - ">="
|
263
|
+
- !ruby/object:Gem::Version
|
264
|
+
version: '0'
|
265
|
+
- !ruby/object:Gem::Dependency
|
266
|
+
name: webdrivers
|
267
|
+
requirement: !ruby/object:Gem::Requirement
|
268
|
+
requirements:
|
269
|
+
- - "~>"
|
270
|
+
- !ruby/object:Gem::Version
|
271
|
+
version: 4.0.0
|
272
|
+
type: :runtime
|
273
|
+
prerelease: false
|
274
|
+
version_requirements: !ruby/object:Gem::Requirement
|
275
|
+
requirements:
|
276
|
+
- - "~>"
|
277
|
+
- !ruby/object:Gem::Version
|
278
|
+
version: 4.0.0
|
279
|
+
description: Spree Developer Tools
|
280
|
+
email: we@sparksolutions.co
|
281
|
+
executables: []
|
282
|
+
extensions: []
|
283
|
+
extra_rdoc_files: []
|
284
|
+
files:
|
285
|
+
- ".gitignore"
|
286
|
+
- Gemfile
|
287
|
+
- LICENSE
|
288
|
+
- README.md
|
289
|
+
- lib/spree_dev_tools.rb
|
290
|
+
- lib/spree_dev_tools/rspec/spec_helper.rb
|
291
|
+
- lib/spree_dev_tools/rspec/support/capybara.rb
|
292
|
+
- lib/spree_dev_tools/rspec/support/database_cleaner.rb
|
293
|
+
- lib/spree_dev_tools/rspec/support/factory_bot.rb
|
294
|
+
- lib/spree_dev_tools/rspec/support/spree_cart.rb
|
295
|
+
- lib/spree_dev_tools/version.rb
|
296
|
+
- spree_dev_tools-0.0.1.rc1.gem
|
297
|
+
- spree_dev_tools.gemspec
|
298
|
+
homepage: https://github.com/spree/spree_dev_tools
|
299
|
+
licenses:
|
300
|
+
- BSD-3-Clause
|
301
|
+
metadata: {}
|
302
|
+
post_install_message:
|
303
|
+
rdoc_options: []
|
304
|
+
require_paths:
|
305
|
+
- lib
|
306
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
307
|
+
requirements:
|
308
|
+
- - ">="
|
309
|
+
- !ruby/object:Gem::Version
|
310
|
+
version: 2.3.0
|
311
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
312
|
+
requirements:
|
313
|
+
- - ">="
|
314
|
+
- !ruby/object:Gem::Version
|
315
|
+
version: '0'
|
316
|
+
requirements:
|
317
|
+
- none
|
318
|
+
rubygems_version: 3.0.2
|
319
|
+
signing_key:
|
320
|
+
specification_version: 4
|
321
|
+
summary: Spree Dev Tools
|
322
|
+
test_files: []
|