eac_users_support 0.8.2 → 0.8.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/eac_users_support/admin/users_controller.rb +2 -1
- data/config/routes.rb +2 -2
- data/db/migrate/20160605013848_create_eac_users_support_users.rb +3 -1
- data/db/migrate/20160605035833_add_devise_authenticable_to_eac_users_support_users.rb +3 -1
- data/db/migrate/20180222202443_add_devise_rememberable_to_eac_users_support_users.rb +3 -1
- data/db/migrate/20180318181324_add_administrator_to_eac_users_support_users.rb +3 -1
- data/db/migrate/20200322051231_add_devise_invitable_to_eac_users_support_users.rb +3 -1
- data/db/migrate/20200322053003_add_devise_confirmable_to_eac_users_support_users.rb +3 -1
- data/db/migrate/20200324203335_add_recoverable_to_eac_users_support_users.rb +3 -1
- data/db/migrate/20200620215624_add_unconfirmed_email_to_eac_users_support_users.rb +3 -1
- data/lib/eac_users_support/version.rb +1 -1
- metadata +7 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 51159e5e2614f2537e09a4bfc8e8946116cb731d80e6a0470edb958106f27ccb
|
4
|
+
data.tar.gz: 332641fabe6b3608116d8109f9c149152fdb5ba038de333feea13a1d236b265b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bf8d3b65b3ad960e89754031a2dab6e3f641b000af0f91752a5c672ea607521c86383423826af2287d799e62d7f9e29026481486eea4c33dd66a1c90deeab792
|
7
|
+
data.tar.gz: c686529dda9d355e1a7a0914d1e766bd371b945bcfd49048143e4844222c7341aa8bccaf0e5fb83eb59be1feeba2470b6b95236a09f9e9a914547bacd700830c
|
@@ -14,9 +14,10 @@ module EacUsersSupport
|
|
14
14
|
type: :member, method: :put, position: false,
|
15
15
|
label: ::I18n.t(:'eac_users_support.password_reset.action')
|
16
16
|
conf.columns.exclude :encrypted_password
|
17
|
-
%w[create update
|
17
|
+
%w[create update].each do |action|
|
18
18
|
conf.send(action).columns.exclude :remember_created_at
|
19
19
|
end
|
20
|
+
conf.list.columns = %i[email administrator created_at confirmed_at]
|
20
21
|
end
|
21
22
|
|
22
23
|
def password_reset
|
data/config/routes.rb
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
EacUsersSupport::Engine.routes.draw do
|
4
|
+
concern :active_scaffold, ActiveScaffold::Routing::Basic.new(association: true)
|
4
5
|
namespace(:admin) do
|
5
|
-
resources(:users) do
|
6
|
-
as_routes
|
6
|
+
resources(:users, concerns: :active_scaffold) do
|
7
7
|
record_select_routes
|
8
8
|
member do
|
9
9
|
put :password_reset
|
@@ -1,6 +1,8 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
class CreateEacUsersSupportUsers <
|
3
|
+
class CreateEacUsersSupportUsers < (
|
4
|
+
Rails.version < '5' ? ActiveRecord::Migration : ActiveRecord::Migration[4.2]
|
5
|
+
)
|
4
6
|
def change
|
5
7
|
create_table :eac_users_support_users do |t|
|
6
8
|
t.string :email, null: false, default: ''
|
@@ -1,6 +1,8 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
class AddDeviseAuthenticableToEacUsersSupportUsers <
|
3
|
+
class AddDeviseAuthenticableToEacUsersSupportUsers < (
|
4
|
+
Rails.version < '5' ? ActiveRecord::Migration : ActiveRecord::Migration[4.2]
|
5
|
+
)
|
4
6
|
def change
|
5
7
|
add_column :eac_users_support_users, :encrypted_password, :string, null: false, default: ''
|
6
8
|
add_index :eac_users_support_users, :email, unique: true
|
@@ -1,6 +1,8 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
class AddDeviseRememberableToEacUsersSupportUsers <
|
3
|
+
class AddDeviseRememberableToEacUsersSupportUsers < (
|
4
|
+
Rails.version < '5' ? ActiveRecord::Migration : ActiveRecord::Migration[4.2]
|
5
|
+
)
|
4
6
|
def change
|
5
7
|
add_column :eac_users_support_users, :remember_created_at, :datetime
|
6
8
|
end
|
@@ -1,6 +1,8 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
class AddAdministratorToEacUsersSupportUsers <
|
3
|
+
class AddAdministratorToEacUsersSupportUsers < (
|
4
|
+
Rails.version < '5' ? ActiveRecord::Migration : ActiveRecord::Migration[4.2]
|
5
|
+
)
|
4
6
|
def change
|
5
7
|
add_column :eac_users_support_users, :administrator, :boolean, null: false, default: false
|
6
8
|
end
|
@@ -1,6 +1,8 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
class AddDeviseInvitableToEacUsersSupportUsers <
|
3
|
+
class AddDeviseInvitableToEacUsersSupportUsers < (
|
4
|
+
Rails.version < '5' ? ActiveRecord::Migration : ActiveRecord::Migration[4.2]
|
5
|
+
)
|
4
6
|
def up
|
5
7
|
change_table :eac_users_support_users do |t|
|
6
8
|
t.string :invitation_token
|
@@ -1,6 +1,8 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
class AddDeviseConfirmableToEacUsersSupportUsers <
|
3
|
+
class AddDeviseConfirmableToEacUsersSupportUsers < (
|
4
|
+
Rails.version < '5' ? ActiveRecord::Migration : ActiveRecord::Migration[4.2]
|
5
|
+
)
|
4
6
|
class Model < ::ActiveRecord::Base
|
5
7
|
self.table_name = :eac_users_support_users
|
6
8
|
end
|
@@ -1,6 +1,8 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
class AddRecoverableToEacUsersSupportUsers <
|
3
|
+
class AddRecoverableToEacUsersSupportUsers < (
|
4
|
+
Rails.version < '5' ? ActiveRecord::Migration : ActiveRecord::Migration[4.2]
|
5
|
+
)
|
4
6
|
def change
|
5
7
|
change_table :eac_users_support_users do |t|
|
6
8
|
t.string :reset_password_token
|
@@ -1,6 +1,8 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
class AddUnconfirmedEmailToEacUsersSupportUsers <
|
3
|
+
class AddUnconfirmedEmailToEacUsersSupportUsers < (
|
4
|
+
Rails.version < '5' ? ActiveRecord::Migration : ActiveRecord::Migration[4.2]
|
5
|
+
)
|
4
6
|
def change
|
5
7
|
add_column :eac_users_support_users, :unconfirmed_email, :string
|
6
8
|
end
|
metadata
CHANGED
@@ -1,27 +1,27 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eac_users_support
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Esquilo Azul Company
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-06-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: active_scaffold
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: 3.4.33
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 3.4.33
|
27
27
|
- !ruby/object:Gem::Dependency
|
@@ -112,20 +112,14 @@ dependencies:
|
|
112
112
|
requirements:
|
113
113
|
- - "~>"
|
114
114
|
- !ruby/object:Gem::Version
|
115
|
-
version: '0.
|
116
|
-
- - ">="
|
117
|
-
- !ruby/object:Gem::Version
|
118
|
-
version: 0.1.2
|
115
|
+
version: '0.2'
|
119
116
|
type: :development
|
120
117
|
prerelease: false
|
121
118
|
version_requirements: !ruby/object:Gem::Requirement
|
122
119
|
requirements:
|
123
120
|
- - "~>"
|
124
121
|
- !ruby/object:Gem::Version
|
125
|
-
version: '0.
|
126
|
-
- - ">="
|
127
|
-
- !ruby/object:Gem::Version
|
128
|
-
version: 0.1.2
|
122
|
+
version: '0.2'
|
129
123
|
- !ruby/object:Gem::Dependency
|
130
124
|
name: rspec-rails
|
131
125
|
requirement: !ruby/object:Gem::Requirement
|
@@ -212,7 +206,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
212
206
|
- !ruby/object:Gem::Version
|
213
207
|
version: '0'
|
214
208
|
requirements: []
|
215
|
-
rubygems_version: 3.0.
|
209
|
+
rubygems_version: 3.0.9
|
216
210
|
signing_key:
|
217
211
|
specification_version: 4
|
218
212
|
summary: Ready-to-use support for users registration, login, logout, etc, for Rails.
|