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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 312aa2f77cf9fab1f7d34dbc408f4314866c3146a301309028e9aa27dfe53b82
4
- data.tar.gz: 50540c4e15c0b4de1d41032ee0c03ab4b773119b1f018620d583b62dc8b11c1a
3
+ metadata.gz: 5b0d5d5438376e2c068bb73c92cf36e90c622bc1883c1c8cdcae4c49fb130ee5
4
+ data.tar.gz: a687e7ab14abf43fc0b9e144e634df3a4609b4e6707a81816b0b75a04a3924f5
5
5
  SHA512:
6
- metadata.gz: 30d9c9cefec92869a1fa974feba296b8867ea4969a556382f9f03a25f7287583e006dfe9c9a40d0d4f339456fb0e934ab7dd23d22dc756a57e848657861ff6f8
7
- data.tar.gz: fb4f6302fb3932dd7b4d0a23b57c3614694ba9f2d65ef00f0a27aa2ff9ef9dab0a5c4d9cf7b8dbcf8ec8b9e5bedf1e40d618bae50cd8371cdf2e51f7075c5721
6
+ metadata.gz: a6bdd501b94258ab417e3e03a6626d72b3aec6c2be229a2c52cfe2d1fba39a93706d8b0d24b50405d3c078d8516e27de2fc9454786016d029249700043c76d0a
7
+ data.tar.gz: ec85cbdc158d65d3ff94a4aaec78d6c0ab175a3dc5ff747b05e5ae7ae4a0ed6b516481af2418905746e3a518600f5417697c6c2a11ebc60841f5a32cc2c882b9
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2020 Spark Solutions Sp. z o.o.
1
+ Copyright (c) 2021 Spark Solutions Sp. z o.o.
2
2
  All rights reserved.
3
3
 
4
4
  Redistribution and use in source and binary forms, with or without modification,
@@ -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|
@@ -1,5 +1,5 @@
1
1
  module SpreeDevTools
2
- VERSION = '0.1.4'
2
+ VERSION = '0.1.5'
3
3
 
4
4
  # Returns the version of the currently loaded SpreeDevTools as a
5
5
  # <tt>Gem::Version</tt>.
@@ -32,6 +32,7 @@ Gem::Specification.new do |s|
32
32
  s.add_dependency 'ffaker'
33
33
  s.add_dependency 'gem-release'
34
34
  s.add_dependency 'github_changelog_generator'
35
+ s.add_dependency 'jsonapi-rspec'
35
36
  s.add_dependency 'mysql2'
36
37
  s.add_dependency 'pg'
37
38
  s.add_dependency 'pry'
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
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-04 00:00:00.000000000 Z
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.1.4
408
+ rubygems_version: 3.2.3
395
409
  signing_key:
396
410
  specification_version: 4
397
411
  summary: Spree Dev Tools