gollum 1.0.1 → 1.1.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 might be problematic. Click here for more details.
- data/HISTORY.md +31 -1
- data/README.md +2 -2
- data/Rakefile +2 -2
- data/bin/gollum +69 -7
- data/gollum.gemspec +14 -6
- data/lib/gollum.rb +25 -1
- data/lib/gollum/blob_entry.rb +71 -0
- data/lib/gollum/file.rb +11 -6
- data/lib/gollum/frontend/app.rb +34 -24
- data/lib/gollum/frontend/templates/compare.mustache +1 -1
- data/lib/gollum/frontend/templates/create.mustache +1 -1
- data/lib/gollum/frontend/templates/edit.mustache +2 -2
- data/lib/gollum/frontend/templates/error.mustache +11 -0
- data/lib/gollum/frontend/templates/history.mustache +3 -3
- data/lib/gollum/frontend/templates/page.mustache +9 -3
- data/lib/gollum/frontend/templates/search.mustache +19 -0
- data/lib/gollum/frontend/views/error.rb +7 -0
- data/lib/gollum/frontend/views/layout.rb +6 -0
- data/lib/gollum/frontend/views/search.rb +12 -0
- data/lib/gollum/markup.rb +73 -29
- data/lib/gollum/page.rb +49 -56
- data/lib/gollum/ruby1.8.rb +3 -0
- data/lib/gollum/wiki.rb +305 -92
- data/test/helper.rb +7 -1
- data/test/test_file.rb +9 -2
- data/test/test_markup.rb +107 -23
- data/test/test_page.rb +7 -1
- data/test/test_wiki.rb +131 -48
- metadata +45 -11
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gollum
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 19
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
|
-
- 0
|
9
8
|
- 1
|
10
|
-
|
9
|
+
- 0
|
10
|
+
version: 1.1.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Tom Preston-Werner
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2010-
|
19
|
+
date: 2010-10-28 00:00:00 -07:00
|
20
20
|
default_executable: gollum
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|
@@ -27,11 +27,11 @@ dependencies:
|
|
27
27
|
requirements:
|
28
28
|
- - ~>
|
29
29
|
- !ruby/object:Gem::Version
|
30
|
-
hash:
|
30
|
+
hash: 5
|
31
31
|
segments:
|
32
32
|
- 2
|
33
|
-
-
|
34
|
-
version: "2.
|
33
|
+
- 3
|
34
|
+
version: "2.3"
|
35
35
|
type: :runtime
|
36
36
|
version_requirements: *id001
|
37
37
|
- !ruby/object:Gem::Dependency
|
@@ -120,11 +120,11 @@ dependencies:
|
|
120
120
|
requirements:
|
121
121
|
- - ~>
|
122
122
|
- !ruby/object:Gem::Version
|
123
|
-
hash:
|
123
|
+
hash: 13
|
124
124
|
segments:
|
125
125
|
- 1
|
126
|
-
-
|
127
|
-
version: "1.
|
126
|
+
- 1
|
127
|
+
version: "1.1"
|
128
128
|
type: :runtime
|
129
129
|
version_requirements: *id006
|
130
130
|
- !ruby/object:Gem::Dependency
|
@@ -143,7 +143,7 @@ dependencies:
|
|
143
143
|
type: :runtime
|
144
144
|
version_requirements: *id007
|
145
145
|
- !ruby/object:Gem::Dependency
|
146
|
-
name:
|
146
|
+
name: RedCloth
|
147
147
|
prerelease: false
|
148
148
|
requirement: &id008 !ruby/object:Gem::Requirement
|
149
149
|
none: false
|
@@ -184,6 +184,34 @@ dependencies:
|
|
184
184
|
version: "0"
|
185
185
|
type: :development
|
186
186
|
version_requirements: *id010
|
187
|
+
- !ruby/object:Gem::Dependency
|
188
|
+
name: rdiscount
|
189
|
+
prerelease: false
|
190
|
+
requirement: &id011 !ruby/object:Gem::Requirement
|
191
|
+
none: false
|
192
|
+
requirements:
|
193
|
+
- - ">="
|
194
|
+
- !ruby/object:Gem::Version
|
195
|
+
hash: 3
|
196
|
+
segments:
|
197
|
+
- 0
|
198
|
+
version: "0"
|
199
|
+
type: :development
|
200
|
+
version_requirements: *id011
|
201
|
+
- !ruby/object:Gem::Dependency
|
202
|
+
name: shoulda
|
203
|
+
prerelease: false
|
204
|
+
requirement: &id012 !ruby/object:Gem::Requirement
|
205
|
+
none: false
|
206
|
+
requirements:
|
207
|
+
- - ">="
|
208
|
+
- !ruby/object:Gem::Version
|
209
|
+
hash: 3
|
210
|
+
segments:
|
211
|
+
- 0
|
212
|
+
version: "0"
|
213
|
+
type: :development
|
214
|
+
version_requirements: *id012
|
187
215
|
description: A simple, Git-powered wiki with a sweet API and local frontend.
|
188
216
|
email: tom@github.com
|
189
217
|
executables:
|
@@ -203,6 +231,7 @@ files:
|
|
203
231
|
- gollum.gemspec
|
204
232
|
- lib/gollum.rb
|
205
233
|
- lib/gollum/albino.rb
|
234
|
+
- lib/gollum/blob_entry.rb
|
206
235
|
- lib/gollum/file.rb
|
207
236
|
- lib/gollum/frontend/app.rb
|
208
237
|
- lib/gollum/frontend/public/css/editbar.css
|
@@ -600,19 +629,24 @@ files:
|
|
600
629
|
- lib/gollum/frontend/templates/create.mustache
|
601
630
|
- lib/gollum/frontend/templates/edit.mustache
|
602
631
|
- lib/gollum/frontend/templates/editbar.mustache
|
632
|
+
- lib/gollum/frontend/templates/error.mustache
|
603
633
|
- lib/gollum/frontend/templates/history.mustache
|
604
634
|
- lib/gollum/frontend/templates/layout.mustache
|
605
635
|
- lib/gollum/frontend/templates/page.mustache
|
636
|
+
- lib/gollum/frontend/templates/search.mustache
|
606
637
|
- lib/gollum/frontend/views/compare.rb
|
607
638
|
- lib/gollum/frontend/views/create.rb
|
608
639
|
- lib/gollum/frontend/views/edit.rb
|
609
640
|
- lib/gollum/frontend/views/editable.rb
|
641
|
+
- lib/gollum/frontend/views/error.rb
|
610
642
|
- lib/gollum/frontend/views/history.rb
|
611
643
|
- lib/gollum/frontend/views/layout.rb
|
612
644
|
- lib/gollum/frontend/views/page.rb
|
645
|
+
- lib/gollum/frontend/views/search.rb
|
613
646
|
- lib/gollum/markup.rb
|
614
647
|
- lib/gollum/page.rb
|
615
648
|
- lib/gollum/pagination.rb
|
649
|
+
- lib/gollum/ruby1.8.rb
|
616
650
|
- lib/gollum/wiki.rb
|
617
651
|
- templates/formatting.html
|
618
652
|
- test/examples/lotr.git/HEAD
|