gollum-lib 1.0.0 → 1.0.1

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.

data/LICENSE CHANGED
@@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
18
  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
19
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
20
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
21
+ SOFTWARE.
data/README.md CHANGED
@@ -55,338 +55,12 @@ to install the dependencies for the formats that you plan to use.
55
55
 
56
56
  [bundler]: http://gembundler.com/
57
57
 
58
- ## PAGE FILES
58
+ ## SYNTAX
59
59
 
60
- Page files may be written in any format supported by
61
- [GitHub-Markup](http://github.com/github/markup) (except roff). By default,
62
- Gollum recognizes the following extensions:
60
+ Gollum supports a variety of formats and extensions (Markdown, MediaWiki, Textile, …).
61
+ On top of these formats Gollum lets you insert headers, footers, links, image, math and more.
63
62
 
64
- * ASCIIDoc: .asciidoc
65
- * Creole: .creole
66
- * Markdown: .markdown, .mdown, .mkdn, .mkd, .md
67
- * Org Mode: .org
68
- * Pod: .pod
69
- * RDoc: .rdoc
70
- * ReStructuredText: .rest.txt, .rst.txt, .rest, .rst
71
- * Textile: .textile
72
- * MediaWiki: .mediawiki, .wiki
73
-
74
- You may also register your own extensions and parsers:
75
-
76
- ```ruby
77
- Gollum::Markup.register(:angry, "Angry") do |content|
78
- content.upcase
79
- end
80
- ```
81
-
82
- Gollum detects the page file format via the extension, so files must have one
83
- of the default or registered extensions in order to be converted.
84
-
85
- Page file names may contain any printable UTF-8 character except space
86
- (U+0020) and forward slash (U+002F). If you commit a page file with any of
87
- these characters in the name it will not be accessible via the web interface.
88
-
89
- Even though page files may be placed in any directory, there is still only a
90
- single namespace for page names, so all page files should have globally unique
91
- names regardless of where they are located in the repository.
92
-
93
- The special page file `Home.ext` (where the extension is one of the supported
94
- formats) will be used as the entrance page to your wiki. If it is missing, an
95
- automatically generated table of contents will be shown instead.
96
-
97
- ## SIDEBAR FILES
98
-
99
- Sidebar files allow you to add a simple sidebar to your wiki. Sidebar files
100
- are named `_Sidebar.ext` where the extension is one of the supported formats.
101
- Sidebars affect all pages in their directory and any subdirectories that do not
102
- have a sidebar file of their own.
103
-
104
- ## HEADER FILES
105
-
106
- Header files allow you to add a simple header to your wiki. Header files must
107
- be named `_Header.ext` where the extension is one of the supported formats.
108
- Like sidebars, headers affect all pages in their directory and any
109
- subdirectories that do not have a header file of their own.
110
-
111
- ## FOOTER FILES
112
-
113
- Footer files allow you to add a simple footer to your wiki. Footer files must
114
- be named `_Footer.ext` where the extension is one of the supported formats.
115
- Like sidebars, footers affect all pages in their directory and any
116
- subdirectories that do not have a footer file of their own.
117
-
118
- ## HTML SANITIZATION
119
-
120
- For security and compatibility reasons Gollum wikis may not contain custom CSS
121
- or JavaScript. These tags will be stripped from the converted HTML. See
122
- `docs/sanitization.md` for more details on what tags and attributes are
123
- allowed.
124
-
125
- ## TITLES
126
-
127
- The first defined `h1` will override the default header on a page. There are
128
- two ways to set a page title. The metadata syntax:
129
-
130
- <!-- --- title: New Title -->
131
-
132
- The first `h1` tag can be set to always override the page title, without
133
- needing to use the metadata syntax. Start gollum with the `--h1-title` flag.
134
-
135
- ## BRACKET TAGS
136
-
137
- A variety of Gollum tags use a double bracket syntax. For example:
138
-
139
- [[Link]]
140
-
141
- Some tags will accept attributes which are separated by pipe symbols. For
142
- example:
143
-
144
- [[Link|Page Title]]
145
-
146
- In all cases, the first thing in the link is what is displayed on the page.
147
- So, if the tag is an internal wiki link, the first thing in the tag will be
148
- the link text displayed on the page. If the tag is an embedded image, the
149
- first thing in the tag will be a path to an image file. Use this trick to
150
- easily remember which order things should appear in tags.
151
-
152
- Some formats, such as MediaWiki, support the opposite syntax:
153
-
154
- [[Page Title|Link]]
155
-
156
- ## PAGE LINKS
157
-
158
- To link to another Gollum wiki page, use the Gollum Page Link Tag.
159
-
160
- [[Frodo Baggins]]
161
-
162
- The above tag will create a link to the corresponding page file named
163
- `Frodo-Baggins.ext` where `ext` may be any of the allowed extension types. The
164
- conversion is as follows:
165
-
166
- 1. Replace any spaces (U+0020) with dashes (U+002D)
167
- 2. Replace any slashes (U+002F) with dashes (U+002D)
168
-
169
- If you'd like the link text to be something that doesn't map directly to the
170
- page name, you can specify the actual page name after a pipe:
171
-
172
- [[Frodo|Frodo Baggins]]
173
-
174
- The above tag will link to `Frodo-Baggins.ext` using "Frodo" as the link text.
175
-
176
- The page file may exist anywhere in the directory structure of the repository.
177
- Gollum does a breadth first search and uses the first match that it finds.
178
-
179
- Here are a few more examples:
180
-
181
- [[J. R. R. Tolkien]] -> J.-R.-R.-Tolkien.ext
182
- [[Movies / The Hobbit]] -> Movies---The-Hobbit.ext
183
- [[モルドール]] -> モルドール.ext
184
-
185
-
186
- ## EXTERNAL LINKS
187
-
188
- As a convenience, simple external links can be placed within brackets and they
189
- will be linked to the given URL with the URL as the link text. For example:
190
-
191
- [[http://example.com]]
192
-
193
- External links must begin with either "http://" or "https://". If you need
194
- something more flexible, you can resort to the link syntax in the page's
195
- underlying markup format.
196
-
197
-
198
- ## ABSOLUTE VS. RELATIVE VS. EXTERNAL PATH
199
-
200
- For Gollum tags that operate on static files (images, PDFs, etc), the paths
201
- may be referenced as either relative, absolute, or external. Relative paths
202
- point to a static file relative to the page file within the directory
203
- structure of the Gollum repo (even though after conversion, all page files
204
- appear to be top level). These paths are NOT prefixed with a slash. For
205
- example:
206
-
207
- gollum.pdf
208
- docs/diagram.png
209
-
210
- Absolute paths point to a static file relative to the Gollum repo's
211
- root, regardless of where the page file is stored within the directory
212
- structure. These paths ARE prefixed with a slash. For example:
213
-
214
- /pdfs/gollum.pdf
215
- /docs/diagram.png
216
-
217
- External paths are full URLs. An external path must begin with either
218
- "http://" or "https://". For example:
219
-
220
- http://example.com/pdfs/gollum.pdf
221
- http://example.com/images/diagram.png
222
-
223
- All of the examples in this README use relative paths, but you may use
224
- whatever works best in your situation.
225
-
226
-
227
- ## FILE LINKS
228
-
229
- To link to static files that are contained in the Gollum repository you should
230
- use the Gollum File Link Tag.
231
-
232
- [[Gollum|gollum.pdf]]
233
-
234
- The first part of the tag is the link text. The path to the file appears after
235
- the pipe.
236
-
237
-
238
- ## IMAGES
239
-
240
- To display images that are contained in the Gollum repository you should use
241
- the Gollum Image Tag. This will display the actual image on the page.
242
-
243
- [[gollum.png]]
244
-
245
- In addition to the simple format, there are a variety of options that you
246
- can specify between pipe delimiters.
247
-
248
- To specify alt text, use the `alt=` option. Default is no alt text.
249
-
250
- [[gollum.png|alt=Gollum and his precious wiki]]
251
-
252
- To place the image in a frame, use the `frame` option. When combined with the
253
- `alt=` option, the alt text will be used as a caption as well. Default is no
254
- frame.
255
-
256
- [[gollum.png|frame|alt=Gollum and his precious wiki]]
257
-
258
- To specify the alignment of the image on the page, use the `align=` option.
259
- Possible values are `left`, `center`, and `right`. Default is `left`.
260
-
261
- [[gollum.png|align=center]]
262
-
263
- To float an image so that text flows around it, use the `float` option. When
264
- `float` is specified, only `left` and `right` are valid `align` options.
265
- Default is not floating. When floating is activated but no alignment is
266
- specified, default alignment is `left`.
267
-
268
- [[gollum.png|float]]
269
-
270
- By default text will fill up all the space around the image. To control how
271
- much should show up use this tag to stop and start a new block so that
272
- additional content doesn't fill in.
273
-
274
- [[_]]
275
-
276
- To specify a max-width, use the `width=` option. Units must be specified in
277
- either `px` or `em`.
278
-
279
- [[gollum.png|width=400px]]
280
-
281
- To specify a max-height, use the `height=` option. Units must be specified in
282
- either `px` or `em`.
283
-
284
- [[gollum.png|height=300px]]
285
-
286
- Any of these options may be composed together by simply separating them with
287
- pipes.
288
-
289
-
290
- ## ESCAPING GOLLUM TAGS
291
-
292
- If you need the literal text of a wiki or static link to show up in your final
293
- wiki page, simply preface the link with a single quote (like in LISP):
294
-
295
- '[[Page Link]]
296
- '[[File Link|file.pdf]]
297
- '[[image.jpg]]
298
-
299
- This is useful for writing about the link syntax in your wiki pages.
300
-
301
- ## TABLE OF CONTENTS
302
-
303
- Gollum has a special tag to insert a table of contents:
304
-
305
- [[_TOC_]]
306
-
307
- This tag is case sensitive, use all upper case. The TOC tag can be inserted
308
- into the `_Header`, `_Footer` or `_Sidebar` files too.
309
-
310
- There is also a wiki option `:universal_toc` which will display a
311
- table of contents at the top of all your wiki pages if it is enabled:
312
-
313
- ```ruby
314
- Gollum::Wiki.new("my-gollum-repo.git", {:universal_toc => true})
315
- ```
316
-
317
- ## SYNTAX HIGHLIGHTING
318
-
319
- In page files you can get automatic syntax highlighting for a wide range of
320
- languages (courtesy of [Pygments](http://pygments.org/) - must install
321
- separately) by using the following syntax:
322
-
323
- ```ruby
324
- def foo
325
- puts 'bar'
326
- end
327
- ```
328
-
329
- The block must start with three backticks, at the beginning of a line or
330
- indented with any number of spaces or tabs.
331
- After that comes the name of the language that is contained by the
332
- block. The language must be one of the `short name` lexer strings supported by
333
- Pygments. See the [list of lexers](http://pygments.org/docs/lexers/) for valid
334
- options.
335
-
336
- The block contents should be indented at the same level than the opening backticks.
337
- If the block contents are indented with an additional two spaces or one tab,
338
- then that whitespace will be ignored (this makes the blocks easier to read in plaintext).
339
-
340
- The block must end with three backticks indented at the same level than the opening
341
- backticks.
342
-
343
- ### GITHUB SYNTAX HIGHLIGHTING
344
-
345
- As an extra feature, you can syntax highlight a file from your repository, allowing
346
- you keep some of your sample code in the main repository. The code-snippet is
347
- updated when the wiki is rebuilt. You include github code like this:
348
-
349
- ```html:github:gollum/gollum-lib/master/test/file_view/1_file.txt```
350
-
351
- This will make the builder look at the **gollum user**, in the **gollum-lib project**,
352
- in the **master branch**, at path **test/file_view/1_file.txt**. It will be
353
- rewritten to:
354
-
355
- ```html
356
- <ol class="tree">
357
- <li class="file"><a href="0">0</a></li>
358
- </ol>
359
- ```
360
-
361
- Which will be parsed as HTML code during the Pygments run, and thereby coloured
362
- appropriately.
363
-
364
- ## MATHEMATICAL EQUATIONS
365
-
366
- Start gollum with the `--mathjax` flag. Read more about [MathJax](http://docs.mathjax.org/en/latest/index.html) on the web. Gollum uses the `TeX-AMS-MML_HTMLorMML` config with the `autoload-all` extension.
367
-
368
- Inline math:
369
-
370
- - $2^2$
371
- - `\\(2^2\\)`
372
-
373
- Display math:
374
-
375
- - $$2^2$$
376
- - [2^2]
377
-
378
- ## SEQUENCE DIAGRAMS
379
-
380
- You may imbed sequence diagrams into your wiki page (rendered by
381
- [WebSequenceDiagrams](http://www.websequencediagrams.com) by using the
382
- following syntax:
383
-
384
- {{{{{{ blue-modern
385
- alice->bob: Test
386
- bob->alice: Test response
387
- }}}}}}
388
-
389
- You can replace the string "blue-modern" with any supported style.
63
+ Check out the [Gollum Wiki](https://github.com/gollum/gollum/wiki) for all of Gollum's formats and syntactic options.
390
64
 
391
65
  ## API DOCUMENTATION
392
66
 
@@ -575,7 +249,7 @@ $ gem uninstall -aIx gollum-lib
575
249
  $ git clone https://github.com/gollum/gollum-lib.git
576
250
  $ cd gollum-lib
577
251
  gollum-lib$ rake build
578
- gollum-lib$ gem install --no-ri --no-rdoc pkg/gollum-lib*.gem
252
+ gollum-lib$ rake install
579
253
  ```
580
254
 
581
255
  ## RUN THE TESTS
data/Rakefile CHANGED
@@ -30,8 +30,8 @@ def bump_version
30
30
  old_file = File.read("lib/#{name}.rb")
31
31
  old_version_line = old_file[/^\s*VERSION\s*=\s*.*/]
32
32
  new_version = next_version
33
- # replace first match of old vesion with new version
34
- old_file.sub!(old_version_line, " VERSION = '#{new_version}'")
33
+ # replace first match of old version with new version
34
+ old_file.sub!(old_version_line, " VERSION = '#{new_version}'")
35
35
 
36
36
  File.write("lib/#{name}.rb", old_file)
37
37
 
@@ -101,6 +101,11 @@ task :bump do
101
101
  Rake::Task[:validate].execute
102
102
  end
103
103
 
104
+ desc "Build and install"
105
+ task :install => :build do
106
+ sh "gem install --local --no-ri --no-rdoc pkg/#{name}-#{version}.gem"
107
+ end
108
+
104
109
  #############################################################################
105
110
  #
106
111
  # Packaging tasks
@@ -146,7 +151,7 @@ task :gemspec => :validate do
146
151
  split("\n").
147
152
  sort.
148
153
  reject { |file| file =~ /^\./ }.
149
- reject { |file| file =~ /^(rdoc|pkg|test|Home\.md|\.gitattributes)/ }.
154
+ reject { |file| file =~ /^(rdoc|pkg|test|Home\.md|\.gitattributes|Guardfile)/ }.
150
155
  map { |file| " #{file}" }.
151
156
  join("\n")
152
157
 
data/gollum-lib.gemspec CHANGED
@@ -5,9 +5,10 @@ Gem::Specification.new do |s|
5
5
  s.required_ruby_version = ">= 1.8.7"
6
6
 
7
7
  s.name = 'gollum-lib'
8
- s.version = '1.0.0'
9
- s.date = '2013-04-02'
8
+ s.version = '1.0.1'
9
+ s.date = '2013-05-31'
10
10
  s.rubyforge_project = 'gollum-lib'
11
+ s.license = 'MIT'
11
12
 
12
13
  s.summary = "A simple, Git-powered wiki."
13
14
  s.description = "A simple, Git-powered wiki with a sweet API and local frontend."
@@ -24,7 +25,7 @@ Gem::Specification.new do |s|
24
25
  s.add_dependency('grit', '~> 2.5.0')
25
26
  s.add_dependency('github-markup', ['>= 0.7.5', '< 1.0.0'])
26
27
  s.add_dependency('github-markdown', '~> 0.5.3')
27
- s.add_dependency('pygments.rb', '~> 0.4.2')
28
+ s.add_dependency('pygments.rb', '~> 0.5.0')
28
29
  s.add_dependency('sanitize', '~> 2.0.3')
29
30
  s.add_dependency('nokogiri', '~> 1.5.9')
30
31
  s.add_dependency('stringex', '~> 1.5.1')
@@ -38,8 +39,14 @@ Gem::Specification.new do |s|
38
39
  s.add_development_dependency('pry', '~> 0.9.12')
39
40
  # required by pry
40
41
  s.add_development_dependency('rb-readline', '~> 0.4.2')
41
- s.add_development_dependency 'minitest-reporters', '~> 0.14.10'
42
+ s.add_development_dependency 'minitest-reporters', '~> 0.14.16'
42
43
  s.add_development_dependency('nokogiri-diff', '~> 0.1.2')
44
+ # required by guard
45
+ s.add_development_dependency('guard', '~> 1.8.0')
46
+ s.add_development_dependency('guard-minitest', '~> 0.5.0')
47
+ s.add_development_dependency('rb-inotify', '~> 0.9.0')
48
+ s.add_development_dependency('rb-fsevent', '~> 0.9.3')
49
+ s.add_development_dependency('rb-fchange', '~> 0.0.6')
43
50
 
44
51
  # = MANIFEST =
45
52
  s.files = %w[
data/lib/gollum-lib.rb CHANGED
@@ -29,7 +29,9 @@ require File.expand_path('../gollum-lib/web_sequence_diagram', __FILE__)
29
29
  $KCODE = 'U' if RUBY_VERSION[0,3] == '1.8'
30
30
 
31
31
  module Gollum
32
- VERSION = '1.0.0'
32
+ module Lib
33
+ VERSION = '1.0.1'
34
+ end
33
35
 
34
36
  def self.assets_path
35
37
  ::File.expand_path('gollum/frontend/public', ::File.dirname(__FILE__))
@@ -105,7 +105,7 @@ module Gollum
105
105
 
106
106
  tree.blobs.each do |blob|
107
107
  next if page_path_scheduled_for_deletion?(index.tree, fullpath)
108
-
108
+
109
109
  existing_file = blob.name.downcase.sub(/\.\w+$/, '')
110
110
  existing_file_ext = ::File.extname(blob.name).sub(/^\./, '')
111
111
 
@@ -134,7 +134,7 @@ module Gollum
134
134
  def update_working_dir(dir, name, format)
135
135
  unless @wiki.repo.bare
136
136
  if @wiki.page_file_dir
137
- dir = dir.size.zero? ? @wiki.page_file_dir : ::File.join(dir, @wiki.page_file_dir)
137
+ dir = dir.size.zero? ? @wiki.page_file_dir : ::File.join(@wiki.page_file_dir, dir)
138
138
  end
139
139
 
140
140
  path =
@@ -100,7 +100,7 @@ module Gollum
100
100
  end
101
101
 
102
102
  # http://stackoverflow.com/questions/3482814/sorting-list-of-string-paths-in-vb-net
103
- sorted_folders.sort! do |first,second|
103
+ sorted_folders.sort! do |first,second|
104
104
  a = first[0]
105
105
  b = second[0]
106
106
 
@@ -390,16 +390,15 @@ module Gollum
390
390
  # Returns a Gollum::Page or nil if the page could not be found.
391
391
  def find_page_in_tree(map, name, checked_dir = nil, exact = false)
392
392
  return nil if !map || name.to_s.empty?
393
- if checked_dir = BlobEntry.normalize_dir(checked_dir)
394
- checked_dir.downcase!
395
- end
396
393
 
394
+ checked_dir = BlobEntry.normalize_dir(checked_dir)
397
395
  checked_dir = '' if exact && checked_dir.nil?
396
+ name = ::File.join(checked_dir, name) if checked_dir
398
397
 
399
398
  map.each do |entry|
400
399
  next if entry.name.to_s.empty?
401
- next unless checked_dir.nil? || entry.dir.downcase == checked_dir
402
- next unless page_match(name, entry.name)
400
+ path = checked_dir ? ::File.join(entry.dir, entry.name) : entry.name
401
+ next unless page_match(name, path)
403
402
  return entry.page(@wiki, @version)
404
403
  end
405
404
 
@@ -435,11 +434,11 @@ module Gollum
435
434
  # Compare the canonicalized versions of the two names.
436
435
  #
437
436
  # name - The human or canonical String page name.
438
- # filename - the String filename on disk (including extension).
437
+ # path - the String path on disk (including file extension).
439
438
  #
440
439
  # Returns a Boolean.
441
- def page_match(name, filename)
442
- if match = self.class.valid_filename?(filename)
440
+ def page_match(name, path)
441
+ if match = self.class.valid_filename?(path)
443
442
  @wiki.ws_subs.each do |sub|
444
443
  return true if Page.cname(name).downcase == Page.cname(match, sub).downcase
445
444
  end
@@ -144,10 +144,10 @@ module Gollum
144
144
  # Sets page title to value of first h1
145
145
  # Defaults to false
146
146
  attr_reader :h1_title
147
-
147
+
148
148
  # Gets the custom index page for / and subdirs (e.g. foo/)
149
149
  attr_reader :index_page
150
-
150
+
151
151
  # Gets side on which the sidebar should be shown
152
152
  attr_reader :bar_side
153
153
 
@@ -177,7 +177,7 @@ module Gollum
177
177
  # :css - Include the custom.css file from the repo.
178
178
  # :h1_title - Concatenate all h1's on a page to form the
179
179
  # page title.
180
- # :index_page - The default page to retrieve or create if the
180
+ # :index_page - The default page to retrieve or create if the
181
181
  # a directory is accessed.
182
182
  # :bar_side - Where the sidebar should be displayed, may be:
183
183
  # - :left
@@ -306,14 +306,8 @@ module Gollum
306
306
  name.gsub!(' ', '-')
307
307
  dir.gsub!(' ', '-')
308
308
 
309
- multi_commit = false
310
-
311
- committer = if obj = commit[:committer]
312
- multi_commit = true
313
- obj
314
- else
315
- Committer.new(self, commit)
316
- end
309
+ multi_commit = !!commit[:committer]
310
+ committer = multi_commit ? commit[:committer] : Committer.new(self, commit)
317
311
 
318
312
  filename = Gollum::Page.cname(name)
319
313
 
@@ -363,13 +357,8 @@ module Gollum
363
357
  return false
364
358
  end
365
359
 
366
- multi_commit = false
367
- committer = if obj = commit[:committer]
368
- multi_commit = true
369
- obj
370
- else
371
- Committer.new(self, commit)
372
- end
360
+ multi_commit = !!commit[:committer]
361
+ committer = multi_commit ? commit[:committer] : Committer.new(self, commit)
373
362
 
374
363
  committer.delete(page.path)
375
364
  committer.add_to_index(target_dir, target_name, page.format, page.raw_data, :allow_same_ext)
@@ -413,14 +402,8 @@ module Gollum
413
402
  filename = (rename = page.name != name) ?
414
403
  Gollum::Page.cname(name) : page.filename_stripped
415
404
 
416
- multi_commit = false
417
-
418
- committer = if obj = commit[:committer]
419
- multi_commit = true
420
- obj
421
- else
422
- Committer.new(self, commit)
423
- end
405
+ multi_commit = !!commit[:committer]
406
+ committer = multi_commit ? commit[:committer] : Committer.new(self, commit)
424
407
 
425
408
  if !rename && page.format == format
426
409
  committer.add(page.path, normalize(data))
@@ -455,14 +438,9 @@ module Gollum
455
438
  # Returns the String SHA1 of the newly written version, or the
456
439
  # Gollum::Committer instance if this is part of a batch update.
457
440
  def delete_page(page, commit)
458
- multi_commit = false
459
441
 
460
- committer = if obj = commit[:committer]
461
- multi_commit = true
462
- obj
463
- else
464
- Committer.new(self, commit)
465
- end
442
+ multi_commit = !!commit[:committer]
443
+ committer = multi_commit ? commit[:committer] : Committer.new(self, commit)
466
444
 
467
445
  committer.delete(page.path)
468
446
 
metadata CHANGED
@@ -1,7 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gollum-lib
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - Tom Preston-Werner
@@ -9,11 +10,12 @@ authors:
9
10
  autorequire:
10
11
  bindir: bin
11
12
  cert_chain: []
12
- date: 2013-04-02 00:00:00.000000000 Z
13
+ date: 2013-05-31 00:00:00.000000000 Z
13
14
  dependencies:
14
15
  - !ruby/object:Gem::Dependency
15
16
  name: grit
16
17
  requirement: !ruby/object:Gem::Requirement
18
+ none: false
17
19
  requirements:
18
20
  - - ~>
19
21
  - !ruby/object:Gem::Version
@@ -21,6 +23,7 @@ dependencies:
21
23
  type: :runtime
22
24
  prerelease: false
23
25
  version_requirements: !ruby/object:Gem::Requirement
26
+ none: false
24
27
  requirements:
25
28
  - - ~>
26
29
  - !ruby/object:Gem::Version
@@ -28,6 +31,7 @@ dependencies:
28
31
  - !ruby/object:Gem::Dependency
29
32
  name: github-markup
30
33
  requirement: !ruby/object:Gem::Requirement
34
+ none: false
31
35
  requirements:
32
36
  - - ! '>='
33
37
  - !ruby/object:Gem::Version
@@ -38,6 +42,7 @@ dependencies:
38
42
  type: :runtime
39
43
  prerelease: false
40
44
  version_requirements: !ruby/object:Gem::Requirement
45
+ none: false
41
46
  requirements:
42
47
  - - ! '>='
43
48
  - !ruby/object:Gem::Version
@@ -48,6 +53,7 @@ dependencies:
48
53
  - !ruby/object:Gem::Dependency
49
54
  name: github-markdown
50
55
  requirement: !ruby/object:Gem::Requirement
56
+ none: false
51
57
  requirements:
52
58
  - - ~>
53
59
  - !ruby/object:Gem::Version
@@ -55,6 +61,7 @@ dependencies:
55
61
  type: :runtime
56
62
  prerelease: false
57
63
  version_requirements: !ruby/object:Gem::Requirement
64
+ none: false
58
65
  requirements:
59
66
  - - ~>
60
67
  - !ruby/object:Gem::Version
@@ -62,20 +69,23 @@ dependencies:
62
69
  - !ruby/object:Gem::Dependency
63
70
  name: pygments.rb
64
71
  requirement: !ruby/object:Gem::Requirement
72
+ none: false
65
73
  requirements:
66
74
  - - ~>
67
75
  - !ruby/object:Gem::Version
68
- version: 0.4.2
76
+ version: 0.5.0
69
77
  type: :runtime
70
78
  prerelease: false
71
79
  version_requirements: !ruby/object:Gem::Requirement
80
+ none: false
72
81
  requirements:
73
82
  - - ~>
74
83
  - !ruby/object:Gem::Version
75
- version: 0.4.2
84
+ version: 0.5.0
76
85
  - !ruby/object:Gem::Dependency
77
86
  name: sanitize
78
87
  requirement: !ruby/object:Gem::Requirement
88
+ none: false
79
89
  requirements:
80
90
  - - ~>
81
91
  - !ruby/object:Gem::Version
@@ -83,6 +93,7 @@ dependencies:
83
93
  type: :runtime
84
94
  prerelease: false
85
95
  version_requirements: !ruby/object:Gem::Requirement
96
+ none: false
86
97
  requirements:
87
98
  - - ~>
88
99
  - !ruby/object:Gem::Version
@@ -90,6 +101,7 @@ dependencies:
90
101
  - !ruby/object:Gem::Dependency
91
102
  name: nokogiri
92
103
  requirement: !ruby/object:Gem::Requirement
104
+ none: false
93
105
  requirements:
94
106
  - - ~>
95
107
  - !ruby/object:Gem::Version
@@ -97,6 +109,7 @@ dependencies:
97
109
  type: :runtime
98
110
  prerelease: false
99
111
  version_requirements: !ruby/object:Gem::Requirement
112
+ none: false
100
113
  requirements:
101
114
  - - ~>
102
115
  - !ruby/object:Gem::Version
@@ -104,6 +117,7 @@ dependencies:
104
117
  - !ruby/object:Gem::Dependency
105
118
  name: stringex
106
119
  requirement: !ruby/object:Gem::Requirement
120
+ none: false
107
121
  requirements:
108
122
  - - ~>
109
123
  - !ruby/object:Gem::Version
@@ -111,6 +125,7 @@ dependencies:
111
125
  type: :runtime
112
126
  prerelease: false
113
127
  version_requirements: !ruby/object:Gem::Requirement
128
+ none: false
114
129
  requirements:
115
130
  - - ~>
116
131
  - !ruby/object:Gem::Version
@@ -118,6 +133,7 @@ dependencies:
118
133
  - !ruby/object:Gem::Dependency
119
134
  name: RedCloth
120
135
  requirement: !ruby/object:Gem::Requirement
136
+ none: false
121
137
  requirements:
122
138
  - - ~>
123
139
  - !ruby/object:Gem::Version
@@ -125,6 +141,7 @@ dependencies:
125
141
  type: :development
126
142
  prerelease: false
127
143
  version_requirements: !ruby/object:Gem::Requirement
144
+ none: false
128
145
  requirements:
129
146
  - - ~>
130
147
  - !ruby/object:Gem::Version
@@ -132,6 +149,7 @@ dependencies:
132
149
  - !ruby/object:Gem::Dependency
133
150
  name: mocha
134
151
  requirement: !ruby/object:Gem::Requirement
152
+ none: false
135
153
  requirements:
136
154
  - - ~>
137
155
  - !ruby/object:Gem::Version
@@ -139,6 +157,7 @@ dependencies:
139
157
  type: :development
140
158
  prerelease: false
141
159
  version_requirements: !ruby/object:Gem::Requirement
160
+ none: false
142
161
  requirements:
143
162
  - - ~>
144
163
  - !ruby/object:Gem::Version
@@ -146,6 +165,7 @@ dependencies:
146
165
  - !ruby/object:Gem::Dependency
147
166
  name: org-ruby
148
167
  requirement: !ruby/object:Gem::Requirement
168
+ none: false
149
169
  requirements:
150
170
  - - ~>
151
171
  - !ruby/object:Gem::Version
@@ -153,6 +173,7 @@ dependencies:
153
173
  type: :development
154
174
  prerelease: false
155
175
  version_requirements: !ruby/object:Gem::Requirement
176
+ none: false
156
177
  requirements:
157
178
  - - ~>
158
179
  - !ruby/object:Gem::Version
@@ -160,6 +181,7 @@ dependencies:
160
181
  - !ruby/object:Gem::Dependency
161
182
  name: shoulda
162
183
  requirement: !ruby/object:Gem::Requirement
184
+ none: false
163
185
  requirements:
164
186
  - - ~>
165
187
  - !ruby/object:Gem::Version
@@ -167,6 +189,7 @@ dependencies:
167
189
  type: :development
168
190
  prerelease: false
169
191
  version_requirements: !ruby/object:Gem::Requirement
192
+ none: false
170
193
  requirements:
171
194
  - - ~>
172
195
  - !ruby/object:Gem::Version
@@ -174,6 +197,7 @@ dependencies:
174
197
  - !ruby/object:Gem::Dependency
175
198
  name: wikicloth
176
199
  requirement: !ruby/object:Gem::Requirement
200
+ none: false
177
201
  requirements:
178
202
  - - ~>
179
203
  - !ruby/object:Gem::Version
@@ -181,6 +205,7 @@ dependencies:
181
205
  type: :development
182
206
  prerelease: false
183
207
  version_requirements: !ruby/object:Gem::Requirement
208
+ none: false
184
209
  requirements:
185
210
  - - ~>
186
211
  - !ruby/object:Gem::Version
@@ -188,6 +213,7 @@ dependencies:
188
213
  - !ruby/object:Gem::Dependency
189
214
  name: rake
190
215
  requirement: !ruby/object:Gem::Requirement
216
+ none: false
191
217
  requirements:
192
218
  - - ~>
193
219
  - !ruby/object:Gem::Version
@@ -195,6 +221,7 @@ dependencies:
195
221
  type: :development
196
222
  prerelease: false
197
223
  version_requirements: !ruby/object:Gem::Requirement
224
+ none: false
198
225
  requirements:
199
226
  - - ~>
200
227
  - !ruby/object:Gem::Version
@@ -202,6 +229,7 @@ dependencies:
202
229
  - !ruby/object:Gem::Dependency
203
230
  name: pry
204
231
  requirement: !ruby/object:Gem::Requirement
232
+ none: false
205
233
  requirements:
206
234
  - - ~>
207
235
  - !ruby/object:Gem::Version
@@ -209,6 +237,7 @@ dependencies:
209
237
  type: :development
210
238
  prerelease: false
211
239
  version_requirements: !ruby/object:Gem::Requirement
240
+ none: false
212
241
  requirements:
213
242
  - - ~>
214
243
  - !ruby/object:Gem::Version
@@ -216,6 +245,7 @@ dependencies:
216
245
  - !ruby/object:Gem::Dependency
217
246
  name: rb-readline
218
247
  requirement: !ruby/object:Gem::Requirement
248
+ none: false
219
249
  requirements:
220
250
  - - ~>
221
251
  - !ruby/object:Gem::Version
@@ -223,6 +253,7 @@ dependencies:
223
253
  type: :development
224
254
  prerelease: false
225
255
  version_requirements: !ruby/object:Gem::Requirement
256
+ none: false
226
257
  requirements:
227
258
  - - ~>
228
259
  - !ruby/object:Gem::Version
@@ -230,20 +261,23 @@ dependencies:
230
261
  - !ruby/object:Gem::Dependency
231
262
  name: minitest-reporters
232
263
  requirement: !ruby/object:Gem::Requirement
264
+ none: false
233
265
  requirements:
234
266
  - - ~>
235
267
  - !ruby/object:Gem::Version
236
- version: 0.14.10
268
+ version: 0.14.16
237
269
  type: :development
238
270
  prerelease: false
239
271
  version_requirements: !ruby/object:Gem::Requirement
272
+ none: false
240
273
  requirements:
241
274
  - - ~>
242
275
  - !ruby/object:Gem::Version
243
- version: 0.14.10
276
+ version: 0.14.16
244
277
  - !ruby/object:Gem::Dependency
245
278
  name: nokogiri-diff
246
279
  requirement: !ruby/object:Gem::Requirement
280
+ none: false
247
281
  requirements:
248
282
  - - ~>
249
283
  - !ruby/object:Gem::Version
@@ -251,10 +285,91 @@ dependencies:
251
285
  type: :development
252
286
  prerelease: false
253
287
  version_requirements: !ruby/object:Gem::Requirement
288
+ none: false
254
289
  requirements:
255
290
  - - ~>
256
291
  - !ruby/object:Gem::Version
257
292
  version: 0.1.2
293
+ - !ruby/object:Gem::Dependency
294
+ name: guard
295
+ requirement: !ruby/object:Gem::Requirement
296
+ none: false
297
+ requirements:
298
+ - - ~>
299
+ - !ruby/object:Gem::Version
300
+ version: 1.8.0
301
+ type: :development
302
+ prerelease: false
303
+ version_requirements: !ruby/object:Gem::Requirement
304
+ none: false
305
+ requirements:
306
+ - - ~>
307
+ - !ruby/object:Gem::Version
308
+ version: 1.8.0
309
+ - !ruby/object:Gem::Dependency
310
+ name: guard-minitest
311
+ requirement: !ruby/object:Gem::Requirement
312
+ none: false
313
+ requirements:
314
+ - - ~>
315
+ - !ruby/object:Gem::Version
316
+ version: 0.5.0
317
+ type: :development
318
+ prerelease: false
319
+ version_requirements: !ruby/object:Gem::Requirement
320
+ none: false
321
+ requirements:
322
+ - - ~>
323
+ - !ruby/object:Gem::Version
324
+ version: 0.5.0
325
+ - !ruby/object:Gem::Dependency
326
+ name: rb-inotify
327
+ requirement: !ruby/object:Gem::Requirement
328
+ none: false
329
+ requirements:
330
+ - - ~>
331
+ - !ruby/object:Gem::Version
332
+ version: 0.9.0
333
+ type: :development
334
+ prerelease: false
335
+ version_requirements: !ruby/object:Gem::Requirement
336
+ none: false
337
+ requirements:
338
+ - - ~>
339
+ - !ruby/object:Gem::Version
340
+ version: 0.9.0
341
+ - !ruby/object:Gem::Dependency
342
+ name: rb-fsevent
343
+ requirement: !ruby/object:Gem::Requirement
344
+ none: false
345
+ requirements:
346
+ - - ~>
347
+ - !ruby/object:Gem::Version
348
+ version: 0.9.3
349
+ type: :development
350
+ prerelease: false
351
+ version_requirements: !ruby/object:Gem::Requirement
352
+ none: false
353
+ requirements:
354
+ - - ~>
355
+ - !ruby/object:Gem::Version
356
+ version: 0.9.3
357
+ - !ruby/object:Gem::Dependency
358
+ name: rb-fchange
359
+ requirement: !ruby/object:Gem::Requirement
360
+ none: false
361
+ requirements:
362
+ - - ~>
363
+ - !ruby/object:Gem::Version
364
+ version: 0.0.6
365
+ type: :development
366
+ prerelease: false
367
+ version_requirements: !ruby/object:Gem::Requirement
368
+ none: false
369
+ requirements:
370
+ - - ~>
371
+ - !ruby/object:Gem::Version
372
+ version: 0.0.6
258
373
  description: A simple, Git-powered wiki with a sweet API and local frontend.
259
374
  email: tom@github.com
260
375
  executables: []
@@ -289,26 +404,28 @@ files:
289
404
  - lib/gollum-lib/wiki.rb
290
405
  - licenses/licenses.txt
291
406
  homepage: http://github.com/gollum/gollum-lib
292
- licenses: []
293
- metadata: {}
407
+ licenses:
408
+ - MIT
294
409
  post_install_message:
295
410
  rdoc_options:
296
411
  - --charset=UTF-8
297
412
  require_paths:
298
413
  - lib
299
414
  required_ruby_version: !ruby/object:Gem::Requirement
415
+ none: false
300
416
  requirements:
301
417
  - - ! '>='
302
418
  - !ruby/object:Gem::Version
303
419
  version: 1.8.7
304
420
  required_rubygems_version: !ruby/object:Gem::Requirement
421
+ none: false
305
422
  requirements:
306
423
  - - ! '>='
307
424
  - !ruby/object:Gem::Version
308
425
  version: '0'
309
426
  requirements: []
310
427
  rubyforge_project: gollum-lib
311
- rubygems_version: 2.0.3
428
+ rubygems_version: 1.8.25
312
429
  signing_key:
313
430
  specification_version: 2
314
431
  summary: A simple, Git-powered wiki.
checksums.yaml DELETED
@@ -1,15 +0,0 @@
1
- ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- MGQxN2YxZWVjMDA0M2I0OTY5MzY4Y2JiZDg5NzkwMDA4OWZjYjg0NQ==
5
- data.tar.gz: !binary |-
6
- MGRkOTE4YjVhMWMxNzQ2MjI3NTYxNWMwZDRhNjAyYzA3NDQwMWFiYw==
7
- !binary "U0hBNTEy":
8
- metadata.gz: !binary |-
9
- ZmJmNmQ3MmFhNDg5NTJmMzEzZmEyZDFkMGMyNzhlYjMxMzQ4MzUxYzllZGM0
10
- ZGE5MjZmMDIyOWJkNzkyMzJhZTE0ODI0NGNkYjlhOTJjOTE4YTkxZDVhZTRk
11
- ODk2YTMzMTc5MjFiMDIxZWNjYzg1Mjk4NjYzZDgyNzYwMDM3YzQ=
12
- data.tar.gz: !binary |-
13
- ZTdiYzA3MTI3MmU2MWQwNzM1ZDIwYzY0Y2FhNTQzMzI5MTBiY2M4MzU2ZDY1
14
- OGEwYmZhY2RjZGI0Mzc0MWRjN2I2YWI0ZTQwMzI1ODVmOGI3MGRkOTZjMjlk
15
- ZGY5ZGY2MGViYmI3NmU0NTZkNDc1MWY1NDZjOGZmMWE1YzZmZWE=