gollum 2.3.11 → 2.3.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/gollum.gemspec CHANGED
@@ -5,7 +5,7 @@ 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.11'
8
+ s.version = '2.3.12'
9
9
  s.date = '2012-11-07'
10
10
  s.rubyforge_project = 'gollum'
11
11
 
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.11'
26
+ VERSION = '2.3.12'
27
27
 
28
28
  def self.assets_path
29
29
  ::File.expand_path('gollum/frontend/public', ::File.dirname(__FILE__))
@@ -226,6 +226,6 @@ $(document).ready(function() {
226
226
  $("#gollum-editor-body").one('change', function(){
227
227
  window.onbeforeunload = function(){ return "Leaving will not create a new page!" };
228
228
  });
229
- $.GollumEditor({ NewFile: true, MarkupType: '{{default_markup}}' });
229
+ $.GollumEditor({ NewFile: true, MarkupType: default_markup });
230
230
  }
231
231
  });
@@ -8,5 +8,7 @@
8
8
  </div>
9
9
  </div>
10
10
  </div>
11
-
11
+ <script type="text/javascript">
12
+ var default_markup = '{{default_markup}}';
13
+ </script>
12
14
  {{something}}
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.11
4
+ version: 2.3.12
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: