ltx 1.0.2 → 1.2.0

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
- SHA1:
3
- metadata.gz: b48c14ea12281fca645634c453580fa83c3aa37e
4
- data.tar.gz: 7faba5e4b30398c322f4462d6defada814a005a4
2
+ SHA256:
3
+ metadata.gz: c47b220cdc7ba5da877b43f1eb8c5d266b29cf1773a380054b27882af729b268
4
+ data.tar.gz: 9718a356038f0e1421b80ebfed88dcf88c3d75a988ec9f7350f87fd37c1f3512
5
5
  SHA512:
6
- metadata.gz: a3b204be6bd5da73997fb406fb31e895a29b3c6c4832022dfedc12df1bb4de7605bd2299f85c1b4b93e3e5d8438305a0866070c4e29b6eee4ff8fa2ba43fb1fe
7
- data.tar.gz: b12dd8632047ae4fdcc3c7a7cb404f45b15249fb2dbeb221755ec2ad2cf6d0e7a10875f2b7da1f044884e3d2eb257d8993f156d3b3d0b33504104c21f4d60eb6
6
+ metadata.gz: 992a8677158b8047cf5d8691de6e61057627d208a0cac2d26014b8890185fb9e882d3939769b4588b1b151d6957c0e8b951e64323ad9a1148e366b5b4df15f2c
7
+ data.tar.gz: 480cbeeaf83d03e01186a9e9436928d1145dfa7b8b1659fd4d56fb2b1fcfb5aa13b76e0156d765e43415d712d58cbbedf607a5a4b9d311d0f98709384ccead8b
data/.rubocop.yml CHANGED
@@ -1 +1 @@
1
- config/rubocop.yml
1
+ ./config/rubocop.yml
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.3.3
1
+ 2.4.1
data/Gemfile CHANGED
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
  source 'https://rubygems.org'
3
3
 
4
- ruby '2.3.3'
4
+ ruby '2.4.1'
5
5
 
6
6
  gemspec
data/lib/ltx/build.rb CHANGED
@@ -71,7 +71,7 @@ module LTX
71
71
  '-pdf',
72
72
  '-e',
73
73
  "$pdflatex='pdflatex -synctex=1 -interaction=batchmode %O %S'",
74
- File.join(@config.compile_dir, @config.main)
74
+ @config.main
75
75
  ]
76
76
  end
77
77
 
@@ -80,7 +80,7 @@ module LTX
80
80
  '-pdfdvi',
81
81
  '-e',
82
82
  "$latex='latex -synctex=1 -interaction=batchmode %O %S'",
83
- File.join(@config.compile_dir, @config.main)
83
+ @config.main
84
84
  ]
85
85
  end
86
86
 
@@ -89,7 +89,7 @@ module LTX
89
89
  '-xelatex',
90
90
  '-e',
91
91
  "$pdflatex='xelatex -synctex=1 -interaction=batchmode %O %S'",
92
- File.join(@config.compile_dir, @config.main)
92
+ @config.main
93
93
  ]
94
94
  end
95
95
 
@@ -98,7 +98,7 @@ module LTX
98
98
  '-pdf',
99
99
  '-e',
100
100
  "$pdflatex='lualatex -synctex=1 -interaction=batchmode %O %S'",
101
- File.join(@config.compile_dir, @config.main)
101
+ @config.main
102
102
  ]
103
103
  end
104
104
  end
data/lib/ltx/config.rb CHANGED
@@ -51,7 +51,7 @@ module LTX
51
51
 
52
52
  def fetch_main(mainfile = DEFAULT_MAIN_TEX)
53
53
  main = File.absolute_path(fetch('main', 0, mainfile))
54
- raise RuntimeError, MISSING_MAIN_ERROR unless File.exist?(main)
54
+ raise MISSING_MAIN_ERROR unless File.exist?(main)
55
55
  main
56
56
  end
57
57
 
data/lib/ltx/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module LTX
3
- VERSION = '1.0.2'
3
+ VERSION = '1.2.0'
4
4
  end
data/ltx.gemspec CHANGED
@@ -25,9 +25,9 @@ Gem::Specification.new do |gem|
25
25
  gem.required_ruby_version = '>= 2.2'
26
26
 
27
27
  gem.requirements << 'latexmk'
28
- gem.add_development_dependency 'devtools', '~> 0.1.x'
28
+ gem.add_development_dependency 'devtools', '~> 0.1.18'
29
29
  gem.add_development_dependency 'guard', '~> 2.14'
30
30
  gem.add_development_dependency 'guard-bundler', '~> 2.1'
31
31
  gem.add_development_dependency 'guard-rspec', '~> 4.7', '>= 4.7.3'
32
- gem.add_development_dependency 'guard-rubocop', '~> 1.2'
32
+ gem.add_development_dependency 'guard-rubocop', '~> 1.3'
33
33
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ltx
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Firas Zaidan
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-07-21 00:00:00.000000000 Z
11
+ date: 2024-07-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: devtools
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.1.x
19
+ version: 0.1.18
20
20
  type: :development
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.1.x
26
+ version: 0.1.18
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: guard
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -78,14 +78,14 @@ dependencies:
78
78
  requirements:
79
79
  - - "~>"
80
80
  - !ruby/object:Gem::Version
81
- version: '1.2'
81
+ version: '1.3'
82
82
  type: :development
83
83
  prerelease: false
84
84
  version_requirements: !ruby/object:Gem::Requirement
85
85
  requirements:
86
86
  - - "~>"
87
87
  - !ruby/object:Gem::Version
88
- version: '1.2'
88
+ version: '1.3'
89
89
  description: LaTeX Project Build Tool
90
90
  email:
91
91
  - firas@zaidan.de
@@ -126,7 +126,7 @@ homepage: https://github.com/zaidan/ltx
126
126
  licenses:
127
127
  - MIT
128
128
  metadata: {}
129
- post_install_message:
129
+ post_install_message:
130
130
  rdoc_options: []
131
131
  require_paths:
132
132
  - lib
@@ -143,9 +143,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
143
143
  version: '0'
144
144
  requirements:
145
145
  - latexmk
146
- rubyforge_project:
147
- rubygems_version: 2.5.2
148
- signing_key:
146
+ rubyforge_project:
147
+ rubygems_version: 2.7.8
148
+ signing_key:
149
149
  specification_version: 4
150
150
  summary: LaTeX Project Build Tool
151
151
  test_files: