formtastic-epiceditor 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- formtastic-epiceditor (0.0.2)
4
+ formtastic-epiceditor (0.0.3)
5
5
  rails (~> 3.2.9)
6
6
 
7
7
  GEM
@@ -40,7 +40,8 @@ class EpicEditorInput < Formtastic::Inputs::TextInput
40
40
  epicEditorInstances.push(editor#{randNum});
41
41
 
42
42
  editor#{randNum}.on('update', function(update){
43
- el#{randNum}.val(update.content);
43
+ var str = editor#{randNum}.exportFile();
44
+ el#{randNum}.val(str);
44
45
  }).importFile('#{id}-#{randNum}',html);
45
46
  </script>
46
47
  """.html_safe
@@ -1,3 +1,3 @@
1
1
  module FormtasticEpiceditor
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: formtastic-epiceditor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
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: 2013-01-03 00:00:00.000000000 Z
12
+ date: 2013-01-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -103,18 +103,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
103
103
  - - ! '>='
104
104
  - !ruby/object:Gem::Version
105
105
  version: '0'
106
- segments:
107
- - 0
108
- hash: 4406572840597380329
109
106
  required_rubygems_version: !ruby/object:Gem::Requirement
110
107
  none: false
111
108
  requirements:
112
109
  - - ! '>='
113
110
  - !ruby/object:Gem::Version
114
111
  version: '0'
115
- segments:
116
- - 0
117
- hash: 4406572840597380329
118
112
  requirements: []
119
113
  rubyforge_project:
120
114
  rubygems_version: 1.8.24