avm-tools 0.85.0 → 0.85.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9fe892c043aa5fed89006bb8f334e2bdb5994c1c2db3ee6a76ad362a82c8f644
4
- data.tar.gz: 2acb25eb3be3deac7ebfdb28626d0caf71bfff9efb6d4c17bb18001c6d346bcb
3
+ metadata.gz: 43d475cc5c1bf70580258451dfada46e601167d1b4304f102fd334b21862a922
4
+ data.tar.gz: 0b2230eb8368b7315e437d7218144bbeaffe735887fa86fd6dec6647c545bd4a
5
5
  SHA512:
6
- metadata.gz: aeffe8cb49bb3c5c5368b921c02f0ab3e135c1036f7e81512fbfee6fe4d6b72f5fd2448ae550b97b2df654dadc2e90f0a937f89397208e7c3ee92b3569524777
7
- data.tar.gz: 7691b14f456391f2e1f3d015c6f90c88859f27abe5faf5460537471c5bc2eed4d9876c4a7794398ba319ab9a2558cfa8edf175c983217c0362a7692f42e6fbd7
6
+ metadata.gz: 3d45fbfd1797ba0e24a1c44cec1a260c1a12b457f486991f55befde788de312959084d78717fedb7ef593731399aa9be9534512e3e9af1c71c7ac706cde3b262
7
+ data.tar.gz: 5d539d2be00bfc34491192fe927b98ec977af4f474790afaf03eda326b5db8749cbfa8e97ef98981c5663a444f3a703c6189a5b7688582b95cef44458648d7e1
@@ -8,12 +8,11 @@ module Avm
8
8
  module Tools
9
9
  class Runner < ::EacRubyUtils::Console::DocoptRunner
10
10
  class LocalProject < ::EacRubyUtils::Console::DocoptRunner
11
- class EacWritingsBase0 < ::EacRubyUtils::Console::DocoptRunner
11
+ class EacWritingsBase0
12
12
  require_sub __FILE__
13
- runner_with
14
13
  enable_simple_cache
15
14
 
16
- runner_definition do
15
+ runner_with :help, :subcommands do
17
16
  desc 'EacWritingsBase0 utitilies for local projects.'
18
17
  subcommands
19
18
  end
@@ -26,7 +25,7 @@ module Avm
26
25
  private
27
26
 
28
27
  def project_uncached
29
- ::Avm::EacWritingsBase0::Project.new(context(:instance_path))
28
+ ::Avm::EacWritingsBase0::Project.new(runner_context.call(:instance_path))
30
29
  end
31
30
  end
32
31
  end
@@ -8,11 +8,9 @@ module Avm
8
8
  module Tools
9
9
  class Runner < ::EacRubyUtils::Console::DocoptRunner
10
10
  class LocalProject < ::EacRubyUtils::Console::DocoptRunner
11
- class EacWritingsBase0 < ::EacRubyUtils::Console::DocoptRunner
11
+ class EacWritingsBase0
12
12
  class BuildChapters
13
- runner_with
14
-
15
- runner_definition do
13
+ runner_with :help do
16
14
  arg_opt '-o', '--output-dir', 'Output chapters to specific directory.'
17
15
  end
18
16
 
@@ -8,10 +8,9 @@ module Avm
8
8
  module Tools
9
9
  class Runner < ::EacRubyUtils::Console::DocoptRunner
10
10
  class LocalProject < ::EacRubyUtils::Console::DocoptRunner
11
- class EacWritingsBase0 < ::EacRubyUtils::Console::DocoptRunner
11
+ class EacWritingsBase0
12
12
  class BuildSingle
13
- runner_with
14
- runner_definition do
13
+ runner_with :help do
15
14
  arg_opt '-s', '--source-dir', 'Write .tex source code in specific directory.'
16
15
  arg_opt '-f', '--output-file', 'Output to specific file.'
17
16
  arg_opt '-c', '--chapter', 'Write only the chapter <chapter>.'
@@ -8,10 +8,9 @@ module Avm
8
8
  module Tools
9
9
  class Runner < ::EacRubyUtils::Console::DocoptRunner
10
10
  class LocalProject < ::EacRubyUtils::Console::DocoptRunner
11
- class EacWritingsBase0 < ::EacRubyUtils::Console::DocoptRunner
11
+ class EacWritingsBase0
12
12
  class Info
13
- runner_with
14
- runner_definition do
13
+ runner_with :help do
15
14
  desc 'Information about a loca EacRailsBase0 local project.'
16
15
  end
17
16
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Avm
4
4
  module Tools
5
- VERSION = '0.85.0'
5
+ VERSION = '0.85.1'
6
6
  end
7
7
  end
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.85.0
4
+ version: 0.85.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Esquilo Azul Company