spree_dev_tools 0.1.7 → 0.1.8

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: 44157fb3dee5262ed2266fb1d7e6daa34787123fc686260c5c843c8351da9d8d
4
- data.tar.gz: cf216ea405b82c3964c7a6c7aaf9c0242ce7255ba47d0eca1c1eb0bc6a01eb6e
3
+ metadata.gz: 61141e4fb1a45a3ef002da9a2b0e8f9ee1c2a774e1b82b66e79000cea91c0127
4
+ data.tar.gz: d826825eb21f8a9ebef4ccca0ec1fe73a43c6bbebc058c405862d2b3318e6031
5
5
  SHA512:
6
- metadata.gz: cefd1cf03be24189607f46a5861340df6812ed48af2411b886d9b38c310ba4355cc71dae6aa28464225035b175432ded92c7a9d3dbd27f2b71af68d0143ebbf4
7
- data.tar.gz: 1fde4734a51198e9f481608140590661b95287cc7dc51e58513572288aacf6b2a246599e2b13c1d8b20db1738a7dc650b418a5ffe5ca0b11257307927fd3928f
6
+ metadata.gz: f533dd629e350b407e242fa446c4809806076d49e7c59f63818475205c8b6ee790a4b6228633a29f3511aaf1e62f33e4552425704397de85856476badc0360d5
7
+ data.tar.gz: c7914cc9042dc1da6d29a168fd14471c8243720e672b81b5f1e34cafed037b3e2197aec2d526372c926fa7278a3fef063b38dbdc0762499fa4dc5a26ef03a015
@@ -1,5 +1,6 @@
1
1
  # Run Coverage report
2
2
  require 'rspec/rails'
3
+ require 'rspec/active_model/mocks'
3
4
  require 'rspec/retry'
4
5
  require 'ffaker'
5
6
  require 'pry'
@@ -14,6 +14,7 @@ require 'spree/testing_support/caching'
14
14
  # API helpers
15
15
  if defined?(Spree::Api)
16
16
  require 'spree/api/testing_support/helpers'
17
+ require 'spree/api/testing_support/setup'
17
18
  end
18
19
 
19
20
  # API v2 helpers
@@ -49,6 +50,7 @@ RSpec.configure do |config|
49
50
 
50
51
  if defined?(Spree::Api)
51
52
  config.include Spree::Api::TestingSupport::Helpers # needed for API v1
53
+ config.extend Spree::Api::TestingSupport::Setup, type: :request
52
54
  end
53
55
  if Spree.version.to_f >= 3.7
54
56
  config.include JSONAPI::RSpec, type: :request # required for API v2 request specs
@@ -1,5 +1,5 @@
1
1
  module SpreeDevTools
2
- VERSION = '0.1.7'
2
+ VERSION = '0.1.8'
3
3
 
4
4
  # Returns the version of the currently loaded SpreeDevTools as a
5
5
  # <tt>Gem::Version</tt>.
@@ -38,6 +38,7 @@ Gem::Specification.new do |s|
38
38
  s.add_dependency 'pry'
39
39
  s.add_dependency 'puma'
40
40
  s.add_dependency 'rails-controller-testing'
41
+ s.add_dependency 'rspec-activemodel-mocks'
41
42
  s.add_dependency 'rspec-rails', '~> 4.0'
42
43
  s.add_dependency 'rspec-retry'
43
44
  s.add_dependency 'rubocop'
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.7
4
+ version: 0.1.8
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-08 00:00:00.000000000 Z
11
+ date: 2021-03-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: appraisal
@@ -248,6 +248,20 @@ dependencies:
248
248
  - - ">="
249
249
  - !ruby/object:Gem::Version
250
250
  version: '0'
251
+ - !ruby/object:Gem::Dependency
252
+ name: rspec-activemodel-mocks
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'
251
265
  - !ruby/object:Gem::Dependency
252
266
  name: rspec-rails
253
267
  requirement: !ruby/object:Gem::Requirement
@@ -447,7 +461,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
447
461
  version: '0'
448
462
  requirements:
449
463
  - none
450
- rubygems_version: 3.2.3
464
+ rubygems_version: 3.0.3
451
465
  signing_key:
452
466
  specification_version: 4
453
467
  summary: Spree Dev Tools