gollum-lib 1.0.6 → 1.0.7
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 +6 -14
- data/gollum-lib.gemspec +4 -4
- data/lib/gollum-lib.rb +1 -1
- data/lib/gollum-lib/committer.rb +7 -1
- data/lib/gollum-lib/file.rb +9 -5
- data/lib/gollum-lib/git_access.rb +9 -11
- data/lib/gollum-lib/markup.rb +36 -2
- data/lib/gollum-lib/page.rb +4 -4
- data/lib/gollum-lib/wiki.rb +3 -3
- metadata +66 -65
checksums.yaml
CHANGED
@@ -1,15 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
metadata.gz: !binary |-
|
9
|
-
ZjA1NDUyODg1ODc1ZTg2NmNhNDliMmUwY2E0ZDg2ODUwZDI1OWViNjYwZGJh
|
10
|
-
MDIyZGIxOGMwNDdhODdkODRhM2I1MGY0MDlkODJiYjMyMzZkNmNjYWRkODE1
|
11
|
-
ZDQ3ODdlMzM4N2YwY2FlYWJjYzhhYTE0ZmI2ZjZiNWVmZmIzZTE=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
MTVhYmU0MzJlNzkzMjE4YjQ3ZGE0ZGMzODQ1Zjg1YjlmY2M0MzBmMTM5NzQ5
|
14
|
-
ZTRhZjU0Njk0ZGZhMTI1NGU1OGZhNDVhMDRmZjYzZDk0ODBhOGZkYzdiY2E3
|
15
|
-
MDdlZTY5OGM4ZDNjNTE0ODRmOTY5MjdiYWEyMzk3ZTFhY2NmN2M=
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 35ebdb8ba4cc3642ec522e5d2c870e0811a38b2b
|
4
|
+
data.tar.gz: f5ac6eb2c128a51e4701d03f128c1615133cbdd6
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: d5f9b3f0ea4c798b4a0a3c8832491a7050d07e6df417db3a960511a571febc1b81fdc44bbc9825e5704ea2266925f73324517104dae29d434cc3e893c202aa00
|
7
|
+
data.tar.gz: 822d1e3e012f4ac9aa082f00504793b8efcb7b1244eeeaa07c8e05fa018fb1c7f950876614128132ba2964c2257892177790f51cf8647a55a8fb3afd20a07f4a
|
data/gollum-lib.gemspec
CHANGED
@@ -5,8 +5,8 @@ Gem::Specification.new do |s|
|
|
5
5
|
s.required_ruby_version = ">= 1.9"
|
6
6
|
|
7
7
|
s.name = 'gollum-lib'
|
8
|
-
s.version = '1.0.
|
9
|
-
s.date = '2013-
|
8
|
+
s.version = '1.0.7'
|
9
|
+
s.date = '2013-10-15'
|
10
10
|
s.rubyforge_project = 'gollum-lib'
|
11
11
|
s.license = 'MIT'
|
12
12
|
|
@@ -22,14 +22,14 @@ Gem::Specification.new do |s|
|
|
22
22
|
s.rdoc_options = ["--charset=UTF-8"]
|
23
23
|
s.extra_rdoc_files = %w[README.md LICENSE]
|
24
24
|
|
25
|
-
s.add_dependency('grit', '~> 2.5.0')
|
25
|
+
s.add_dependency('gitlab-grit', '~> 2.5.0')
|
26
26
|
s.add_dependency('github-markup', ['>= 0.7.5', '< 1.0.0'])
|
27
|
-
s.add_dependency('github-markdown', '~> 0.5.3')
|
28
27
|
s.add_dependency('pygments.rb', '~> 0.5.2')
|
29
28
|
s.add_dependency('sanitize', '~> 2.0.6')
|
30
29
|
s.add_dependency('nokogiri', '~> 1.6.0')
|
31
30
|
s.add_dependency('stringex', '~> 2.0.5')
|
32
31
|
|
32
|
+
s.add_development_dependency('github-markdown', '~> 0.5.3')
|
33
33
|
s.add_development_dependency('RedCloth', '~> 4.2.9')
|
34
34
|
s.add_development_dependency('mocha', '~> 0.13.2')
|
35
35
|
s.add_development_dependency('org-ruby', '~> 0.8.1')
|
data/lib/gollum-lib.rb
CHANGED
data/lib/gollum-lib/committer.rb
CHANGED
@@ -120,7 +120,13 @@ module Gollum
|
|
120
120
|
|
121
121
|
fullpath = fullpath.force_encoding('ascii-8bit') if fullpath.respond_to?(:force_encoding)
|
122
122
|
|
123
|
-
|
123
|
+
begin
|
124
|
+
data = @wiki.normalize(data)
|
125
|
+
rescue ArgumentError => err
|
126
|
+
# Swallow errors that arise from data being binary
|
127
|
+
raise err unless err.message.include?('invalid byte sequence')
|
128
|
+
end
|
129
|
+
index.add(fullpath, data)
|
124
130
|
end
|
125
131
|
|
126
132
|
# Update the given file in the repository's working directory if there
|
data/lib/gollum-lib/file.rb
CHANGED
@@ -113,11 +113,15 @@ module Gollum
|
|
113
113
|
return false if commit.sha != @wiki.repo.head.commit.sha
|
114
114
|
|
115
115
|
# This will try to resolve symbolic links, as well
|
116
|
-
pathname = Pathname.new(::File.join(@wiki.repo.path, '..', name))
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
116
|
+
pathname = Pathname.new(::File.expand_path(::File.join(@wiki.repo.path, '..', name)))
|
117
|
+
if pathname.symlink?
|
118
|
+
source = ::File.readlink(pathname.to_path)
|
119
|
+
realpath = ::File.join(::File.dirname(pathname.to_path), source)
|
120
|
+
return false unless realpath && ::File.exist?(realpath)
|
121
|
+
@on_disk_path = realpath.to_s
|
122
|
+
else
|
123
|
+
@on_disk_path = pathname.to_path
|
124
|
+
end
|
121
125
|
return true
|
122
126
|
end
|
123
127
|
|
@@ -18,7 +18,7 @@ module Gollum
|
|
18
18
|
rescue Grit::InvalidGitRepositoryError
|
19
19
|
raise Gollum::InvalidGitRepositoryError
|
20
20
|
rescue Grit::NoSuchPathError
|
21
|
-
raise Gollum::
|
21
|
+
raise Gollum::NoSuchPathError
|
22
22
|
end
|
23
23
|
clear
|
24
24
|
end
|
@@ -153,8 +153,8 @@ module Gollum
|
|
153
153
|
#
|
154
154
|
# Returns a String SHA.
|
155
155
|
def ref_to_sha!(ref)
|
156
|
-
@repo.
|
157
|
-
|
156
|
+
commit = @repo.commit(ref)
|
157
|
+
commit ? commit.id : nil
|
158
158
|
end
|
159
159
|
|
160
160
|
# Looks up the Git blobs for a given commit.
|
@@ -163,15 +163,13 @@ module Gollum
|
|
163
163
|
#
|
164
164
|
# Returns an Array of BlobEntry instances.
|
165
165
|
def tree!(sha)
|
166
|
-
tree
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
memo << parse_tree_line(line)
|
166
|
+
tree = @repo.lstree(sha, {:recursive => true})
|
167
|
+
items = []
|
168
|
+
tree.each do |entry|
|
169
|
+
if entry[:type] == 'blob'
|
170
|
+
items << BlobEntry.new(entry[:sha], entry[:path], entry[:size], entry[:mode].to_i(8))
|
171
|
+
end
|
173
172
|
end
|
174
|
-
|
175
173
|
if dir = @page_file_dir
|
176
174
|
regex = /^#{dir}\//
|
177
175
|
items.select { |i| i.path =~ regex }
|
data/lib/gollum-lib/markup.rb
CHANGED
@@ -71,10 +71,13 @@ module Gollum
|
|
71
71
|
# encoding - Encoding Constant or String.
|
72
72
|
#
|
73
73
|
# Returns the formatted String content.
|
74
|
-
def render(no_follow = false, encoding = nil)
|
74
|
+
def render(no_follow = false, encoding = nil, include_levels = 10)
|
75
75
|
sanitize = no_follow ?
|
76
76
|
@wiki.history_sanitizer :
|
77
77
|
@wiki.sanitizer
|
78
|
+
|
79
|
+
@encoding = encoding
|
80
|
+
@include_levels = include_levels
|
78
81
|
|
79
82
|
data = @data.dup
|
80
83
|
data = extract_metadata(data)
|
@@ -88,7 +91,7 @@ module Gollum
|
|
88
91
|
raise "There was an error converting #{@name} to HTML."
|
89
92
|
end
|
90
93
|
rescue Object => e
|
91
|
-
data =
|
94
|
+
data = html_error(e.message)
|
92
95
|
end
|
93
96
|
data = process_tags(data)
|
94
97
|
data = process_code(data, encoding)
|
@@ -238,6 +241,8 @@ module Gollum
|
|
238
241
|
%{[[#{tag}]]}
|
239
242
|
elsif tag =~ /^_$/
|
240
243
|
%{<div class="clearfloats"></div>}
|
244
|
+
elsif html = process_include_tag(tag)
|
245
|
+
html
|
241
246
|
elsif html = process_image_tag(tag)
|
242
247
|
html
|
243
248
|
elsif html = process_file_link_tag(tag)
|
@@ -246,6 +251,35 @@ module Gollum
|
|
246
251
|
process_page_link_tag(tag)
|
247
252
|
end
|
248
253
|
end
|
254
|
+
|
255
|
+
# Render a (presumably) non-fatal error as HTML
|
256
|
+
#
|
257
|
+
def html_error(message)
|
258
|
+
"<p class=\"gollum-error\">#{message}</p>"
|
259
|
+
end
|
260
|
+
|
261
|
+
# Attempt to process the tag as an include tag
|
262
|
+
#
|
263
|
+
# tag - The String tag contents (the stuff inside the double brackets).
|
264
|
+
#
|
265
|
+
# Returns the String HTML if the tag is a valid image tag or nil
|
266
|
+
# if it is not.
|
267
|
+
#
|
268
|
+
def process_include_tag(tag)
|
269
|
+
return unless /^include:/.match(tag)
|
270
|
+
page_name = tag[8..-1]
|
271
|
+
|
272
|
+
if @include_levels > 0
|
273
|
+
page = @wiki.page(page_name)
|
274
|
+
if page
|
275
|
+
page.formatted_data(@encoding, @include_levels-1)
|
276
|
+
else
|
277
|
+
html_error("Cannot include #{process_page_link_tag(page_name)} - does not exist yet")
|
278
|
+
end
|
279
|
+
else
|
280
|
+
html_error("Too many levels of included pages, will not include #{process_page_link_tag(page_name)}")
|
281
|
+
end
|
282
|
+
end
|
249
283
|
|
250
284
|
# Attempt to process the tag as an image tag.
|
251
285
|
#
|
data/lib/gollum-lib/page.rb
CHANGED
@@ -215,8 +215,8 @@ module Gollum
|
|
215
215
|
# encoding - Encoding Constant or String.
|
216
216
|
#
|
217
217
|
# Returns the String data.
|
218
|
-
def formatted_data(encoding = nil, &block)
|
219
|
-
@blob && markup_class.render(historical?, encoding) do |doc|
|
218
|
+
def formatted_data(encoding = nil, include_levels = 10, &block)
|
219
|
+
@blob && markup_class.render(historical?, encoding, include_levels) do |doc|
|
220
220
|
@doc = doc
|
221
221
|
yield doc if block_given?
|
222
222
|
end
|
@@ -266,7 +266,7 @@ module Gollum
|
|
266
266
|
# :page - The Integer page number (default: 1).
|
267
267
|
# :per_page - The Integer max count of items to return.
|
268
268
|
# :follow - Follow's a file across renames, but falls back
|
269
|
-
# to a slower Grit native call. (default: false)
|
269
|
+
# to a slower Grit native call (implicit in repo.git.log). (default: false)
|
270
270
|
#
|
271
271
|
# Returns an Array of Grit::Commit.
|
272
272
|
def versions(options = {})
|
@@ -274,7 +274,7 @@ module Gollum
|
|
274
274
|
options[:pretty] = 'raw'
|
275
275
|
options.delete :max_count
|
276
276
|
options.delete :skip
|
277
|
-
log = @wiki.repo.git.
|
277
|
+
log = @wiki.repo.git.log(options, @wiki.ref, "--", @path)
|
278
278
|
Grit::Commit.list_from_string(@wiki.repo, log)
|
279
279
|
else
|
280
280
|
@wiki.repo.log(@wiki.ref, @path, log_pagination_options(options))
|
data/lib/gollum-lib/wiki.rb
CHANGED
@@ -751,11 +751,11 @@ module Gollum
|
|
751
751
|
# Returns a String of the reverse Diff to apply.
|
752
752
|
def full_reverse_diff_for(page, sha1, sha2 = nil)
|
753
753
|
sha1, sha2 = "#{sha1}^", sha1 if sha2.nil?
|
754
|
-
args = [{:R => true}, sha1, sha2]
|
755
754
|
if page
|
756
|
-
|
755
|
+
path = (page.respond_to?(:path) ? page.path : page.to_s)
|
756
|
+
return repo.diff(sha2, sha1, path).first.diff
|
757
757
|
end
|
758
|
-
repo.
|
758
|
+
repo.diff(sha2, sha1).map{|d| d.diff}.join("\n")
|
759
759
|
end
|
760
760
|
|
761
761
|
# 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: 1.0.
|
4
|
+
version: 1.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tom Preston-Werner
|
@@ -9,320 +9,320 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-10-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
|
-
name: grit
|
15
|
+
name: gitlab-grit
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
|
-
- - ~>
|
18
|
+
- - "~>"
|
19
19
|
- !ruby/object:Gem::Version
|
20
20
|
version: 2.5.0
|
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
27
|
version: 2.5.0
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: github-markup
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
31
31
|
requirements:
|
32
|
-
- -
|
32
|
+
- - ">="
|
33
33
|
- !ruby/object:Gem::Version
|
34
34
|
version: 0.7.5
|
35
|
-
- - <
|
35
|
+
- - "<"
|
36
36
|
- !ruby/object:Gem::Version
|
37
37
|
version: 1.0.0
|
38
38
|
type: :runtime
|
39
39
|
prerelease: false
|
40
40
|
version_requirements: !ruby/object:Gem::Requirement
|
41
41
|
requirements:
|
42
|
-
- -
|
42
|
+
- - ">="
|
43
43
|
- !ruby/object:Gem::Version
|
44
44
|
version: 0.7.5
|
45
|
-
- - <
|
45
|
+
- - "<"
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: 1.0.0
|
48
|
-
- !ruby/object:Gem::Dependency
|
49
|
-
name: github-markdown
|
50
|
-
requirement: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - ~>
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: 0.5.3
|
55
|
-
type: :runtime
|
56
|
-
prerelease: false
|
57
|
-
version_requirements: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - ~>
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: 0.5.3
|
62
48
|
- !ruby/object:Gem::Dependency
|
63
49
|
name: pygments.rb
|
64
50
|
requirement: !ruby/object:Gem::Requirement
|
65
51
|
requirements:
|
66
|
-
- - ~>
|
52
|
+
- - "~>"
|
67
53
|
- !ruby/object:Gem::Version
|
68
54
|
version: 0.5.2
|
69
55
|
type: :runtime
|
70
56
|
prerelease: false
|
71
57
|
version_requirements: !ruby/object:Gem::Requirement
|
72
58
|
requirements:
|
73
|
-
- - ~>
|
59
|
+
- - "~>"
|
74
60
|
- !ruby/object:Gem::Version
|
75
61
|
version: 0.5.2
|
76
62
|
- !ruby/object:Gem::Dependency
|
77
63
|
name: sanitize
|
78
64
|
requirement: !ruby/object:Gem::Requirement
|
79
65
|
requirements:
|
80
|
-
- - ~>
|
66
|
+
- - "~>"
|
81
67
|
- !ruby/object:Gem::Version
|
82
68
|
version: 2.0.6
|
83
69
|
type: :runtime
|
84
70
|
prerelease: false
|
85
71
|
version_requirements: !ruby/object:Gem::Requirement
|
86
72
|
requirements:
|
87
|
-
- - ~>
|
73
|
+
- - "~>"
|
88
74
|
- !ruby/object:Gem::Version
|
89
75
|
version: 2.0.6
|
90
76
|
- !ruby/object:Gem::Dependency
|
91
77
|
name: nokogiri
|
92
78
|
requirement: !ruby/object:Gem::Requirement
|
93
79
|
requirements:
|
94
|
-
- - ~>
|
80
|
+
- - "~>"
|
95
81
|
- !ruby/object:Gem::Version
|
96
82
|
version: 1.6.0
|
97
83
|
type: :runtime
|
98
84
|
prerelease: false
|
99
85
|
version_requirements: !ruby/object:Gem::Requirement
|
100
86
|
requirements:
|
101
|
-
- - ~>
|
87
|
+
- - "~>"
|
102
88
|
- !ruby/object:Gem::Version
|
103
89
|
version: 1.6.0
|
104
90
|
- !ruby/object:Gem::Dependency
|
105
91
|
name: stringex
|
106
92
|
requirement: !ruby/object:Gem::Requirement
|
107
93
|
requirements:
|
108
|
-
- - ~>
|
94
|
+
- - "~>"
|
109
95
|
- !ruby/object:Gem::Version
|
110
96
|
version: 2.0.5
|
111
97
|
type: :runtime
|
112
98
|
prerelease: false
|
113
99
|
version_requirements: !ruby/object:Gem::Requirement
|
114
100
|
requirements:
|
115
|
-
- - ~>
|
101
|
+
- - "~>"
|
116
102
|
- !ruby/object:Gem::Version
|
117
103
|
version: 2.0.5
|
104
|
+
- !ruby/object:Gem::Dependency
|
105
|
+
name: github-markdown
|
106
|
+
requirement: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: 0.5.3
|
111
|
+
type: :development
|
112
|
+
prerelease: false
|
113
|
+
version_requirements: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: 0.5.3
|
118
118
|
- !ruby/object:Gem::Dependency
|
119
119
|
name: RedCloth
|
120
120
|
requirement: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
|
-
- - ~>
|
122
|
+
- - "~>"
|
123
123
|
- !ruby/object:Gem::Version
|
124
124
|
version: 4.2.9
|
125
125
|
type: :development
|
126
126
|
prerelease: false
|
127
127
|
version_requirements: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
|
-
- - ~>
|
129
|
+
- - "~>"
|
130
130
|
- !ruby/object:Gem::Version
|
131
131
|
version: 4.2.9
|
132
132
|
- !ruby/object:Gem::Dependency
|
133
133
|
name: mocha
|
134
134
|
requirement: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
|
-
- - ~>
|
136
|
+
- - "~>"
|
137
137
|
- !ruby/object:Gem::Version
|
138
138
|
version: 0.13.2
|
139
139
|
type: :development
|
140
140
|
prerelease: false
|
141
141
|
version_requirements: !ruby/object:Gem::Requirement
|
142
142
|
requirements:
|
143
|
-
- - ~>
|
143
|
+
- - "~>"
|
144
144
|
- !ruby/object:Gem::Version
|
145
145
|
version: 0.13.2
|
146
146
|
- !ruby/object:Gem::Dependency
|
147
147
|
name: org-ruby
|
148
148
|
requirement: !ruby/object:Gem::Requirement
|
149
149
|
requirements:
|
150
|
-
- - ~>
|
150
|
+
- - "~>"
|
151
151
|
- !ruby/object:Gem::Version
|
152
152
|
version: 0.8.1
|
153
153
|
type: :development
|
154
154
|
prerelease: false
|
155
155
|
version_requirements: !ruby/object:Gem::Requirement
|
156
156
|
requirements:
|
157
|
-
- - ~>
|
157
|
+
- - "~>"
|
158
158
|
- !ruby/object:Gem::Version
|
159
159
|
version: 0.8.1
|
160
160
|
- !ruby/object:Gem::Dependency
|
161
161
|
name: shoulda
|
162
162
|
requirement: !ruby/object:Gem::Requirement
|
163
163
|
requirements:
|
164
|
-
- - ~>
|
164
|
+
- - "~>"
|
165
165
|
- !ruby/object:Gem::Version
|
166
166
|
version: 3.4.0
|
167
167
|
type: :development
|
168
168
|
prerelease: false
|
169
169
|
version_requirements: !ruby/object:Gem::Requirement
|
170
170
|
requirements:
|
171
|
-
- - ~>
|
171
|
+
- - "~>"
|
172
172
|
- !ruby/object:Gem::Version
|
173
173
|
version: 3.4.0
|
174
174
|
- !ruby/object:Gem::Dependency
|
175
175
|
name: wikicloth
|
176
176
|
requirement: !ruby/object:Gem::Requirement
|
177
177
|
requirements:
|
178
|
-
- - ~>
|
178
|
+
- - "~>"
|
179
179
|
- !ruby/object:Gem::Version
|
180
180
|
version: 0.8.0
|
181
181
|
type: :development
|
182
182
|
prerelease: false
|
183
183
|
version_requirements: !ruby/object:Gem::Requirement
|
184
184
|
requirements:
|
185
|
-
- - ~>
|
185
|
+
- - "~>"
|
186
186
|
- !ruby/object:Gem::Version
|
187
187
|
version: 0.8.0
|
188
188
|
- !ruby/object:Gem::Dependency
|
189
189
|
name: rake
|
190
190
|
requirement: !ruby/object:Gem::Requirement
|
191
191
|
requirements:
|
192
|
-
- - ~>
|
192
|
+
- - "~>"
|
193
193
|
- !ruby/object:Gem::Version
|
194
194
|
version: 10.0.3
|
195
195
|
type: :development
|
196
196
|
prerelease: false
|
197
197
|
version_requirements: !ruby/object:Gem::Requirement
|
198
198
|
requirements:
|
199
|
-
- - ~>
|
199
|
+
- - "~>"
|
200
200
|
- !ruby/object:Gem::Version
|
201
201
|
version: 10.0.3
|
202
202
|
- !ruby/object:Gem::Dependency
|
203
203
|
name: pry
|
204
204
|
requirement: !ruby/object:Gem::Requirement
|
205
205
|
requirements:
|
206
|
-
- - ~>
|
206
|
+
- - "~>"
|
207
207
|
- !ruby/object:Gem::Version
|
208
208
|
version: 0.9.12
|
209
209
|
type: :development
|
210
210
|
prerelease: false
|
211
211
|
version_requirements: !ruby/object:Gem::Requirement
|
212
212
|
requirements:
|
213
|
-
- - ~>
|
213
|
+
- - "~>"
|
214
214
|
- !ruby/object:Gem::Version
|
215
215
|
version: 0.9.12
|
216
216
|
- !ruby/object:Gem::Dependency
|
217
217
|
name: rb-readline
|
218
218
|
requirement: !ruby/object:Gem::Requirement
|
219
219
|
requirements:
|
220
|
-
- - ~>
|
220
|
+
- - "~>"
|
221
221
|
- !ruby/object:Gem::Version
|
222
222
|
version: 0.4.2
|
223
223
|
type: :development
|
224
224
|
prerelease: false
|
225
225
|
version_requirements: !ruby/object:Gem::Requirement
|
226
226
|
requirements:
|
227
|
-
- - ~>
|
227
|
+
- - "~>"
|
228
228
|
- !ruby/object:Gem::Version
|
229
229
|
version: 0.4.2
|
230
230
|
- !ruby/object:Gem::Dependency
|
231
231
|
name: minitest-reporters
|
232
232
|
requirement: !ruby/object:Gem::Requirement
|
233
233
|
requirements:
|
234
|
-
- - ~>
|
234
|
+
- - "~>"
|
235
235
|
- !ruby/object:Gem::Version
|
236
236
|
version: 0.14.16
|
237
237
|
type: :development
|
238
238
|
prerelease: false
|
239
239
|
version_requirements: !ruby/object:Gem::Requirement
|
240
240
|
requirements:
|
241
|
-
- - ~>
|
241
|
+
- - "~>"
|
242
242
|
- !ruby/object:Gem::Version
|
243
243
|
version: 0.14.16
|
244
244
|
- !ruby/object:Gem::Dependency
|
245
245
|
name: nokogiri-diff
|
246
246
|
requirement: !ruby/object:Gem::Requirement
|
247
247
|
requirements:
|
248
|
-
- - ~>
|
248
|
+
- - "~>"
|
249
249
|
- !ruby/object:Gem::Version
|
250
250
|
version: 0.1.2
|
251
251
|
type: :development
|
252
252
|
prerelease: false
|
253
253
|
version_requirements: !ruby/object:Gem::Requirement
|
254
254
|
requirements:
|
255
|
-
- - ~>
|
255
|
+
- - "~>"
|
256
256
|
- !ruby/object:Gem::Version
|
257
257
|
version: 0.1.2
|
258
258
|
- !ruby/object:Gem::Dependency
|
259
259
|
name: guard
|
260
260
|
requirement: !ruby/object:Gem::Requirement
|
261
261
|
requirements:
|
262
|
-
- - ~>
|
262
|
+
- - "~>"
|
263
263
|
- !ruby/object:Gem::Version
|
264
264
|
version: 1.8.0
|
265
265
|
type: :development
|
266
266
|
prerelease: false
|
267
267
|
version_requirements: !ruby/object:Gem::Requirement
|
268
268
|
requirements:
|
269
|
-
- - ~>
|
269
|
+
- - "~>"
|
270
270
|
- !ruby/object:Gem::Version
|
271
271
|
version: 1.8.0
|
272
272
|
- !ruby/object:Gem::Dependency
|
273
273
|
name: guard-minitest
|
274
274
|
requirement: !ruby/object:Gem::Requirement
|
275
275
|
requirements:
|
276
|
-
- - ~>
|
276
|
+
- - "~>"
|
277
277
|
- !ruby/object:Gem::Version
|
278
278
|
version: 0.5.0
|
279
279
|
type: :development
|
280
280
|
prerelease: false
|
281
281
|
version_requirements: !ruby/object:Gem::Requirement
|
282
282
|
requirements:
|
283
|
-
- - ~>
|
283
|
+
- - "~>"
|
284
284
|
- !ruby/object:Gem::Version
|
285
285
|
version: 0.5.0
|
286
286
|
- !ruby/object:Gem::Dependency
|
287
287
|
name: rb-inotify
|
288
288
|
requirement: !ruby/object:Gem::Requirement
|
289
289
|
requirements:
|
290
|
-
- - ~>
|
290
|
+
- - "~>"
|
291
291
|
- !ruby/object:Gem::Version
|
292
292
|
version: 0.9.0
|
293
293
|
type: :development
|
294
294
|
prerelease: false
|
295
295
|
version_requirements: !ruby/object:Gem::Requirement
|
296
296
|
requirements:
|
297
|
-
- - ~>
|
297
|
+
- - "~>"
|
298
298
|
- !ruby/object:Gem::Version
|
299
299
|
version: 0.9.0
|
300
300
|
- !ruby/object:Gem::Dependency
|
301
301
|
name: rb-fsevent
|
302
302
|
requirement: !ruby/object:Gem::Requirement
|
303
303
|
requirements:
|
304
|
-
- - ~>
|
304
|
+
- - "~>"
|
305
305
|
- !ruby/object:Gem::Version
|
306
306
|
version: 0.9.3
|
307
307
|
type: :development
|
308
308
|
prerelease: false
|
309
309
|
version_requirements: !ruby/object:Gem::Requirement
|
310
310
|
requirements:
|
311
|
-
- - ~>
|
311
|
+
- - "~>"
|
312
312
|
- !ruby/object:Gem::Version
|
313
313
|
version: 0.9.3
|
314
314
|
- !ruby/object:Gem::Dependency
|
315
315
|
name: rb-fchange
|
316
316
|
requirement: !ruby/object:Gem::Requirement
|
317
317
|
requirements:
|
318
|
-
- - ~>
|
318
|
+
- - "~>"
|
319
319
|
- !ruby/object:Gem::Version
|
320
320
|
version: 0.0.6
|
321
321
|
type: :development
|
322
322
|
prerelease: false
|
323
323
|
version_requirements: !ruby/object:Gem::Requirement
|
324
324
|
requirements:
|
325
|
-
- - ~>
|
325
|
+
- - "~>"
|
326
326
|
- !ruby/object:Gem::Version
|
327
327
|
version: 0.0.6
|
328
328
|
description: A simple, Git-powered wiki with a sweet API and local frontend.
|
@@ -365,23 +365,24 @@ licenses:
|
|
365
365
|
metadata: {}
|
366
366
|
post_install_message:
|
367
367
|
rdoc_options:
|
368
|
-
- --charset=UTF-8
|
368
|
+
- "--charset=UTF-8"
|
369
369
|
require_paths:
|
370
370
|
- lib
|
371
371
|
required_ruby_version: !ruby/object:Gem::Requirement
|
372
372
|
requirements:
|
373
|
-
- -
|
373
|
+
- - ">="
|
374
374
|
- !ruby/object:Gem::Version
|
375
375
|
version: '1.9'
|
376
376
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
377
377
|
requirements:
|
378
|
-
- -
|
378
|
+
- - ">="
|
379
379
|
- !ruby/object:Gem::Version
|
380
380
|
version: '0'
|
381
381
|
requirements: []
|
382
382
|
rubyforge_project: gollum-lib
|
383
|
-
rubygems_version: 2.
|
383
|
+
rubygems_version: 2.1.9
|
384
384
|
signing_key:
|
385
385
|
specification_version: 2
|
386
386
|
summary: A simple, Git-powered wiki.
|
387
387
|
test_files: []
|
388
|
+
has_rdoc:
|