spree_auth_devise 4.6.1 → 4.6.2

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: a01a57a067f83b53429e57919cb6264127b28a10dfa7005536c2531479b5f314
4
- data.tar.gz: b969026ace1d170c5ad4c23f00b78ae178a352abfd244ae3e9afdee5a8940e81
3
+ metadata.gz: a93a69fbef65dbe24e35b5b4843ddf60f3b606741410a46443eaa7e2175b07af
4
+ data.tar.gz: e45fa978ecb687066e3b91b7fff3448b7b1929c059f7205e722165ac30115451
5
5
  SHA512:
6
- metadata.gz: '09f792afd1cc2b5f2e3c39c075ad628c23e0bb4ef9b9a6ff049ec1f390bc02cb2037568517e854ed815020aa651d4842320d8fff4772d973f095cdca1afe638f'
7
- data.tar.gz: b3d8113dd54a4eff67acc34c323b0a09805224a4da0414d703a28213807b341311e5d9da8d4784a33c15bbc1fe6e90b8161e8c877d43a1424f1300cfa87357e4
6
+ metadata.gz: de61916b72487f6ebb3dd73d72c42ed5c74392179ab0c5010d3c77a4292336d0ccc714ba7aa730790686ac69c2764d85b31f3ef10ce2a2f2492803f821d7bd4e
7
+ data.tar.gz: 8e2c928362a205de32170ff673c1d884d34583ff8e48960c533ffff13f8167ee393cef06526eeb799060021874a170e4d4e49592b4338f64f991387bd9b99d02
data/db/default/users.rb CHANGED
@@ -71,7 +71,7 @@ end
71
71
 
72
72
  if Spree::User.admin.empty?
73
73
  create_admin_user
74
- else
74
+ elsif !ENV['AUTO_ACCEPT']
75
75
  puts 'Admin user has already been previously created.'
76
76
  if agree('Would you like to create a new admin user? (yes/no)')
77
77
  create_admin_user
@@ -1,6 +1,5 @@
1
1
  class Spree::UsersController < Spree::StoreController
2
2
  before_action :set_current_order, except: :show
3
- prepend_before_action :authorize_actions, only: :new
4
3
 
5
4
  include Spree::Core::ControllerHelpers
6
5
 
@@ -1,6 +1,6 @@
1
1
  module Spree
2
2
  module Auth
3
- VERSION = '4.6.1'.freeze
3
+ VERSION = '4.6.2'.freeze
4
4
 
5
5
  def gem_version
6
6
  Gem::Version.new(VERSION)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spree_auth_devise
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.6.1
4
+ version: 4.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Schofield
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2024-02-27 00:00:00.000000000 Z
12
+ date: 2024-04-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: devise
@@ -212,9 +212,9 @@ licenses:
212
212
  - BSD-3-Clause
213
213
  metadata:
214
214
  bug_tracker_uri: https://github.com/spree/spree_auth_devise/issues
215
- changelog_uri: https://github.com/spree/spree_auth_devise/releases/tag/v4.6.1
215
+ changelog_uri: https://github.com/spree/spree_auth_devise/releases/tag/v4.6.2
216
216
  documentation_uri: https://guides.spreecommerce.org/
217
- source_code_uri: https://github.com/spree/spree_auth_devise/tree/v4.6.1
217
+ source_code_uri: https://github.com/spree/spree_auth_devise/tree/v4.6.2
218
218
  post_install_message:
219
219
  rdoc_options: []
220
220
  require_paths: