avm-eac_latex_base0 0.2.0 → 0.3.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_latex_base0/executables.rb +22 -0
- data/lib/avm/eac_latex_base0/instances/apache_host.rb +2 -2
- data/lib/avm/eac_latex_base0/instances/deploy.rb +2 -2
- data/lib/avm/eac_latex_base0/sources/build.rb +3 -1
- data/lib/avm/eac_latex_base0/version.rb +1 -1
- metadata +9 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 74a1875aa2860b8d515f582fd6ff4571efe99e4b8a0ed218584eb3b2ed3a2857
|
4
|
+
data.tar.gz: 949b293edccd1faf515d459f59e0354c406d26bac888a2bee50f11c92671b258
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a68ef21d3667b9ffbfa36c72ef531dee8dd88e517f56418b32de8acf67e5f0437dc38b7bd08c1f8b3ca42ca352d6274278ef173eb285c0c3bb0486ca1a78308c
|
7
|
+
data.tar.gz: 2e951d29d89fa3feaeb70ac6c2973191d7862d903f2980498a89139f0cbf2aa5e41a05365664c70826efffdca84adfbfdc4110a3985fe60113ef0908a926d6d9
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'eac_ruby_utils/core_ext'
|
4
|
+
require 'eac_ruby_utils/envs'
|
5
|
+
|
6
|
+
module Avm
|
7
|
+
module EacPythonBase0
|
8
|
+
module Executables
|
9
|
+
class << self
|
10
|
+
enable_simple_cache
|
11
|
+
|
12
|
+
private
|
13
|
+
|
14
|
+
%w[latex].each do |program|
|
15
|
+
define_method(program.underscore + '_uncached') do
|
16
|
+
::EacRubyUtils::Envs.local.executable(program, '--version')
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
@@ -1,11 +1,11 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require 'avm/eac_webapp_base0/apache_host'
|
3
|
+
require 'avm/eac_webapp_base0/instances/apache_host'
|
4
4
|
|
5
5
|
module Avm
|
6
6
|
module EacLatexBase0
|
7
7
|
module Instances
|
8
|
-
class ApacheHost < ::Avm::EacWebappBase0::ApacheHost
|
8
|
+
class ApacheHost < ::Avm::EacWebappBase0::Instances::ApacheHost
|
9
9
|
def document_root
|
10
10
|
instance.read_entry(::Avm::Instances::EntryKeys::INSTALL_PATH)
|
11
11
|
end
|
@@ -1,13 +1,13 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require 'avm/eac_webapp_base0/deploy'
|
3
|
+
require 'avm/eac_webapp_base0/instances/deploy'
|
4
4
|
require 'avm/eac_latex_base0/sources/base'
|
5
5
|
require 'avm/eac_latex_base0/sources/build'
|
6
6
|
|
7
7
|
module Avm
|
8
8
|
module EacLatexBase0
|
9
9
|
module Instances
|
10
|
-
class Deploy < ::Avm::EacWebappBase0::Deploy
|
10
|
+
class Deploy < ::Avm::EacWebappBase0::Instances::Deploy
|
11
11
|
def build_content
|
12
12
|
::Avm::EacLatexBase0::Sources::Build.new(project, output_file:
|
13
13
|
build_dir.join(pdf_path))
|
@@ -1,6 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
require 'avm/executables'
|
4
|
+
require 'avm/eac_latex_base0/executables'
|
4
5
|
require 'eac_ruby_utils/core_ext'
|
5
6
|
require 'eac_ruby_utils/fs/temp'
|
6
7
|
require 'eac_ruby_utils/fs/clearable_directory'
|
@@ -62,7 +63,8 @@ module Avm
|
|
62
63
|
end
|
63
64
|
|
64
65
|
def compile_command
|
65
|
-
::Avm::Executables.latex.command(*compile_command_args)
|
66
|
+
::Avm::EacLatexBase0::Executables.latex.command(*compile_command_args)
|
67
|
+
.chdir(source_temp_dir)
|
66
68
|
end
|
67
69
|
|
68
70
|
def compile_command_args
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: avm-eac_latex_base0
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.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: 2022-
|
11
|
+
date: 2022-10-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: avm
|
@@ -16,48 +16,42 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.52'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '0.
|
26
|
+
version: '0.52'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: avm-eac_webapp_base0
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '0.
|
34
|
-
- - ">="
|
35
|
-
- !ruby/object:Gem::Version
|
36
|
-
version: 0.5.1
|
33
|
+
version: '0.12'
|
37
34
|
type: :runtime
|
38
35
|
prerelease: false
|
39
36
|
version_requirements: !ruby/object:Gem::Requirement
|
40
37
|
requirements:
|
41
38
|
- - "~>"
|
42
39
|
- !ruby/object:Gem::Version
|
43
|
-
version: '0.
|
44
|
-
- - ">="
|
45
|
-
- !ruby/object:Gem::Version
|
46
|
-
version: 0.5.1
|
40
|
+
version: '0.12'
|
47
41
|
- !ruby/object:Gem::Dependency
|
48
42
|
name: eac_ruby_utils
|
49
43
|
requirement: !ruby/object:Gem::Requirement
|
50
44
|
requirements:
|
51
45
|
- - "~>"
|
52
46
|
- !ruby/object:Gem::Version
|
53
|
-
version: '0.
|
47
|
+
version: '0.106'
|
54
48
|
type: :runtime
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
51
|
requirements:
|
58
52
|
- - "~>"
|
59
53
|
- !ruby/object:Gem::Version
|
60
|
-
version: '0.
|
54
|
+
version: '0.106'
|
61
55
|
- !ruby/object:Gem::Dependency
|
62
56
|
name: eac_ruby_gem_support
|
63
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -85,6 +79,7 @@ extensions: []
|
|
85
79
|
extra_rdoc_files: []
|
86
80
|
files:
|
87
81
|
- lib/avm/eac_latex_base0.rb
|
82
|
+
- lib/avm/eac_latex_base0/executables.rb
|
88
83
|
- lib/avm/eac_latex_base0/instances.rb
|
89
84
|
- lib/avm/eac_latex_base0/instances/apache_host.rb
|
90
85
|
- lib/avm/eac_latex_base0/instances/base.rb
|