avmtrf1-tools 0.31.2 → 0.33.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/avmtrf1/active_directory/user.rb +3 -3
- data/lib/avmtrf1/core_ext.rb +4 -0
- data/lib/avmtrf1/default_jira.rb +2 -2
- data/lib/avmtrf1/executables.rb +10 -2
- data/lib/avmtrf1/git/cached_repository.rb +2 -2
- data/lib/avmtrf1/git/issue_on_repository.rb +2 -2
- data/lib/avmtrf1/git/push_large.rb +4 -4
- data/lib/avmtrf1/git/push_large/lfs_commit.rb +5 -10
- data/lib/avmtrf1/git/push_large/lfs_commit/cache.rb +19 -0
- data/lib/avmtrf1/git/push_large/lfs_commit/checkout_previous_revision.rb +35 -0
- data/lib/avmtrf1/git/push_large/lfs_commit/commit_changes.rb +48 -0
- data/lib/avmtrf1/git/push_large/lfs_commit/helpers.rb +29 -0
- data/lib/avmtrf1/git/push_large/lfs_commit/pick_source_revision.rb +103 -0
- data/lib/avmtrf1/git/push_large/lfs_commit/push.rb +90 -0
- data/lib/avmtrf1/git/push_large/lfs_commit/track_large_files.rb +53 -0
- data/lib/avmtrf1/git/push_large/source_commit.rb +4 -7
- data/lib/avmtrf1/git/push_large/source_commit/push.rb +42 -0
- data/lib/avmtrf1/inventario_sistemas/site_build/html_page_base.rb +1 -1
- data/lib/avmtrf1/openvpn/config/builder.rb +59 -0
- data/lib/avmtrf1/openvpn/config/parser.rb +20 -0
- data/lib/avmtrf1/openvpn/config/parser/builder.rb +62 -0
- data/lib/avmtrf1/openvpn/config/parser/line.rb +47 -0
- data/lib/avmtrf1/openvpn/config/parser/simple.rb +27 -0
- data/lib/avmtrf1/openvpn/config/parser/tag.rb +39 -0
- data/lib/avmtrf1/patches.rb +3 -0
- data/lib/avmtrf1/patches/avm.rb +4 -0
- data/lib/avmtrf1/patches/avm/git.rb +4 -0
- data/lib/avmtrf1/patches/avm/git/issue.rb +4 -0
- data/lib/avmtrf1/patches/avm/launcher.rb +4 -0
- data/lib/avmtrf1/patches/avm/launcher/git.rb +4 -0
- data/lib/avmtrf1/patches/avm/launcher/git/base.rb +46 -0
- data/lib/avmtrf1/red/helper.rb +2 -2
- data/lib/avmtrf1/template.rb +2 -2
- data/lib/avmtrf1/tools/application.rb +13 -0
- data/lib/avmtrf1/tools/runner.rb +18 -25
- data/lib/avmtrf1/tools/runner/check_point.rb +8 -14
- data/lib/avmtrf1/tools/runner/check_point/login.rb +7 -20
- data/lib/avmtrf1/tools/runner/esosti.rb +9 -21
- data/lib/avmtrf1/tools/runner/esosti/changed.rb +10 -23
- data/lib/avmtrf1/tools/runner/esosti/fetch.rb +10 -23
- data/lib/avmtrf1/tools/runner/esosti/request.rb +18 -30
- data/lib/avmtrf1/tools/runner/forponto.rb +14 -24
- data/lib/avmtrf1/tools/runner/forponto/espelho.rb +12 -22
- data/lib/avmtrf1/tools/runner/forponto/marcacoes.rb +8 -19
- data/lib/avmtrf1/tools/runner/forponto/resumos.rb +8 -20
- data/lib/avmtrf1/tools/runner/forponto/saldo.rb +11 -22
- data/lib/avmtrf1/tools/runner/git.rb +3 -5
- data/lib/avmtrf1/tools/runner/git/issues_check.rb +8 -19
- data/lib/avmtrf1/tools/runner/git/push_large.rb +28 -19
- data/lib/avmtrf1/tools/runner/inventario_sistemas.rb +7 -9
- data/lib/avmtrf1/tools/runner/openvpn.rb +91 -0
- data/lib/avmtrf1/tools/runner/oracle.rb +16 -23
- data/lib/avmtrf1/tools/runner/oracle/query.rb +10 -14
- data/lib/avmtrf1/tools/runner/oracle/source_get.rb +18 -19
- data/lib/avmtrf1/tools/runner/oracle/user_clear.rb +8 -16
- data/lib/avmtrf1/tools/runner/php.rb +8 -15
- data/lib/avmtrf1/tools/runner/php/docker.rb +21 -31
- data/lib/avmtrf1/tools/runner/red.rb +22 -26
- data/lib/avmtrf1/tools/runner/trf1_dspace_base0.rb +10 -19
- data/lib/avmtrf1/tools/runner/trf1_dspace_base0/deploy.rb +2 -2
- data/lib/avmtrf1/tools/version.rb +1 -1
- data/template/avmtrf1/php/docker_image/Dockerfile.template +4 -1
- metadata +30 -93
- data/lib/avmtrf1/configs.rb +0 -24
- data/lib/avmtrf1/git/push_large/lfs_commit/_00_checkout_previous_revision.rb +0 -33
- data/lib/avmtrf1/git/push_large/lfs_commit/_01_cherry_pick_source_revision.rb +0 -89
- data/lib/avmtrf1/git/push_large/lfs_commit/_02_track_large_files.rb +0 -51
- data/lib/avmtrf1/git/push_large/lfs_commit/_03_commit_changes.rb +0 -46
- data/lib/avmtrf1/git/push_large/lfs_commit/_04_push.rb +0 -88
- data/lib/avmtrf1/git/push_large/lfs_commit/_cache.rb +0 -17
- data/lib/avmtrf1/git/push_large/lfs_commit/_helpers.rb +0 -27
- data/lib/avmtrf1/git/push_large/source_commit/_push.rb +0 -40
- data/lib/avmtrf1/patches/eac_launcher/git/base.rb +0 -43
@@ -1,29 +1,22 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
+
require 'avmtrf1/core_ext'
|
3
4
|
require 'avmtrf1/oracle/connection/base.rb'
|
4
5
|
require 'avmtrf1/oracle/connection/string_builder.rb'
|
5
|
-
require 'eac_ruby_utils/core_ext'
|
6
6
|
|
7
7
|
module Avmtrf1
|
8
8
|
module Tools
|
9
|
-
class Runner
|
10
|
-
class Oracle
|
9
|
+
class Runner
|
10
|
+
class Oracle
|
11
11
|
require_sub __FILE__
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
-h --help Show this screen
|
21
|
-
-H --host=<host> Host Oracle (Ex.: 172.16.3.3)
|
22
|
-
-p --port=<port> Porta Oracle (Ex.: 1521) (Padrão: 1521).
|
23
|
-
-s --service-name=<service> Serviço Oracle (Ex.: trf1.trf1.gov.br)
|
24
|
-
-u --user=<user> Usuário Oracle
|
25
|
-
-w --password=<password> Senha Oracle
|
26
|
-
DOCOPT
|
12
|
+
runner_with :help, :subcommands do
|
13
|
+
arg_opt '-H', '--host', 'Host Oracle (Ex.: 172.16.3.3)'
|
14
|
+
arg_opt '-p', '--port', 'Porta Oracle (Ex.: 1521) (Padrão: 1521)'
|
15
|
+
arg_opt '-s', '--service-name', 'Serviço Oracle (Ex.: trf1.trf1.gov.br)'
|
16
|
+
arg_opt '-u', '--user', 'Usuário Oracle'
|
17
|
+
arg_opt '-w', '--password', 'Senha Oracle'
|
18
|
+
subcommands
|
19
|
+
end
|
27
20
|
|
28
21
|
def connection
|
29
22
|
@connection ||= ::Avmtrf1::Oracle::Connection::Base.new(connection_string)
|
@@ -31,11 +24,11 @@ module Avmtrf1
|
|
31
24
|
|
32
25
|
def connection_string
|
33
26
|
::Avmtrf1::Oracle::Connection::StringBuilder.new(
|
34
|
-
host:
|
35
|
-
port:
|
36
|
-
user:
|
37
|
-
password:
|
38
|
-
service_name:
|
27
|
+
host: parsed.host,
|
28
|
+
port: parsed.port,
|
29
|
+
user: parsed.user,
|
30
|
+
password: parsed.password,
|
31
|
+
service_name: parsed.service_name
|
39
32
|
).build
|
40
33
|
end
|
41
34
|
end
|
@@ -1,20 +1,16 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require '
|
4
|
-
require 'eac_ruby_utils/console/docopt_runner'
|
5
|
-
require 'eac_ruby_utils/console/speaker'
|
3
|
+
require 'avmtrf1/core_ext'
|
6
4
|
|
7
5
|
module Avmtrf1
|
8
6
|
module Tools
|
9
|
-
class Runner
|
10
|
-
class Oracle
|
11
|
-
class Query
|
12
|
-
include ::EacCli::DefaultRunner
|
13
|
-
|
7
|
+
class Runner
|
8
|
+
class Oracle
|
9
|
+
class Query
|
14
10
|
DEFAULT_COLUMN_SEPARATOR = "\t"
|
15
11
|
DEFAULT_ROW_SEPARATOR = "\n"
|
16
12
|
|
17
|
-
|
13
|
+
runner_with :help do
|
18
14
|
desc 'Executa queries Oracle.'
|
19
15
|
arg_opt '-c', '--column-sep', 'Separator de colunas.'
|
20
16
|
bool_opt '-C', '--columns', 'Imprime o nome das colunas.'
|
@@ -32,7 +28,7 @@ module Avmtrf1
|
|
32
28
|
end
|
33
29
|
|
34
30
|
def print_header
|
35
|
-
return unless
|
31
|
+
return unless parsed.columns?
|
36
32
|
|
37
33
|
print_row(cursor.column_metadata.map(&:name))
|
38
34
|
end
|
@@ -46,7 +42,7 @@ module Avmtrf1
|
|
46
42
|
end
|
47
43
|
|
48
44
|
def print_footer
|
49
|
-
return unless
|
45
|
+
return unless parsed.count?
|
50
46
|
|
51
47
|
print_row(["Count: #{count}"])
|
52
48
|
end
|
@@ -54,11 +50,11 @@ module Avmtrf1
|
|
54
50
|
private
|
55
51
|
|
56
52
|
def column_separator_uncached
|
57
|
-
|
53
|
+
parsed.column_sep.if_present(DEFAULT_COLUMN_SEPARATOR)
|
58
54
|
end
|
59
55
|
|
60
56
|
def cursor_uncached
|
61
|
-
|
57
|
+
runner_context.call(:connection).query(parsed.sql)
|
62
58
|
end
|
63
59
|
|
64
60
|
def print_row(array)
|
@@ -66,7 +62,7 @@ module Avmtrf1
|
|
66
62
|
end
|
67
63
|
|
68
64
|
def row_separator_uncached
|
69
|
-
|
65
|
+
parsed.row_sep.if_present(DEFAULT_ROW_SEPARATOR)
|
70
66
|
end
|
71
67
|
end
|
72
68
|
end
|
@@ -1,32 +1,25 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require '
|
4
|
-
require 'eac_ruby_utils/console/speaker'
|
3
|
+
require 'avmtrf1/core_ext'
|
5
4
|
|
6
5
|
module Avmtrf1
|
7
6
|
module Tools
|
8
|
-
class Runner
|
9
|
-
class Oracle
|
10
|
-
class SourceGet
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
__PROGRAM__ [options] <name> <type>
|
16
|
-
__PROGRAM__ -h | --help
|
17
|
-
|
18
|
-
Options:
|
19
|
-
-h --help Show this screen
|
20
|
-
DOCOPT
|
7
|
+
class Runner
|
8
|
+
class Oracle
|
9
|
+
class SourceGet
|
10
|
+
runner_with :help do
|
11
|
+
pos_arg :name
|
12
|
+
pos_arg :type
|
13
|
+
end
|
21
14
|
|
22
15
|
TABLE = 'all_source'
|
23
16
|
|
24
17
|
def name
|
25
|
-
|
18
|
+
parsed.name
|
26
19
|
end
|
27
20
|
|
28
21
|
def type
|
29
|
-
|
22
|
+
parsed.type
|
30
23
|
end
|
31
24
|
|
32
25
|
def run
|
@@ -34,13 +27,13 @@ module Avmtrf1
|
|
34
27
|
infov('Type', type)
|
35
28
|
infov('Found', found_count)
|
36
29
|
infov('Enconding', OCI8.encoding)
|
37
|
-
|
30
|
+
connection.query(sql(false)) do |row|
|
38
31
|
out(row['TEXT'].encode('UTF-8').to_s)
|
39
32
|
end
|
40
33
|
end
|
41
34
|
|
42
35
|
def found_count
|
43
|
-
|
36
|
+
connection.unique_value(sql(true)).to_i
|
44
37
|
end
|
45
38
|
|
46
39
|
def sql(count)
|
@@ -49,6 +42,12 @@ module Avmtrf1
|
|
49
42
|
selection += " and lower(type) = lower('#{type}')" if type.present?
|
50
43
|
"select #{projection} from #{TABLE} where #{selection} order by line"
|
51
44
|
end
|
45
|
+
|
46
|
+
private
|
47
|
+
|
48
|
+
def connection
|
49
|
+
runner_context.call(:connection)
|
50
|
+
end
|
52
51
|
end
|
53
52
|
end
|
54
53
|
end
|
@@ -1,19 +1,15 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require '
|
4
|
-
require 'eac_ruby_utils/console/docopt_runner'
|
5
|
-
require 'eac_ruby_utils/console/speaker'
|
3
|
+
require 'avmtrf1/core_ext'
|
6
4
|
|
7
5
|
module Avmtrf1
|
8
6
|
module Tools
|
9
|
-
class Runner
|
10
|
-
class Oracle
|
11
|
-
class UserClear
|
12
|
-
include ::EacCli::DefaultRunner
|
13
|
-
|
7
|
+
class Runner
|
8
|
+
class Oracle
|
9
|
+
class UserClear
|
14
10
|
SELECTED_TYPES = %w[FUNCTION PACKAGE PROCEDURE SEQUENCE TABLE VIEW].freeze
|
15
11
|
|
16
|
-
|
12
|
+
runner_with :confirmation, :help do
|
17
13
|
desc 'Remove todos os objetos (Tabelas, views, etc) de um usuário Oracle.'
|
18
14
|
bool_opt '-y', '--yes', 'Remove sem perguntar.'
|
19
15
|
bool_opt '-d', '--drop', 'Remove os objetos.'
|
@@ -39,8 +35,8 @@ module Avmtrf1
|
|
39
35
|
end
|
40
36
|
|
41
37
|
def drop_objects
|
42
|
-
return unless
|
43
|
-
return unless confirm?
|
38
|
+
return unless parsed.drop
|
39
|
+
return unless confirm?('Confirma a remoção?')
|
44
40
|
|
45
41
|
infom 'Removendo objetos...'
|
46
42
|
objects.each do |object|
|
@@ -49,12 +45,8 @@ module Avmtrf1
|
|
49
45
|
end
|
50
46
|
end
|
51
47
|
|
52
|
-
def confirm?
|
53
|
-
options.fetch('--yes') || request_input('Confirma a remoção?', bool: true)
|
54
|
-
end
|
55
|
-
|
56
48
|
def owner_uncached
|
57
|
-
|
49
|
+
runner_context.call(:connection).objects.first(name: parsed.owner_name, type: :user)
|
58
50
|
end
|
59
51
|
|
60
52
|
def objects_uncached
|
@@ -1,24 +1,17 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require '
|
4
|
-
require 'eac_ruby_utils/require_sub'
|
3
|
+
require 'eac_cli/core_ext'
|
5
4
|
|
6
5
|
module Avmtrf1
|
7
6
|
module Tools
|
8
|
-
class Runner
|
9
|
-
class Php
|
10
|
-
|
7
|
+
class Runner
|
8
|
+
class Php
|
9
|
+
require_sub __FILE__
|
11
10
|
|
12
|
-
|
13
|
-
Utilidades para PHP.
|
14
|
-
|
15
|
-
|
16
|
-
__PROGRAM__ [options] __SUBCOMMANDS__
|
17
|
-
__PROGRAM__ -h | --help
|
18
|
-
|
19
|
-
Options:
|
20
|
-
-h --help Mostra esta ajuda.
|
21
|
-
DOCOPT
|
11
|
+
runner_with :help, :subcommands do
|
12
|
+
desc 'Utilidades para PHP.'
|
13
|
+
subcommands
|
14
|
+
end
|
22
15
|
end
|
23
16
|
end
|
24
17
|
end
|
@@ -1,33 +1,23 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
require 'avm/docker/registry'
|
4
|
-
require 'eac_ruby_utils/console/docopt_runner'
|
5
|
-
require 'eac_ruby_utils/core_ext'
|
6
4
|
require 'avmtrf1/php/docker_image'
|
5
|
+
require 'eac_cli/core_ext'
|
7
6
|
|
8
7
|
module Avmtrf1
|
9
8
|
module Tools
|
10
|
-
class Runner
|
11
|
-
class Php
|
12
|
-
class Docker
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
Options:
|
24
|
-
-h --help Mostra esta ajuda.
|
25
|
-
-d --default Adiciona as versões padrão.
|
26
|
-
-n --registry-name=<registry-name> Nome do registro.
|
27
|
-
-p --push Envia a imagem.
|
28
|
-
-S --no-snapshot Não adiciona "-snapshot" no nome da imagem.
|
29
|
-
-V --no-version Não adiciona a versão do gerador no nome da imagem.
|
30
|
-
DOCOPT
|
9
|
+
class Runner
|
10
|
+
class Php
|
11
|
+
class Docker
|
12
|
+
runner_with :help do
|
13
|
+
bool_opt '-h', '--help', 'Mostra esta ajuda.'
|
14
|
+
bool_opt '-d', '--default', 'Adiciona as versões padrão.'
|
15
|
+
arg_opt '-n', '--registry-name', 'Nome do registro.'
|
16
|
+
bool_opt '-p', '--push', 'Envia a imagem.'
|
17
|
+
bool_opt '-S', '--no-snapshot', 'Não adiciona "-snapshot" no nome da imagem.'
|
18
|
+
bool_opt '-V', '--no-version', 'Não adiciona a versão do gerador no nome da imagem.'
|
19
|
+
pos_arg :version, repeat: true, optional: true
|
20
|
+
end
|
31
21
|
|
32
22
|
def run
|
33
23
|
infov 'Versions to build', versions_to_s
|
@@ -37,8 +27,8 @@ module Avmtrf1
|
|
37
27
|
end
|
38
28
|
|
39
29
|
def default_versions
|
40
|
-
::
|
41
|
-
|
30
|
+
::Avm::Apps::Config.current.read_entry('php.default_versions').split(',').map(&:strip)
|
31
|
+
.reject(&:blank?)
|
42
32
|
end
|
43
33
|
|
44
34
|
def versions_to_s
|
@@ -51,8 +41,8 @@ module Avmtrf1
|
|
51
41
|
|
52
42
|
def versions
|
53
43
|
(
|
54
|
-
|
55
|
-
(
|
44
|
+
parsed.version +
|
45
|
+
(parsed.default? ? default_versions : [])
|
56
46
|
).uniq.sort
|
57
47
|
end
|
58
48
|
|
@@ -60,11 +50,11 @@ module Avmtrf1
|
|
60
50
|
image = build_image(version)
|
61
51
|
infom "Building Docker image \"#{image.tag}\""
|
62
52
|
image.build
|
63
|
-
image.push if
|
53
|
+
image.push if parsed.push?
|
64
54
|
end
|
65
55
|
|
66
56
|
def registry_name
|
67
|
-
|
57
|
+
parsed.registry_name || ::Avm::Apps::Config.current.read_entry('docker.registry.name')
|
68
58
|
end
|
69
59
|
|
70
60
|
def registry_uncached
|
@@ -73,8 +63,8 @@ module Avmtrf1
|
|
73
63
|
|
74
64
|
def build_image(php_version)
|
75
65
|
r = ::Avmtrf1::Php::DockerImage.new(registry, php_version)
|
76
|
-
r.send('version=', !
|
77
|
-
r.snapshot = !
|
66
|
+
r.send('version=', !parsed.no_version?)
|
67
|
+
r.snapshot = !parsed.no_snapshot?
|
78
68
|
r
|
79
69
|
end
|
80
70
|
end
|
@@ -1,34 +1,30 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require '
|
4
|
-
require 'eac_ruby_utils/console/speaker'
|
5
|
-
require 'eac_ruby_utils/simple_cache'
|
3
|
+
require 'avmtrf1/core_ext'
|
6
4
|
require 'avmtrf1/ini'
|
7
5
|
require 'avmtrf1/red/profile'
|
8
6
|
|
9
7
|
module Avmtrf1
|
10
8
|
module Tools
|
11
|
-
class Runner
|
12
|
-
class Red
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
9
|
+
class Runner
|
10
|
+
class Red
|
11
|
+
RED_PROFILE_DEFAULT = 'development'
|
12
|
+
|
13
|
+
runner_with :help do
|
14
|
+
desc 'Utilidades para RED.'
|
15
|
+
arg_opt '-i', '--red-ini', 'Arquivo red.ini com parâmetros de conexão e upload.'
|
16
|
+
arg_opt '-p', '--red-profile', 'Perfil/seção do red.ini' \
|
17
|
+
" [default: #{RED_PROFILE_DEFAULT}]."
|
18
|
+
arg_opt '--put', 'Envia um arquivo.'
|
19
|
+
end
|
22
20
|
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
-p --red-profile=<red-profile> Perfil/seção do red.ini [default: development].
|
27
|
-
DOCOPT
|
21
|
+
def put?
|
22
|
+
parsed.put.present?
|
23
|
+
end
|
28
24
|
|
29
25
|
def run
|
30
26
|
start_banner
|
31
|
-
if
|
27
|
+
if put?
|
32
28
|
file_put
|
33
29
|
else
|
34
30
|
fatal_error('Subcomando não mapeado (Isto é um defeito do software)')
|
@@ -36,9 +32,9 @@ module Avmtrf1
|
|
36
32
|
end
|
37
33
|
|
38
34
|
def start_banner
|
39
|
-
infov 'red.ini',
|
35
|
+
infov 'red.ini', parsed.red_ini
|
40
36
|
infov 'Perfil de red.ini', red_profile_name
|
41
|
-
infov 'Arquivo para upload',
|
37
|
+
infov 'Arquivo para upload', parsed.put
|
42
38
|
end
|
43
39
|
|
44
40
|
def file_put
|
@@ -50,7 +46,7 @@ module Avmtrf1
|
|
50
46
|
end
|
51
47
|
|
52
48
|
def red_profile_name
|
53
|
-
|
49
|
+
parsed.red_profile.if_present(RED_PROFILE_DEFAULT)
|
54
50
|
end
|
55
51
|
|
56
52
|
def red_profile_uncached
|
@@ -58,11 +54,11 @@ module Avmtrf1
|
|
58
54
|
end
|
59
55
|
|
60
56
|
def file
|
61
|
-
required_file(
|
57
|
+
required_file(:put)
|
62
58
|
end
|
63
59
|
|
64
60
|
def red_ini_path_uncached
|
65
|
-
required_file(
|
61
|
+
required_file(:red_ini)
|
66
62
|
end
|
67
63
|
|
68
64
|
def red_ini_uncached
|
@@ -76,7 +72,7 @@ module Avmtrf1
|
|
76
72
|
end
|
77
73
|
|
78
74
|
def required_file(option_key)
|
79
|
-
path =
|
75
|
+
path = parsed[option_key]
|
80
76
|
return path if path
|
81
77
|
|
82
78
|
fatal_error("Arquivo \"#{path}\" não existe (Informado na opção #{option_key})")
|