jekyll-antex 0.8.2 → 0.9.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: f609a78b6a1acd8adda982bc62c079de6af5023f069ab625644f896ffaf5890f
4
- data.tar.gz: 2c8be905c05a8cecfffaf531d29f90be6ad0d45ca33984851889ffab84dbdbe0
3
+ metadata.gz: c53635e64b88a349293aaf147af7dcb956b08b3bdd45130af2a7e28c3d36561a
4
+ data.tar.gz: c3f6239ed19acb0a8b7e0bdf1ab46f2537f460e505368c3214c5ead27763e0ad
5
5
  SHA512:
6
- metadata.gz: 61c9c61a3447679b91dd262d35ceae4133a9aa8c7befcb386a373b3547812a6a62e66d2564d926138d0b3c041077709db7f991f564ea5c7df34c5df7e6014e83
7
- data.tar.gz: 3d6537e21cc541425eab60499ced8f54b7d551fa532a5e92af84bcba57ea6b6324e7a0fa258010e3cda86d75de31a141d8c65bc6d839cfc65926db8f895d3fd5
6
+ metadata.gz: f1c12d659e5157a42cacd76512bac1ef5fe1e03d95b01dce871079056b26c0a16fdb90759d7a96606be84344836ec8f50d607241b09ff93d6bf7acdeb9531fb7
7
+ data.tar.gz: 01f50f7827e7968c28b4fb3bc881aefb3c421edc3d562cb0662c2218dbb67385fbb271b11d17d201c0f0fd9e8024e0f47df37f283b9460f2d6a9f05c161a58ad
@@ -2,12 +2,18 @@
2
2
 
3
3
  require 'yaml'
4
4
  require 'jekyll'
5
+ require 'rubygems/version'
5
6
 
6
7
  module Jekyll
7
8
  module Antex
8
9
  module Options
9
- DEFAULTS =
10
- YAML.load_file(File.join(File.dirname(__FILE__), 'defaults.yml')).freeze
10
+ if Gem::Version.new(Psych::VERSION) < Gem::Version.new("4.0.0")
11
+ DEFAULTS =
12
+ YAML.load_file(File.join(File.dirname(__FILE__), 'defaults.yml')).freeze
13
+ else
14
+ DEFAULTS =
15
+ YAML.load_file(File.join(File.dirname(__FILE__), 'defaults.yml'), permitted_classes: [Regexp]).freeze
16
+ end
11
17
 
12
18
  def self.build(*hashes)
13
19
  hashes.reduce({}) do |result, hash|
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Jekyll
4
4
  module Antex
5
- VERSION = '0.8.2'
5
+ VERSION = '0.9.0'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-antex
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.2
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paolo Brasolin
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.1.3
19
+ version: 0.2.0
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.1.3
26
+ version: 0.2.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: jekyll
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -72,118 +72,6 @@ dependencies:
72
72
  - - "~>"
73
73
  - !ruby/object:Gem::Version
74
74
  version: '1'
75
- - !ruby/object:Gem::Dependency
76
- name: byebug
77
- requirement: !ruby/object:Gem::Requirement
78
- requirements:
79
- - - "~>"
80
- - !ruby/object:Gem::Version
81
- version: 11.1.3
82
- type: :development
83
- prerelease: false
84
- version_requirements: !ruby/object:Gem::Requirement
85
- requirements:
86
- - - "~>"
87
- - !ruby/object:Gem::Version
88
- version: 11.1.3
89
- - !ruby/object:Gem::Dependency
90
- name: guard
91
- requirement: !ruby/object:Gem::Requirement
92
- requirements:
93
- - - "~>"
94
- - !ruby/object:Gem::Version
95
- version: 2.18.0
96
- type: :development
97
- prerelease: false
98
- version_requirements: !ruby/object:Gem::Requirement
99
- requirements:
100
- - - "~>"
101
- - !ruby/object:Gem::Version
102
- version: 2.18.0
103
- - !ruby/object:Gem::Dependency
104
- name: guard-rspec
105
- requirement: !ruby/object:Gem::Requirement
106
- requirements:
107
- - - "~>"
108
- - !ruby/object:Gem::Version
109
- version: 4.7.3
110
- type: :development
111
- prerelease: false
112
- version_requirements: !ruby/object:Gem::Requirement
113
- requirements:
114
- - - "~>"
115
- - !ruby/object:Gem::Version
116
- version: 4.7.3
117
- - !ruby/object:Gem::Dependency
118
- name: reek
119
- requirement: !ruby/object:Gem::Requirement
120
- requirements:
121
- - - "~>"
122
- - !ruby/object:Gem::Version
123
- version: 6.0.6
124
- type: :development
125
- prerelease: false
126
- version_requirements: !ruby/object:Gem::Requirement
127
- requirements:
128
- - - "~>"
129
- - !ruby/object:Gem::Version
130
- version: 6.0.6
131
- - !ruby/object:Gem::Dependency
132
- name: rspec
133
- requirement: !ruby/object:Gem::Requirement
134
- requirements:
135
- - - "~>"
136
- - !ruby/object:Gem::Version
137
- version: 3.10.0
138
- type: :development
139
- prerelease: false
140
- version_requirements: !ruby/object:Gem::Requirement
141
- requirements:
142
- - - "~>"
143
- - !ruby/object:Gem::Version
144
- version: 3.10.0
145
- - !ruby/object:Gem::Dependency
146
- name: rubocop
147
- requirement: !ruby/object:Gem::Requirement
148
- requirements:
149
- - - "~>"
150
- - !ruby/object:Gem::Version
151
- version: 1.22.3
152
- type: :development
153
- prerelease: false
154
- version_requirements: !ruby/object:Gem::Requirement
155
- requirements:
156
- - - "~>"
157
- - !ruby/object:Gem::Version
158
- version: 1.22.3
159
- - !ruby/object:Gem::Dependency
160
- name: simplecov
161
- requirement: !ruby/object:Gem::Requirement
162
- requirements:
163
- - - "~>"
164
- - !ruby/object:Gem::Version
165
- version: 0.21.2
166
- type: :development
167
- prerelease: false
168
- version_requirements: !ruby/object:Gem::Requirement
169
- requirements:
170
- - - "~>"
171
- - !ruby/object:Gem::Version
172
- version: 0.21.2
173
- - !ruby/object:Gem::Dependency
174
- name: yard
175
- requirement: !ruby/object:Gem::Requirement
176
- requirements:
177
- - - "~>"
178
- - !ruby/object:Gem::Version
179
- version: 0.9.26
180
- type: :development
181
- prerelease: false
182
- version_requirements: !ruby/object:Gem::Requirement
183
- requirements:
184
- - - "~>"
185
- - !ruby/object:Gem::Version
186
- version: 0.9.26
187
75
  description: 'Jekyll-anTeX implements universal TeX support in Jekyll to embed and
188
76
  render arbitrary code using any engine and dialect. '
189
77
  email: paolo.brasolin@gmail.com
@@ -202,7 +90,7 @@ files:
202
90
  - lib/jekyll/antex/options.rb
203
91
  - lib/jekyll/antex/stasher.rb
204
92
  - lib/jekyll/antex/version.rb
205
- homepage: https://github.com/paolobrasolin/antex
93
+ homepage: https://github.com/paolobrasolin/jekyll-antex
206
94
  licenses:
207
95
  - MIT
208
96
  metadata: {}
@@ -214,10 +102,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
214
102
  requirements:
215
103
  - - ">="
216
104
  - !ruby/object:Gem::Version
217
- version: '2.3'
218
- - - "<"
219
- - !ruby/object:Gem::Version
220
- version: '3.1'
105
+ version: '2.6'
221
106
  required_rubygems_version: !ruby/object:Gem::Requirement
222
107
  requirements:
223
108
  - - ">="