spree_core 2.4.4 → 2.4.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
  SHA1:
3
- metadata.gz: 76d8eb3d2479f484668fccc5c1795f1c62b7b67e
4
- data.tar.gz: 4ce1d1792d8bb2ff623031b86240639d11ecf369
3
+ metadata.gz: 87fb0ca165c108a20ebe59aac875f51993d7893e
4
+ data.tar.gz: e3d57525e215f995bcd5461e7882b1948b2c2f10
5
5
  SHA512:
6
- metadata.gz: 4155e9f4bb960e904001621025b0416c414df65b516729927d39d94e7803e152bbe66ab565e22af23ecb19e2fc93eacaeb33f3f9d4a3e5d03633498795921254
7
- data.tar.gz: 412392484d25315800fc78802ac24a82d2780ad2bd187fb649426bb0244091a16f5ffc0037ea96e070f8eedab43dbbacce4212416c4b5d262ac233c654c6a4a4
6
+ metadata.gz: f3a6480f68ab69613d6ee3db64bee5b02d5a1b3bbc7a989c083a5dd1b2f2ffa13508ce33267c17a9e58d964dfcba2887af127ee713c5e1e3704cdd4e4ad053c8
7
+ data.tar.gz: dfebb91aa974e2a86fb4b7f78202740fcc726eb8e997a4d98efd0fce012f9083e936e80c6eb980a8774b5ddd8e1feee5426ba07ae72422d0e585b1f76f863c1f
@@ -1,5 +1,5 @@
1
1
  module Spree
2
2
  def self.version
3
- "2.4.4"
3
+ "2.4.5"
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.4.4
4
+ version: 2.4.5
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