antex 0.1.4 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/antex/job.rb +7 -0
- data/lib/antex/version.rb +1 -1
- metadata +1 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f65e6060f4753c3154d2c91194da8502c4eb75b01e38c62dc9a2929cf5409d31
|
4
|
+
data.tar.gz: c814aa39e278783c897d6fc9d7b47eb6b7d6ea399929a381d3edece8922316a8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eceea10353e466dfb39a8ee2dd90a9201a2beea447afd1033032873316e4185d075b41b077afe23593192a9d05e360d3491f8e55ab18c7055c2a8d109a517ad6
|
7
|
+
data.tar.gz: 281c949132396d7ade573983079bb9ae521a24e1dd865e265a48feb83675ecbe99fba410b078d23ff9e0fefe8ca55a651f96af84ddb34568c503acf2d1b869bf
|
data/lib/antex/job.rb
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
+
require 'rubygems/version'
|
4
|
+
|
3
5
|
module Antex
|
4
6
|
# This class is the beating heart of {Antex}.
|
5
7
|
#
|
@@ -22,8 +24,13 @@ module Antex
|
|
22
24
|
include LiquidHelpers
|
23
25
|
|
24
26
|
# The configuration defaults for a +latexmk+/+dvisvgm+ pipeline.
|
27
|
+
if Gem::Version.new(Psych::VERSION) < Gem::Version.new("4.0.0")
|
25
28
|
DEFAULTS =
|
26
29
|
YAML.load_file(File.join(File.dirname(__FILE__), 'defaults.yml')).freeze
|
30
|
+
else
|
31
|
+
DEFAULTS =
|
32
|
+
YAML.load_file(File.join(File.dirname(__FILE__), 'defaults.yml'), permitted_classes: [Regexp]).freeze
|
33
|
+
end
|
27
34
|
|
28
35
|
# @return [Hash] the initialization options
|
29
36
|
attr_reader :options
|
data/lib/antex/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: antex
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Paolo Brasolin
|
@@ -77,9 +77,6 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
77
77
|
- - ">="
|
78
78
|
- !ruby/object:Gem::Version
|
79
79
|
version: '2.6'
|
80
|
-
- - "<"
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: '3.1'
|
83
80
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
84
81
|
requirements:
|
85
82
|
- - ">="
|