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 CHANGED
@@ -556,6 +556,8 @@ your changes merged back into core is as follows:
556
556
  1. Send a pull request to the github/gollum project.
557
557
 
558
558
  ## RELEASING
559
+ x.y.z
560
+
559
561
  For z releases:
560
562
  $ rake bump
561
563
  $ rake release
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.6'
9
- s.date = '2012-11-05'
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.6'
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
- lang = lang.match(/\.([^}\s]+)/)
492
- lang = lang[1] unless lang.nil?
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.6
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-05 00:00:00.000000000 Z
13
+ date: 2012-11-06 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: grit