avm-eac_latex_base0 0.2.1 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 62cd1f4b8949dfb88df603541b9f12037af7e347ae532c4bc7c62c83d99c29f8
4
- data.tar.gz: 2502d48f1583a5bb1ff69f9a5f5c8679ae5df505fb5169e4db23ff191a45a42b
3
+ metadata.gz: 34e62f93b556e317705b0af205dff9f7d1363c8f93150ea743d0e8b48d568e6e
4
+ data.tar.gz: eb47b4f66448519f7a9187ca83df7392c8fecb94fc03fe7807499e107e0f834c
5
5
  SHA512:
6
- metadata.gz: 24328e8f5662aa48f6f47a7e88db0c1be6cd4eab93fcf65f552572b42c87bb84c1930f35c5784d934e95bb0e6a0aa4eb562bffd7b5c02a21a67345d8280a0322
7
- data.tar.gz: d1cc907767bc2b00343a329e3e72f275c13627bd9a0dbe9adb2fdf4fec2f0c43ab23960cd722cf2a097a1251caecd7feffce9c4fe4e62fcd83a7de58743c98d2
6
+ metadata.gz: e2e8c0ed2f0477836c708fc109761a766ec31554cb183e8add6c85e3b80fc706cc6d286d70704c204e39e759510e393d256252b693eba3e63cb46e0c2e082e26
7
+ data.tar.gz: 909117f47fa1c4d96b86f0cdec922db918bfbffd3bfc7f62afdad2e88116138405a3c8b13241bbcfa5deee6b64d3cd411ec7611d9aefa6c669f86f13b17fa6e8
@@ -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
@@ -6,7 +6,6 @@ module Avm
6
6
  module EacLatexBase0
7
7
  module Instances
8
8
  class Base < ::Avm::EacWebappBase0::Instances::Base
9
- FILES_UNITS = {}.freeze
10
9
  end
11
10
  end
12
11
  end
@@ -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).chdir(source_temp_dir)
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
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Avm
4
4
  module EacLatexBase0
5
- VERSION = '0.2.1'
5
+ VERSION = '0.3.1'
6
6
  end
7
7
  end
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.2.1
4
+ version: 0.3.1
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-09-25 00:00:00.000000000 Z
11
+ date: 2023-04-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: avm
@@ -16,42 +16,42 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0.45'
19
+ version: '0.67'
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.45'
26
+ version: '0.67'
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.9'
33
+ version: '0.15'
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.9'
40
+ version: '0.15'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: eac_ruby_utils
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '0.104'
47
+ version: '0.112'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '0.104'
54
+ version: '0.112'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: eac_ruby_gem_support
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -79,6 +79,7 @@ extensions: []
79
79
  extra_rdoc_files: []
80
80
  files:
81
81
  - lib/avm/eac_latex_base0.rb
82
+ - lib/avm/eac_latex_base0/executables.rb
82
83
  - lib/avm/eac_latex_base0/instances.rb
83
84
  - lib/avm/eac_latex_base0/instances/apache_host.rb
84
85
  - lib/avm/eac_latex_base0/instances/base.rb