avm-tools 0.89.0 → 0.90.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/avm/{eac_writings_base1.rb → eac_asciidoctor_base0.rb} +1 -1
- data/lib/avm/{eac_writings_base1 → eac_asciidoctor_base0}/apache_host.rb +1 -1
- data/lib/avm/{eac_writings_base1 → eac_asciidoctor_base0}/build.rb +2 -2
- data/lib/avm/{eac_writings_base1 → eac_asciidoctor_base0}/build/file.rb +1 -1
- data/lib/avm/{eac_writings_base1 → eac_asciidoctor_base0}/deploy.rb +6 -6
- data/lib/avm/{eac_writings_base1 → eac_asciidoctor_base0}/instance.rb +1 -1
- data/lib/avm/{eac_writings_base1 → eac_asciidoctor_base0}/project.rb +1 -1
- data/lib/avm/tools/runner/{eac_writings_base1.rb → eac_asciidoctor_base0.rb} +2 -2
- data/lib/avm/tools/runner/local_project/{eac_writings_base1.rb → eac_asciidoctor_base0.rb} +2 -2
- data/lib/avm/tools/runner/local_project/{eac_writings_base1 → eac_asciidoctor_base0}/build.rb +5 -9
- data/lib/avm/tools/version.rb +1 -1
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/local_time_zone.rb +4 -0
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/version.rb +1 -1
- metadata +11 -12
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/time/default_time_zone_set.rb +0 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4b99793f17ad684a2f04156e2a2127eb7390095bc4c72f92312813773c9e9df8
|
4
|
+
data.tar.gz: '0417914a7d8ed5863a222bf4f80f3239bc3462e82bf43162b4c1dd5968fb24c4'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 84a5deb989dd5d1013a12bd1db132a9fabcf2bb998982f2437d958f0f0a68874eaad7dc99d261b7e2e7db4ae468b2c6ae7dde82ea254af0824dd6264dfb6aa66
|
7
|
+
data.tar.gz: 06ff0affee3bf3dbcf9781c37968fdbb575bf11409c5a8492953a6ebc2dad763d4c3004af6d6007d4a4dc4e9d8fb1f71baca87ce08b29ee957a925d633c4e259
|
@@ -4,7 +4,7 @@ require 'eac_ruby_utils/core_ext'
|
|
4
4
|
require 'eac_ruby_utils/fs/clearable_directory'
|
5
5
|
|
6
6
|
module Avm
|
7
|
-
module
|
7
|
+
module EacAsciidoctorBase0
|
8
8
|
class Build
|
9
9
|
require_sub __FILE__
|
10
10
|
enable_console_speaker
|
@@ -36,7 +36,7 @@ module Avm
|
|
36
36
|
project.root.children.each do |child|
|
37
37
|
next unless child.extname == '.asc'
|
38
38
|
|
39
|
-
r << ::Avm::
|
39
|
+
r << ::Avm::EacAsciidoctorBase0::Build::File.new(self, child.basename)
|
40
40
|
end
|
41
41
|
r
|
42
42
|
end
|
@@ -1,23 +1,23 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
require 'avm/eac_webapp_base0/deploy'
|
4
|
-
require 'avm/
|
5
|
-
require 'avm/
|
4
|
+
require 'avm/eac_asciidoctor_base0/project'
|
5
|
+
require 'avm/eac_asciidoctor_base0/build'
|
6
6
|
|
7
7
|
module Avm
|
8
|
-
module
|
8
|
+
module EacAsciidoctorBase0
|
9
9
|
class Deploy < ::Avm::EacWebappBase0::Deploy
|
10
10
|
def build_content
|
11
|
-
::Avm::
|
11
|
+
::Avm::EacAsciidoctorBase0::Build.new(
|
12
12
|
project,
|
13
|
-
::Avm::
|
13
|
+
::Avm::EacAsciidoctorBase0::Build::OPTION_TARGET_DIRECTORY => build_dir
|
14
14
|
).run
|
15
15
|
end
|
16
16
|
|
17
17
|
private
|
18
18
|
|
19
19
|
def project_uncached
|
20
|
-
::Avm::
|
20
|
+
::Avm::EacAsciidoctorBase0::Project.new(
|
21
21
|
instance.source_instance.read_entry(::Avm::Instances::EntryKeys::FS_PATH)
|
22
22
|
)
|
23
23
|
end
|
@@ -1,13 +1,13 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
require 'avm/eac_webapp_base0/runner'
|
4
|
-
require 'avm/
|
4
|
+
require 'avm/eac_asciidoctor_base0'
|
5
5
|
require 'eac_ruby_utils/console/docopt_runner'
|
6
6
|
|
7
7
|
module Avm
|
8
8
|
module Tools
|
9
9
|
class Runner
|
10
|
-
class
|
10
|
+
class EacAsciidoctorBase0 < ::Avm::EacWebappBase0::Runner
|
11
11
|
require_sub __FILE__
|
12
12
|
end
|
13
13
|
end
|
@@ -7,11 +7,11 @@ module Avm
|
|
7
7
|
module Tools
|
8
8
|
class Runner
|
9
9
|
class LocalProject
|
10
|
-
class
|
10
|
+
class EacAsciidoctorBase0
|
11
11
|
require_sub __FILE__
|
12
12
|
|
13
13
|
runner_with :help, :subcommands do
|
14
|
-
desc '
|
14
|
+
desc 'EacAsciidoctorBase0 utitilies for local projects.'
|
15
15
|
subcommands
|
16
16
|
end
|
17
17
|
|
data/lib/avm/tools/runner/local_project/{eac_writings_base1 → eac_asciidoctor_base0}/build.rb
RENAMED
@@ -1,7 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require 'avm/
|
4
|
-
require 'avm/
|
3
|
+
require 'avm/eac_asciidoctor_base0/build'
|
4
|
+
require 'avm/eac_asciidoctor_base0/project'
|
5
5
|
require 'eac_cli/core_ext'
|
6
6
|
require 'eac_ruby_utils/console/docopt_runner'
|
7
7
|
|
@@ -9,7 +9,7 @@ module Avm
|
|
9
9
|
module Tools
|
10
10
|
class Runner
|
11
11
|
class LocalProject
|
12
|
-
class
|
12
|
+
class EacAsciidoctorBase0
|
13
13
|
class Build
|
14
14
|
runner_with :help do
|
15
15
|
desc 'Build the project'
|
@@ -24,8 +24,8 @@ module Avm
|
|
24
24
|
private
|
25
25
|
|
26
26
|
def build_uncached
|
27
|
-
::Avm::
|
28
|
-
|
27
|
+
::Avm::EacAsciidoctorBase0::Build.new(runner_context.call(:project),
|
28
|
+
target_directory: parsed.target_dir)
|
29
29
|
end
|
30
30
|
|
31
31
|
def default_target_directory
|
@@ -36,10 +36,6 @@ module Avm
|
|
36
36
|
runner_context.call(:project_banner)
|
37
37
|
infov 'Target directory', build.target_directory
|
38
38
|
end
|
39
|
-
#
|
40
|
-
# def target_directory_uncached
|
41
|
-
# .if_present(default_target_directory).to_pathname
|
42
|
-
# end
|
43
39
|
end
|
44
40
|
end
|
45
41
|
end
|
data/lib/avm/tools/version.rb
CHANGED
@@ -14,6 +14,10 @@ module EacRubyUtils
|
|
14
14
|
%w[tz_env debian_config offset].lazy.map { |s| send("by_#{s}") }.find(&:present?)
|
15
15
|
end
|
16
16
|
|
17
|
+
def auto_set
|
18
|
+
::Time.zone = auto
|
19
|
+
end
|
20
|
+
|
17
21
|
def by_debian_config
|
18
22
|
path = ::Pathname.new(DEBIAN_CONFIG_PATH)
|
19
23
|
path.exist? ? path.read.strip.presence : nil
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: avm-tools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.90.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Esquilo Azul Company
|
@@ -290,6 +290,13 @@ files:
|
|
290
290
|
- lib/avm/docker/image.rb
|
291
291
|
- lib/avm/docker/registry.rb
|
292
292
|
- lib/avm/docker/runner.rb
|
293
|
+
- lib/avm/eac_asciidoctor_base0.rb
|
294
|
+
- lib/avm/eac_asciidoctor_base0/apache_host.rb
|
295
|
+
- lib/avm/eac_asciidoctor_base0/build.rb
|
296
|
+
- lib/avm/eac_asciidoctor_base0/build/file.rb
|
297
|
+
- lib/avm/eac_asciidoctor_base0/deploy.rb
|
298
|
+
- lib/avm/eac_asciidoctor_base0/instance.rb
|
299
|
+
- lib/avm/eac_asciidoctor_base0/project.rb
|
293
300
|
- lib/avm/eac_rails_base0.rb
|
294
301
|
- lib/avm/eac_rails_base0/apache_host.rb
|
295
302
|
- lib/avm/eac_rails_base0/apache_path.rb
|
@@ -348,13 +355,6 @@ files:
|
|
348
355
|
- lib/avm/eac_writings_base0/project_build.rb
|
349
356
|
- lib/avm/eac_writings_base0/project_build/chapters_content.rb
|
350
357
|
- lib/avm/eac_writings_base0/project_build/copy_files.rb
|
351
|
-
- lib/avm/eac_writings_base1.rb
|
352
|
-
- lib/avm/eac_writings_base1/apache_host.rb
|
353
|
-
- lib/avm/eac_writings_base1/build.rb
|
354
|
-
- lib/avm/eac_writings_base1/build/file.rb
|
355
|
-
- lib/avm/eac_writings_base1/deploy.rb
|
356
|
-
- lib/avm/eac_writings_base1/instance.rb
|
357
|
-
- lib/avm/eac_writings_base1/project.rb
|
358
358
|
- lib/avm/executables.rb
|
359
359
|
- lib/avm/files.rb
|
360
360
|
- lib/avm/files/appendable.rb
|
@@ -498,6 +498,7 @@ files:
|
|
498
498
|
- lib/avm/sync.rb
|
499
499
|
- lib/avm/tools.rb
|
500
500
|
- lib/avm/tools/runner.rb
|
501
|
+
- lib/avm/tools/runner/eac_asciidoctor_base0.rb
|
501
502
|
- lib/avm/tools/runner/eac_rails_base0.rb
|
502
503
|
- lib/avm/tools/runner/eac_rails_base0/apache_path.rb
|
503
504
|
- lib/avm/tools/runner/eac_redmine_base0.rb
|
@@ -507,7 +508,6 @@ files:
|
|
507
508
|
- lib/avm/tools/runner/eac_webapp_base0.rb
|
508
509
|
- lib/avm/tools/runner/eac_wordpress_base0.rb
|
509
510
|
- lib/avm/tools/runner/eac_writings_base0.rb
|
510
|
-
- lib/avm/tools/runner/eac_writings_base1.rb
|
511
511
|
- lib/avm/tools/runner/files.rb
|
512
512
|
- lib/avm/tools/runner/files/format.rb
|
513
513
|
- lib/avm/tools/runner/files/rotate.rb
|
@@ -531,12 +531,12 @@ files:
|
|
531
531
|
- lib/avm/tools/runner/launcher/projects.rb
|
532
532
|
- lib/avm/tools/runner/launcher/publish.rb
|
533
533
|
- lib/avm/tools/runner/local_project.rb
|
534
|
+
- lib/avm/tools/runner/local_project/eac_asciidoctor_base0.rb
|
535
|
+
- lib/avm/tools/runner/local_project/eac_asciidoctor_base0/build.rb
|
534
536
|
- lib/avm/tools/runner/local_project/eac_writings_base0.rb
|
535
537
|
- lib/avm/tools/runner/local_project/eac_writings_base0/build_chapters.rb
|
536
538
|
- lib/avm/tools/runner/local_project/eac_writings_base0/build_single.rb
|
537
539
|
- lib/avm/tools/runner/local_project/eac_writings_base0/info.rb
|
538
|
-
- lib/avm/tools/runner/local_project/eac_writings_base1.rb
|
539
|
-
- lib/avm/tools/runner/local_project/eac_writings_base1/build.rb
|
540
540
|
- lib/avm/tools/runner/local_project/info.rb
|
541
541
|
- lib/avm/tools/runner/local_project/ruby.rb
|
542
542
|
- lib/avm/tools/runner/local_project/ruby/bundler.rb
|
@@ -1041,7 +1041,6 @@ files:
|
|
1041
1041
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/string.rb
|
1042
1042
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/string/inflector.rb
|
1043
1043
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/time.rb
|
1044
|
-
- vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/time/default_time_zone_set.rb
|
1045
1044
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/paths_hash.rb
|
1046
1045
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/paths_hash/entry_key_error.rb
|
1047
1046
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/paths_hash/node.rb
|