antex 0.1.4 → 0.2.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: 35c1e0a463b933c75ff632e38fae2866ff215548b66d2a6b51f680b7d22deb7f
4
- data.tar.gz: 04a76f67a969d53a808d36c8189436678e7b38e6a091c5f7aa81c205eaede343
3
+ metadata.gz: d3db8c557c91605540c09f5f40506b9c51929faf331cded1d7f4af4f8181ecfe
4
+ data.tar.gz: ac1bdba9b94e07ba38d8e7cc4ea7ecbce3dc74a8efcbeac27ba86a52c90a28d1
5
5
  SHA512:
6
- metadata.gz: 8f602e1001dace9b0f34f14e81ca276ff6ea88a8eefdfa4cc20c0f2fbc0c8edc9b76b37afca2a2ddf9931d925459ace00b431cce10541d251d7223c69b29a72c
7
- data.tar.gz: 4cfa6e7bc871af1643670dffd0af8190d1f0202214f2160819c6b8efd88a72f54260d491060757e1414e25fd34bc8d7a1c9b7f498220ac9d47060fd5d59495cb
6
+ metadata.gz: 7b54672095eb1705a027caa89db3491ef240ba4eeb866c46bcd59757614ceba6370e6a274e7ce12b732ffe643ff74e6441faaf79839097338428e74c1261c74c
7
+ data.tar.gz: 1ac764a1c43321ccf28fb2774529e0e330e40e395ab6539b60473aebf39931d66f9ccd4370092cc1173b07fd6efe95f7c2c2cef57f0793f67ebfff78321cf887
data/README.md CHANGED
@@ -1,18 +1,16 @@
1
- # antex
2
-
3
- [![CI tests status badge][build-shield]][build-url]
4
- [![Latest release badge][rubygems-shield]][rubygems-url]
5
- [![License badge][license-shield]][license-url]
6
- [![Maintainability badge][cc-maintainability-shield]][cc-maintainability-url]
7
- [![Test coverage badge][cc-coverage-shield]][cc-coverage-url]
8
-
9
- [build-shield]: https://img.shields.io/github/workflow/status/paolobrasolin/antex/CI/main?label=tests&logo=github
10
- [build-url]: https://github.com/paolobrasolin/antex/actions/workflows/main.yml "CI tests status"
11
- [rubygems-shield]: https://img.shields.io/gem/v/antex?logo=ruby
12
- [rubygems-url]: https://rubygems.org/gems/antex "Latest release"
13
- [license-shield]: https://img.shields.io/github/license/paolobrasolin/antex
14
- [license-url]: https://github.com/paolobrasolin/antex/blob/main/LICENSE "License"
15
- [cc-maintainability-shield]: https://img.shields.io/codeclimate/maintainability/paolobrasolin/antex?logo=codeclimate
16
- [cc-maintainability-url]: https://codeclimate.com/github/paolobrasolin/antex "Maintainability"
17
- [cc-coverage-shield]: https://img.shields.io/codeclimate/coverage/paolobrasolin/antex?logo=codeclimate&label=test%20coverage
18
- [cc-coverage-url]: https://codeclimate.com/github/paolobrasolin/antex/coverage "Test coverage"
1
+ # antex
2
+
3
+ [![Latest release badge][rubygems-shield]][rubygems-url]
4
+ [![License badge][license-shield]][license-url]
5
+ [![Test status badge][test-status-shield]][test-status-url]
6
+ [![Test coverage badge][test-coverage-shield]][test-coverage-url]
7
+
8
+ [test-status-shield]: https://img.shields.io/github/actions/workflow/status/paolobrasolin/antex/main.yml?branch=main&label=test%20status
9
+ [test-status-url]: https://github.com/paolobrasolin/antex/actions/workflows/main.yml "Test status"
10
+ [rubygems-shield]: https://img.shields.io/gem/v/antex?label=latest
11
+ [rubygems-url]: https://rubygems.org/gems/antex "Latest release"
12
+ [license-shield]: https://img.shields.io/github/license/paolobrasolin/antex
13
+ [license-url]: https://github.com/paolobrasolin/antex/blob/main/LICENSE "License"
14
+
15
+ [test-coverage-shield]: https://img.shields.io/coverallsCoverage/github/paolobrasolin/antex?branch=main&label=test%20coverage
16
+ [test-coverage-url]: https://coveralls.io/github/paolobrasolin/antex?branch=main "Test coverage"
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Antex
4
- VERSION = '0.1.4'
4
+ VERSION = "0.2.1"
5
5
  end
metadata CHANGED
@@ -1,15 +1,28 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: antex
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paolo Brasolin
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2023-02-26 00:00:00.000000000 Z
10
+ date: 1980-01-01 00:00:00.000000000 Z
12
11
  dependencies:
12
+ - !ruby/object:Gem::Dependency
13
+ name: base64
14
+ requirement: !ruby/object:Gem::Requirement
15
+ requirements:
16
+ - - ">="
17
+ - !ruby/object:Gem::Version
18
+ version: '0'
19
+ type: :runtime
20
+ prerelease: false
21
+ version_requirements: !ruby/object:Gem::Requirement
22
+ requirements:
23
+ - - ">="
24
+ - !ruby/object:Gem::Version
25
+ version: '0'
13
26
  - !ruby/object:Gem::Dependency
14
27
  name: liquid
15
28
  requirement: !ruby/object:Gem::Requirement
@@ -68,7 +81,6 @@ homepage: https://github.com/paolobrasolin/antex
68
81
  licenses:
69
82
  - MIT
70
83
  metadata: {}
71
- post_install_message:
72
84
  rdoc_options: []
73
85
  require_paths:
74
86
  - lib
@@ -77,17 +89,13 @@ required_ruby_version: !ruby/object:Gem::Requirement
77
89
  - - ">="
78
90
  - !ruby/object:Gem::Version
79
91
  version: '2.6'
80
- - - "<"
81
- - !ruby/object:Gem::Version
82
- version: '3.1'
83
92
  required_rubygems_version: !ruby/object:Gem::Requirement
84
93
  requirements:
85
94
  - - ">="
86
95
  - !ruby/object:Gem::Version
87
96
  version: '0'
88
97
  requirements: []
89
- rubygems_version: 3.4.5
90
- signing_key:
98
+ rubygems_version: 3.7.2
91
99
  specification_version: 4
92
100
  summary: Universal TeX integrator
93
101
  test_files: []