gollum_editor 0.3 → 0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,11 @@
1
1
  module GollumEditor
2
2
  module FormHelper
3
3
  def gollum_editor(object_name, method, options = {})
4
- puts "gollum called"
4
+ if options[:id]
5
+ options[:id] << " gollum-editor-body"
6
+ else
7
+ options[:id] = "gollum-editor-body"
8
+ end
5
9
  controls = '<div id="gollum-editor-function-bar">
6
10
  <div id="gollum-editor-function-buttons">
7
11
  <a href="#" id="function-bold" class="function-button" title="Bold">
@@ -1,3 +1,3 @@
1
1
  module GollumEditor
2
- VERSION = "0.3"
2
+ VERSION = "0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gollum_editor
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.3'
4
+ version: '0.4'
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-09-29 00:00:00.000000000 Z
12
+ date: 2012-11-11 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Use the Gollum wiki text editor for text areas
15
15
  email: