antex 0.1.3 → 0.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
2
  SHA256:
3
- metadata.gz: 11ae10a949437986b4951b48ed4fe3a227bc44835a16fc4e7c2318d9faeb2923
4
- data.tar.gz: 255e9420a941f76d0404dff7c5ab68976a1696b85bb2572e86ef117dc6837d19
3
+ metadata.gz: f65e6060f4753c3154d2c91194da8502c4eb75b01e38c62dc9a2929cf5409d31
4
+ data.tar.gz: c814aa39e278783c897d6fc9d7b47eb6b7d6ea399929a381d3edece8922316a8
5
5
  SHA512:
6
- metadata.gz: dcf0e2bfbcc925cb31aa830c428904fa412a0c802f0f968bbc10f42d96e921469a33e66dbedb9c614bb73e2af9826eaca58c58438e25bc62a8e8b68ac5d2e1e0
7
- data.tar.gz: d2ef3fe82197ab0f50c4a4f42548a62662389c0930e27d96e8bc3ca99ab3b4fa17481d638e43b99c4fdaf96e8a0021829741d1b70c17cdb321d9abf87af67e62
6
+ metadata.gz: eceea10353e466dfb39a8ee2dd90a9201a2beea447afd1033032873316e4185d075b41b077afe23593192a9d05e360d3491f8e55ab18c7055c2a8d109a517ad6
7
+ data.tar.gz: 281c949132396d7ade573983079bb9ae521a24e1dd865e265a48feb83675ecbe99fba410b078d23ff9e0fefe8ca55a651f96af84ddb34568c503acf2d1b869bf
data/README.md CHANGED
@@ -1,9 +1,18 @@
1
1
  # antex
2
2
 
3
- [![Build Status](https://travis-ci.org/paolobrasolin/antex.svg?branch=master)](https://travis-ci.org/paolobrasolin/antex)
4
- [![Gem Version](https://badge.fury.io/rb/antex.svg)](https://badge.fury.io/rb/antex)
5
- [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
6
- [![Code Climate](https://codeclimate.com/github/paolobrasolin/antex/badges/gpa.svg)](https://codeclimate.com/github/paolobrasolin/antex)
7
- <!-- [![Test Coverage](https://codeclimate.com/github/paolobrasolin/antex/badges/coverage.svg)](https://codeclimate.com/github/paolobrasolin/antex/coverage) -->
8
- <!-- [![Inline docs](http://inch-ci.org/github/paolobrasolin/antex.svg?branch=master)](http://inch-ci.org/github/paolobrasolin/antex) -->
9
- <!-- [![Issue Count](https://codeclimate.com/github/paolobrasolin/antex/badges/issue_count.svg)](https://codeclimate.com/github/paolobrasolin/antex) -->
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"
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.3'
4
+ VERSION = '0.2.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: antex
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paolo Brasolin
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-11-06 00:00:00.000000000 Z
11
+ date: 2023-02-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: liquid
@@ -44,90 +44,6 @@ dependencies:
44
44
  - - "~>"
45
45
  - !ruby/object:Gem::Version
46
46
  version: '1'
47
- - !ruby/object:Gem::Dependency
48
- name: guard
49
- requirement: !ruby/object:Gem::Requirement
50
- requirements:
51
- - - "~>"
52
- - !ruby/object:Gem::Version
53
- version: 2.18.0
54
- type: :development
55
- prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
57
- requirements:
58
- - - "~>"
59
- - !ruby/object:Gem::Version
60
- version: 2.18.0
61
- - !ruby/object:Gem::Dependency
62
- name: guard-rspec
63
- requirement: !ruby/object:Gem::Requirement
64
- requirements:
65
- - - "~>"
66
- - !ruby/object:Gem::Version
67
- version: 4.7.3
68
- type: :development
69
- prerelease: false
70
- version_requirements: !ruby/object:Gem::Requirement
71
- requirements:
72
- - - "~>"
73
- - !ruby/object:Gem::Version
74
- version: 4.7.3
75
- - !ruby/object:Gem::Dependency
76
- name: rspec
77
- requirement: !ruby/object:Gem::Requirement
78
- requirements:
79
- - - "~>"
80
- - !ruby/object:Gem::Version
81
- version: 3.10.0
82
- type: :development
83
- prerelease: false
84
- version_requirements: !ruby/object:Gem::Requirement
85
- requirements:
86
- - - "~>"
87
- - !ruby/object:Gem::Version
88
- version: 3.10.0
89
- - !ruby/object:Gem::Dependency
90
- name: rubocop
91
- requirement: !ruby/object:Gem::Requirement
92
- requirements:
93
- - - "~>"
94
- - !ruby/object:Gem::Version
95
- version: 1.22.3
96
- type: :development
97
- prerelease: false
98
- version_requirements: !ruby/object:Gem::Requirement
99
- requirements:
100
- - - "~>"
101
- - !ruby/object:Gem::Version
102
- version: 1.22.3
103
- - !ruby/object:Gem::Dependency
104
- name: simplecov
105
- requirement: !ruby/object:Gem::Requirement
106
- requirements:
107
- - - "~>"
108
- - !ruby/object:Gem::Version
109
- version: 0.21.2
110
- type: :development
111
- prerelease: false
112
- version_requirements: !ruby/object:Gem::Requirement
113
- requirements:
114
- - - "~>"
115
- - !ruby/object:Gem::Version
116
- version: 0.21.2
117
- - !ruby/object:Gem::Dependency
118
- name: yard
119
- requirement: !ruby/object:Gem::Requirement
120
- requirements:
121
- - - "~>"
122
- - !ruby/object:Gem::Version
123
- version: 0.9.26
124
- type: :development
125
- prerelease: false
126
- version_requirements: !ruby/object:Gem::Requirement
127
- requirements:
128
- - - "~>"
129
- - !ruby/object:Gem::Version
130
- version: 0.9.26
131
47
  description: 'anTeX implements a universal TeX integration pipeline to easily embed
132
48
  and render arbitrary code using any engine and dialect. '
133
49
  email: paolo.brasolin@gmail.com
@@ -152,7 +68,7 @@ homepage: https://github.com/paolobrasolin/antex
152
68
  licenses:
153
69
  - MIT
154
70
  metadata: {}
155
- post_install_message:
71
+ post_install_message:
156
72
  rdoc_options: []
157
73
  require_paths:
158
74
  - lib
@@ -167,8 +83,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
167
83
  - !ruby/object:Gem::Version
168
84
  version: '0'
169
85
  requirements: []
170
- rubygems_version: 3.1.4
171
- signing_key:
86
+ rubygems_version: 3.4.5
87
+ signing_key:
172
88
  specification_version: 4
173
89
  summary: Universal TeX integrator
174
90
  test_files: []