scholarmarkdown 2.10.1 → 2.11.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: 82f0540b101490a459e891872083cf3daede4de34cfa6ceca1e9a16f2a1e3925
4
- data.tar.gz: 23c9ae1bc376603461559e7c8897613952f763adb592021ea9be30c8e2f10863
3
+ metadata.gz: e2f8b2c9a08ac225dbd2cecda6854f3e5fcb343eb87f18c58d3860c8770e43c6
4
+ data.tar.gz: e8661679baf6e4298239461be407ccb78354c42d5ed457cbedb483ebeac3731b
5
5
  SHA512:
6
- metadata.gz: 8e63476d6e2b644b3c2a910c85d47f555383c88ee945c2770628844afb65bc49a6f7520c405f106e3aea7788dc34daa9f6c33e9e35285869cccc6d3f5848ea45
7
- data.tar.gz: 308771691759bf82709035f971da5c4b58e4937d8f09797a7f4e3a112a52204d04a57053e37cd8284d9cf74f2cd56e8879eba940a5932cd07836253c62cd4dce
6
+ metadata.gz: ae6e860461ec2c0a6f38d71959380ca0ce7b1fd97910f27a195ac1940121940a4c1f64ec54da336dff572bef8aff759f368845efd8bf2b5743a7356b6d9bd649
7
+ data.tar.gz: 4a075b69f76df104ce974235c4edfff6f5c3d6cad4c40b1481671a6aca8a4711707fb99134e2dbe926611414790d847e5d6ba1c838de964ff3eac3ea807cee98
data/Gemfile CHANGED
@@ -16,7 +16,16 @@ gem 'katex'
16
16
  gem 'sskatex'
17
17
  gem 'kramdown-math-sskatex'
18
18
  gem 'execjs'
19
- gem 'therubyracer', :platforms => :ruby # embedded V8 JavaScript engine
19
+
20
+ # M1 Macs must use mini_racer. therubyracer is broken: https://github.com/rubyjs/libv8/issues/312
21
+ # Intel Macs may use either - but therubyracer requires `brew install v8@3.15` and `bundle config build.therubyracer --with-v8-dir=$(brew --prefix)/opt/v8@3.15`, while mini_racer works out of the box.
22
+ # New Linuxes may use either.
23
+ # Old Linuxes must use therubyracer, as mini_racer requires GCC 8+.
24
+ # Source: https://github.com/rubyjs/libv8/issues/312#issuecomment-1200269949
25
+ is_mac = RUBY_PLATFORM.include?('darwin')
26
+ gem 'mini_racer', install_if: is_mac
27
+ gem 'therubyracer', install_if: !is_mac
28
+ gem 'libv8-node', '16.10.0.0'
20
29
 
21
30
  group :development do
22
31
  # management of this gem
data/Gemfile.lock CHANGED
@@ -78,7 +78,11 @@ GEM
78
78
  sskatex (>= 0.9.37)
79
79
  latex-decode (0.3.2)
80
80
  libv8 (3.16.14.19)
81
+ libv8-node (16.10.0.0)
82
+ libv8-node (16.10.0.0-x86_64-darwin-19)
81
83
  mini_portile2 (2.6.1)
84
+ mini_racer (0.6.3)
85
+ libv8-node (~> 16.10.0.0)
82
86
  multi_json (1.15.0)
83
87
  multi_xml (0.6.0)
84
88
  multipart-post (2.1.1)
@@ -87,8 +91,6 @@ GEM
87
91
  nokogiri (1.12.4)
88
92
  mini_portile2 (~> 2.6.1)
89
93
  racc (~> 1.4)
90
- nokogiri (1.12.4-x86_64-darwin)
91
- racc (~> 1.4)
92
94
  oauth2 (1.4.7)
93
95
  faraday (>= 0.8, < 2.0)
94
96
  jwt (>= 1.0, < 3.0)
@@ -131,6 +133,8 @@ DEPENDENCIES
131
133
  katex
132
134
  kramdown-math-sskatex
133
135
  latex-decode
136
+ libv8-node (= 16.10.0.0)
137
+ mini_racer
134
138
  puma
135
139
  sskatex
136
140
  therubyracer
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.10.1
1
+ 2.11.0
@@ -2,16 +2,16 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Juwelier::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: scholarmarkdown 2.10.1 ruby lib
5
+ # stub: scholarmarkdown 2.11.0 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "scholarmarkdown".freeze
9
- s.version = "2.10.1"
9
+ s.version = "2.11.0"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib".freeze]
13
13
  s.authors = ["Ruben Taelman".freeze]
14
- s.date = "2022-02-23"
14
+ s.date = "2022-08-29"
15
15
  s.email = "rubensworks@gmail.com".freeze
16
16
  s.executables = ["generate-scholarmarkdown".freeze]
17
17
  s.extra_rdoc_files = [
@@ -90,7 +90,9 @@ Gem::Specification.new do |s|
90
90
  s.add_runtime_dependency(%q<sskatex>.freeze, [">= 0"])
91
91
  s.add_runtime_dependency(%q<kramdown-math-sskatex>.freeze, [">= 0"])
92
92
  s.add_runtime_dependency(%q<execjs>.freeze, [">= 0"])
93
+ s.add_runtime_dependency(%q<mini_racer>.freeze, [">= 0"])
93
94
  s.add_runtime_dependency(%q<therubyracer>.freeze, [">= 0"])
95
+ s.add_runtime_dependency(%q<libv8-node>.freeze, ["= 16.10.0.0"])
94
96
  s.add_development_dependency(%q<bundler>.freeze, ["~> 2.0"])
95
97
  s.add_development_dependency(%q<juwelier>.freeze, ["~> 2.4.7"])
96
98
  else
@@ -105,7 +107,9 @@ Gem::Specification.new do |s|
105
107
  s.add_dependency(%q<sskatex>.freeze, [">= 0"])
106
108
  s.add_dependency(%q<kramdown-math-sskatex>.freeze, [">= 0"])
107
109
  s.add_dependency(%q<execjs>.freeze, [">= 0"])
110
+ s.add_dependency(%q<mini_racer>.freeze, [">= 0"])
108
111
  s.add_dependency(%q<therubyracer>.freeze, [">= 0"])
112
+ s.add_dependency(%q<libv8-node>.freeze, ["= 16.10.0.0"])
109
113
  s.add_dependency(%q<bundler>.freeze, ["~> 2.0"])
110
114
  s.add_dependency(%q<juwelier>.freeze, ["~> 2.4.7"])
111
115
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scholarmarkdown
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.10.1
4
+ version: 2.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ruben Taelman
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-23 00:00:00.000000000 Z
11
+ date: 2022-08-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: puma
@@ -164,6 +164,20 @@ dependencies:
164
164
  - - ">="
165
165
  - !ruby/object:Gem::Version
166
166
  version: '0'
167
+ - !ruby/object:Gem::Dependency
168
+ name: mini_racer
169
+ requirement: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - ">="
172
+ - !ruby/object:Gem::Version
173
+ version: '0'
174
+ type: :runtime
175
+ prerelease: false
176
+ version_requirements: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - ">="
179
+ - !ruby/object:Gem::Version
180
+ version: '0'
167
181
  - !ruby/object:Gem::Dependency
168
182
  name: therubyracer
169
183
  requirement: !ruby/object:Gem::Requirement
@@ -178,6 +192,20 @@ dependencies:
178
192
  - - ">="
179
193
  - !ruby/object:Gem::Version
180
194
  version: '0'
195
+ - !ruby/object:Gem::Dependency
196
+ name: libv8-node
197
+ requirement: !ruby/object:Gem::Requirement
198
+ requirements:
199
+ - - '='
200
+ - !ruby/object:Gem::Version
201
+ version: 16.10.0.0
202
+ type: :runtime
203
+ prerelease: false
204
+ version_requirements: !ruby/object:Gem::Requirement
205
+ requirements:
206
+ - - '='
207
+ - !ruby/object:Gem::Version
208
+ version: 16.10.0.0
181
209
  - !ruby/object:Gem::Dependency
182
210
  name: bundler
183
211
  requirement: !ruby/object:Gem::Requirement