gollum 2.4.1 → 2.4.2

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.

@@ -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.4.1'
9
- s.date = '2012-11-19'
8
+ s.version = '2.4.2'
9
+ s.date = '2012-11-29'
10
10
  s.rubyforge_project = 'gollum'
11
11
 
12
12
  s.summary = "A simple, Git-powered wiki."
@@ -32,7 +32,7 @@ Gem::Specification.new do |s|
32
32
  s.add_dependency('sanitize', '~> 2.0.3')
33
33
  s.add_dependency('nokogiri', '~> 1.5.5')
34
34
  s.add_dependency('useragent', '~> 0.4.13')
35
- s.add_dependency('stringex', '~> 1.4.0')
35
+ s.add_dependency('stringex', '~> 1.5.0')
36
36
 
37
37
  s.add_development_dependency('RedCloth', '~> 4.2.9')
38
38
  s.add_development_dependency('mocha', '~> 0.13.0')
@@ -23,8 +23,11 @@ require File.expand_path('../gollum/sanitization', __FILE__)
23
23
  require File.expand_path('../gollum/web_sequence_diagram', __FILE__)
24
24
  require File.expand_path('../gollum/frontend/uri_encode_component', __FILE__)
25
25
 
26
+ # Set ruby to UTF-8 mode
27
+ $KCODE = 'U'
28
+
26
29
  module Gollum
27
- VERSION = '2.4.1'
30
+ VERSION = '2.4.2'
28
31
 
29
32
  def self.assets_path
30
33
  ::File.expand_path('gollum/frontend/public', ::File.dirname(__FILE__))
@@ -18,8 +18,7 @@ class String
18
18
  # _Header => header which causes errors
19
19
  def to_url
20
20
  return nil if self.nil?
21
- return self if ['_Header', '_Footer', '_Sidebar'].include? self
22
- upstream_to_url
21
+ upstream_to_url :exclude => ['_Header', '_Footer', '_Sidebar']
23
22
  end
24
23
  end
25
24
 
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.4.1
4
+ version: 2.4.2
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-19 00:00:00.000000000 Z
13
+ date: 2012-11-29 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: grit
@@ -175,7 +175,7 @@ dependencies:
175
175
  requirements:
176
176
  - - ~>
177
177
  - !ruby/object:Gem::Version
178
- version: 1.4.0
178
+ version: 1.5.0
179
179
  type: :runtime
180
180
  prerelease: false
181
181
  version_requirements: !ruby/object:Gem::Requirement
@@ -183,7 +183,7 @@ dependencies:
183
183
  requirements:
184
184
  - - ~>
185
185
  - !ruby/object:Gem::Version
186
- version: 1.4.0
186
+ version: 1.5.0
187
187
  - !ruby/object:Gem::Dependency
188
188
  name: RedCloth
189
189
  requirement: !ruby/object:Gem::Requirement