spree_auth_devise 4.0.0.rc2 → 4.0.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of spree_auth_devise might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3bd194ed9eb91f84ac2e23e55550e5ad19620c53bdd9d1be39bb0cc21ba2412d
4
- data.tar.gz: e5cbde0bc175fad0cea460e53eaa1ac6216412044d9557c7a964f4f00186c147
3
+ metadata.gz: fa05d3638b5f55b4d34d7fac9d9eb3cddf96eeb473f1d08fb6fc8ca479095e93
4
+ data.tar.gz: 5199a26bce744922a94d8364061020c9a7e7d45c7631398a19879a780b619ed5
5
5
  SHA512:
6
- metadata.gz: da728a02b621de5f0d2f46d09b09e7e3886c62eb4856ed08a991fa6b8117cb6d57432f6f9cdb5348f9e105cfcc60ffe61b0795e840c1d716ed0e72af6dd38224
7
- data.tar.gz: 1c43394077a9847aed202a49a103830fbd0da359be5c4c120d19e57f395e8d018aa63a7b55186681b468458949715e9d1853545a8e90d0fed286a85e8414734e
6
+ metadata.gz: b773b386f23743e4097751f8e471f34f984a4e34c6f20638ae6e011605c11dbb459d56c898c7b729053b59eafb30fd8aff3f481cd6dc8dda674c71cd668ba406
7
+ data.tar.gz: dbf83d876e7b4a8c86b8776e56462ab4c7cc33105db55d944d920cbbc96415ce4516fb981e9105650096591b400e38f4a00fd5a9da11518b710dc04d6d8636b0
@@ -18,10 +18,9 @@ language: ruby
18
18
  rvm:
19
19
  - 2.5.1
20
20
  - 2.4.4
21
- - 2.3.7
21
+ - 2.3.8
22
22
 
23
23
  gemfile:
24
- - gemfiles/spree_3_2.gemfile
25
24
  - gemfiles/spree_3_5.gemfile
26
25
  - gemfiles/spree_3_7.gemfile
27
26
  - gemfiles/spree_4_0.gemfile
@@ -31,18 +30,14 @@ matrix:
31
30
  allow_failures:
32
31
  - gemfile: gemfiles/spree_master.gemfile
33
32
  exclude:
34
- - rvm: 2.3.7
33
+ - rvm: 2.3.8
35
34
  gemfile: gemfiles/spree_4_0.gemfile
36
35
  - rvm: 2.4.4
37
36
  gemfile: gemfiles/spree_4_0.gemfile
38
- - rvm: 2.3.7
37
+ - rvm: 2.3.8
39
38
  gemfile: gemfiles/spree_master.gemfile
40
39
  - rvm: 2.4.4
41
40
  gemfile: gemfiles/spree_master.gemfile
42
- - rvm: 2.5.1
43
- gemfile: gemfiles/spree_3_2.gemfile
44
- - rvm: 2.5.1
45
- gemfile: gemfiles/spree_3_2.gemfile
46
41
  - rvm: 2.5.1
47
42
  gemfile: gemfiles/spree_3_5.gemfile
48
43
 
data/Appraisals CHANGED
@@ -1,8 +1,3 @@
1
- appraise 'spree-3-2' do
2
- gem 'spree', '~> 3.2.0'
3
- gem 'rails-controller-testing'
4
- end
5
-
6
1
  appraise 'spree-3-5' do
7
2
  gem 'spree', '~> 3.5.0'
8
3
  gem 'rails-controller-testing'
@@ -10,12 +5,12 @@ end
10
5
 
11
6
  appraise 'spree-3-7' do
12
7
  gem 'sass-rails'
13
- gem 'spree', '~> 3.7.0.rc3'
8
+ gem 'spree', '~> 3.7.0'
14
9
  gem 'rails-controller-testing'
15
10
  end
16
11
 
17
12
  appraise 'spree-4-0' do
18
- gem 'spree', github: 'spree/spree', tag: 'v4.0.0.beta'
13
+ gem 'spree', '~> 4.0.0.rc2'
19
14
  gem 'rails-controller-testing'
20
15
  end
21
16
 
@@ -24,7 +24,7 @@ class Spree::UsersController < Spree::StoreController
24
24
  end
25
25
 
26
26
  def update
27
- if @user.update_attributes(user_params)
27
+ if @user.update(user_params)
28
28
  if params[:user][:password].present?
29
29
  # this logic needed b/c devise wants to log us out after password changes
30
30
  Spree::User.reset_password_by_token(params[:user])
@@ -129,7 +129,7 @@ RSpec.describe Spree::CheckoutController, type: :controller do
129
129
 
130
130
  it 'does not check registration' do
131
131
  controller.stub :check_authorization
132
- order.stub update_attributes: true
132
+ order.stub update: true
133
133
  controller.should_not_receive :check_registration
134
134
  spree_put :update_registration, { order: {} }
135
135
  end
@@ -142,7 +142,7 @@ RSpec.describe Spree::CheckoutController, type: :controller do
142
142
  end
143
143
 
144
144
  it 'redirects to the checkout_path after saving' do
145
- allow(order).to receive(:update_attributes) { true }
145
+ allow(order).to receive(:update) { true }
146
146
  allow(controller).to receive(:check_authorization)
147
147
  spree_put :update_registration, { order: { email: 'jobs@spreecommerce.com' } }
148
148
  expect(response).to redirect_to spree.checkout_state_path(:address)
@@ -154,7 +154,7 @@ RSpec.describe Spree::CheckoutController, type: :controller do
154
154
  else
155
155
  request.cookie_jar.signed[:guest_token] = token
156
156
  end
157
- allow(order).to receive(:update_attributes) { true }
157
+ allow(order).to receive(:update) { true }
158
158
  expect(controller).to receive(:authorize!).with(:edit, order, token)
159
159
  spree_put :update_registration, { order: { email: 'jobs@spreecommerce.com' } }
160
160
  end
@@ -3,7 +3,7 @@
3
3
  Gem::Specification.new do |s|
4
4
  s.platform = Gem::Platform::RUBY
5
5
  s.name = 'spree_auth_devise'
6
- s.version = '4.0.0.rc2'
6
+ s.version = '4.0.0'
7
7
  s.summary = 'Provides authentication and authorization services for use with Spree by using Devise and CanCan.'
8
8
  s.description = s.summary
9
9
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spree_auth_devise
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0.rc2
4
+ version: 4.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Schofield
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-09-09 00:00:00.000000000 Z
11
+ date: 2019-09-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: devise
@@ -533,9 +533,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
533
533
  version: 2.2.7
534
534
  required_rubygems_version: !ruby/object:Gem::Requirement
535
535
  requirements:
536
- - - ">"
536
+ - - ">="
537
537
  - !ruby/object:Gem::Version
538
- version: 1.3.1
538
+ version: '0'
539
539
  requirements:
540
540
  - none
541
541
  rubygems_version: 3.0.2