eac_users_support 0.9.1 → 0.9.5

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: e7a6a8edfbb43be0b55d1dd7664c14b2fe11af4e3ec097a6879800346134c0fb
4
- data.tar.gz: '0940eab06fa13e9fbd8aa1c1abef8e5884c8dab56ce73136a2177e530cd1a5a9'
3
+ metadata.gz: dbca08d6c462c8927b9ff71dcb7ceeb58c8f7249e823dd8f57b028386d832e10
4
+ data.tar.gz: c7b29abf561ae128bd021d5cfcc034b396193ec1232611cbf9a7679f0894c385
5
5
  SHA512:
6
- metadata.gz: 3bfbe10bd2159d282e5db21b33e4778d10bf6e5301655b78f0d0c8231f1830ef53e73238721c3561256cda99c84a1c96d2a78909c83b6695a91330020e52b31d
7
- data.tar.gz: f02a595fd97643a2c95dc30b52930f3763c461aabea0674680aa53143f6396c514b9251352a18324853abec978b63e3070269f6125b7040ca09a45ea8ae5ab04
6
+ metadata.gz: e17ad1043d8e7ac3c4a3e588ff35ead1ef2bc190250193b7206771a1f92381a35b2ce9eeab6528ea5bb5976e3df94bf7032226509165689430488904e0e73957
7
+ data.tar.gz: b86fe83057c7fff23d8b070cf29e8aa0b3ece6f6809e67e8507f001210da7fd8e64c0e1607ffb345e9fa6714e5a10a4ae006a57fa85adb0a003e1ee4e36fd673
@@ -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.1'
4
+ VERSION = '0.9.5'
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,29 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eac_users_support
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.1
4
+ version: 0.9.5
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
- - !ruby/object:Gem::Dependency
14
- name: active_scaffold
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - ">="
18
- - !ruby/object:Gem::Version
19
- version: 3.4.33
20
- type: :runtime
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - ">="
25
- - !ruby/object:Gem::Version
26
- version: 3.4.33
27
13
  - !ruby/object:Gem::Dependency
28
14
  name: devise
29
15
  requirement: !ruby/object:Gem::Requirement
@@ -64,6 +50,20 @@ dependencies:
64
50
  - - ">="
65
51
  - !ruby/object:Gem::Version
66
52
  version: 1.7.5
53
+ - !ruby/object:Gem::Dependency
54
+ name: eac_active_scaffold
55
+ requirement: !ruby/object:Gem::Requirement
56
+ requirements:
57
+ - - "~>"
58
+ - !ruby/object:Gem::Version
59
+ version: '0.1'
60
+ type: :runtime
61
+ prerelease: false
62
+ version_requirements: !ruby/object:Gem::Requirement
63
+ requirements:
64
+ - - "~>"
65
+ - !ruby/object:Gem::Version
66
+ version: '0.1'
67
67
  - !ruby/object:Gem::Dependency
68
68
  name: eac_ruby_utils
69
69
  requirement: !ruby/object:Gem::Requirement
@@ -112,20 +112,14 @@ dependencies:
112
112
  requirements:
113
113
  - - "~>"
114
114
  - !ruby/object:Gem::Version
115
- version: '0.1'
116
- - - ">="
117
- - !ruby/object:Gem::Version
118
- version: 0.1.1
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.1'
126
- - - ">="
127
- - !ruby/object:Gem::Version
128
- version: 0.1.1
122
+ version: '0.2'
129
123
  description:
130
124
  email:
131
125
  executables: []
@@ -149,6 +143,7 @@ files:
149
143
  - config/locales/devise.pt-BR.yml
150
144
  - config/locales/devise_invitable.en.yml
151
145
  - config/locales/devise_invitable.pt-BR.yml
146
+ - config/locales/en.yml
152
147
  - config/locales/pt-BR.yml
153
148
  - config/routes.rb
154
149
  - db/migrate/20160605013848_create_eac_users_support_users.rb