gollum-lib 2.0.0 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of gollum-lib might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/Rakefile +4 -1
- data/gollum-lib.gemspec +31 -30
- data/lib/gollum-lib.rb +8 -8
- data/lib/gollum-lib/blob_entry.rb +5 -5
- data/lib/gollum-lib/committer.rb +11 -11
- data/lib/gollum-lib/file.rb +10 -9
- data/lib/gollum-lib/file_view.rb +33 -33
- data/lib/gollum-lib/filter.rb +3 -3
- data/lib/gollum-lib/filter/code.rb +30 -18
- data/lib/gollum-lib/filter/metadata.rb +5 -3
- data/lib/gollum-lib/filter/plain_text.rb +4 -3
- data/lib/gollum-lib/filter/remote_code.rb +20 -18
- data/lib/gollum-lib/filter/render.rb +4 -2
- data/lib/gollum-lib/filter/sanitize.rb +4 -2
- data/lib/gollum-lib/filter/tags.rb +36 -35
- data/lib/gollum-lib/filter/toc.rb +29 -13
- data/lib/gollum-lib/filter/wsd.rb +1 -1
- data/lib/gollum-lib/git_access.rb +11 -11
- data/lib/gollum-lib/gitcode.rb +13 -13
- data/lib/gollum-lib/grit_ext.rb +1 -1
- data/lib/gollum-lib/helpers.rb +2 -2
- data/lib/gollum-lib/markup.rb +81 -42
- data/lib/gollum-lib/markups.rb +1 -1
- data/lib/gollum-lib/page.rb +15 -15
- data/lib/gollum-lib/pagination.rb +1 -1
- data/lib/gollum-lib/sanitization.rb +74 -74
- data/lib/gollum-lib/wiki.rb +54 -54
- metadata +111 -103
data/lib/gollum-lib/wiki.rb
CHANGED
@@ -41,33 +41,33 @@ module Gollum
|
|
41
41
|
# Default: Gollum::Page.
|
42
42
|
def page_class
|
43
43
|
@page_class ||
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
44
|
+
if superclass.respond_to?(:page_class)
|
45
|
+
superclass.page_class
|
46
|
+
else
|
47
|
+
::Gollum::Page
|
48
|
+
end
|
49
49
|
end
|
50
50
|
|
51
51
|
# Gets the file class used by all instances of this Wiki.
|
52
52
|
# Default: Gollum::File.
|
53
53
|
def file_class
|
54
54
|
@file_class ||
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
55
|
+
if superclass.respond_to?(:file_class)
|
56
|
+
superclass.file_class
|
57
|
+
else
|
58
|
+
::Gollum::File
|
59
|
+
end
|
60
60
|
end
|
61
61
|
|
62
62
|
# Gets the markup class used by all instances of this Wiki.
|
63
63
|
# Default: Gollum::Markup
|
64
64
|
def markup_classes
|
65
65
|
@markup_classes ||=
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
66
|
+
if superclass.respond_to?(:markup_classes)
|
67
|
+
superclass.markup_classes
|
68
|
+
else
|
69
|
+
Hash.new(::Gollum::Markup)
|
70
|
+
end
|
71
71
|
end
|
72
72
|
|
73
73
|
# Gets the default markup class used by all instances of this Wiki.
|
@@ -100,18 +100,18 @@ module Gollum
|
|
100
100
|
def history_sanitization
|
101
101
|
if @history_sanitization.nil?
|
102
102
|
@history_sanitization = sanitization ?
|
103
|
-
|
104
|
-
|
103
|
+
sanitization.history_sanitization :
|
104
|
+
false
|
105
105
|
end
|
106
106
|
@history_sanitization
|
107
107
|
end
|
108
108
|
end
|
109
109
|
|
110
|
-
self.default_ref
|
110
|
+
self.default_ref = 'master'
|
111
111
|
self.default_committer_name = 'Anonymous'
|
112
112
|
self.default_committer_email = 'anon@anon.com'
|
113
113
|
|
114
|
-
self.default_ws_subs = ['_','-']
|
114
|
+
self.default_ws_subs = ['_', '-']
|
115
115
|
self.default_options = {}
|
116
116
|
|
117
117
|
# The String base path to prefix to internal links. For example, when set
|
@@ -150,7 +150,7 @@ module Gollum
|
|
150
150
|
|
151
151
|
# Gets side on which the sidebar should be shown
|
152
152
|
attr_reader :bar_side
|
153
|
-
|
153
|
+
|
154
154
|
# An array of symbols which refer to classes under Gollum::Filter,
|
155
155
|
# each of which is an element in the "filtering chain". See
|
156
156
|
# the documentation for Gollum::Filter for more on how this chain
|
@@ -230,12 +230,12 @@ module Gollum
|
|
230
230
|
@h1_title = options.fetch :h1_title, false
|
231
231
|
@index_page = options.fetch :index_page, 'Home'
|
232
232
|
@bar_side = options.fetch :sidebar, :right
|
233
|
-
@user_icons = ['gravatar', 'identicon'].include?(
|
234
|
-
|
233
|
+
@user_icons = ['gravatar', 'identicon'].include?(options[:user_icons]) ?
|
234
|
+
options[:user_icons] : 'none'
|
235
235
|
@allow_uploads = options.fetch :allow_uploads, false
|
236
236
|
@per_page_uploads = options.fetch :per_page_uploads, false
|
237
237
|
@filter_chain = options.fetch :filter_chain,
|
238
|
-
|
238
|
+
[:Metadata, :PlainText, :TOC, :RemoteCode, :Code, :Sanitize, :WSD, :Tags, :Render]
|
239
239
|
end
|
240
240
|
|
241
241
|
# Public: check whether the wiki's git repo exists on the filesystem.
|
@@ -326,7 +326,7 @@ module Gollum
|
|
326
326
|
dir.gsub!(' ', '-')
|
327
327
|
|
328
328
|
multi_commit = !!commit[:committer]
|
329
|
-
committer
|
329
|
+
committer = multi_commit ? commit[:committer] : Committer.new(self, commit)
|
330
330
|
|
331
331
|
filename = Gollum::Page.cname(name)
|
332
332
|
|
@@ -364,12 +364,12 @@ module Gollum
|
|
364
364
|
|
365
365
|
(target_dir, target_name) = ::File.split(rename)
|
366
366
|
(source_dir, source_name) = ::File.split(page.path)
|
367
|
-
source_name
|
367
|
+
source_name = page.filename_stripped
|
368
368
|
|
369
369
|
# File.split gives us relative paths with ".", commiter.add_to_index doesn't like that.
|
370
|
-
target_dir
|
371
|
-
source_dir
|
372
|
-
target_dir
|
370
|
+
target_dir = '' if target_dir == '.'
|
371
|
+
source_dir = '' if source_dir == '.'
|
372
|
+
target_dir = target_dir.gsub(/^\//, '')
|
373
373
|
|
374
374
|
# if the rename is a NOOP, abort
|
375
375
|
if source_dir == target_dir and source_name == target_name
|
@@ -377,10 +377,10 @@ module Gollum
|
|
377
377
|
end
|
378
378
|
|
379
379
|
multi_commit = !!commit[:committer]
|
380
|
-
committer
|
380
|
+
committer = multi_commit ? commit[:committer] : Committer.new(self, commit)
|
381
381
|
|
382
382
|
committer.delete(page.path)
|
383
|
-
committer.add_to_index(target_dir, target_name, page.format, page.raw_data
|
383
|
+
committer.add_to_index(target_dir, target_name, page.format, page.raw_data)
|
384
384
|
|
385
385
|
committer.after_commit do |index, sha|
|
386
386
|
@access.refresh
|
@@ -414,21 +414,21 @@ module Gollum
|
|
414
414
|
# Returns the String SHA1 of the newly written version, or the
|
415
415
|
# Gollum::Committer instance if this is part of a batch update.
|
416
416
|
def update_page(page, name, format, data, commit = {})
|
417
|
-
name
|
418
|
-
format
|
417
|
+
name ||= page.name
|
418
|
+
format ||= page.format
|
419
419
|
dir = ::File.dirname(page.path)
|
420
420
|
dir = '' if dir == '.'
|
421
421
|
filename = (rename = page.name != name) ?
|
422
|
-
|
422
|
+
Gollum::Page.cname(name) : page.filename_stripped
|
423
423
|
|
424
424
|
multi_commit = !!commit[:committer]
|
425
|
-
committer
|
425
|
+
committer = multi_commit ? commit[:committer] : Committer.new(self, commit)
|
426
426
|
|
427
427
|
if !rename && page.format == format
|
428
428
|
committer.add(page.path, normalize(data))
|
429
429
|
else
|
430
430
|
committer.delete(page.path)
|
431
|
-
committer.add_to_index(dir, filename, format, data
|
431
|
+
committer.add_to_index(dir, filename, format, data)
|
432
432
|
end
|
433
433
|
|
434
434
|
committer.after_commit do |index, sha|
|
@@ -459,7 +459,7 @@ module Gollum
|
|
459
459
|
def delete_page(page, commit)
|
460
460
|
|
461
461
|
multi_commit = !!commit[:committer]
|
462
|
-
committer
|
462
|
+
committer = multi_commit ? commit[:committer] : Committer.new(self, commit)
|
463
463
|
|
464
464
|
committer.delete(page.path)
|
465
465
|
|
@@ -496,9 +496,9 @@ module Gollum
|
|
496
496
|
sha2 = nil
|
497
497
|
end
|
498
498
|
|
499
|
-
patch
|
500
|
-
committer
|
501
|
-
parent
|
499
|
+
patch = full_reverse_diff_for(page, sha1, sha2)
|
500
|
+
committer = Committer.new(self, commit)
|
501
|
+
parent = committer.parents[0]
|
502
502
|
committer.options[:tree] = @repo.git.apply_patch(parent.sha, patch)
|
503
503
|
return false unless committer.options[:tree]
|
504
504
|
committer.after_commit do |index, sha|
|
@@ -592,12 +592,12 @@ module Gollum
|
|
592
592
|
results = {}
|
593
593
|
|
594
594
|
@repo.git.grep(*args).split("\n").each do |line|
|
595
|
-
result
|
596
|
-
result_1
|
595
|
+
result = line.split(':')
|
596
|
+
result_1 = result[1]
|
597
597
|
# Remove ext only from known extensions.
|
598
598
|
# test.pdf => test.pdf, test.md => test
|
599
|
-
file_name
|
600
|
-
|
599
|
+
file_name = Page::valid_page_name?(result_1) ? result_1.chomp(::File.extname(result_1)) :
|
600
|
+
result_1
|
601
601
|
results[file_name] = result[2].to_i
|
602
602
|
end
|
603
603
|
|
@@ -605,14 +605,14 @@ module Gollum
|
|
605
605
|
# Spaces are converted to dashes when saving pages to disk.
|
606
606
|
@repo.git.ls_files({}, "*#{ query.gsub(' ', '-') }*").split("\n").each do |line|
|
607
607
|
# Remove ext only from known extensions.
|
608
|
-
file_name
|
609
|
-
|
608
|
+
file_name = Page::valid_page_name?(line) ? line.chomp(::File.extname(line)) :
|
609
|
+
line
|
610
610
|
# If there's not already a result for file_name then
|
611
611
|
# the value is nil and nil.to_i is 0.
|
612
612
|
results[file_name] = results[file_name].to_i + 1;
|
613
613
|
end
|
614
614
|
|
615
|
-
results.map do |key,val|
|
615
|
+
results.map do |key, val|
|
616
616
|
{ :count => val, :name => key }
|
617
617
|
end
|
618
618
|
end
|
@@ -655,7 +655,7 @@ module Gollum
|
|
655
655
|
@history_sanitizer ||= options.to_sanitize
|
656
656
|
end
|
657
657
|
end
|
658
|
-
|
658
|
+
|
659
659
|
# Public: Add an additional link to the filter chain.
|
660
660
|
#
|
661
661
|
# name - A symbol which represents the name of a class under the
|
@@ -675,7 +675,7 @@ module Gollum
|
|
675
675
|
raise ArgumentError,
|
676
676
|
"Invalid filter name #{name.inspect} (must be a symbol)"
|
677
677
|
end
|
678
|
-
|
678
|
+
|
679
679
|
case loc
|
680
680
|
when :first
|
681
681
|
@filter_chain.unshift(name)
|
@@ -690,10 +690,10 @@ module Gollum
|
|
690
690
|
raise ArgumentError,
|
691
691
|
"Invalid location specifier"
|
692
692
|
end
|
693
|
-
|
694
|
-
next_to
|
693
|
+
|
694
|
+
next_to = loc.values.first
|
695
695
|
relative = loc.keys.first
|
696
|
-
|
696
|
+
|
697
697
|
i = @filter_chain.index(next_to)
|
698
698
|
if i.nil?
|
699
699
|
raise ArgumentError,
|
@@ -707,7 +707,7 @@ module Gollum
|
|
707
707
|
"Invalid location specifier"
|
708
708
|
end
|
709
709
|
end
|
710
|
-
|
710
|
+
|
711
711
|
# Remove the named filter from the filter chain.
|
712
712
|
#
|
713
713
|
# Returns nothing. Raises `ArgumentError` if the named filter doesn't
|
@@ -717,7 +717,7 @@ module Gollum
|
|
717
717
|
raise ArgumentError,
|
718
718
|
"Invalid filter name #{name.inspect} (must be a symbol)"
|
719
719
|
end
|
720
|
-
|
720
|
+
|
721
721
|
unless @filter_chain.delete(name)
|
722
722
|
raise ArgumentError,
|
723
723
|
"#{name.inspect} not found in filter chain"
|
@@ -840,7 +840,7 @@ module Gollum
|
|
840
840
|
path = (page.respond_to?(:path) ? page.path : page.to_s)
|
841
841
|
return repo.diff(sha2, sha1, path).first.diff
|
842
842
|
end
|
843
|
-
repo.diff(sha2, sha1).map{|d| d.diff}.join("\n")
|
843
|
+
repo.diff(sha2, sha1).map { |d| d.diff }.join("\n")
|
844
844
|
end
|
845
845
|
|
846
846
|
# Creates a reverse diff for the given SHAs.
|
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:
|
4
|
+
version: 3.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tom Preston-Werner
|
@@ -9,322 +9,330 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-
|
12
|
+
date: 2014-04-05 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: gitlab-grit
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
|
-
- -
|
18
|
+
- - "~>"
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: 2.6.
|
20
|
+
version: 2.6.5
|
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: 2.6.
|
27
|
+
version: 2.6.5
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
|
-
name:
|
29
|
+
name: rouge
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
31
31
|
requirements:
|
32
|
-
- -
|
32
|
+
- - "~>"
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version:
|
35
|
-
- - <
|
36
|
-
- !ruby/object:Gem::Version
|
37
|
-
version: 1.0.0
|
34
|
+
version: 1.3.3
|
38
35
|
type: :runtime
|
39
36
|
prerelease: false
|
40
37
|
version_requirements: !ruby/object:Gem::Requirement
|
41
38
|
requirements:
|
42
|
-
- -
|
43
|
-
- !ruby/object:Gem::Version
|
44
|
-
version: 0.7.5
|
45
|
-
- - <
|
39
|
+
- - "~>"
|
46
40
|
- !ruby/object:Gem::Version
|
47
|
-
version: 1.
|
41
|
+
version: 1.3.3
|
48
42
|
- !ruby/object:Gem::Dependency
|
49
|
-
name:
|
43
|
+
name: nokogiri
|
50
44
|
requirement: !ruby/object:Gem::Requirement
|
51
45
|
requirements:
|
52
|
-
- - ~>
|
46
|
+
- - "~>"
|
53
47
|
- !ruby/object:Gem::Version
|
54
|
-
version: 1.
|
48
|
+
version: 1.6.1
|
55
49
|
type: :runtime
|
56
50
|
prerelease: false
|
57
51
|
version_requirements: !ruby/object:Gem::Requirement
|
58
52
|
requirements:
|
59
|
-
- - ~>
|
53
|
+
- - "~>"
|
60
54
|
- !ruby/object:Gem::Version
|
61
|
-
version: 1.
|
55
|
+
version: 1.6.1
|
62
56
|
- !ruby/object:Gem::Dependency
|
63
|
-
name:
|
57
|
+
name: stringex
|
64
58
|
requirement: !ruby/object:Gem::Requirement
|
65
59
|
requirements:
|
66
|
-
- - ~>
|
60
|
+
- - "~>"
|
67
61
|
- !ruby/object:Gem::Version
|
68
|
-
version: 2.
|
62
|
+
version: 2.5.1
|
69
63
|
type: :runtime
|
70
64
|
prerelease: false
|
71
65
|
version_requirements: !ruby/object:Gem::Requirement
|
72
66
|
requirements:
|
73
|
-
- - ~>
|
67
|
+
- - "~>"
|
74
68
|
- !ruby/object:Gem::Version
|
75
|
-
version: 2.
|
69
|
+
version: 2.5.1
|
76
70
|
- !ruby/object:Gem::Dependency
|
77
|
-
name:
|
71
|
+
name: sanitize
|
78
72
|
requirement: !ruby/object:Gem::Requirement
|
79
73
|
requirements:
|
80
|
-
- - ~>
|
74
|
+
- - "~>"
|
81
75
|
- !ruby/object:Gem::Version
|
82
|
-
version: 1.
|
76
|
+
version: 2.1.0
|
83
77
|
type: :runtime
|
84
78
|
prerelease: false
|
85
79
|
version_requirements: !ruby/object:Gem::Requirement
|
86
80
|
requirements:
|
87
|
-
- - ~>
|
81
|
+
- - "~>"
|
88
82
|
- !ruby/object:Gem::Version
|
89
|
-
version: 1.
|
83
|
+
version: 2.1.0
|
90
84
|
- !ruby/object:Gem::Dependency
|
91
|
-
name:
|
85
|
+
name: github-markup
|
92
86
|
requirement: !ruby/object:Gem::Requirement
|
93
87
|
requirements:
|
94
|
-
- - ~>
|
88
|
+
- - "~>"
|
95
89
|
- !ruby/object:Gem::Version
|
96
|
-
version:
|
90
|
+
version: 1.1.0
|
97
91
|
type: :runtime
|
98
92
|
prerelease: false
|
99
93
|
version_requirements: !ruby/object:Gem::Requirement
|
100
94
|
requirements:
|
101
|
-
- - ~>
|
95
|
+
- - "~>"
|
102
96
|
- !ruby/object:Gem::Version
|
103
|
-
version:
|
97
|
+
version: 1.1.0
|
104
98
|
- !ruby/object:Gem::Dependency
|
105
|
-
name:
|
99
|
+
name: org-ruby
|
106
100
|
requirement: !ruby/object:Gem::Requirement
|
107
101
|
requirements:
|
108
|
-
- - ~>
|
102
|
+
- - "~>"
|
109
103
|
- !ruby/object:Gem::Version
|
110
|
-
version: 0.
|
104
|
+
version: 0.9.3
|
111
105
|
type: :development
|
112
106
|
prerelease: false
|
113
107
|
version_requirements: !ruby/object:Gem::Requirement
|
114
108
|
requirements:
|
115
|
-
- - ~>
|
109
|
+
- - "~>"
|
116
110
|
- !ruby/object:Gem::Version
|
117
|
-
version: 0.
|
111
|
+
version: 0.9.3
|
118
112
|
- !ruby/object:Gem::Dependency
|
119
|
-
name:
|
113
|
+
name: github-markdown
|
120
114
|
requirement: !ruby/object:Gem::Requirement
|
121
115
|
requirements:
|
122
|
-
- - ~>
|
116
|
+
- - "~>"
|
123
117
|
- !ruby/object:Gem::Version
|
124
|
-
version:
|
118
|
+
version: 0.6.5
|
125
119
|
type: :development
|
126
120
|
prerelease: false
|
127
121
|
version_requirements: !ruby/object:Gem::Requirement
|
128
122
|
requirements:
|
129
|
-
- - ~>
|
123
|
+
- - "~>"
|
130
124
|
- !ruby/object:Gem::Version
|
131
|
-
version:
|
125
|
+
version: 0.6.5
|
132
126
|
- !ruby/object:Gem::Dependency
|
133
|
-
name:
|
127
|
+
name: RedCloth
|
134
128
|
requirement: !ruby/object:Gem::Requirement
|
135
129
|
requirements:
|
136
|
-
- - ~>
|
130
|
+
- - "~>"
|
137
131
|
- !ruby/object:Gem::Version
|
138
|
-
version:
|
132
|
+
version: 4.2.9
|
139
133
|
type: :development
|
140
134
|
prerelease: false
|
141
135
|
version_requirements: !ruby/object:Gem::Requirement
|
142
136
|
requirements:
|
143
|
-
- - ~>
|
137
|
+
- - "~>"
|
144
138
|
- !ruby/object:Gem::Version
|
145
|
-
version:
|
139
|
+
version: 4.2.9
|
146
140
|
- !ruby/object:Gem::Dependency
|
147
|
-
name:
|
141
|
+
name: mocha
|
148
142
|
requirement: !ruby/object:Gem::Requirement
|
149
143
|
requirements:
|
150
|
-
- - ~>
|
144
|
+
- - "~>"
|
151
145
|
- !ruby/object:Gem::Version
|
152
|
-
version: 0.
|
146
|
+
version: 1.0.0
|
153
147
|
type: :development
|
154
148
|
prerelease: false
|
155
149
|
version_requirements: !ruby/object:Gem::Requirement
|
156
150
|
requirements:
|
157
|
-
- - ~>
|
151
|
+
- - "~>"
|
158
152
|
- !ruby/object:Gem::Version
|
159
|
-
version: 0.
|
153
|
+
version: 1.0.0
|
160
154
|
- !ruby/object:Gem::Dependency
|
161
155
|
name: shoulda
|
162
156
|
requirement: !ruby/object:Gem::Requirement
|
163
157
|
requirements:
|
164
|
-
- - ~>
|
158
|
+
- - "~>"
|
165
159
|
- !ruby/object:Gem::Version
|
166
|
-
version: 3.
|
160
|
+
version: 3.5.0
|
167
161
|
type: :development
|
168
162
|
prerelease: false
|
169
163
|
version_requirements: !ruby/object:Gem::Requirement
|
170
164
|
requirements:
|
171
|
-
- - ~>
|
165
|
+
- - "~>"
|
172
166
|
- !ruby/object:Gem::Version
|
173
|
-
version: 3.
|
167
|
+
version: 3.5.0
|
174
168
|
- !ruby/object:Gem::Dependency
|
175
169
|
name: wikicloth
|
176
170
|
requirement: !ruby/object:Gem::Requirement
|
177
171
|
requirements:
|
178
|
-
- - ~>
|
172
|
+
- - "~>"
|
179
173
|
- !ruby/object:Gem::Version
|
180
|
-
version: 0.8.
|
174
|
+
version: 0.8.1
|
181
175
|
type: :development
|
182
176
|
prerelease: false
|
183
177
|
version_requirements: !ruby/object:Gem::Requirement
|
184
178
|
requirements:
|
185
|
-
- - ~>
|
179
|
+
- - "~>"
|
186
180
|
- !ruby/object:Gem::Version
|
187
|
-
version: 0.8.
|
181
|
+
version: 0.8.1
|
188
182
|
- !ruby/object:Gem::Dependency
|
189
183
|
name: rake
|
190
184
|
requirement: !ruby/object:Gem::Requirement
|
191
185
|
requirements:
|
192
|
-
- - ~>
|
186
|
+
- - "~>"
|
193
187
|
- !ruby/object:Gem::Version
|
194
|
-
version: 10.
|
188
|
+
version: 10.2.2
|
195
189
|
type: :development
|
196
190
|
prerelease: false
|
197
191
|
version_requirements: !ruby/object:Gem::Requirement
|
198
192
|
requirements:
|
199
|
-
- - ~>
|
193
|
+
- - "~>"
|
200
194
|
- !ruby/object:Gem::Version
|
201
|
-
version: 10.
|
195
|
+
version: 10.2.2
|
202
196
|
- !ruby/object:Gem::Dependency
|
203
197
|
name: pry
|
204
198
|
requirement: !ruby/object:Gem::Requirement
|
205
199
|
requirements:
|
206
|
-
- - ~>
|
200
|
+
- - "~>"
|
207
201
|
- !ruby/object:Gem::Version
|
208
202
|
version: 0.9.12
|
209
203
|
type: :development
|
210
204
|
prerelease: false
|
211
205
|
version_requirements: !ruby/object:Gem::Requirement
|
212
206
|
requirements:
|
213
|
-
- - ~>
|
207
|
+
- - "~>"
|
214
208
|
- !ruby/object:Gem::Version
|
215
209
|
version: 0.9.12
|
216
210
|
- !ruby/object:Gem::Dependency
|
217
211
|
name: rb-readline
|
218
212
|
requirement: !ruby/object:Gem::Requirement
|
219
213
|
requirements:
|
220
|
-
- - ~>
|
214
|
+
- - "~>"
|
221
215
|
- !ruby/object:Gem::Version
|
222
|
-
version: 0.
|
216
|
+
version: 0.5.1
|
223
217
|
type: :development
|
224
218
|
prerelease: false
|
225
219
|
version_requirements: !ruby/object:Gem::Requirement
|
226
220
|
requirements:
|
227
|
-
- - ~>
|
221
|
+
- - "~>"
|
228
222
|
- !ruby/object:Gem::Version
|
229
|
-
version: 0.
|
223
|
+
version: 0.5.1
|
230
224
|
- !ruby/object:Gem::Dependency
|
231
225
|
name: minitest-reporters
|
232
226
|
requirement: !ruby/object:Gem::Requirement
|
233
227
|
requirements:
|
234
|
-
- - ~>
|
228
|
+
- - "~>"
|
235
229
|
- !ruby/object:Gem::Version
|
236
230
|
version: 0.14.16
|
237
231
|
type: :development
|
238
232
|
prerelease: false
|
239
233
|
version_requirements: !ruby/object:Gem::Requirement
|
240
234
|
requirements:
|
241
|
-
- - ~>
|
235
|
+
- - "~>"
|
242
236
|
- !ruby/object:Gem::Version
|
243
237
|
version: 0.14.16
|
244
238
|
- !ruby/object:Gem::Dependency
|
245
239
|
name: nokogiri-diff
|
246
240
|
requirement: !ruby/object:Gem::Requirement
|
247
241
|
requirements:
|
248
|
-
- - ~>
|
242
|
+
- - "~>"
|
249
243
|
- !ruby/object:Gem::Version
|
250
|
-
version: 0.
|
244
|
+
version: 0.2.0
|
251
245
|
type: :development
|
252
246
|
prerelease: false
|
253
247
|
version_requirements: !ruby/object:Gem::Requirement
|
254
248
|
requirements:
|
255
|
-
- - ~>
|
249
|
+
- - "~>"
|
256
250
|
- !ruby/object:Gem::Version
|
257
|
-
version: 0.
|
251
|
+
version: 0.2.0
|
258
252
|
- !ruby/object:Gem::Dependency
|
259
253
|
name: guard
|
260
254
|
requirement: !ruby/object:Gem::Requirement
|
261
255
|
requirements:
|
262
|
-
- - ~>
|
256
|
+
- - "~>"
|
263
257
|
- !ruby/object:Gem::Version
|
264
|
-
version:
|
258
|
+
version: 2.6.0
|
265
259
|
type: :development
|
266
260
|
prerelease: false
|
267
261
|
version_requirements: !ruby/object:Gem::Requirement
|
268
262
|
requirements:
|
269
|
-
- - ~>
|
263
|
+
- - "~>"
|
270
264
|
- !ruby/object:Gem::Version
|
271
|
-
version:
|
265
|
+
version: 2.6.0
|
272
266
|
- !ruby/object:Gem::Dependency
|
273
267
|
name: guard-minitest
|
274
268
|
requirement: !ruby/object:Gem::Requirement
|
275
269
|
requirements:
|
276
|
-
- - ~>
|
270
|
+
- - "~>"
|
277
271
|
- !ruby/object:Gem::Version
|
278
|
-
version:
|
272
|
+
version: 2.2.0
|
279
273
|
type: :development
|
280
274
|
prerelease: false
|
281
275
|
version_requirements: !ruby/object:Gem::Requirement
|
282
276
|
requirements:
|
283
|
-
- - ~>
|
277
|
+
- - "~>"
|
284
278
|
- !ruby/object:Gem::Version
|
285
|
-
version:
|
279
|
+
version: 2.2.0
|
286
280
|
- !ruby/object:Gem::Dependency
|
287
281
|
name: rb-inotify
|
288
282
|
requirement: !ruby/object:Gem::Requirement
|
289
283
|
requirements:
|
290
|
-
- - ~>
|
284
|
+
- - "~>"
|
291
285
|
- !ruby/object:Gem::Version
|
292
|
-
version: 0.9.
|
286
|
+
version: 0.9.3
|
293
287
|
type: :development
|
294
288
|
prerelease: false
|
295
289
|
version_requirements: !ruby/object:Gem::Requirement
|
296
290
|
requirements:
|
297
|
-
- - ~>
|
291
|
+
- - "~>"
|
298
292
|
- !ruby/object:Gem::Version
|
299
|
-
version: 0.9.
|
293
|
+
version: 0.9.3
|
300
294
|
- !ruby/object:Gem::Dependency
|
301
295
|
name: rb-fsevent
|
302
296
|
requirement: !ruby/object:Gem::Requirement
|
303
297
|
requirements:
|
304
|
-
- - ~>
|
298
|
+
- - "~>"
|
305
299
|
- !ruby/object:Gem::Version
|
306
|
-
version: 0.9.
|
300
|
+
version: 0.9.4
|
307
301
|
type: :development
|
308
302
|
prerelease: false
|
309
303
|
version_requirements: !ruby/object:Gem::Requirement
|
310
304
|
requirements:
|
311
|
-
- - ~>
|
305
|
+
- - "~>"
|
312
306
|
- !ruby/object:Gem::Version
|
313
|
-
version: 0.9.
|
307
|
+
version: 0.9.4
|
314
308
|
- !ruby/object:Gem::Dependency
|
315
309
|
name: rb-fchange
|
316
310
|
requirement: !ruby/object:Gem::Requirement
|
317
311
|
requirements:
|
318
|
-
- - ~>
|
312
|
+
- - "~>"
|
319
313
|
- !ruby/object:Gem::Version
|
320
314
|
version: 0.0.6
|
321
315
|
type: :development
|
322
316
|
prerelease: false
|
323
317
|
version_requirements: !ruby/object:Gem::Requirement
|
324
318
|
requirements:
|
325
|
-
- - ~>
|
319
|
+
- - "~>"
|
326
320
|
- !ruby/object:Gem::Version
|
327
321
|
version: 0.0.6
|
322
|
+
- !ruby/object:Gem::Dependency
|
323
|
+
name: twitter_cldr
|
324
|
+
requirement: !ruby/object:Gem::Requirement
|
325
|
+
requirements:
|
326
|
+
- - "~>"
|
327
|
+
- !ruby/object:Gem::Version
|
328
|
+
version: 2.4.2
|
329
|
+
type: :development
|
330
|
+
prerelease: false
|
331
|
+
version_requirements: !ruby/object:Gem::Requirement
|
332
|
+
requirements:
|
333
|
+
- - "~>"
|
334
|
+
- !ruby/object:Gem::Version
|
335
|
+
version: 2.4.2
|
328
336
|
description: A simple, Git-powered wiki with a sweet API and local frontend.
|
329
337
|
email: tom@github.com
|
330
338
|
executables: []
|
@@ -373,22 +381,22 @@ licenses:
|
|
373
381
|
metadata: {}
|
374
382
|
post_install_message:
|
375
383
|
rdoc_options:
|
376
|
-
- --charset=UTF-8
|
384
|
+
- "--charset=UTF-8"
|
377
385
|
require_paths:
|
378
386
|
- lib
|
379
387
|
required_ruby_version: !ruby/object:Gem::Requirement
|
380
388
|
requirements:
|
381
|
-
- -
|
389
|
+
- - ">="
|
382
390
|
- !ruby/object:Gem::Version
|
383
391
|
version: '1.9'
|
384
392
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
385
393
|
requirements:
|
386
|
-
- -
|
394
|
+
- - ">="
|
387
395
|
- !ruby/object:Gem::Version
|
388
396
|
version: '0'
|
389
397
|
requirements: []
|
390
398
|
rubyforge_project: gollum-lib
|
391
|
-
rubygems_version: 2.
|
399
|
+
rubygems_version: 2.2.2
|
392
400
|
signing_key:
|
393
401
|
specification_version: 2
|
394
402
|
summary: A simple, Git-powered wiki.
|