eac_tools 0.27.1 → 0.27.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +9 -9
- data/lib/eac_tools/version.rb +1 -1
- data/sub/avm-eac_asciidoctor_base0/avm-eac_asciidoctor_base0.gemspec +1 -1
- data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/base.rb +4 -1
- data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/runners/build.rb +3 -3
- data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/version.rb +1 -1
- data/sub/avm-eac_ruby_base1/avm-eac_ruby_base1.gemspec +1 -1
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/version.rb +1 -1
- data/sub/avm-eac_ruby_base1/locale/pt-BR.yml +1 -1
- metadata +14 -4
- data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/runner/build.rb +0 -54
- data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/runner.rb +0 -30
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 69feb1fcacbebe2c9a3e55f803f1ab72cf23b9396296ec50d4a5979d2183ce5b
|
4
|
+
data.tar.gz: 34f748e9a7ccede566b689a338eebe7996d2d66b81b3225f85ef7c43ec5c7c0f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 984112c656a9b42ce43c18a0d12de2e030ec972da7eefa6ac9ad689c632876ee682d4a174dc96bd26780f6e38163853d27ba06805576af1f02c295308f2b3385
|
7
|
+
data.tar.gz: 36f2d19db33361e76d7e6412be9652d5be8bcc98607d08e285d3a1f13ca171386cc5ba5f7aa7852a6b05eecab7e011498dcd703829e652b0788ff851653b9c36
|
data/Gemfile.lock
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
eac_tools (0.27.
|
4
|
+
eac_tools (0.27.2)
|
5
5
|
avm (~> 0.41, >= 0.41.1)
|
6
|
-
avm-eac_asciidoctor_base0 (~> 0.6)
|
6
|
+
avm-eac_asciidoctor_base0 (~> 0.6, >= 0.6.1)
|
7
7
|
avm-eac_generic_base0 (~> 0.5)
|
8
8
|
avm-eac_latex_base0 (~> 0.2)
|
9
9
|
avm-eac_rails_base0 (~> 0.8)
|
10
10
|
avm-eac_rails_base1 (~> 0.6)
|
11
11
|
avm-eac_redmine_base0 (~> 0.14)
|
12
12
|
avm-eac_redmine_plugin_base0 (~> 0.3)
|
13
|
-
avm-eac_ruby_base1 (~> 0.20)
|
13
|
+
avm-eac_ruby_base1 (~> 0.20, >= 0.20.1)
|
14
14
|
avm-eac_webapp_base0 (~> 0.6, >= 0.6.1)
|
15
15
|
avm-eac_wordpress_base0 (~> 0.2)
|
16
16
|
avm-tools (~> 0.135)
|
@@ -19,9 +19,9 @@ PATH
|
|
19
19
|
PATH
|
20
20
|
remote: sub/avm-eac_asciidoctor_base0
|
21
21
|
specs:
|
22
|
-
avm-eac_asciidoctor_base0 (0.6.
|
22
|
+
avm-eac_asciidoctor_base0 (0.6.1)
|
23
23
|
asciidoctor (~> 2.0, >= 2.0.17)
|
24
|
-
avm-eac_webapp_base0 (~> 0.
|
24
|
+
avm-eac_webapp_base0 (~> 0.6, >= 0.6.1)
|
25
25
|
eac_ruby_utils (~> 0.102)
|
26
26
|
os (~> 1.1, >= 1.1.4)
|
27
27
|
rouge (~> 3.30)
|
@@ -80,8 +80,8 @@ PATH
|
|
80
80
|
PATH
|
81
81
|
remote: sub/avm-eac_ruby_base1
|
82
82
|
specs:
|
83
|
-
avm-eac_ruby_base1 (0.20.
|
84
|
-
avm (~> 0.
|
83
|
+
avm-eac_ruby_base1 (0.20.1)
|
84
|
+
avm (~> 0.41, >= 0.41.1)
|
85
85
|
avm-eac_generic_base0 (~> 0.5)
|
86
86
|
eac_ruby_utils (~> 0.102)
|
87
87
|
|
@@ -243,7 +243,7 @@ GEM
|
|
243
243
|
eac_templates (0.3.1)
|
244
244
|
eac_config (~> 0.5)
|
245
245
|
eac_ruby_utils (~> 0.64)
|
246
|
-
faraday (1.10.
|
246
|
+
faraday (1.10.2)
|
247
247
|
faraday-em_http (~> 1.0)
|
248
248
|
faraday-em_synchrony (~> 1.0)
|
249
249
|
faraday-excon (~> 1.1)
|
@@ -296,7 +296,7 @@ GEM
|
|
296
296
|
parslet (2.0.0)
|
297
297
|
public_suffix (5.0.0)
|
298
298
|
racc (1.6.0)
|
299
|
-
rack (
|
299
|
+
rack (3.0.0)
|
300
300
|
rainbow (3.1.1)
|
301
301
|
rchardet (1.8.0)
|
302
302
|
rexml (3.2.5)
|
data/lib/eac_tools/version.rb
CHANGED
@@ -13,7 +13,7 @@ Gem::Specification.new do |s|
|
|
13
13
|
s.files = Dir['{lib,template}/**/*']
|
14
14
|
|
15
15
|
s.add_dependency 'asciidoctor', '~> 2.0', '>= 2.0.17'
|
16
|
-
s.add_dependency 'avm-eac_webapp_base0', '~> 0.
|
16
|
+
s.add_dependency 'avm-eac_webapp_base0', '~> 0.6', '>= 0.6.1'
|
17
17
|
s.add_dependency 'eac_ruby_utils', '~> 0.102'
|
18
18
|
s.add_dependency 'os', '~> 1.1', '>= 1.1.4'
|
19
19
|
s.add_dependency 'rouge', '~> 3.30'
|
@@ -1,14 +1,17 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
require 'avm/eac_webapp_base0/sources/base'
|
4
|
+
require 'avm/eac_asciidoctor_base0/sources/runners'
|
4
5
|
require 'eac_ruby_utils/core_ext'
|
5
6
|
|
6
7
|
module Avm
|
7
8
|
module EacAsciidoctorBase0
|
8
9
|
module Sources
|
9
10
|
class Base < ::Avm::EacWebappBase0::Sources::Base
|
11
|
+
MAIN_FILE_SUBPATH = ::Pathname.new('index.adoc')
|
12
|
+
|
10
13
|
def valid?
|
11
|
-
|
14
|
+
path.join(MAIN_FILE_SUBPATH).file?
|
12
15
|
end
|
13
16
|
end
|
14
17
|
end
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require 'avm/tools/core_ext'
|
4
3
|
require 'avm/eac_asciidoctor_base0/sources/build'
|
4
|
+
require 'eac_cli/core_ext'
|
5
5
|
require 'os'
|
6
6
|
|
7
7
|
module Avm
|
@@ -24,7 +24,7 @@ module Avm
|
|
24
24
|
private
|
25
25
|
|
26
26
|
def build_uncached
|
27
|
-
::Avm::EacAsciidoctorBase0::Sources::Build.new(runner_context.call(:
|
27
|
+
::Avm::EacAsciidoctorBase0::Sources::Build.new(runner_context.call(:source),
|
28
28
|
target_directory: parsed.target_dir)
|
29
29
|
end
|
30
30
|
|
@@ -44,7 +44,7 @@ module Avm
|
|
44
44
|
end
|
45
45
|
|
46
46
|
def start_banner
|
47
|
-
runner_context.call(:
|
47
|
+
runner_context.call(:source_banner)
|
48
48
|
infov 'Target directory', build.target_directory
|
49
49
|
end
|
50
50
|
end
|
@@ -12,7 +12,7 @@ Gem::Specification.new do |s|
|
|
12
12
|
|
13
13
|
s.files = Dir['{lib,locale,template}/**/*']
|
14
14
|
|
15
|
-
s.add_dependency 'avm', '~> 0.
|
15
|
+
s.add_dependency 'avm', '~> 0.41', '>= 0.41.1'
|
16
16
|
s.add_dependency 'avm-eac_generic_base0', '~> 0.5'
|
17
17
|
s.add_dependency 'eac_ruby_utils', '~> 0.102'
|
18
18
|
|
@@ -7,4 +7,4 @@ pt-BR:
|
|
7
7
|
scm_update_commit_message: '**/.gitrepo: conserta/atualiza.'
|
8
8
|
update_gemfile_lock_commit_message: 'Todas as gems: atualiza.'
|
9
9
|
update_dependency_requirements:
|
10
|
-
commit_message: "Gem \"%{name}\": atualiza para
|
10
|
+
commit_message: "Gem \"%{name}\": atualiza para '%{requirements_list}'."
|
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.27.
|
4
|
+
version: 0.27.2
|
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: 2022-
|
11
|
+
date: 2022-09-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: avm
|
@@ -37,6 +37,9 @@ dependencies:
|
|
37
37
|
- - "~>"
|
38
38
|
- !ruby/object:Gem::Version
|
39
39
|
version: '0.6'
|
40
|
+
- - ">="
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: 0.6.1
|
40
43
|
type: :runtime
|
41
44
|
prerelease: false
|
42
45
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -44,6 +47,9 @@ dependencies:
|
|
44
47
|
- - "~>"
|
45
48
|
- !ruby/object:Gem::Version
|
46
49
|
version: '0.6'
|
50
|
+
- - ">="
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: 0.6.1
|
47
53
|
- !ruby/object:Gem::Dependency
|
48
54
|
name: avm-eac_generic_base0
|
49
55
|
requirement: !ruby/object:Gem::Requirement
|
@@ -135,6 +141,9 @@ dependencies:
|
|
135
141
|
- - "~>"
|
136
142
|
- !ruby/object:Gem::Version
|
137
143
|
version: '0.20'
|
144
|
+
- - ">="
|
145
|
+
- !ruby/object:Gem::Version
|
146
|
+
version: 0.20.1
|
138
147
|
type: :runtime
|
139
148
|
prerelease: false
|
140
149
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -142,6 +151,9 @@ dependencies:
|
|
142
151
|
- - "~>"
|
143
152
|
- !ruby/object:Gem::Version
|
144
153
|
version: '0.20'
|
154
|
+
- - ">="
|
155
|
+
- !ruby/object:Gem::Version
|
156
|
+
version: 0.20.1
|
145
157
|
- !ruby/object:Gem::Dependency
|
146
158
|
name: avm-eac_webapp_base0
|
147
159
|
requirement: !ruby/object:Gem::Requirement
|
@@ -242,8 +254,6 @@ files:
|
|
242
254
|
- sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/base.rb
|
243
255
|
- sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/build.rb
|
244
256
|
- sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/build/file.rb
|
245
|
-
- sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/runner.rb
|
246
|
-
- sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/runner/build.rb
|
247
257
|
- sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/runners.rb
|
248
258
|
- sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/runners/build.rb
|
249
259
|
- sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/version.rb
|
@@ -1,54 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require 'avm/eac_asciidoctor_base0/sources/build'
|
4
|
-
require 'eac_ruby_base0/core_ext'
|
5
|
-
require 'os'
|
6
|
-
|
7
|
-
module Avm
|
8
|
-
module EacAsciidoctorBase0
|
9
|
-
module Sources
|
10
|
-
class Runner
|
11
|
-
class Build
|
12
|
-
runner_with :help do
|
13
|
-
desc 'Build the project'
|
14
|
-
arg_opt '-d', '--target-dir', 'Directory to build'
|
15
|
-
bool_opt '--open', 'Show the result.'
|
16
|
-
end
|
17
|
-
|
18
|
-
def run
|
19
|
-
start_banner
|
20
|
-
build.run
|
21
|
-
open
|
22
|
-
end
|
23
|
-
|
24
|
-
private
|
25
|
-
|
26
|
-
def build_uncached
|
27
|
-
::Avm::EacAsciidoctorBase0::Sources::Build.new(runner_context.call(:project),
|
28
|
-
target_directory: parsed.target_dir)
|
29
|
-
end
|
30
|
-
|
31
|
-
def default_target_directory
|
32
|
-
runner_context.call(:project).path.join('build')
|
33
|
-
end
|
34
|
-
|
35
|
-
def open
|
36
|
-
return unless parsed.open?
|
37
|
-
|
38
|
-
infom "Opening \"#{open_path}\"..."
|
39
|
-
::EacRubyUtils::Envs.local.command(OS.open_file_command, open_path).system!
|
40
|
-
end
|
41
|
-
|
42
|
-
def open_path
|
43
|
-
build.source_files.first.target_path
|
44
|
-
end
|
45
|
-
|
46
|
-
def start_banner
|
47
|
-
runner_context.call(:project_banner)
|
48
|
-
infov 'Target directory', build.target_directory
|
49
|
-
end
|
50
|
-
end
|
51
|
-
end
|
52
|
-
end
|
53
|
-
end
|
54
|
-
end
|
@@ -1,30 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require 'avm/eac_asciidoctor_base0/sources/base'
|
4
|
-
require 'eac_ruby_base0/core_ext'
|
5
|
-
|
6
|
-
module Avm
|
7
|
-
module EacAsciidoctorBase0
|
8
|
-
module Sources
|
9
|
-
class Runner
|
10
|
-
require_sub __FILE__
|
11
|
-
|
12
|
-
runner_with :help, :subcommands do
|
13
|
-
desc 'EacAsciidoctorBase0 utitilies for local projects.'
|
14
|
-
subcommands
|
15
|
-
end
|
16
|
-
|
17
|
-
def project_banner
|
18
|
-
infov 'Project', project.application.name
|
19
|
-
infov 'Path', project.path
|
20
|
-
end
|
21
|
-
|
22
|
-
private
|
23
|
-
|
24
|
-
def project_uncached
|
25
|
-
::Avm::EacAsciidoctorBase0::Sources::Base.new(runner_context.call(:instance_path))
|
26
|
-
end
|
27
|
-
end
|
28
|
-
end
|
29
|
-
end
|
30
|
-
end
|