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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c416bde8da0e837612d21c9c997eb656de79a87c
4
- data.tar.gz: a23838fbc1f0174e88a8d122fe6c6f60d371b026
3
+ metadata.gz: 00ee544f32a77e5009bd75f40a63a9239f7603f4
4
+ data.tar.gz: 590e403c68026a11b3356b43140bc710a7cd0815
5
5
  SHA512:
6
- metadata.gz: 0d9c6d3684f8f057a2437e9ae81ef2dd0706c07eaf9c38cd0f6518755516612c298fcb700562804cd44777459ec136dc72f507cca8df3e3eaece28035889d2eb
7
- data.tar.gz: 51aeb6dc11bb728e0bae88f3f11ee7723a44998932e7a7bda84da8c1586e81582c49cd6e4567c70a51e03e1dd06987ce139f74eb615ecbf86c5ae5d95017a01e
6
+ metadata.gz: f34286f6ea5c83aa5b3a234cf211b129971ed001dcbe08cda011d403bcf189635d9d64aa76c268eaeacd711717e5a9e6d2861260cd2437a9f89c0391313cfc41
7
+ data.tar.gz: a355c9c22d2137444924c569bf1a3da2772a1e277c989dc11c814cc14ed318fe0d75569ba721aa340c39876b2aafe20227d40884255c16a474f190063b0880fd
data/.gitignore CHANGED
@@ -19,3 +19,4 @@ public/spree
19
19
  .ruby-version
20
20
  .ruby-gemset
21
21
  gemfiles/*.gemfile.lock
22
+ *.gem
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
- addons:
24
- apt:
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,3 +1,7 @@
1
+ ## Spree Auth Devise v3.3.0 (unreleased)
2
+
3
+ * `Rails 5.1` support with `spree_extension` gem for compatiblity with all Rails version 4.2+
4
+
1
5
  ## Spree Auth Devise v3.2.0 (2017-06-15)
2
6
 
3
7
  * `Rails 5` support
@@ -1,9 +1,4 @@
1
- if ActiveRecord.gem_version >= Gem::Version.new('5.0')
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
- if ActiveRecord.gem_version >= Gem::Version.new('5.0')
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
- if ActiveRecord.gem_version >= Gem::Version.new('5.0')
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
- if ActiveRecord.gem_version >= Gem::Version.new('5.0')
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
- if ActiveRecord.gem_version >= Gem::Version.new('5.0')
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
- if ActiveRecord.gem_version >= Gem::Version.new('5.0')
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
- if ActiveRecord.gem_version >= Gem::Version.new('5.0')
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
- if ActiveRecord.gem_version >= Gem::Version.new('5.0')
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
@@ -3,3 +3,4 @@ require 'spree/auth/devise'
3
3
  require 'spree/authentication_helpers'
4
4
  require 'coffee_script'
5
5
  require 'deface'
6
+ require 'spree_extension'
@@ -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.2.0'
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.2.0
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-06-15 00:00:00.000000000 Z
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: '0'
503
+ version: 1.3.1
490
504
  requirements:
491
505
  - none
492
506
  rubyforge_project: