use_tinymce 0.0.11 → 0.0.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/README.markdown CHANGED
@@ -1,4 +1,4 @@
1
- UseTinyMCE - 0.0.11
1
+ UseTinyMCE - 0.0.12
2
2
  ==========
3
3
 
4
4
  **UseTinyMCE** is yet another (as if we needed another) hack for including
@@ -13,6 +13,9 @@ It differs from the others that I looked at on rubygems in that:
13
13
  details below
14
14
  2. It's minimal. It does not provide any juicy Rails style configuration for
15
15
  TinyMCE. You just use the config stuff which comes with TinyMCE - in javascript.
16
+ 3. I only use Ruby 1.9.2 & depend on others to find and patch bugs in 1.8.x.
17
+ Version 0.0.12 contains a patch by github://janne to correct the syntax of the rakefile
18
+ so that it works with the Regexp engine in 1.8.x
16
19
 
17
20
  ## Rails 3.0 & 3.1 Integration
18
21
 
@@ -40,7 +40,7 @@ module UseTinyMCE
40
40
 
41
41
  def self.copy_init_script(source)
42
42
  source_path = File.join(ASSETS_ROOT, source)
43
- source_text = File.new(source_path).read.sub(/{mode_string}/, MODE_STRING).sub(/{jquery_selector}/, JQUERY_SELECTOR)
43
+ source_text = File.new(source_path).read.sub(/\{mode_string\}/, MODE_STRING).sub(/\{jquery_selector\}/, JQUERY_SELECTOR)
44
44
 
45
45
  dest_path = File.join(JAVASCRIPT_ROOT, 'use_tinymce_init.js')
46
46
  mkdir_tree(JAVASCRIPT_ROOT)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: use_tinymce
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.11
4
+ version: 0.0.12
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: 2011-09-13 00:00:00.000000000Z
12
+ date: 2011-09-29 00:00:00.000000000Z
13
13
  dependencies: []
14
14
  description: ! 'UseTinymce - Yet Another tinyMCE integrations gem for Rails 3
15
15