gollum 2.3.4 → 2.3.5

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
@@ -381,10 +381,10 @@ You may imbed sequence diagrams into your wiki page (rendered by
381
381
  [WebSequenceDiagrams](http://www.websequencediagrams.com) by using the
382
382
  following syntax:
383
383
 
384
- {{{ blue-modern
384
+ {{{{{{ blue-modern
385
385
  alice->bob: Test
386
386
  bob->alice: Test response
387
- }}}
387
+ }}}}}}
388
388
 
389
389
  You can replace the string "blue-modern" with any supported style.
390
390
 
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.4'
9
- s.date = '2012-10-28'
8
+ s.version = '2.3.5'
9
+ s.date = '2012-10-31'
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.4'
26
+ VERSION = '2.3.5'
27
27
 
28
28
  def self.assets_path
29
29
  ::File.expand_path('gollum/frontend/public', ::File.dirname(__FILE__))
@@ -108,8 +108,9 @@ $.save = function( commitMessage ) {
108
108
  var msg = defaultCommitMessage();
109
109
  var newLocation = baseUrl;
110
110
 
111
+ // Remove all duplicate slashes
111
112
  function clean( str ) {
112
- return str.replace(/^\/+/, '/');
113
+ return str.replace(/\/+/g, '/');
113
114
  }
114
115
 
115
116
  // 'a%2Fb' => a/b
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
4
+ version: 2.3.5
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-10-28 00:00:00.000000000 Z
13
+ date: 2012-10-31 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: grit