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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e33887c7715be995d8b06aa64c48cc8ff0f63dc1
4
- data.tar.gz: 7020fb8b5a8e9cd5c20683d5a454c05755e96ec1
3
+ metadata.gz: 43d044df29e025c1e65d6adf6380a246758bbcd4
4
+ data.tar.gz: 32048f12d421b194977d2e255de4130bed5a787e
5
5
  SHA512:
6
- metadata.gz: a9da8aef7d8db0730a650136689e512686a1b4f2332ce7a7bb1eec5a5d62aa12b280dd8d56d5c39a1cec63956206d4bfdf957e3952f3f02f83360852eba5f065
7
- data.tar.gz: 48a64ef3a959e0abbb99fc36b7572424c56ea8cbdd2619a446288865354760452d6bde8e14c229a5476c1e51985718d1b1187b0ef1cb9ddbaadd86a52a5186df
6
+ metadata.gz: 0fc16639e8f5dd246720186ac1dae6f91c70c8bce8cd2b502fe8563c72d8d7972c1a489152c36abe8ebd0478b5584992ebec8b04c0468537598b79b8be793cef
7
+ data.tar.gz: 558fe310c69d88e2032458587b522c2882decc8a8c86f5568a69cb66eef68e1b4eef55e6b5b3572051df89addfa88e4678addf8ce4077420e4d8fd98f112ab46
@@ -1,5 +1,5 @@
1
1
  module Spree
2
2
  def self.version
3
- '2.3.7'
3
+ '2.3.8'
4
4
  end
5
5
  end
@@ -37,7 +37,9 @@ module Spree
37
37
  end
38
38
 
39
39
  before do
40
- allow_any_instance_of(Api::BaseController).to receive(:try_spree_current_user).and_return(Spree.user_class.new)
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, :type => :controller
60
- config.extend Spree::TestingSupport::AuthorizationHelpers::Request, :type => :feature
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.7
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-02-23 00:00:00.000000000 Z
11
+ date: 2015-03-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemerchant