spree_core 2.3.7 → 2.3.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/spree/core/version.rb +1 -1
- data/lib/spree/testing_support/authorization_helpers.rb +5 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 43d044df29e025c1e65d6adf6380a246758bbcd4
|
4
|
+
data.tar.gz: 32048f12d421b194977d2e255de4130bed5a787e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0fc16639e8f5dd246720186ac1dae6f91c70c8bce8cd2b502fe8563c72d8d7972c1a489152c36abe8ebd0478b5584992ebec8b04c0468537598b79b8be793cef
|
7
|
+
data.tar.gz: 558fe310c69d88e2032458587b522c2882decc8a8c86f5568a69cb66eef68e1b4eef55e6b5b3572051df89addfa88e4678addf8ce4077420e4d8fd98f112ab46
|
data/lib/spree/core/version.rb
CHANGED
@@ -37,7 +37,9 @@ module Spree
|
|
37
37
|
end
|
38
38
|
|
39
39
|
before do
|
40
|
-
|
40
|
+
allow(Spree.user_class).to receive(:find_by).
|
41
|
+
with(hash_including(:spree_api_key)).
|
42
|
+
and_return(Spree.user_class.new)
|
41
43
|
end
|
42
44
|
end
|
43
45
|
|
@@ -56,6 +58,6 @@ module Spree
|
|
56
58
|
end
|
57
59
|
|
58
60
|
RSpec.configure do |config|
|
59
|
-
config.extend Spree::TestingSupport::AuthorizationHelpers::Controller, :
|
60
|
-
config.extend Spree::TestingSupport::AuthorizationHelpers::Request, :
|
61
|
+
config.extend Spree::TestingSupport::AuthorizationHelpers::Controller, type: :controller
|
62
|
+
config.extend Spree::TestingSupport::AuthorizationHelpers::Request, type: :feature
|
61
63
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spree_core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.3.
|
4
|
+
version: 2.3.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sean Schofield
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-03-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemerchant
|