gollum-lib 5.0.a.4-java → 5.0.5-java

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +2 -1
  3. data/HISTORY.md +4 -0
  4. data/README.md +12 -7
  5. data/Rakefile +8 -7
  6. data/gemspec.rb +17 -10
  7. data/gollum-lib.gemspec +8 -6
  8. data/gollum-lib_java.gemspec +2 -2
  9. data/lib/gollum-lib.rb +9 -9
  10. data/lib/gollum-lib/blob_entry.rb +2 -8
  11. data/lib/gollum-lib/committer.rb +23 -61
  12. data/lib/gollum-lib/file.rb +105 -82
  13. data/lib/gollum-lib/file_view.rb +8 -4
  14. data/lib/gollum-lib/filter.rb +12 -0
  15. data/lib/gollum-lib/filter/code.rb +9 -13
  16. data/lib/gollum-lib/filter/critic_markup.rb +97 -0
  17. data/lib/gollum-lib/filter/emoji.rb +11 -8
  18. data/lib/gollum-lib/filter/macro.rb +5 -2
  19. data/lib/gollum-lib/filter/plantuml.rb +1 -1
  20. data/lib/gollum-lib/filter/remote_code.rb +3 -2
  21. data/lib/gollum-lib/filter/render.rb +25 -2
  22. data/lib/gollum-lib/filter/sanitize.rb +1 -8
  23. data/lib/gollum-lib/filter/tags.rb +57 -46
  24. data/lib/gollum-lib/filter/toc.rb +17 -21
  25. data/lib/gollum-lib/filter/yaml.rb +1 -1
  26. data/lib/gollum-lib/git_access.rb +0 -25
  27. data/lib/gollum-lib/helpers.rb +13 -3
  28. data/lib/gollum-lib/macro.rb +4 -0
  29. data/lib/gollum-lib/macro/audio.rb +9 -0
  30. data/lib/gollum-lib/macro/global_toc.rb +2 -1
  31. data/lib/gollum-lib/macro/navigation.rb +8 -6
  32. data/lib/gollum-lib/macro/note.rb +19 -0
  33. data/lib/gollum-lib/macro/octicon.rb +12 -0
  34. data/lib/gollum-lib/macro/series.rb +2 -2
  35. data/lib/gollum-lib/macro/warn.rb +11 -0
  36. data/lib/gollum-lib/markup.rb +17 -32
  37. data/lib/gollum-lib/markups.rb +13 -8
  38. data/lib/gollum-lib/page.rb +80 -166
  39. data/lib/gollum-lib/pagination.rb +7 -6
  40. data/lib/gollum-lib/redirects.rb +42 -0
  41. data/lib/gollum-lib/sanitization.rb +32 -357
  42. data/lib/gollum-lib/version.rb +1 -1
  43. data/lib/gollum-lib/wiki.rb +216 -404
  44. metadata +65 -27
  45. 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.a.4
4
+ version: 5.0.5
5
5
  platform: java
6
6
  authors:
7
7
  - Tom Preston-Werner
@@ -17,14 +17,14 @@ dependencies:
17
17
  requirements:
18
18
  - - "~>"
19
19
  - !ruby/object:Gem::Version
20
- version: '0.3'
20
+ version: '0.6'
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - "~>"
26
26
  - !ruby/object:Gem::Version
27
- version: '0.3'
27
+ version: '0.6'
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: rouge
30
30
  requirement: !ruby/object:Gem::Requirement
@@ -54,61 +54,61 @@ dependencies:
54
54
  - !ruby/object:Gem::Version
55
55
  version: '1.8'
56
56
  - !ruby/object:Gem::Dependency
57
- name: stringex
57
+ name: loofah
58
58
  requirement: !ruby/object:Gem::Requirement
59
59
  requirements:
60
60
  - - "~>"
61
61
  - !ruby/object:Gem::Version
62
- version: '2.6'
62
+ version: '2.3'
63
63
  type: :runtime
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - "~>"
68
68
  - !ruby/object:Gem::Version
69
- version: '2.6'
69
+ version: '2.3'
70
70
  - !ruby/object:Gem::Dependency
71
- name: sanitize
71
+ name: github-markup
72
72
  requirement: !ruby/object:Gem::Requirement
73
73
  requirements:
74
74
  - - "~>"
75
75
  - !ruby/object:Gem::Version
76
- version: '2.1'
76
+ version: '3.0'
77
77
  type: :runtime
78
78
  prerelease: false
79
79
  version_requirements: !ruby/object:Gem::Requirement
80
80
  requirements:
81
81
  - - "~>"
82
82
  - !ruby/object:Gem::Version
83
- version: '2.1'
83
+ version: '3.0'
84
84
  - !ruby/object:Gem::Dependency
85
- name: github-markup
85
+ name: gemojione
86
86
  requirement: !ruby/object:Gem::Requirement
87
87
  requirements:
88
88
  - - "~>"
89
89
  - !ruby/object:Gem::Version
90
- version: '1.6'
90
+ version: '4.1'
91
91
  type: :runtime
92
92
  prerelease: false
93
93
  version_requirements: !ruby/object:Gem::Requirement
94
94
  requirements:
95
95
  - - "~>"
96
96
  - !ruby/object:Gem::Version
97
- version: '1.6'
97
+ version: '4.1'
98
98
  - !ruby/object:Gem::Dependency
99
- name: gemojione
99
+ name: octicons
100
100
  requirement: !ruby/object:Gem::Requirement
101
101
  requirements:
102
102
  - - "~>"
103
103
  - !ruby/object:Gem::Version
104
- version: '3.2'
104
+ version: '8.5'
105
105
  type: :runtime
106
106
  prerelease: false
107
107
  version_requirements: !ruby/object:Gem::Requirement
108
108
  requirements:
109
109
  - - "~>"
110
110
  - !ruby/object:Gem::Version
111
- version: '3.2'
111
+ version: '8.5'
112
112
  - !ruby/object:Gem::Dependency
113
113
  name: twitter-text
114
114
  requirement: !ruby/object:Gem::Requirement
@@ -143,14 +143,28 @@ dependencies:
143
143
  requirements:
144
144
  - - "~>"
145
145
  - !ruby/object:Gem::Version
146
- version: '1.13'
146
+ version: 2.1.0
147
+ type: :development
148
+ prerelease: false
149
+ version_requirements: !ruby/object:Gem::Requirement
150
+ requirements:
151
+ - - "~>"
152
+ - !ruby/object:Gem::Version
153
+ version: 2.1.0
154
+ - !ruby/object:Gem::Dependency
155
+ name: kramdown-parser-gfm
156
+ requirement: !ruby/object:Gem::Requirement
157
+ requirements:
158
+ - - "~>"
159
+ - !ruby/object:Gem::Version
160
+ version: 1.1.0
147
161
  type: :development
148
162
  prerelease: false
149
163
  version_requirements: !ruby/object:Gem::Requirement
150
164
  requirements:
151
165
  - - "~>"
152
166
  - !ruby/object:Gem::Version
153
- version: '1.13'
167
+ version: 1.1.0
154
168
  - !ruby/object:Gem::Dependency
155
169
  name: RedCloth
156
170
  requirement: !ruby/object:Gem::Requirement
@@ -235,20 +249,40 @@ dependencies:
235
249
  - - "~>"
236
250
  - !ruby/object:Gem::Version
237
251
  version: '1.1'
252
+ - !ruby/object:Gem::Dependency
253
+ name: unicode_utils
254
+ requirement: !ruby/object:Gem::Requirement
255
+ requirements:
256
+ - - "~>"
257
+ - !ruby/object:Gem::Version
258
+ version: 1.4.0
259
+ type: :development
260
+ prerelease: false
261
+ version_requirements: !ruby/object:Gem::Requirement
262
+ requirements:
263
+ - - "~>"
264
+ - !ruby/object:Gem::Version
265
+ version: 1.4.0
238
266
  - !ruby/object:Gem::Dependency
239
267
  name: rake
240
268
  requirement: !ruby/object:Gem::Requirement
241
269
  requirements:
242
270
  - - "~>"
243
271
  - !ruby/object:Gem::Version
244
- version: 10.4.0
272
+ version: '12.3'
273
+ - - ">="
274
+ - !ruby/object:Gem::Version
275
+ version: 12.3.3
245
276
  type: :development
246
277
  prerelease: false
247
278
  version_requirements: !ruby/object:Gem::Requirement
248
279
  requirements:
249
280
  - - "~>"
250
281
  - !ruby/object:Gem::Version
251
- version: 10.4.0
282
+ version: '12.3'
283
+ - - ">="
284
+ - !ruby/object:Gem::Version
285
+ version: 12.3.3
252
286
  - !ruby/object:Gem::Dependency
253
287
  name: pry
254
288
  requirement: !ruby/object:Gem::Requirement
@@ -297,14 +331,14 @@ dependencies:
297
331
  requirements:
298
332
  - - "~>"
299
333
  - !ruby/object:Gem::Version
300
- version: 0.14.16
334
+ version: '1.4'
301
335
  type: :development
302
336
  prerelease: false
303
337
  version_requirements: !ruby/object:Gem::Requirement
304
338
  requirements:
305
339
  - - "~>"
306
340
  - !ruby/object:Gem::Version
307
- version: 0.14.16
341
+ version: '1.4'
308
342
  - !ruby/object:Gem::Dependency
309
343
  name: nokogiri-diff
310
344
  requirement: !ruby/object:Gem::Requirement
@@ -415,7 +449,6 @@ files:
415
449
  - HISTORY.md
416
450
  - LICENSE
417
451
  - README.md
418
- - ROADMAP
419
452
  - Rakefile
420
453
  - docs/sanitization.md
421
454
  - gemspec.rb
@@ -429,6 +462,7 @@ files:
429
462
  - lib/gollum-lib/filter.rb
430
463
  - lib/gollum-lib/filter/bibtex.rb
431
464
  - lib/gollum-lib/filter/code.rb
465
+ - lib/gollum-lib/filter/critic_markup.rb
432
466
  - lib/gollum-lib/filter/emoji.rb
433
467
  - lib/gollum-lib/filter/macro.rb
434
468
  - lib/gollum-lib/filter/pandoc_bib.rb
@@ -445,14 +479,19 @@ files:
445
479
  - lib/gollum-lib/hook.rb
446
480
  - lib/gollum-lib/macro.rb
447
481
  - lib/gollum-lib/macro/all_pages.rb
482
+ - lib/gollum-lib/macro/audio.rb
448
483
  - lib/gollum-lib/macro/global_toc.rb
449
484
  - lib/gollum-lib/macro/navigation.rb
485
+ - lib/gollum-lib/macro/note.rb
486
+ - lib/gollum-lib/macro/octicon.rb
450
487
  - lib/gollum-lib/macro/series.rb
451
488
  - lib/gollum-lib/macro/video.rb
489
+ - lib/gollum-lib/macro/warn.rb
452
490
  - lib/gollum-lib/markup.rb
453
491
  - lib/gollum-lib/markups.rb
454
492
  - lib/gollum-lib/page.rb
455
493
  - lib/gollum-lib/pagination.rb
494
+ - lib/gollum-lib/redirects.rb
456
495
  - lib/gollum-lib/sanitization.rb
457
496
  - lib/gollum-lib/version.rb
458
497
  - lib/gollum-lib/wiki.rb
@@ -470,15 +509,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
470
509
  requirements:
471
510
  - - ">="
472
511
  - !ruby/object:Gem::Version
473
- version: '2.1'
512
+ version: '2.4'
474
513
  required_rubygems_version: !ruby/object:Gem::Requirement
475
514
  requirements:
476
- - - ">"
515
+ - - ">="
477
516
  - !ruby/object:Gem::Version
478
- version: 1.3.1
517
+ version: '0'
479
518
  requirements: []
480
- rubyforge_project: gollum-lib
481
- rubygems_version: 2.7.7
519
+ rubygems_version: 3.0.3
482
520
  signing_key:
483
521
  specification_version: 2
484
522
  summary: A simple, Git-powered wiki.
data/ROADMAP DELETED
@@ -1,6 +0,0 @@
1
- # Roadmap to 5.x
2
-
3
- * Unicode everywhere
4
- * Reduce whitespace substitution array to a single character to reduce lookup times
5
- * Benchmarking
6
- *