spree_dev_tools 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +1 -1
- data/lib/spree_dev_tools/rspec/support/spree.rb +7 -0
- data/lib/spree_dev_tools/version.rb +1 -1
- data/spree_dev_tools.gemspec +1 -0
- metadata +17 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5b0d5d5438376e2c068bb73c92cf36e90c622bc1883c1c8cdcae4c49fb130ee5
|
4
|
+
data.tar.gz: a687e7ab14abf43fc0b9e144e634df3a4609b4e6707a81816b0b75a04a3924f5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a6bdd501b94258ab417e3e03a6626d72b3aec6c2be229a2c52cfe2d1fba39a93706d8b0d24b50405d3c078d8516e27de2fc9454786016d029249700043c76d0a
|
7
|
+
data.tar.gz: ec85cbdc158d65d3ff94a4aaec78d6c0ab175a3dc5ff747b05e5ae7ae4a0ed6b516481af2418905746e3a518600f5417697c6c2a11ebc60841f5a32cc2c882b9
|
data/LICENSE
CHANGED
@@ -11,7 +11,11 @@ require 'spree/testing_support/auth_helpers'
|
|
11
11
|
require 'spree/testing_support/checkout_helpers'
|
12
12
|
require 'spree/testing_support/caching'
|
13
13
|
|
14
|
+
# API helpers
|
15
|
+
require 'spree/api/testing_support/helpers'
|
16
|
+
|
14
17
|
# API v2 helpers
|
18
|
+
require 'jsonapi/rspec'
|
15
19
|
require 'spree/api/testing_support/v2/base'
|
16
20
|
require 'spree/api/testing_support/v2/current_order'
|
17
21
|
|
@@ -39,6 +43,9 @@ RSpec.configure do |config|
|
|
39
43
|
config.include Spree::TestingSupport::AuthHelpers, type: :feature
|
40
44
|
config.include Spree::TestingSupport::CheckoutHelpers, type: :feature
|
41
45
|
|
46
|
+
config.include Spree::Api::TestingSupport::Helpers # needed for API v1
|
47
|
+
config.include JSONAPI::RSpec, type: :request # required for API v2 request specs
|
48
|
+
|
42
49
|
config.before :each do
|
43
50
|
Rails.cache.clear
|
44
51
|
reset_spree_preferences do |config|
|
data/spree_dev_tools.gemspec
CHANGED
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.
|
4
|
+
version: 0.1.5
|
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-02-
|
11
|
+
date: 2021-02-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: appraisal
|
@@ -164,6 +164,20 @@ dependencies:
|
|
164
164
|
- - ">="
|
165
165
|
- !ruby/object:Gem::Version
|
166
166
|
version: '0'
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: jsonapi-rspec
|
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'
|
167
181
|
- !ruby/object:Gem::Dependency
|
168
182
|
name: mysql2
|
169
183
|
requirement: !ruby/object:Gem::Requirement
|
@@ -391,7 +405,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
391
405
|
version: '0'
|
392
406
|
requirements:
|
393
407
|
- none
|
394
|
-
rubygems_version: 3.
|
408
|
+
rubygems_version: 3.2.3
|
395
409
|
signing_key:
|
396
410
|
specification_version: 4
|
397
411
|
summary: Spree Dev Tools
|