gollum-lib 5.0.a.4 → 5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +2 -1
- data/README.md +12 -7
- data/Rakefile +5 -5
- data/adapter_dependencies.rb +7 -0
- data/gemspec.rb +18 -10
- data/gollum-lib.gemspec +2 -6
- data/gollum-lib_java.gemspec +2 -2
- data/lib/gollum-lib.rb +9 -9
- data/lib/gollum-lib/blob_entry.rb +2 -8
- data/lib/gollum-lib/committer.rb +22 -60
- data/lib/gollum-lib/file.rb +105 -82
- data/lib/gollum-lib/file_view.rb +8 -4
- data/lib/gollum-lib/filter.rb +12 -0
- data/lib/gollum-lib/filter/code.rb +9 -13
- data/lib/gollum-lib/filter/critic_markup.rb +97 -0
- data/lib/gollum-lib/filter/emoji.rb +10 -8
- data/lib/gollum-lib/filter/macro.rb +5 -2
- data/lib/gollum-lib/filter/plantuml.rb +1 -1
- data/lib/gollum-lib/filter/remote_code.rb +3 -2
- data/lib/gollum-lib/filter/render.rb +25 -2
- data/lib/gollum-lib/filter/sanitize.rb +1 -8
- data/lib/gollum-lib/filter/tags.rb +57 -47
- data/lib/gollum-lib/filter/toc.rb +17 -21
- data/lib/gollum-lib/filter/yaml.rb +1 -1
- data/lib/gollum-lib/git_access.rb +0 -25
- data/lib/gollum-lib/helpers.rb +13 -3
- data/lib/gollum-lib/macro/audio.rb +9 -0
- data/lib/gollum-lib/macro/global_toc.rb +2 -1
- data/lib/gollum-lib/macro/navigation.rb +8 -6
- data/lib/gollum-lib/macro/note.rb +19 -0
- data/lib/gollum-lib/macro/octicon.rb +12 -0
- data/lib/gollum-lib/macro/warn.rb +11 -0
- data/lib/gollum-lib/markup.rb +17 -32
- data/lib/gollum-lib/markups.rb +11 -7
- data/lib/gollum-lib/page.rb +79 -165
- data/lib/gollum-lib/pagination.rb +7 -6
- data/lib/gollum-lib/redirects.rb +38 -0
- data/lib/gollum-lib/sanitization.rb +32 -357
- data/lib/gollum-lib/version.rb +1 -1
- data/lib/gollum-lib/wiki.rb +216 -404
- metadata +73 -28
- data/ROADMAP +0 -6
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gollum-lib
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.0
|
4
|
+
version: '5.0'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tom Preston-Werner
|
@@ -12,19 +12,25 @@ cert_chain: []
|
|
12
12
|
date: 2017-04-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
|
-
name: gollum-
|
15
|
+
name: gollum-rugged_adapter
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
|
+
- - ">="
|
19
|
+
- !ruby/object:Gem::Version
|
20
|
+
version: 0.99.4
|
18
21
|
- - "~>"
|
19
22
|
- !ruby/object:Gem::Version
|
20
|
-
version:
|
23
|
+
version: 0.99.4
|
21
24
|
type: :runtime
|
22
25
|
prerelease: false
|
23
26
|
version_requirements: !ruby/object:Gem::Requirement
|
24
27
|
requirements:
|
28
|
+
- - ">="
|
29
|
+
- !ruby/object:Gem::Version
|
30
|
+
version: 0.99.4
|
25
31
|
- - "~>"
|
26
32
|
- !ruby/object:Gem::Version
|
27
|
-
version:
|
33
|
+
version: 0.99.4
|
28
34
|
- !ruby/object:Gem::Dependency
|
29
35
|
name: rouge
|
30
36
|
requirement: !ruby/object:Gem::Requirement
|
@@ -54,61 +60,61 @@ dependencies:
|
|
54
60
|
- !ruby/object:Gem::Version
|
55
61
|
version: '1.8'
|
56
62
|
- !ruby/object:Gem::Dependency
|
57
|
-
name:
|
63
|
+
name: loofah
|
58
64
|
requirement: !ruby/object:Gem::Requirement
|
59
65
|
requirements:
|
60
66
|
- - "~>"
|
61
67
|
- !ruby/object:Gem::Version
|
62
|
-
version: '2.
|
68
|
+
version: '2.3'
|
63
69
|
type: :runtime
|
64
70
|
prerelease: false
|
65
71
|
version_requirements: !ruby/object:Gem::Requirement
|
66
72
|
requirements:
|
67
73
|
- - "~>"
|
68
74
|
- !ruby/object:Gem::Version
|
69
|
-
version: '2.
|
75
|
+
version: '2.3'
|
70
76
|
- !ruby/object:Gem::Dependency
|
71
|
-
name:
|
77
|
+
name: github-markup
|
72
78
|
requirement: !ruby/object:Gem::Requirement
|
73
79
|
requirements:
|
74
80
|
- - "~>"
|
75
81
|
- !ruby/object:Gem::Version
|
76
|
-
version: '
|
82
|
+
version: '3.0'
|
77
83
|
type: :runtime
|
78
84
|
prerelease: false
|
79
85
|
version_requirements: !ruby/object:Gem::Requirement
|
80
86
|
requirements:
|
81
87
|
- - "~>"
|
82
88
|
- !ruby/object:Gem::Version
|
83
|
-
version: '
|
89
|
+
version: '3.0'
|
84
90
|
- !ruby/object:Gem::Dependency
|
85
|
-
name:
|
91
|
+
name: gemojione
|
86
92
|
requirement: !ruby/object:Gem::Requirement
|
87
93
|
requirements:
|
88
94
|
- - "~>"
|
89
95
|
- !ruby/object:Gem::Version
|
90
|
-
version: '1
|
96
|
+
version: '4.1'
|
91
97
|
type: :runtime
|
92
98
|
prerelease: false
|
93
99
|
version_requirements: !ruby/object:Gem::Requirement
|
94
100
|
requirements:
|
95
101
|
- - "~>"
|
96
102
|
- !ruby/object:Gem::Version
|
97
|
-
version: '1
|
103
|
+
version: '4.1'
|
98
104
|
- !ruby/object:Gem::Dependency
|
99
|
-
name:
|
105
|
+
name: octicons
|
100
106
|
requirement: !ruby/object:Gem::Requirement
|
101
107
|
requirements:
|
102
108
|
- - "~>"
|
103
109
|
- !ruby/object:Gem::Version
|
104
|
-
version: '
|
110
|
+
version: '8.5'
|
105
111
|
type: :runtime
|
106
112
|
prerelease: false
|
107
113
|
version_requirements: !ruby/object:Gem::Requirement
|
108
114
|
requirements:
|
109
115
|
- - "~>"
|
110
116
|
- !ruby/object:Gem::Version
|
111
|
-
version: '
|
117
|
+
version: '8.5'
|
112
118
|
- !ruby/object:Gem::Dependency
|
113
119
|
name: twitter-text
|
114
120
|
requirement: !ruby/object:Gem::Requirement
|
@@ -143,14 +149,28 @@ dependencies:
|
|
143
149
|
requirements:
|
144
150
|
- - "~>"
|
145
151
|
- !ruby/object:Gem::Version
|
146
|
-
version:
|
152
|
+
version: 2.1.0
|
147
153
|
type: :development
|
148
154
|
prerelease: false
|
149
155
|
version_requirements: !ruby/object:Gem::Requirement
|
150
156
|
requirements:
|
151
157
|
- - "~>"
|
152
158
|
- !ruby/object:Gem::Version
|
153
|
-
version:
|
159
|
+
version: 2.1.0
|
160
|
+
- !ruby/object:Gem::Dependency
|
161
|
+
name: kramdown-parser-gfm
|
162
|
+
requirement: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - "~>"
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: 1.1.0
|
167
|
+
type: :development
|
168
|
+
prerelease: false
|
169
|
+
version_requirements: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - "~>"
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: 1.1.0
|
154
174
|
- !ruby/object:Gem::Dependency
|
155
175
|
name: RedCloth
|
156
176
|
requirement: !ruby/object:Gem::Requirement
|
@@ -235,20 +255,40 @@ dependencies:
|
|
235
255
|
- - "~>"
|
236
256
|
- !ruby/object:Gem::Version
|
237
257
|
version: '1.1'
|
258
|
+
- !ruby/object:Gem::Dependency
|
259
|
+
name: unicode_utils
|
260
|
+
requirement: !ruby/object:Gem::Requirement
|
261
|
+
requirements:
|
262
|
+
- - "~>"
|
263
|
+
- !ruby/object:Gem::Version
|
264
|
+
version: 1.4.0
|
265
|
+
type: :development
|
266
|
+
prerelease: false
|
267
|
+
version_requirements: !ruby/object:Gem::Requirement
|
268
|
+
requirements:
|
269
|
+
- - "~>"
|
270
|
+
- !ruby/object:Gem::Version
|
271
|
+
version: 1.4.0
|
238
272
|
- !ruby/object:Gem::Dependency
|
239
273
|
name: rake
|
240
274
|
requirement: !ruby/object:Gem::Requirement
|
241
275
|
requirements:
|
242
276
|
- - "~>"
|
243
277
|
- !ruby/object:Gem::Version
|
244
|
-
version:
|
278
|
+
version: '12.3'
|
279
|
+
- - ">="
|
280
|
+
- !ruby/object:Gem::Version
|
281
|
+
version: 12.3.3
|
245
282
|
type: :development
|
246
283
|
prerelease: false
|
247
284
|
version_requirements: !ruby/object:Gem::Requirement
|
248
285
|
requirements:
|
249
286
|
- - "~>"
|
250
287
|
- !ruby/object:Gem::Version
|
251
|
-
version:
|
288
|
+
version: '12.3'
|
289
|
+
- - ">="
|
290
|
+
- !ruby/object:Gem::Version
|
291
|
+
version: 12.3.3
|
252
292
|
- !ruby/object:Gem::Dependency
|
253
293
|
name: pry
|
254
294
|
requirement: !ruby/object:Gem::Requirement
|
@@ -297,14 +337,14 @@ dependencies:
|
|
297
337
|
requirements:
|
298
338
|
- - "~>"
|
299
339
|
- !ruby/object:Gem::Version
|
300
|
-
version:
|
340
|
+
version: '1.4'
|
301
341
|
type: :development
|
302
342
|
prerelease: false
|
303
343
|
version_requirements: !ruby/object:Gem::Requirement
|
304
344
|
requirements:
|
305
345
|
- - "~>"
|
306
346
|
- !ruby/object:Gem::Version
|
307
|
-
version:
|
347
|
+
version: '1.4'
|
308
348
|
- !ruby/object:Gem::Dependency
|
309
349
|
name: nokogiri-diff
|
310
350
|
requirement: !ruby/object:Gem::Requirement
|
@@ -415,8 +455,8 @@ files:
|
|
415
455
|
- HISTORY.md
|
416
456
|
- LICENSE
|
417
457
|
- README.md
|
418
|
-
- ROADMAP
|
419
458
|
- Rakefile
|
459
|
+
- adapter_dependencies.rb
|
420
460
|
- docs/sanitization.md
|
421
461
|
- gemspec.rb
|
422
462
|
- gollum-lib.gemspec
|
@@ -429,6 +469,7 @@ files:
|
|
429
469
|
- lib/gollum-lib/filter.rb
|
430
470
|
- lib/gollum-lib/filter/bibtex.rb
|
431
471
|
- lib/gollum-lib/filter/code.rb
|
472
|
+
- lib/gollum-lib/filter/critic_markup.rb
|
432
473
|
- lib/gollum-lib/filter/emoji.rb
|
433
474
|
- lib/gollum-lib/filter/macro.rb
|
434
475
|
- lib/gollum-lib/filter/pandoc_bib.rb
|
@@ -445,14 +486,19 @@ files:
|
|
445
486
|
- lib/gollum-lib/hook.rb
|
446
487
|
- lib/gollum-lib/macro.rb
|
447
488
|
- lib/gollum-lib/macro/all_pages.rb
|
489
|
+
- lib/gollum-lib/macro/audio.rb
|
448
490
|
- lib/gollum-lib/macro/global_toc.rb
|
449
491
|
- lib/gollum-lib/macro/navigation.rb
|
492
|
+
- lib/gollum-lib/macro/note.rb
|
493
|
+
- lib/gollum-lib/macro/octicon.rb
|
450
494
|
- lib/gollum-lib/macro/series.rb
|
451
495
|
- lib/gollum-lib/macro/video.rb
|
496
|
+
- lib/gollum-lib/macro/warn.rb
|
452
497
|
- lib/gollum-lib/markup.rb
|
453
498
|
- lib/gollum-lib/markups.rb
|
454
499
|
- lib/gollum-lib/page.rb
|
455
500
|
- lib/gollum-lib/pagination.rb
|
501
|
+
- lib/gollum-lib/redirects.rb
|
456
502
|
- lib/gollum-lib/sanitization.rb
|
457
503
|
- lib/gollum-lib/version.rb
|
458
504
|
- lib/gollum-lib/wiki.rb
|
@@ -470,15 +516,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
470
516
|
requirements:
|
471
517
|
- - ">="
|
472
518
|
- !ruby/object:Gem::Version
|
473
|
-
version: '2.
|
519
|
+
version: '2.4'
|
474
520
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
475
521
|
requirements:
|
476
|
-
- - "
|
522
|
+
- - ">="
|
477
523
|
- !ruby/object:Gem::Version
|
478
|
-
version:
|
524
|
+
version: '0'
|
479
525
|
requirements: []
|
480
|
-
|
481
|
-
rubygems_version: 2.7.7
|
526
|
+
rubygems_version: 3.0.3
|
482
527
|
signing_key:
|
483
528
|
specification_version: 2
|
484
529
|
summary: A simple, Git-powered wiki.
|