eac_users_support 0.9.2 → 0.9.6

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: e51cc0f1cf5316bd7762738f6e2306abbf135a76c47db71d302b6a59229c5d41
4
- data.tar.gz: 635e0a4e0ed7074349e2425e5378685141980a5072c0fde413d557d6fd4c2f48
3
+ metadata.gz: d967f1f7aad214fbf5af9a0b7fccb9b50576873d8e0d45e73de99d81eb4563b1
4
+ data.tar.gz: 0b5b4ee8bc7121be3209d28dbb93f87106372036f89314e17f6629bd7e700afd
5
5
  SHA512:
6
- metadata.gz: 76afa7764fe537060fecf6efdebcd5f40facbff1487ca2b84845b9bf11465f3ed3a9944541fad35500e69daa87cbe87a297540e8a275b7955396c2cde7ab50e3
7
- data.tar.gz: a448130cf7378f46bd3585e84e55400963b4ba02e170dcead23c0e1ad79534b0415c99a097f9116f1b3810f1fe9d2d9496b815598b8a4eb7726cecb5b90f2bce
6
+ metadata.gz: ffb4f20781c0dbeb306f616832a8076e2a1e3eb07aadcc3718acfe63893c35a760004c4359e1c2bca1207a5964efd82b87afa6430f9a5dfe1074ee6dd0d17e44
7
+ data.tar.gz: afeb82c0bb7466ffca9adeea2765ab1807ce368e633c877f27f5016b0897deced20447ff2e3954948f582aaeae684c760d43603810d25bb8e8dd3c6b50cab08f
@@ -11,4 +11,4 @@
11
11
  // about supported directives.
12
12
  //
13
13
  //= require_tree .
14
- //= require active_scaffold
14
+ //= require eac_active_scaffold
@@ -1 +1 @@
1
- @import 'active_scaffold';
1
+ @import 'eac_active_scaffold';
@@ -1,6 +1,12 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EacUsersSupport
4
- class ApplicationController < ::ApplicationController
4
+ class ApplicationController < (
5
+ begin
6
+ ::ApplicationController
7
+ rescue NameError
8
+ ::ActionController::Base
9
+ end
10
+ )
5
11
  end
6
12
  end
@@ -10,8 +10,8 @@ Devise.setup do |config|
10
10
  # confirmation, reset password and unlock tokens in the database.
11
11
  # Devise will use the `secret_key_base` as its `secret_key`
12
12
  # by default. You can change it below and use your own secret key.
13
- config.secret_key = '003771cf2e1d51041eb663ddd7a04f3b577a4f3a288cc91fded55e9d2b24d2f8bc' \
14
- '6fc29d55a38a45d6985e8b7a5c54f2680a8f149b0b01d6b73d70ca920c190c'
13
+ # config.secret_key = '003771cf2e1d51041eb663ddd7a04f3b577a4f3a288cc91fded55e9d2b24d2f8bc' \
14
+ # '6fc29d55a38a45d6985e8b7a5c54f2680a8f149b0b01d6b73d70ca920c190c'
15
15
 
16
16
  # ==> Mailer Configuration
17
17
  # Configure the e-mail address which will be shown in Devise::Mailer,
@@ -0,0 +1,20 @@
1
+ en:
2
+ activerecord:
3
+ attributes:
4
+ eac_users_support/user:
5
+ administrator: Administrator
6
+ current_password: Current password
7
+ email: E-mail
8
+ encrypted_password: Encrypted password
9
+ password: Password
10
+ password_confirmation: Password confirmation
11
+ remember_me: Remember me
12
+ models:
13
+ eac_users_support/user:
14
+ one: User
15
+ other: Users
16
+ eac_users_support:
17
+ password_reset:
18
+ action: Reset password
19
+ successful: User %{user}'s password updated to "%{password}".
20
+ failed: Faled to update user %{user}'s password.
data/config/routes.rb CHANGED
@@ -1,9 +1,8 @@
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)
5
4
  namespace(:admin) do
6
- resources(:users, concerns: :active_scaffold) do
5
+ resources(:users, concerns: active_scaffold) do
7
6
  record_select_routes
8
7
  member do
9
8
  put :password_reset
@@ -2,6 +2,7 @@
2
2
 
3
3
  require 'devise'
4
4
  require 'devise_invitable'
5
+ require 'eac_active_scaffold'
5
6
 
6
7
  module EacUsersSupport
7
8
  class Engine < ::Rails::Engine
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EacUsersSupport
4
- VERSION = '0.9.2'
4
+ VERSION = '0.9.6'
5
5
  end
@@ -1,7 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require 'recordselect'
4
- require 'active_scaffold'
5
4
  require 'eac_users_support/engine'
6
5
 
7
6
  module EacUsersSupport
metadata CHANGED
@@ -1,69 +1,69 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eac_users_support
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.2
4
+ version: 0.9.6
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: 2021-08-15 00:00:00.000000000 Z
11
+ date: 2021-09-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: active_scaffold
14
+ name: devise
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '4.6'
17
20
  - - ">="
18
21
  - !ruby/object:Gem::Version
19
- version: 3.4.33
22
+ version: 4.6.1
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
27
+ - - "~>"
28
+ - !ruby/object:Gem::Version
29
+ version: '4.6'
24
30
  - - ">="
25
31
  - !ruby/object:Gem::Version
26
- version: 3.4.33
32
+ version: 4.6.1
27
33
  - !ruby/object:Gem::Dependency
28
- name: devise
34
+ name: devise_invitable
29
35
  requirement: !ruby/object:Gem::Requirement
30
36
  requirements:
31
37
  - - "~>"
32
38
  - !ruby/object:Gem::Version
33
- version: '4.6'
39
+ version: '2.0'
34
40
  - - ">="
35
41
  - !ruby/object:Gem::Version
36
- version: 4.6.1
42
+ version: 2.0.5
37
43
  type: :runtime
38
44
  prerelease: false
39
45
  version_requirements: !ruby/object:Gem::Requirement
40
46
  requirements:
41
47
  - - "~>"
42
48
  - !ruby/object:Gem::Version
43
- version: '4.6'
49
+ version: '2.0'
44
50
  - - ">="
45
51
  - !ruby/object:Gem::Version
46
- version: 4.6.1
52
+ version: 2.0.5
47
53
  - !ruby/object:Gem::Dependency
48
- name: devise_invitable
54
+ name: eac_active_scaffold
49
55
  requirement: !ruby/object:Gem::Requirement
50
56
  requirements:
51
57
  - - "~>"
52
58
  - !ruby/object:Gem::Version
53
- version: '1.7'
54
- - - ">="
55
- - !ruby/object:Gem::Version
56
- version: 1.7.5
59
+ version: '0.1'
57
60
  type: :runtime
58
61
  prerelease: false
59
62
  version_requirements: !ruby/object:Gem::Requirement
60
63
  requirements:
61
64
  - - "~>"
62
65
  - !ruby/object:Gem::Version
63
- version: '1.7'
64
- - - ">="
65
- - !ruby/object:Gem::Version
66
- version: 1.7.5
66
+ version: '0.1'
67
67
  - !ruby/object:Gem::Dependency
68
68
  name: eac_ruby_utils
69
69
  requirement: !ruby/object:Gem::Requirement
@@ -143,6 +143,7 @@ files:
143
143
  - config/locales/devise.pt-BR.yml
144
144
  - config/locales/devise_invitable.en.yml
145
145
  - config/locales/devise_invitable.pt-BR.yml
146
+ - config/locales/en.yml
146
147
  - config/locales/pt-BR.yml
147
148
  - config/routes.rb
148
149
  - db/migrate/20160605013848_create_eac_users_support_users.rb