eac_rails_base0 0.54.0 → 0.55.0

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: 59bd05d4b3afb7a339af9d57e08e4da3a31284e9be6c0178f73dcb4f44262359
4
- data.tar.gz: 1f09748d8a42d42ae35765b3104e7eda25a40f23c874d1d84119188103455ec2
3
+ metadata.gz: 96633b3ccfdc719249e98c99493d5e1dd1fd8200b7827abdb872c90da00c07fc
4
+ data.tar.gz: f611a56f2e790a3f662c2894a55371269cb9f771a0c8c769897838fb9ee99dd1
5
5
  SHA512:
6
- metadata.gz: 2ee7a63b776ef727792796a699c5e9e31d29a947c0d274f017eedea3e5cb750fdeea3a5b18ed772fb7eb17766ad3b9c8a75335719b748438f5762ce670ce4f50
7
- data.tar.gz: f56a0be90898ced09076f5fdcf16a35616d5586eec450027e8eabf63cf5fd549f14c63a76ceefda0507ea833fb6580ac21eaec6704b61e10f3428fb43c15cc8b
6
+ metadata.gz: 782d98f134bf8cd69f8504516e2b6868866a0c3a1c468044f872405ae0e6215004d52b7b70a1f346bc8534453692cce648a014f00472d2c42a9e56db8fe7282c
7
+ data.tar.gz: 9128b387a343b1ee71db6262f0ce4329c5575fae8444b21dddb0f6e89964d6c59896c618f0f16f987f52416af158407e15f5842338e3848e52f60cca7808d68c
@@ -8,9 +8,9 @@ module EacRailsBase0
8
8
  r[current_user.to_s] = {
9
9
  'Alterar senha' => [eac_users_support.edit_user_registration_path]
10
10
  }
11
- r['Sair'] = [eac_users_support.destroy_user_session_path, link_method: :delete]
11
+ r[t('devise.log_out')] = [eac_users_support.destroy_user_session_path, link_method: :delete]
12
12
  else
13
- r['Entrar'] = [eac_users_support.new_user_session_path]
13
+ r[t('devise.log_in')] = [eac_users_support.new_user_session_path]
14
14
  end
15
15
  r
16
16
  end
@@ -1,4 +1,8 @@
1
1
  en:
2
+ devise:
3
+ log_in: Log in
4
+ log_out: Log out
5
+ update_password: Update password
2
6
  eac_rails_base0:
3
7
  mailer:
4
8
  info: 'E-mail information'
@@ -6,7 +6,7 @@ module EacRailsBase0App
6
6
  class Application < Rails::Application
7
7
  module All
8
8
  common_concern do
9
- setup('assets_cache', 'dependencies', 'localization', 'load_paths', 'loggers')
9
+ setup('app_root', 'assets_cache', 'dependencies', 'localization', 'load_paths', 'loggers')
10
10
  end
11
11
 
12
12
  module ClassMethods
@@ -14,11 +14,10 @@ module EacRailsBase0App
14
14
  ::File.join(::Dir.tmpdir, ::Rails.root.to_path.parameterize, 'tmp')
15
15
  end
16
16
 
17
- def rails_root(dir)
18
- return dir if ::File.exist?(::File.join(dir, 'config.ru'))
19
- raise 'config.ru not found in ascendent path' if dir == '/'
17
+ def setup_app_root
18
+ return unless defined?(APP_PATH)
20
19
 
21
- rails_root(::File.dirname(dir))
20
+ config.root = find_root(APP_PATH)
22
21
  end
23
22
 
24
23
  def setup_assets_cache
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EacRailsBase0
4
- VERSION = '0.54.0'
4
+ VERSION = '0.55.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eac_rails_base0
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.54.0
4
+ version: 0.55.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Esquilo Azul Company
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-08-15 00:00:00.000000000 Z
11
+ date: 2021-08-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: active_scaffold
@@ -211,7 +211,7 @@ dependencies:
211
211
  version: '0.9'
212
212
  - - ">="
213
213
  - !ruby/object:Gem::Version
214
- version: 0.9.1
214
+ version: 0.9.3
215
215
  type: :runtime
216
216
  prerelease: false
217
217
  version_requirements: !ruby/object:Gem::Requirement
@@ -221,7 +221,7 @@ dependencies:
221
221
  version: '0.9'
222
222
  - - ">="
223
223
  - !ruby/object:Gem::Version
224
- version: 0.9.1
224
+ version: 0.9.3
225
225
  - !ruby/object:Gem::Dependency
226
226
  name: fog-aws
227
227
  requirement: !ruby/object:Gem::Requirement
@@ -500,20 +500,14 @@ dependencies:
500
500
  requirements:
501
501
  - - "~>"
502
502
  - !ruby/object:Gem::Version
503
- version: '0.1'
504
- - - ">="
505
- - !ruby/object:Gem::Version
506
- version: 0.1.1
503
+ version: '0.3'
507
504
  type: :development
508
505
  prerelease: false
509
506
  version_requirements: !ruby/object:Gem::Requirement
510
507
  requirements:
511
508
  - - "~>"
512
509
  - !ruby/object:Gem::Version
513
- version: '0.1'
514
- - - ">="
515
- - !ruby/object:Gem::Version
516
- version: 0.1.1
510
+ version: '0.3'
517
511
  description:
518
512
  email:
519
513
  executables: