spree_auth_devise 3.2.0 → 3.3.0.rc1
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 +4 -4
- data/.gitignore +1 -0
- data/.travis.yml +2 -6
- data/CHANGELOG.md +4 -0
- data/db/migrate/20101026184949_create_users.rb +1 -6
- data/db/migrate/20101026184950_rename_columns_for_devise.rb +1 -6
- data/db/migrate/20101214150824_convert_user_remember_field.rb +1 -6
- data/db/migrate/20120203010234_add_reset_password_sent_at_to_spree_users.rb +1 -6
- data/db/migrate/20120605211305_make_users_email_index_unique.rb +1 -6
- data/db/migrate/20140904000425_add_deleted_at_to_users.rb +1 -6
- data/db/migrate/20141002154641_add_confirmable_to_users.rb +1 -6
- data/db/migrate/20150416152553_add_missing_indices_on_user.rb +1 -6
- data/lib/spree_auth_devise.rb +1 -0
- data/spree_auth_devise.gemspec +3 -2
- metadata +19 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 00ee544f32a77e5009bd75f40a63a9239f7603f4
|
4
|
+
data.tar.gz: 590e403c68026a11b3356b43140bc710a7cd0815
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f34286f6ea5c83aa5b3a234cf211b129971ed001dcbe08cda011d403bcf189635d9d64aa76c268eaeacd711717e5a9e6d2861260cd2437a9f89c0391313cfc41
|
7
|
+
data.tar.gz: a355c9c22d2137444924c569bf1a3da2772a1e277c989dc11c814cc14ed318fe0d75569ba721aa340c39876b2aafe20227d40884255c16a474f190063b0880fd
|
data/.gitignore
CHANGED
data/.travis.yml
CHANGED
@@ -20,9 +20,5 @@ gemfile:
|
|
20
20
|
- gemfiles/spree_3_2.gemfile
|
21
21
|
- gemfiles/spree_master.gemfile
|
22
22
|
|
23
|
-
|
24
|
-
|
25
|
-
packages:
|
26
|
-
- mysql-server-5.6
|
27
|
-
- mysql-client-core-5.6
|
28
|
-
- mysql-client-5.6
|
23
|
+
before_install:
|
24
|
+
- mysql -u root -e "GRANT ALL ON *.* TO 'travis'@'%';"
|
data/CHANGELOG.md
CHANGED
@@ -1,9 +1,4 @@
|
|
1
|
-
|
2
|
-
class CreateUsers < ActiveRecord::Migration[4.2]; end
|
3
|
-
else
|
4
|
-
class CreateUsers < ActiveRecord::Migration; end
|
5
|
-
end
|
6
|
-
CreateUsers.class_eval do
|
1
|
+
class CreateUsers < SpreeExtension::Migration[4.2]
|
7
2
|
def up
|
8
3
|
unless data_source_exists?("spree_users")
|
9
4
|
create_table "spree_users", force: true do |t|
|
@@ -1,9 +1,4 @@
|
|
1
|
-
|
2
|
-
class RenameColumnsForDevise < ActiveRecord::Migration[4.2]; end
|
3
|
-
else
|
4
|
-
class RenameColumnsForDevise < ActiveRecord::Migration; end
|
5
|
-
end
|
6
|
-
RenameColumnsForDevise.class_eval do
|
1
|
+
class RenameColumnsForDevise < SpreeExtension::Migration[4.2]
|
7
2
|
def up
|
8
3
|
return if column_exists?(:spree_users, :password_salt)
|
9
4
|
rename_column :spree_users, :crypted_password, :encrypted_password
|
@@ -1,9 +1,4 @@
|
|
1
|
-
|
2
|
-
class ConvertUserRememberField < ActiveRecord::Migration[4.2]; end
|
3
|
-
else
|
4
|
-
class ConvertUserRememberField < ActiveRecord::Migration; end
|
5
|
-
end
|
6
|
-
ConvertUserRememberField.class_eval do
|
1
|
+
class ConvertUserRememberField < SpreeExtension::Migration[4.2]
|
7
2
|
def up
|
8
3
|
remove_column :spree_users, :remember_created_at
|
9
4
|
add_column :spree_users, :remember_created_at, :datetime
|
@@ -1,9 +1,4 @@
|
|
1
|
-
|
2
|
-
class AddResetPasswordSentAtToSpreeUsers < ActiveRecord::Migration[4.2]; end
|
3
|
-
else
|
4
|
-
class AddResetPasswordSentAtToSpreeUsers < ActiveRecord::Migration; end
|
5
|
-
end
|
6
|
-
AddResetPasswordSentAtToSpreeUsers.class_eval do
|
1
|
+
class AddResetPasswordSentAtToSpreeUsers < SpreeExtension::Migration[4.2]
|
7
2
|
def change
|
8
3
|
Spree::User.reset_column_information
|
9
4
|
unless Spree::User.column_names.include?("reset_password_sent_at")
|
@@ -1,9 +1,4 @@
|
|
1
|
-
|
2
|
-
class MakeUsersEmailIndexUnique < ActiveRecord::Migration[4.2]; end
|
3
|
-
else
|
4
|
-
class MakeUsersEmailIndexUnique < ActiveRecord::Migration; end
|
5
|
-
end
|
6
|
-
MakeUsersEmailIndexUnique.class_eval do
|
1
|
+
class MakeUsersEmailIndexUnique < SpreeExtension::Migration[4.2]
|
7
2
|
def up
|
8
3
|
add_index "spree_users", ["email"], name: "email_idx_unique", unique: true
|
9
4
|
end
|
@@ -1,9 +1,4 @@
|
|
1
|
-
|
2
|
-
class AddDeletedAtToUsers < ActiveRecord::Migration[4.2]; end
|
3
|
-
else
|
4
|
-
class AddDeletedAtToUsers < ActiveRecord::Migration; end
|
5
|
-
end
|
6
|
-
AddDeletedAtToUsers.class_eval do
|
1
|
+
class AddDeletedAtToUsers < SpreeExtension::Migration[4.2]
|
7
2
|
def change
|
8
3
|
add_column :spree_users, :deleted_at, :datetime
|
9
4
|
add_index :spree_users, :deleted_at
|
@@ -1,9 +1,4 @@
|
|
1
|
-
|
2
|
-
class AddConfirmableToUsers < ActiveRecord::Migration[4.2]; end
|
3
|
-
else
|
4
|
-
class AddConfirmableToUsers < ActiveRecord::Migration; end
|
5
|
-
end
|
6
|
-
AddConfirmableToUsers.class_eval do
|
1
|
+
class AddConfirmableToUsers < SpreeExtension::Migration[4.2]
|
7
2
|
def change
|
8
3
|
add_column :spree_users, :confirmation_token, :string
|
9
4
|
add_column :spree_users, :confirmed_at, :datetime
|
@@ -1,9 +1,4 @@
|
|
1
|
-
|
2
|
-
class AddMissingIndicesOnUser < ActiveRecord::Migration[4.2]; end
|
3
|
-
else
|
4
|
-
class AddMissingIndicesOnUser < ActiveRecord::Migration; end
|
5
|
-
end
|
6
|
-
AddMissingIndicesOnUser.class_eval do
|
1
|
+
class AddMissingIndicesOnUser < SpreeExtension::Migration[4.2]
|
7
2
|
def change
|
8
3
|
unless index_exists?(:spree_users, :bill_address_id)
|
9
4
|
add_index :spree_users, :bill_address_id
|
data/lib/spree_auth_devise.rb
CHANGED
data/spree_auth_devise.gemspec
CHANGED
@@ -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 = '3.
|
6
|
+
s.version = '3.3.0.rc1'
|
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
|
|
@@ -12,7 +12,7 @@ Gem::Specification.new do |s|
|
|
12
12
|
s.author = 'Sean Schofield'
|
13
13
|
s.email = 'sean@spreecommerce.com'
|
14
14
|
s.homepage = 'http://spreecommerce.com'
|
15
|
-
s.license = 'BSD-3'
|
15
|
+
s.license = 'BSD-3-Clause'
|
16
16
|
|
17
17
|
s.files = `git ls-files`.split("\n")
|
18
18
|
s.test_files = `git ls-files -- spec/*`.split("\n")
|
@@ -24,6 +24,7 @@ Gem::Specification.new do |s|
|
|
24
24
|
|
25
25
|
spree_version = '>= 3.1.0', '< 4.0'
|
26
26
|
s.add_dependency 'spree_core', spree_version
|
27
|
+
s.add_dependency 'spree_extension'
|
27
28
|
|
28
29
|
s.add_development_dependency 'capybara', '~> 2.7'
|
29
30
|
s.add_development_dependency 'capybara-screenshot'
|
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: 3.
|
4
|
+
version: 3.3.0.rc1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sean Schofield
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-07-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: devise
|
@@ -58,6 +58,20 @@ dependencies:
|
|
58
58
|
- - "<"
|
59
59
|
- !ruby/object:Gem::Version
|
60
60
|
version: '4.0'
|
61
|
+
- !ruby/object:Gem::Dependency
|
62
|
+
name: spree_extension
|
63
|
+
requirement: !ruby/object:Gem::Requirement
|
64
|
+
requirements:
|
65
|
+
- - ">="
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: '0'
|
68
|
+
type: :runtime
|
69
|
+
prerelease: false
|
70
|
+
version_requirements: !ruby/object:Gem::Requirement
|
71
|
+
requirements:
|
72
|
+
- - ">="
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: '0'
|
61
75
|
- !ruby/object:Gem::Dependency
|
62
76
|
name: capybara
|
63
77
|
requirement: !ruby/object:Gem::Requirement
|
@@ -471,7 +485,7 @@ files:
|
|
471
485
|
- spree_auth_devise.gemspec
|
472
486
|
homepage: http://spreecommerce.com
|
473
487
|
licenses:
|
474
|
-
- BSD-3
|
488
|
+
- BSD-3-Clause
|
475
489
|
metadata: {}
|
476
490
|
post_install_message:
|
477
491
|
rdoc_options: []
|
@@ -484,9 +498,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
484
498
|
version: 2.2.7
|
485
499
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
486
500
|
requirements:
|
487
|
-
- - "
|
501
|
+
- - ">"
|
488
502
|
- !ruby/object:Gem::Version
|
489
|
-
version:
|
503
|
+
version: 1.3.1
|
490
504
|
requirements:
|
491
505
|
- none
|
492
506
|
rubyforge_project:
|