eac_tools 0.56.0 → 0.57.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +8 -8
- data/lib/eac_tools/version.rb +1 -1
- data/sub/avm-eac_asciidoctor_base0/avm-eac_asciidoctor_base0.gemspec +2 -2
- data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instances/build/document/{header_macro_value.rb → header_lines.rb} +1 -1
- data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instances/build/document.rb +4 -3
- data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/version.rb +1 -1
- data/sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/source_generators/base_spec_files/no_options/content/body.adoc +0 -2
- data/sub/avm-eac_asciidoctor_base0/template/avm/eac_asciidoctor_base0/source_generators/base/content/body.adoc +0 -2
- data/sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/{apache_host.rb → instances/apache_host.rb} +3 -1
- data/sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/instances/apache_path.rb +21 -0
- data/sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/instances/base.rb +1 -0
- data/sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/instances/deploy.rb +55 -0
- data/sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/version.rb +1 -1
- data/sub/avm-eac_rails_base0/spec/lib/avm/eac_rails_base0/{apache_host_spec.rb → instances/apache_host_spec.rb} +2 -2
- data/sub/avm-eac_rails_base0/spec/lib/avm/eac_rails_base0/{apache_path_spec.rb → instances/apache_path_spec.rb} +2 -2
- metadata +17 -23
- data/sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/apache_path.rb +0 -19
- data/sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/deploy.rb +0 -53
- /data/sub/avm-eac_rails_base0/spec/lib/avm/eac_rails_base0/{apache_host_spec_files → instances/apache_host_spec_files}/apache_host_spec_no_ssl_content.conf +0 -0
- /data/sub/avm-eac_rails_base0/spec/lib/avm/eac_rails_base0/{apache_path_spec_files → instances/apache_path_spec_files}/stub-app_0_apache_path.conf +0 -0
- /data/sub/avm-eac_rails_base0/template/avm/eac_rails_base0/{apache_path → instances/apache_path}/extra_content.conf +0 -0
- /data/sub/avm-eac_rails_base0/template/avm/eac_rails_base0/{deploy → instances/deploy}/config/database.yml.template +0 -0
- /data/sub/avm-eac_rails_base0/template/avm/eac_rails_base0/{deploy → instances/deploy}/config/envvars.d/email.yml.template +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a88a109b74daae9bda081b8b736f011d52a0a96ea8c1a1ee330e1b1e9559bbd0
|
4
|
+
data.tar.gz: 7ddb4fc53c371c53cbc403df93f87ff89762e9f83cf9e414d5499d83a1ed5f2d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7295ff7568e29474205b29bcacb0e01e87b258a2b9dcebb3e9b493342c70cef68666c069520510c83e3922677425d7099234721de4168964c7ae6496f14d31bc
|
7
|
+
data.tar.gz: 4c4db4f4870442e8761b5eefd060ace77db5ba6dd468c510fdbea114979c1a2e2c6e8d6e6e894d7efd91b4e0b4cbbfb32ed65ded65402e0ce855b6c3a54714a7
|
data/Gemfile.lock
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
eac_tools (0.
|
4
|
+
eac_tools (0.57.0)
|
5
5
|
avm (~> 0.66)
|
6
|
-
avm-eac_asciidoctor_base0 (~> 0.
|
6
|
+
avm-eac_asciidoctor_base0 (~> 0.16)
|
7
7
|
avm-eac_generic_base0 (~> 0.12)
|
8
8
|
avm-eac_latex_base0 (~> 0.3)
|
9
9
|
avm-eac_php_base0 (~> 0.4, >= 0.4.1)
|
10
10
|
avm-eac_postgresql_base0 (~> 0.2, >= 0.2.3)
|
11
11
|
avm-eac_python_base0 (~> 0.2, >= 0.2.1)
|
12
|
-
avm-eac_rails_base0 (~> 0.
|
12
|
+
avm-eac_rails_base0 (~> 0.10)
|
13
13
|
avm-eac_rails_base1 (~> 0.8, >= 0.8.1)
|
14
14
|
avm-eac_redmine_base0 (~> 0.18, >= 0.18.2)
|
15
15
|
avm-eac_redmine_plugin_base0 (~> 0.4)
|
@@ -37,10 +37,10 @@ PATH
|
|
37
37
|
PATH
|
38
38
|
remote: sub/avm-eac_asciidoctor_base0
|
39
39
|
specs:
|
40
|
-
avm-eac_asciidoctor_base0 (0.
|
40
|
+
avm-eac_asciidoctor_base0 (0.16.0)
|
41
41
|
asciidoctor (~> 2.0, >= 2.0.18)
|
42
|
-
avm-eac_webapp_base0 (~> 0.
|
43
|
-
eac_ruby_utils (~> 0.
|
42
|
+
avm-eac_webapp_base0 (~> 0.14)
|
43
|
+
eac_ruby_utils (~> 0.112)
|
44
44
|
os (~> 1.1, >= 1.1.4)
|
45
45
|
rouge (~> 3.30)
|
46
46
|
|
@@ -84,7 +84,7 @@ PATH
|
|
84
84
|
PATH
|
85
85
|
remote: sub/avm-eac_rails_base0
|
86
86
|
specs:
|
87
|
-
avm-eac_rails_base0 (0.
|
87
|
+
avm-eac_rails_base0 (0.10.0)
|
88
88
|
avm-eac_rails_base1 (~> 0.8, >= 0.8.1)
|
89
89
|
eac_ruby_utils (~> 0.112)
|
90
90
|
|
@@ -272,7 +272,7 @@ GEM
|
|
272
272
|
minitest (>= 5.1)
|
273
273
|
tzinfo (~> 2.0)
|
274
274
|
zeitwerk (~> 2.3)
|
275
|
-
addressable (2.8.
|
275
|
+
addressable (2.8.2)
|
276
276
|
public_suffix (>= 2.0.2, < 6.0)
|
277
277
|
asciidoctor (2.0.18)
|
278
278
|
ast (2.4.2)
|
data/lib/eac_tools/version.rb
CHANGED
@@ -13,8 +13,8 @@ Gem::Specification.new do |s|
|
|
13
13
|
s.files = Dir['{lib,template}/**/*']
|
14
14
|
|
15
15
|
s.add_dependency 'asciidoctor', '~> 2.0', '>= 2.0.18'
|
16
|
-
s.add_dependency 'avm-eac_webapp_base0', '~> 0.
|
17
|
-
s.add_dependency 'eac_ruby_utils', '~> 0.
|
16
|
+
s.add_dependency 'avm-eac_webapp_base0', '~> 0.14'
|
17
|
+
s.add_dependency 'eac_ruby_utils', '~> 0.112'
|
18
18
|
s.add_dependency 'os', '~> 1.1', '>= 1.1.4'
|
19
19
|
s.add_dependency 'rouge', '~> 3.30'
|
20
20
|
|
data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instances/build/document.rb
CHANGED
@@ -50,9 +50,10 @@ module Avm
|
|
50
50
|
|
51
51
|
# @return [String]
|
52
52
|
def pre_processed_body_source_content
|
53
|
-
|
54
|
-
|
55
|
-
|
53
|
+
(
|
54
|
+
header_lines + [''] + source_document.body_path.read.each_line
|
55
|
+
.flat_map { |line| pre_process_line(line.rstrip) }
|
56
|
+
).map { |line| "#{line.rstrip}\n" }.join
|
56
57
|
end
|
57
58
|
|
58
59
|
def tree_documents_count
|
data/sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/{apache_host.rb → instances/apache_host.rb}
RENAMED
@@ -4,7 +4,9 @@ require 'avm/eac_rails_base1/instances/apache_host'
|
|
4
4
|
|
5
5
|
module Avm
|
6
6
|
module EacRailsBase0
|
7
|
-
|
7
|
+
module Instances
|
8
|
+
class ApacheHost < ::Avm::EacRailsBase1::Instances::ApacheHost
|
9
|
+
end
|
8
10
|
end
|
9
11
|
end
|
10
12
|
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'eac_templates/core_ext'
|
4
|
+
require 'avm/eac_webapp_base0/instances/apache_path'
|
5
|
+
require 'eac_ruby_utils/core_ext'
|
6
|
+
|
7
|
+
module Avm
|
8
|
+
module EacRailsBase0
|
9
|
+
module Instances
|
10
|
+
class ApachePath < ::Avm::EacWebappBase0::Instances::ApachePath
|
11
|
+
def document_root
|
12
|
+
::File.join(super, 'public')
|
13
|
+
end
|
14
|
+
|
15
|
+
def extra_content
|
16
|
+
template.child('extra_content.conf').apply(instance)
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
@@ -0,0 +1,55 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'eac_templates/core_ext'
|
4
|
+
require 'avm/eac_webapp_base0/instances/deploy'
|
5
|
+
require 'avm/instances/entry_keys'
|
6
|
+
|
7
|
+
module Avm
|
8
|
+
module EacRailsBase0
|
9
|
+
module Instances
|
10
|
+
class Deploy < ::Avm::EacWebappBase0::Instances::Deploy
|
11
|
+
set_callback :assert_instance_branch, :after do
|
12
|
+
bundle_install
|
13
|
+
assert_database
|
14
|
+
database_migrate
|
15
|
+
compile_assets
|
16
|
+
restart_tasks_scheduler
|
17
|
+
touch_restart_file
|
18
|
+
end
|
19
|
+
|
20
|
+
def assert_database
|
21
|
+
infom 'Asserting database...'
|
22
|
+
instance.pg.assert
|
23
|
+
end
|
24
|
+
|
25
|
+
def bundle_install
|
26
|
+
infom 'Running "bundle install"...'
|
27
|
+
instance.bundle('install').system!
|
28
|
+
end
|
29
|
+
|
30
|
+
def compile_assets
|
31
|
+
infom 'Compiling assets...'
|
32
|
+
instance.rake('assets:clean', 'assets:precompile').system!
|
33
|
+
end
|
34
|
+
|
35
|
+
def database_migrate
|
36
|
+
infom 'Running database migrations...'
|
37
|
+
instance.rake('db:migrate').system!
|
38
|
+
end
|
39
|
+
|
40
|
+
def restart_tasks_scheduler
|
41
|
+
infom 'Restarting Tasks Scheduler\'s daemon...'
|
42
|
+
instance.bundle('exec', 'tasks_scheduler', 'restart').system!
|
43
|
+
end
|
44
|
+
|
45
|
+
def touch_restart_file
|
46
|
+
infom 'Touching restart file...'
|
47
|
+
instance.host_env.command(
|
48
|
+
'touch', ::File.join(instance.read_entry(::Avm::Instances::EntryKeys::INSTALL_PATH),
|
49
|
+
'tmp', 'restart.txt')
|
50
|
+
).system!
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
@@ -1,9 +1,9 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require 'avm/eac_rails_base0/apache_host'
|
3
|
+
require 'avm/eac_rails_base0/instances/apache_host'
|
4
4
|
require 'avm/eac_rails_base0/instances/base'
|
5
5
|
|
6
|
-
RSpec.describe ::Avm::EacRailsBase0::ApacheHost do
|
6
|
+
RSpec.describe ::Avm::EacRailsBase0::Instances::ApacheHost do
|
7
7
|
describe '#no_ssl_site_content' do
|
8
8
|
let(:instance) { ::Avm::EacRailsBase0::Instances::Base.by_id('stub-app_0') }
|
9
9
|
let(:apache_host) { described_class.new(instance) }
|
@@ -1,9 +1,9 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require 'avm/eac_rails_base0/apache_path'
|
3
|
+
require 'avm/eac_rails_base0/instances/apache_path'
|
4
4
|
require 'avm/eac_rails_base0/instances/base'
|
5
5
|
|
6
|
-
RSpec.describe ::Avm::EacRailsBase0::ApachePath do
|
6
|
+
RSpec.describe ::Avm::EacRailsBase0::Instances::ApachePath do
|
7
7
|
describe '#no_ssl_site_content' do
|
8
8
|
let(:instance) { ::Avm::EacRailsBase0::Instances::Base.by_id('stub-app_0') }
|
9
9
|
let(:apache_path) { described_class.new(instance) }
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eac_tools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.57.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Put here the authors
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-04-
|
11
|
+
date: 2023-04-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: avm
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '0.
|
33
|
+
version: '0.16'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '0.
|
40
|
+
version: '0.16'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: avm-eac_generic_base0
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -132,20 +132,14 @@ dependencies:
|
|
132
132
|
requirements:
|
133
133
|
- - "~>"
|
134
134
|
- !ruby/object:Gem::Version
|
135
|
-
version: '0.
|
136
|
-
- - ">="
|
137
|
-
- !ruby/object:Gem::Version
|
138
|
-
version: 0.9.1
|
135
|
+
version: '0.10'
|
139
136
|
type: :runtime
|
140
137
|
prerelease: false
|
141
138
|
version_requirements: !ruby/object:Gem::Requirement
|
142
139
|
requirements:
|
143
140
|
- - "~>"
|
144
141
|
- !ruby/object:Gem::Version
|
145
|
-
version: '0.
|
146
|
-
- - ">="
|
147
|
-
- !ruby/object:Gem::Version
|
148
|
-
version: 0.9.1
|
142
|
+
version: '0.10'
|
149
143
|
- !ruby/object:Gem::Dependency
|
150
144
|
name: avm-eac_rails_base1
|
151
145
|
requirement: !ruby/object:Gem::Requirement
|
@@ -376,7 +370,7 @@ files:
|
|
376
370
|
- sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instances/build.rb
|
377
371
|
- sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instances/build/document.rb
|
378
372
|
- sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instances/build/document/child_docs_macro_value.rb
|
379
|
-
- sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instances/build/document/
|
373
|
+
- sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instances/build/document/header_lines.rb
|
380
374
|
- sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instances/build/document/pre_process_line.rb
|
381
375
|
- sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instances/deploy.rb
|
382
376
|
- sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/source_generators.rb
|
@@ -518,23 +512,23 @@ files:
|
|
518
512
|
- sub/avm-eac_rails_base0/Gemfile
|
519
513
|
- sub/avm-eac_rails_base0/avm-eac_rails_base0.gemspec
|
520
514
|
- sub/avm-eac_rails_base0/lib/avm/eac_rails_base0.rb
|
521
|
-
- sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/apache_host.rb
|
522
|
-
- sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/apache_path.rb
|
523
|
-
- sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/deploy.rb
|
524
515
|
- sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/instances.rb
|
516
|
+
- sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/instances/apache_host.rb
|
517
|
+
- sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/instances/apache_path.rb
|
525
518
|
- sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/instances/base.rb
|
519
|
+
- sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/instances/deploy.rb
|
526
520
|
- sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/source_generators/base.rb
|
527
521
|
- sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/sources/base.rb
|
528
522
|
- sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/version.rb
|
529
|
-
- sub/avm-eac_rails_base0/spec/lib/avm/eac_rails_base0/apache_host_spec.rb
|
530
|
-
- sub/avm-eac_rails_base0/spec/lib/avm/eac_rails_base0/apache_host_spec_files/apache_host_spec_no_ssl_content.conf
|
531
|
-
- sub/avm-eac_rails_base0/spec/lib/avm/eac_rails_base0/apache_path_spec.rb
|
532
|
-
- sub/avm-eac_rails_base0/spec/lib/avm/eac_rails_base0/apache_path_spec_files/stub-app_0_apache_path.conf
|
523
|
+
- sub/avm-eac_rails_base0/spec/lib/avm/eac_rails_base0/instances/apache_host_spec.rb
|
524
|
+
- sub/avm-eac_rails_base0/spec/lib/avm/eac_rails_base0/instances/apache_host_spec_files/apache_host_spec_no_ssl_content.conf
|
525
|
+
- sub/avm-eac_rails_base0/spec/lib/avm/eac_rails_base0/instances/apache_path_spec.rb
|
526
|
+
- sub/avm-eac_rails_base0/spec/lib/avm/eac_rails_base0/instances/apache_path_spec_files/stub-app_0_apache_path.conf
|
533
527
|
- sub/avm-eac_rails_base0/spec/rubocop_spec.rb
|
534
528
|
- sub/avm-eac_rails_base0/spec/spec_helper.rb
|
535
|
-
- sub/avm-eac_rails_base0/template/avm/eac_rails_base0/apache_path/extra_content.conf
|
536
|
-
- sub/avm-eac_rails_base0/template/avm/eac_rails_base0/deploy/config/database.yml.template
|
537
|
-
- sub/avm-eac_rails_base0/template/avm/eac_rails_base0/deploy/config/envvars.d/email.yml.template
|
529
|
+
- sub/avm-eac_rails_base0/template/avm/eac_rails_base0/instances/apache_path/extra_content.conf
|
530
|
+
- sub/avm-eac_rails_base0/template/avm/eac_rails_base0/instances/deploy/config/database.yml.template
|
531
|
+
- sub/avm-eac_rails_base0/template/avm/eac_rails_base0/instances/deploy/config/envvars.d/email.yml.template
|
538
532
|
- sub/avm-eac_rails_base0/template/avm/eac_rails_base0/source_generators/base/Gemfile
|
539
533
|
- sub/avm-eac_rails_base0/template/avm/eac_rails_base0/source_generators/base/Rakefile
|
540
534
|
- sub/avm-eac_rails_base0/template/avm/eac_rails_base0/source_generators/base/app/assets/config/manifest.js
|
@@ -1,19 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require 'eac_templates/core_ext'
|
4
|
-
require 'avm/eac_webapp_base0/instances/apache_path'
|
5
|
-
require 'eac_ruby_utils/core_ext'
|
6
|
-
|
7
|
-
module Avm
|
8
|
-
module EacRailsBase0
|
9
|
-
class ApachePath < ::Avm::EacWebappBase0::Instances::ApachePath
|
10
|
-
def document_root
|
11
|
-
::File.join(super, 'public')
|
12
|
-
end
|
13
|
-
|
14
|
-
def extra_content
|
15
|
-
template.child('extra_content.conf').apply(instance)
|
16
|
-
end
|
17
|
-
end
|
18
|
-
end
|
19
|
-
end
|
@@ -1,53 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require 'eac_templates/core_ext'
|
4
|
-
require 'avm/eac_webapp_base0/instances/deploy'
|
5
|
-
require 'avm/instances/entry_keys'
|
6
|
-
|
7
|
-
module Avm
|
8
|
-
module EacRailsBase0
|
9
|
-
class Deploy < ::Avm::EacWebappBase0::Instances::Deploy
|
10
|
-
set_callback :assert_instance_branch, :after do
|
11
|
-
bundle_install
|
12
|
-
assert_database
|
13
|
-
database_migrate
|
14
|
-
compile_assets
|
15
|
-
restart_tasks_scheduler
|
16
|
-
touch_restart_file
|
17
|
-
end
|
18
|
-
|
19
|
-
def assert_database
|
20
|
-
infom 'Asserting database...'
|
21
|
-
instance.pg.assert
|
22
|
-
end
|
23
|
-
|
24
|
-
def bundle_install
|
25
|
-
infom 'Running "bundle install"...'
|
26
|
-
instance.bundle('install').system!
|
27
|
-
end
|
28
|
-
|
29
|
-
def compile_assets
|
30
|
-
infom 'Compiling assets...'
|
31
|
-
instance.rake('assets:clean', 'assets:precompile').system!
|
32
|
-
end
|
33
|
-
|
34
|
-
def database_migrate
|
35
|
-
infom 'Running database migrations...'
|
36
|
-
instance.rake('db:migrate').system!
|
37
|
-
end
|
38
|
-
|
39
|
-
def restart_tasks_scheduler
|
40
|
-
infom 'Restarting Tasks Scheduler\'s daemon...'
|
41
|
-
instance.bundle('exec', 'tasks_scheduler', 'restart').system!
|
42
|
-
end
|
43
|
-
|
44
|
-
def touch_restart_file
|
45
|
-
infom 'Touching restart file...'
|
46
|
-
instance.host_env.command(
|
47
|
-
'touch', ::File.join(instance.read_entry(::Avm::Instances::EntryKeys::INSTALL_PATH),
|
48
|
-
'tmp', 'restart.txt')
|
49
|
-
).system!
|
50
|
-
end
|
51
|
-
end
|
52
|
-
end
|
53
|
-
end
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|