gollum 2.3.6 → 2.3.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 might be problematic. Click here for more details.
- data/README.md +2 -0
- data/gollum.gemspec +2 -2
- data/lib/gollum.rb +1 -1
- data/lib/gollum/markup.rb +4 -2
- metadata +2 -2
data/README.md
CHANGED
data/gollum.gemspec
CHANGED
@@ -5,8 +5,8 @@ Gem::Specification.new do |s|
|
|
5
5
|
s.required_ruby_version = ">= 1.8.7"
|
6
6
|
|
7
7
|
s.name = 'gollum'
|
8
|
-
s.version = '2.3.
|
9
|
-
s.date = '2012-11-
|
8
|
+
s.version = '2.3.7'
|
9
|
+
s.date = '2012-11-06'
|
10
10
|
s.rubyforge_project = 'gollum'
|
11
11
|
|
12
12
|
s.summary = "A simple, Git-powered wiki."
|
data/lib/gollum.rb
CHANGED
@@ -23,7 +23,7 @@ require File.expand_path('../gollum/web_sequence_diagram', __FILE__)
|
|
23
23
|
require File.expand_path('../gollum/frontend/uri_encode_component', __FILE__)
|
24
24
|
|
25
25
|
module Gollum
|
26
|
-
VERSION = '2.3.
|
26
|
+
VERSION = '2.3.7'
|
27
27
|
|
28
28
|
def self.assets_path
|
29
29
|
::File.expand_path('gollum/frontend/public', ::File.dirname(__FILE__))
|
data/lib/gollum/markup.rb
CHANGED
@@ -488,8 +488,10 @@ module Gollum
|
|
488
488
|
# extract lang from { .ruby } or { #stuff .ruby .indent }
|
489
489
|
# see http://johnmacfarlane.net/pandoc/README.html#delimited-code-blocks
|
490
490
|
|
491
|
-
|
492
|
-
|
491
|
+
if lang
|
492
|
+
lang = lang.match(/\.([^}\s]+)/)
|
493
|
+
lang = lang[1] unless lang.nil?
|
494
|
+
end
|
493
495
|
|
494
496
|
@codemap[id] = cached ?
|
495
497
|
{ :output => cached } :
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gollum
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.3.
|
4
|
+
version: 2.3.7
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2012-11-
|
13
|
+
date: 2012-11-06 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: grit
|