scholarmarkdown 2.9.0 → 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: db3956a08b3d557b8684402021f9308fa86a4282dded573750668a93b29bd29e
4
- data.tar.gz: 0e199c636eb953f97d30571c36b3a8522e044df712ebbd249c3e32cd04b076d2
3
+ metadata.gz: e2f8b2c9a08ac225dbd2cecda6854f3e5fcb343eb87f18c58d3860c8770e43c6
4
+ data.tar.gz: e8661679baf6e4298239461be407ccb78354c42d5ed457cbedb483ebeac3731b
5
5
  SHA512:
6
- metadata.gz: c2578e05617d96a89f798349e5097da79311757bef769240c18219c5a6b26e3a665eac8e72498e4cff8029f0c83687c545fa73d385956c4ec16e2e79ec313464
7
- data.tar.gz: 4c4d96b660f61d25a08322a645a53bdd8eb38baed4c1949d59a560536e517d86ab8f9695d20b86929bb2b7d474593119b8c2426eb43d035deb61ff551db09d50
6
+ metadata.gz: ae6e860461ec2c0a6f38d71959380ca0ce7b1fd97910f27a195ac1940121940a4c1f64ec54da336dff572bef8aff759f368845efd8bf2b5743a7356b6d9bd649
7
+ data.tar.gz: 4a075b69f76df104ce974235c4edfff6f5c3d6cad4c40b1481671a6aca8a4711707fb99134e2dbe926611414790d847e5d6ba1c838de964ff3eac3ea807cee98
data/Gemfile CHANGED
@@ -1,5 +1,8 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
+ # webserver
4
+ gem 'puma'
5
+
3
6
  # references
4
7
  gem 'i18n'
5
8
  gem 'bibtex-ruby'
@@ -13,10 +16,19 @@ gem 'katex'
13
16
  gem 'sskatex'
14
17
  gem 'kramdown-math-sskatex'
15
18
  gem 'execjs'
16
- 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'
17
29
 
18
30
  group :development do
19
31
  # management of this gem
20
- gem "bundler", "~> 1.0"
32
+ gem "bundler", "~> 2.0"
21
33
  gem "juwelier", "~> 2.4.7"
22
34
  end
data/Gemfile.lock CHANGED
@@ -1,39 +1,58 @@
1
1
  GEM
2
2
  remote: https://rubygems.org/
3
3
  specs:
4
- addressable (2.5.2)
5
- public_suffix (>= 2.0.2, < 4.0)
4
+ addressable (2.8.0)
5
+ public_suffix (>= 2.0.2, < 5.0)
6
6
  bibmarkdown (2.0.0)
7
7
  citeproc-ruby
8
8
  csl-styles
9
- bibtex-ruby (4.4.6)
9
+ bibtex-ruby (6.0.0)
10
10
  latex-decode (~> 0.0)
11
- builder (3.2.3)
12
- citeproc (1.0.9)
11
+ builder (3.2.4)
12
+ citeproc (1.0.10)
13
13
  namae (~> 1.0)
14
- citeproc-ruby (1.1.10)
14
+ citeproc-ruby (1.1.14)
15
15
  citeproc (~> 1.0, >= 1.0.9)
16
- csl (~> 1.5)
17
- concurrent-ruby (1.0.5)
18
- csl (1.5.0)
16
+ csl (~> 1.6)
17
+ concurrent-ruby (1.1.9)
18
+ csl (1.6.0)
19
19
  namae (~> 1.0)
20
- csl-styles (1.0.1.8)
20
+ rexml
21
+ csl-styles (1.0.1.11)
21
22
  csl (~> 1.0)
22
23
  descendants_tracker (0.0.4)
23
24
  thread_safe (~> 0.3, >= 0.3.1)
24
- execjs (2.7.0)
25
- faraday (0.12.2)
25
+ execjs (2.8.1)
26
+ faraday (1.8.0)
27
+ faraday-em_http (~> 1.0)
28
+ faraday-em_synchrony (~> 1.0)
29
+ faraday-excon (~> 1.1)
30
+ faraday-httpclient (~> 1.0.1)
31
+ faraday-net_http (~> 1.0)
32
+ faraday-net_http_persistent (~> 1.1)
33
+ faraday-patron (~> 1.0)
34
+ faraday-rack (~> 1.0)
26
35
  multipart-post (>= 1.2, < 3)
27
- git (1.3.0)
28
- github_api (0.18.2)
36
+ ruby2_keywords (>= 0.0.4)
37
+ faraday-em_http (1.0.0)
38
+ faraday-em_synchrony (1.0.0)
39
+ faraday-excon (1.1.0)
40
+ faraday-httpclient (1.0.1)
41
+ faraday-net_http (1.0.1)
42
+ faraday-net_http_persistent (1.2.0)
43
+ faraday-patron (1.0.0)
44
+ faraday-rack (1.0.0)
45
+ git (1.9.1)
46
+ rchardet (~> 1.8)
47
+ github_api (0.19.0)
29
48
  addressable (~> 2.4)
30
49
  descendants_tracker (~> 0.0.4)
31
- faraday (~> 0.8)
50
+ faraday (>= 0.8, < 2)
32
51
  hashie (~> 3.5, >= 3.5.2)
33
52
  oauth2 (~> 1.0)
34
- hashie (3.5.7)
35
- highline (1.7.10)
36
- i18n (0.9.5)
53
+ hashie (3.6.0)
54
+ highline (2.0.3)
55
+ i18n (1.8.10)
37
56
  concurrent-ruby (~> 1.0)
38
57
  juwelier (2.4.9)
39
58
  builder
@@ -47,36 +66,49 @@ GEM
47
66
  rake
48
67
  rdoc
49
68
  semver2
50
- jwt (1.5.6)
69
+ jwt (2.2.3)
51
70
  kamelcase (0.0.2)
52
71
  semver2 (~> 3)
53
- katex (0.4.3)
72
+ katex (0.8.0)
54
73
  execjs (~> 2.7)
55
- kramdown (2.1.0)
74
+ kramdown (2.3.1)
75
+ rexml
56
76
  kramdown-math-sskatex (1.0.0)
57
77
  kramdown (~> 2.0)
58
78
  sskatex (>= 0.9.37)
59
- latex-decode (0.3.1)
79
+ latex-decode (0.3.2)
60
80
  libv8 (3.16.14.19)
61
- mini_portile2 (2.3.0)
62
- multi_json (1.13.1)
81
+ libv8-node (16.10.0.0)
82
+ libv8-node (16.10.0.0-x86_64-darwin-19)
83
+ mini_portile2 (2.6.1)
84
+ mini_racer (0.6.3)
85
+ libv8-node (~> 16.10.0.0)
86
+ multi_json (1.15.0)
63
87
  multi_xml (0.6.0)
64
- multipart-post (2.0.0)
65
- namae (1.0.1)
66
- nokogiri (1.8.2)
67
- mini_portile2 (~> 2.3.0)
68
- oauth2 (1.4.0)
69
- faraday (>= 0.8, < 0.13)
70
- jwt (~> 1.0)
88
+ multipart-post (2.1.1)
89
+ namae (1.1.1)
90
+ nio4r (2.5.8)
91
+ nokogiri (1.12.4)
92
+ mini_portile2 (~> 2.6.1)
93
+ racc (~> 1.4)
94
+ oauth2 (1.4.7)
95
+ faraday (>= 0.8, < 2.0)
96
+ jwt (>= 1.0, < 3.0)
71
97
  multi_json (~> 1.3)
72
98
  multi_xml (~> 0.5)
73
99
  rack (>= 1.2, < 3)
74
- psych (3.0.2)
75
- public_suffix (3.0.2)
76
- rack (1.5.5)
77
- rake (12.3.0)
78
- rdoc (6.0.2)
100
+ psych (4.0.1)
101
+ public_suffix (4.0.6)
102
+ puma (5.6.2)
103
+ nio4r (~> 2.0)
104
+ racc (1.5.2)
105
+ rack (2.2.3)
106
+ rake (13.0.6)
107
+ rchardet (1.8.0)
108
+ rdoc (6.3.2)
79
109
  ref (2.0.0)
110
+ rexml (3.2.5)
111
+ ruby2_keywords (0.0.5)
80
112
  semver2 (3.4.2)
81
113
  sskatex (0.9.39)
82
114
  execjs (~> 2.7)
@@ -87,11 +119,12 @@ GEM
87
119
 
88
120
  PLATFORMS
89
121
  ruby
122
+ x86_64-darwin-19
90
123
 
91
124
  DEPENDENCIES
92
125
  bibmarkdown (~> 2.0.0)
93
126
  bibtex-ruby
94
- bundler (~> 1.0)
127
+ bundler (~> 2.0)
95
128
  citeproc-ruby (>= 1.1.6)
96
129
  csl-styles
97
130
  execjs
@@ -100,8 +133,11 @@ DEPENDENCIES
100
133
  katex
101
134
  kramdown-math-sskatex
102
135
  latex-decode
136
+ libv8-node (= 16.10.0.0)
137
+ mini_racer
138
+ puma
103
139
  sskatex
104
140
  therubyracer
105
141
 
106
142
  BUNDLED WITH
107
- 1.16.2
143
+ 2.2.28
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.9.0
1
+ 2.11.0
@@ -13,3 +13,5 @@ bundle exec nanoc compile
13
13
  ```
14
14
 
15
15
  View on http://localhost:3000/
16
+
17
+ This article makes use of the [ScholarMarkdown](https://github.com/rubensworks/ScholarMarkdown/) framework.
@@ -154,6 +154,7 @@
154
154
  </group>
155
155
  </else>
156
156
  </choose>
157
+ <text variable="DOI" prefix=" doi:"/>
157
158
  </layout>
158
159
  </bibliography>
159
160
  </style>
@@ -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.9.0 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.9.0"
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 = "2020-04-22"
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 = [
@@ -71,42 +71,32 @@ Gem::Specification.new do |s|
71
71
  ]
72
72
  s.homepage = "http://github.com/rubensworks/ScholarMarkdown".freeze
73
73
  s.licenses = ["MIT".freeze]
74
- s.rubygems_version = "2.7.7".freeze
74
+ s.rubygems_version = "3.1.2".freeze
75
75
  s.summary = "A framework for writing markdown-based scholarly articles.".freeze
76
76
 
77
77
  if s.respond_to? :specification_version then
78
78
  s.specification_version = 4
79
+ end
79
80
 
80
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
81
- s.add_runtime_dependency(%q<i18n>.freeze, [">= 0"])
82
- s.add_runtime_dependency(%q<bibtex-ruby>.freeze, [">= 0"])
83
- s.add_runtime_dependency(%q<latex-decode>.freeze, [">= 0"])
84
- s.add_runtime_dependency(%q<citeproc-ruby>.freeze, [">= 1.1.6"])
85
- s.add_runtime_dependency(%q<csl-styles>.freeze, [">= 0"])
86
- s.add_runtime_dependency(%q<bibmarkdown>.freeze, ["~> 2.0.0"])
87
- s.add_runtime_dependency(%q<katex>.freeze, [">= 0"])
88
- s.add_runtime_dependency(%q<sskatex>.freeze, [">= 0"])
89
- s.add_runtime_dependency(%q<kramdown-math-sskatex>.freeze, [">= 0"])
90
- s.add_runtime_dependency(%q<execjs>.freeze, [">= 0"])
91
- s.add_runtime_dependency(%q<therubyracer>.freeze, [">= 0"])
92
- s.add_development_dependency(%q<bundler>.freeze, ["~> 1.0"])
93
- s.add_development_dependency(%q<juwelier>.freeze, ["~> 2.4.7"])
94
- else
95
- s.add_dependency(%q<i18n>.freeze, [">= 0"])
96
- s.add_dependency(%q<bibtex-ruby>.freeze, [">= 0"])
97
- s.add_dependency(%q<latex-decode>.freeze, [">= 0"])
98
- s.add_dependency(%q<citeproc-ruby>.freeze, [">= 1.1.6"])
99
- s.add_dependency(%q<csl-styles>.freeze, [">= 0"])
100
- s.add_dependency(%q<bibmarkdown>.freeze, ["~> 2.0.0"])
101
- s.add_dependency(%q<katex>.freeze, [">= 0"])
102
- s.add_dependency(%q<sskatex>.freeze, [">= 0"])
103
- s.add_dependency(%q<kramdown-math-sskatex>.freeze, [">= 0"])
104
- s.add_dependency(%q<execjs>.freeze, [">= 0"])
105
- s.add_dependency(%q<therubyracer>.freeze, [">= 0"])
106
- s.add_dependency(%q<bundler>.freeze, ["~> 1.0"])
107
- s.add_dependency(%q<juwelier>.freeze, ["~> 2.4.7"])
108
- end
81
+ if s.respond_to? :add_runtime_dependency then
82
+ s.add_runtime_dependency(%q<puma>.freeze, [">= 0"])
83
+ s.add_runtime_dependency(%q<i18n>.freeze, [">= 0"])
84
+ s.add_runtime_dependency(%q<bibtex-ruby>.freeze, [">= 0"])
85
+ s.add_runtime_dependency(%q<latex-decode>.freeze, [">= 0"])
86
+ s.add_runtime_dependency(%q<citeproc-ruby>.freeze, [">= 1.1.6"])
87
+ s.add_runtime_dependency(%q<csl-styles>.freeze, [">= 0"])
88
+ s.add_runtime_dependency(%q<bibmarkdown>.freeze, ["~> 2.0.0"])
89
+ s.add_runtime_dependency(%q<katex>.freeze, [">= 0"])
90
+ s.add_runtime_dependency(%q<sskatex>.freeze, [">= 0"])
91
+ s.add_runtime_dependency(%q<kramdown-math-sskatex>.freeze, [">= 0"])
92
+ s.add_runtime_dependency(%q<execjs>.freeze, [">= 0"])
93
+ s.add_runtime_dependency(%q<mini_racer>.freeze, [">= 0"])
94
+ s.add_runtime_dependency(%q<therubyracer>.freeze, [">= 0"])
95
+ s.add_runtime_dependency(%q<libv8-node>.freeze, ["= 16.10.0.0"])
96
+ s.add_development_dependency(%q<bundler>.freeze, ["~> 2.0"])
97
+ s.add_development_dependency(%q<juwelier>.freeze, ["~> 2.4.7"])
109
98
  else
99
+ s.add_dependency(%q<puma>.freeze, [">= 0"])
110
100
  s.add_dependency(%q<i18n>.freeze, [">= 0"])
111
101
  s.add_dependency(%q<bibtex-ruby>.freeze, [">= 0"])
112
102
  s.add_dependency(%q<latex-decode>.freeze, [">= 0"])
@@ -117,8 +107,10 @@ Gem::Specification.new do |s|
117
107
  s.add_dependency(%q<sskatex>.freeze, [">= 0"])
118
108
  s.add_dependency(%q<kramdown-math-sskatex>.freeze, [">= 0"])
119
109
  s.add_dependency(%q<execjs>.freeze, [">= 0"])
110
+ s.add_dependency(%q<mini_racer>.freeze, [">= 0"])
120
111
  s.add_dependency(%q<therubyracer>.freeze, [">= 0"])
121
- s.add_dependency(%q<bundler>.freeze, ["~> 1.0"])
112
+ s.add_dependency(%q<libv8-node>.freeze, ["= 16.10.0.0"])
113
+ s.add_dependency(%q<bundler>.freeze, ["~> 2.0"])
122
114
  s.add_dependency(%q<juwelier>.freeze, ["~> 2.4.7"])
123
115
  end
124
116
  end
metadata CHANGED
@@ -1,15 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scholarmarkdown
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.9.0
4
+ version: 2.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ruben Taelman
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-04-22 00:00:00.000000000 Z
11
+ date: 2022-08-29 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: puma
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: i18n
15
29
  requirement: !ruby/object:Gem::Requirement
@@ -150,6 +164,20 @@ dependencies:
150
164
  - - ">="
151
165
  - !ruby/object:Gem::Version
152
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'
153
181
  - !ruby/object:Gem::Dependency
154
182
  name: therubyracer
155
183
  requirement: !ruby/object:Gem::Requirement
@@ -164,20 +192,34 @@ dependencies:
164
192
  - - ">="
165
193
  - !ruby/object:Gem::Version
166
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
167
209
  - !ruby/object:Gem::Dependency
168
210
  name: bundler
169
211
  requirement: !ruby/object:Gem::Requirement
170
212
  requirements:
171
213
  - - "~>"
172
214
  - !ruby/object:Gem::Version
173
- version: '1.0'
215
+ version: '2.0'
174
216
  type: :development
175
217
  prerelease: false
176
218
  version_requirements: !ruby/object:Gem::Requirement
177
219
  requirements:
178
220
  - - "~>"
179
221
  - !ruby/object:Gem::Version
180
- version: '1.0'
222
+ version: '2.0'
181
223
  - !ruby/object:Gem::Dependency
182
224
  name: juwelier
183
225
  requirement: !ruby/object:Gem::Requirement
@@ -192,7 +234,7 @@ dependencies:
192
234
  - - "~>"
193
235
  - !ruby/object:Gem::Version
194
236
  version: 2.4.7
195
- description:
237
+ description:
196
238
  email: rubensworks@gmail.com
197
239
  executables:
198
240
  - generate-scholarmarkdown
@@ -254,7 +296,7 @@ homepage: http://github.com/rubensworks/ScholarMarkdown
254
296
  licenses:
255
297
  - MIT
256
298
  metadata: {}
257
- post_install_message:
299
+ post_install_message:
258
300
  rdoc_options: []
259
301
  require_paths:
260
302
  - lib
@@ -269,9 +311,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
269
311
  - !ruby/object:Gem::Version
270
312
  version: '0'
271
313
  requirements: []
272
- rubyforge_project:
273
- rubygems_version: 2.7.7
274
- signing_key:
314
+ rubygems_version: 3.1.2
315
+ signing_key:
275
316
  specification_version: 4
276
317
  summary: A framework for writing markdown-based scholarly articles.
277
318
  test_files: []