use_tinymce 0.0.8 → 0.0.9
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 +53 -87
- data/lib/tasks/use_tinymce.rake +63 -50
- data/lib/use_tinymce/use_tinymce.rb +4 -14
- data/test/{use_tinymce_base_test.rb → test_use_tinymce_base.rb} +0 -0
- metadata +21 -30
data/README.markdown
CHANGED
@@ -1,48 +1,65 @@
|
|
1
|
-
UseTinyMCE
|
1
|
+
UseTinyMCE - 0.0.9
|
2
2
|
==========
|
3
3
|
|
4
4
|
**UseTinyMCE** is yet another (as if we needed another) hack for including
|
5
5
|
TinyMCE in a Rails 3.0 or 3.1 app.
|
6
6
|
|
7
|
+
**NOTE:** Rails 3.1.0 broke version 0.0.8. The current version works (for me)
|
8
|
+
|
7
9
|
It differs from the others that I looked at on rubygems in that:
|
8
10
|
|
9
|
-
1. It works with Rails [3.0](#rails_30_integration) & [3.1.0
|
11
|
+
1. It works with Rails [3.0](#rails_30_integration) & [3.1.0](#rails_31_integration),
|
10
12
|
details below
|
11
13
|
2. It's minimal. It does not provide any juicy Rails style configuration for
|
12
14
|
TinyMCE. You just use the config stuff which comes with TinyMCE - in javascript.
|
13
15
|
|
14
|
-
|
15
|
-
|
16
|
+
## Rails 3.0 & 3.1 Integration
|
17
|
+
|
18
|
+
It's the same in both cases. See [Step By Step](#step_by_step) below
|
16
19
|
|
17
|
-
|
20
|
+
**Rails 3.1 Note:** TinyMCE doesn't play well with the asset pipeline, so it is installed
|
21
|
+
in public. This has to do with the way TinyMCE is architected: it is plugin based
|
22
|
+
and scatters javascript, css, and html all through it's plugin directory. It manages it's
|
23
|
+
own loading.
|
18
24
|
|
19
|
-
|
25
|
+
## Selectively adding TinyMCE to selected text areas
|
20
26
|
|
21
|
-
|
22
|
-
|
27
|
+
TinyMCE supports selectively using TinyMCE in or not in different textareas within
|
28
|
+
the same page .
|
23
29
|
|
24
|
-
|
30
|
+
To do this, proceed as above and for `textarea` elements that you do *not* want to
|
31
|
+
use TinyMCE in, add the class '`no-tinymce`'.
|
25
32
|
|
26
|
-
|
33
|
+
Read the comments in '`use_tinymce-gem-location/lib/tasks/use_tinymce.rake`' for details.
|
34
|
+
Or read the TinyMCE code.
|
27
35
|
|
28
|
-
|
29
|
-
on the MoxieCode site for configuration details.
|
36
|
+
## Step by Step
|
30
37
|
|
31
|
-
|
32
|
-
|
38
|
+
1. You will need to install *TinyMCE* in your /public/javascript directory.
|
39
|
+
Do that by running one of these rake tasks:
|
40
|
+
* `rake use_tinymce:install_jquery` - if you are using jQuery (Rails 3.1 default)
|
41
|
+
* `rake use_tinymce:install_simple` - if you are using Prototype (Rails 3.0 default)
|
42
|
+
* `rake use_tinymce:install_advanced` - if you are using Prototype (Rails 3.0 default)
|
43
|
+
|
44
|
+
If you don't need much and aren't familiar with *TinyMCE*, then `rake use_tinymce:install_simple`
|
45
|
+
should be fine. The *advanced* version configures *TinyMCE* with many more features. Go to
|
46
|
+
the ["TinyMCE website for details"](http://tinymce.moxiecode.com/)
|
47
|
+
2. Add `use_tinymce args` to all the controllers for views containing **textarea** fields
|
48
|
+
in which you want to run *TinyMCE*. `args` should be:
|
49
|
+
* `:all` - to enable *TinyMCE* for all actions
|
50
|
+
* `:foo, :bar` - to enable *TinyMCE* only for views rendered by `foo` and `bar` actions
|
51
|
+
3. Add `<%= use_tinymce_link %>` to the `HEAD` section of you application layout - for *at least*
|
52
|
+
all pages which should use *TinyMCE*
|
53
|
+
4. (Optional) Edit `/public/javascript/use_tinymce_init.js` to customize your *TinyMCE* feature
|
54
|
+
set.
|
33
55
|
|
34
|
-
|
56
|
+
That's it.
|
35
57
|
|
36
|
-
|
37
|
-
TinyMCE is used with a *textarea* by controlling when it is included.
|
58
|
+
## Supplied Methods
|
38
59
|
|
39
|
-
|
40
|
-
pages on which we want to use TinyMCE. TinyMCE will be automatically applied
|
41
|
-
to all of the `textarea` elements of the selected pages.
|
60
|
+
Detailed info on the methods in this Gem.
|
42
61
|
|
43
|
-
|
44
|
-
(or, for more complex situations, you can use the predicate `use_tinymce?(action)` and
|
45
|
-
some code you write)
|
62
|
+
As usual, read the source for the definitive, up-to-date truth.
|
46
63
|
|
47
64
|
### `use_tinymce(*actions)`
|
48
65
|
|
@@ -68,87 +85,36 @@ by a previous call to `use_tinymce` [or if you included `use_tinymce :all` in yo
|
|
68
85
|
`action` will usually come from `params[:action]`, so it's easier to use
|
69
86
|
`use_tinymce_link` which already does that.
|
70
87
|
|
71
|
-
### Step by Step Configuration
|
72
|
-
|
73
|
-
1. You will need to install *TinyMCE* in your /public/javascript directory.
|
74
|
-
Do that by running one of these rake tasks:
|
75
|
-
* `rake use_tinymce:install_simple`
|
76
|
-
* `rake use_tinymce:install_advanced`
|
77
|
-
* `rake use_tinymce:install_jquery`
|
78
|
-
|
79
|
-
If you don't need much and aren't familiar with *TinyMCE*, then `rake use_tinymce:install_simple`
|
80
|
-
should be fine. The *advanced* version configures *TinyMCE* with many more features. Go to
|
81
|
-
the ["TinyMCE website for details"](http://tinymce.moxiecode.com/)
|
82
|
-
2. Add `use_tinymce args` to all the controllers for views containing **textarea** fields
|
83
|
-
in which you want to run *TinyMCE*. `args` should be:
|
84
|
-
* `:all` - to enable *TinyMCE* for all actions
|
85
|
-
* `:foo, :bar` - to enable *TinyMCE* only for views rendered by `foo` and `bar` actions
|
86
|
-
3. Add `<%= use_tinymce_link %>` to the `HEAD` section of you application layout - for *at least*
|
87
|
-
all pages which should use *TinyMCE*
|
88
|
-
4. (Optional) Edit `/public/javascript/use_tinymce_init.js` to customize your *TinyMCE* feature
|
89
|
-
set.
|
90
|
-
|
91
|
-
That's it.
|
92
|
-
|
93
|
-
## Rails 3.1 Integration
|
94
|
-
|
95
|
-
Rails 3.1 adds the 'asset pipeline' by default. This uses the 'sprocket' gem
|
96
|
-
to combine javascript and css into two files as well as adding direct support
|
97
|
-
of Coffeescript and SASS.
|
98
|
-
|
99
|
-
It also mucks up TinyMCE because TinyMCE - by default - dynamically loads it's
|
100
|
-
plugins as they are needed. While the TinyMCE implementation is quite nice,
|
101
|
-
it and the asset pipeline mess each other up.
|
102
|
-
|
103
|
-
[It actually gets worse: TinyMCE has HTML and CSS files scattered throughout
|
104
|
-
it's `plugins` directories which are loaded dynamically as plugins pop up windows.]
|
105
|
-
|
106
|
-
There are a lot of ways to resolve this - but I've chosen a simple, brute force
|
107
|
-
approach: I stuff the TinyMCE distribution and my javascript glue in `public/javascripts`,
|
108
|
-
just like it is using Rails 3.0.x. Then I tried it with the asset pipeline enabled
|
109
|
-
and - drum role - it works.
|
110
|
-
|
111
|
-
### Step by Step Configuration
|
112
|
-
|
113
|
-
1. You will need to install *TinyMCE* in your /public/javascript directory.
|
114
|
-
Do that by running one of these rake tasks:
|
115
|
-
* `rake use_tinymce:install_simple`
|
116
|
-
* `rake use_tinymce:install_advanced`
|
117
|
-
* `rake use_tinymce:install_jquery`
|
118
|
-
2. Add the `tinymce` class to all the `textarea` elements in all views and partials
|
119
|
-
you want to apply TinyMCE to.
|
120
|
-
|
121
88
|
## Four rake tasks:
|
122
89
|
|
123
|
-
**NOTE:** Rails 3.1 automatically adds a rake task 'use_tinymce_engine:install:migrations'.
|
124
|
-
It doesn't do anything because there aren't any migrations for 'use_tinymce'.
|
125
|
-
Ignore it.
|
126
|
-
|
127
90
|
**NOTE** `assets` here refers to the `assets` directory in the `use_tinymce`
|
128
91
|
gem - **not** the Rails 3.1 asset pipeline directory.
|
129
92
|
|
130
|
-
|
131
|
-
`public/javascripts` directory. They both also copy a TinyMCE initialization
|
132
|
-
script to `public/javascripts/use_tinymce_init.js`
|
133
|
-
|
134
|
-
This initialization scripts are copied literally from the TinyMCE website
|
93
|
+
This initialization scripts were copied literally from the TinyMCE website
|
135
94
|
["For Dummies" page](http://tinymce.moxiecode.com/wiki.php/%22For_Dummies%22)
|
136
95
|
- that is: *http://tinymce.moxiecode.com/wiki.php/%22For_Dummies%22*
|
137
96
|
|
138
|
-
|
97
|
+
Prototype Versions:
|
98
|
+
|
99
|
+
* `rake use_tinymce:install_advanced` copies `use_tinymce/assets/use_tinymce_init_advanced.js`
|
100
|
+
and the contents of `use_tinymce/tinymce_no_jquery` -
|
139
101
|
which provides all the full blown features.
|
140
102
|
|
141
|
-
`rake use_tinymce:install_simple` copies `assets/
|
103
|
+
* `rake use_tinymce:install_simple` copies `use_tinymce/assets/use_tinymce_init_simple.js`
|
104
|
+
and the contents of `use_tinymce/tinymce_no_jquery` -
|
142
105
|
copies the bare bones version.
|
143
106
|
|
144
107
|
The jQuery version was copied from an example script and then slightly modified
|
145
108
|
[see the code comments].
|
146
109
|
|
147
|
-
`rake use_tinymce:install_jquery` copies `assets/use_tinymce_init_jquery.js`
|
110
|
+
* `rake use_tinymce:install_jquery` copies `assets/use_tinymce_init_jquery.js`
|
111
|
+
and the contents of `use_tinymce/tinymce_jquery` -
|
148
112
|
which attaches an 'advanced' TinyMCE configuration to textareas.
|
149
113
|
|
150
|
-
|
151
|
-
|
114
|
+
Maintenance: if you want to get rid of `use_tinymce`, then:
|
115
|
+
|
116
|
+
* `rake use_tinymce:uninstall` removes use_tinymce_init.js and the TinyMCE
|
117
|
+
directory from your applications `public/javascripts`
|
152
118
|
|
153
119
|
Relocating *TinyMCE* or Something Else
|
154
120
|
==================
|
data/lib/tasks/use_tinymce.rake
CHANGED
@@ -1,88 +1,101 @@
|
|
1
1
|
require 'fileutils'
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
3
|
+
# make sure we are in the right versino of Rails
|
4
|
+
unless defined?(Rails)
|
5
|
+
puts "This rake task only runs on Rails"
|
6
|
+
exit
|
7
|
+
end
|
8
|
+
unless Rails.version =~ /^3.[01]/
|
9
|
+
puts "Don't know how to install on Rails Version #{Rails.version}"
|
10
|
+
exit
|
11
|
+
end
|
12
|
+
|
13
|
+
module UseTinyMCE
|
14
|
+
module RakeSupport
|
15
|
+
# gem paths - used to source for installation
|
16
|
+
USE_TINYMCE_ROOT = File.expand_path('../../../', __FILE__)
|
17
|
+
ASSETS_ROOT = File.join(USE_TINYMCE_ROOT, 'assets')
|
18
|
+
|
19
|
+
# target paths and customizations
|
14
20
|
# MSH - asset pipeline gets in way, so put it in public/javascripts
|
15
21
|
# JAVASCRIPT_ROOT = File.join(Rails.root, 'app', 'assets', 'javascripts')
|
16
22
|
JAVASCRIPT_ROOT = File.join(Rails.root, 'public', 'javascripts')
|
17
|
-
|
18
|
-
|
23
|
+
# set the TinyMCE selection mode: this controls which textarea elements use TinyMCE
|
24
|
+
# mode: specific_textareas is essentially the same as mode:textareas
|
25
|
+
# editor_selector: foo defines a class which MUST be present in a textarea element IF
|
26
|
+
# (1) editor_selector is defined & (2) you want it to have TinyMCE
|
27
|
+
# editor_deselector: foo defines a CLASS which must be present to keep a textarea from
|
28
|
+
# using TinyMCE. Note: Both editor_deselector must be defined AND the class must be present.
|
29
|
+
# so - the settings below include TinyMCE in textareas By Default and Allow Deselecting
|
30
|
+
# Use this if you are both masochistic and want love to positively select which textareas
|
31
|
+
# use TinyMCE. This code
|
32
|
+
# MODE_STRING = [ 'mode: "specific_textareas"', ' editor_selector: "tinymce"',
|
33
|
+
# ' editor_deselector: "no-tinymce"' ].join(",\n")
|
34
|
+
MODE_STRING = [ 'mode: "specific_textareas"', ' editor_deselector: "no-tinymce"' ].join(",\n")
|
35
|
+
# This MODE_STRING will configure to NOT USE TinyMCE in textareas unless the 'editor_selector'
|
36
|
+
# class is present.
|
37
|
+
# MODE_STRING = [ 'mode: "specific_textareas"', ' editor_selector: "tinymce"' ].join(",\n")
|
19
38
|
JQUERY_SELECTOR = '"textarea.tinymce"'
|
20
|
-
else
|
21
|
-
puts "Don't know how to install on Rails Version #{Rails.version}"
|
22
|
-
exit
|
23
|
-
end
|
24
|
-
# puts "USE_TINYMCE_ROOT: #{USE_TINYMCE_ROOT}"
|
25
|
-
# puts "ASSETS_ROOT: #{ASSETS_ROOT}"
|
26
|
-
# puts "JAVASCRIPT_ROOT: #{JAVASCRIPT_ROOT}"
|
27
39
|
|
28
|
-
|
29
|
-
|
30
|
-
|
40
|
+
def self.copy_init_script(source)
|
41
|
+
source_path = File.join(ASSETS_ROOT, source)
|
42
|
+
source_text = File.new(source_path).read.sub(/{mode_string}/, MODE_STRING).sub(/{jquery_selector}/, JQUERY_SELECTOR)
|
31
43
|
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
44
|
+
dest_path = File.join(JAVASCRIPT_ROOT, 'use_tinymce_init.js')
|
45
|
+
dest_file = File.new(dest_path, "w")
|
46
|
+
dest_file.write(source_text)
|
47
|
+
dest_file.close
|
48
|
+
end
|
37
49
|
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
50
|
+
def self.rmdir_tree(root)
|
51
|
+
Dir.entries(root).each do |fname|
|
52
|
+
if fname[0] == '.'
|
53
|
+
next
|
54
|
+
else
|
55
|
+
path = File.join(root, fname)
|
56
|
+
if File.directory?(path)
|
57
|
+
rmdir_tree(path)
|
58
|
+
elsif File.file?(path)
|
59
|
+
File.delete(path)
|
60
|
+
end
|
48
61
|
end
|
49
62
|
end
|
63
|
+
Dir.rmdir(root)
|
50
64
|
end
|
51
|
-
Dir.rmdir(root)
|
52
65
|
end
|
53
66
|
end
|
54
67
|
|
55
68
|
namespace :use_tinymce do
|
56
69
|
desc "uninstall use_tinymce javascript code"
|
57
70
|
task :uninstall do
|
58
|
-
init_file_path = File.join(UseTinyMCE::JAVASCRIPT_ROOT, 'use_tinymce_init.js')
|
71
|
+
init_file_path = File.join(UseTinyMCE::RakeSupport::JAVASCRIPT_ROOT, 'use_tinymce_init.js')
|
59
72
|
File.delete(init_file_path) if File.exists? init_file_path
|
60
73
|
|
61
|
-
tinymce_root_path = File.join(UseTinyMCE::JAVASCRIPT_ROOT, 'tinymce')
|
62
|
-
UseTinyMCE::rmdir_tree(tinymce_root_path) if File.exists? tinymce_root_path
|
74
|
+
tinymce_root_path = File.join(UseTinyMCE::RakeSupport::JAVASCRIPT_ROOT, 'tinymce')
|
75
|
+
UseTinyMCE::RakeSupport::rmdir_tree(tinymce_root_path) if File.exists? tinymce_root_path
|
63
76
|
end
|
64
77
|
task :install_tinymce_advanced => :uninstall do
|
65
|
-
FileUtils.cp_r File.join(UseTinyMCE::ASSETS_ROOT, 'tinymce_no_jquery', 'tinymce'), UseTinyMCE::JAVASCRIPT_ROOT
|
78
|
+
FileUtils.cp_r File.join(UseTinyMCE::RakeSupport::ASSETS_ROOT, 'tinymce_no_jquery', 'tinymce'), UseTinyMCE::RakeSupport::JAVASCRIPT_ROOT
|
66
79
|
end
|
67
80
|
task :install_tinymce_jquery => :uninstall do
|
68
|
-
FileUtils.cp_r File.join(UseTinyMCE::UseTinyMCE::ASSETS_ROOT, 'tinymce_jquery', 'tinymce'), UseTinyMCE::JAVASCRIPT_ROOT
|
81
|
+
FileUtils.cp_r File.join(UseTinyMCE::RakeSupport::UseTinyMCE::RakeSupport::ASSETS_ROOT, 'tinymce_jquery', 'tinymce'), UseTinyMCE::RakeSupport::JAVASCRIPT_ROOT
|
69
82
|
end
|
70
83
|
|
71
84
|
desc "Install tinymce with 'simple' initialization"
|
72
85
|
task :install_simple => :install_tinymce_advanced do
|
73
|
-
UseTinyMCE::copy_init_script('use_tinymce_init_simple.js')
|
74
|
-
# FileUtils.cp File.join(UseTinyMCE::ASSETS_ROOT, 'use_tinymce_init_simple.js'), File.join(JAVASCRIPT_ROOT, 'use_tinymce_init.js')
|
86
|
+
UseTinyMCE::RakeSupport::copy_init_script('use_tinymce_init_simple.js')
|
87
|
+
# FileUtils.cp File.join(UseTinyMCE::RakeSupport::ASSETS_ROOT, 'use_tinymce_init_simple.js'), File.join(JAVASCRIPT_ROOT, 'use_tinymce_init.js')
|
75
88
|
end
|
76
89
|
|
77
90
|
desc "Install tinymce with 'advanced' initialization"
|
78
91
|
task :install_advanced => :install_tinymce_advanced do
|
79
|
-
UseTinyMCE::copy_init_script('use_tinymce_init_advanced.js')
|
80
|
-
# FileUtils.cp File.join(UseTinyMCE::ASSETS_ROOT, 'use_tinymce_init_advanced.js'), File.join(JAVASCRIPT_ROOT, 'use_tinymce_init.js')
|
92
|
+
UseTinyMCE::RakeSupport::copy_init_script('use_tinymce_init_advanced.js')
|
93
|
+
# FileUtils.cp File.join(UseTinyMCE::RakeSupport::ASSETS_ROOT, 'use_tinymce_init_advanced.js'), File.join(JAVASCRIPT_ROOT, 'use_tinymce_init.js')
|
81
94
|
end
|
82
95
|
|
83
96
|
desc "Install tinymce jquery plugin with 'advanced' initialization"
|
84
97
|
task :install_jquery => :install_tinymce_jquery do
|
85
|
-
UseTinyMCE::copy_init_script('use_tinymce_init_jquery.js')
|
86
|
-
# FileUtils.cp File.join(UseTinyMCE::ASSETS_ROOT, 'use_tinymce_init_jquery.js'), File.join(JAVASCRIPT_ROOT, 'use_tinymce_init.js')
|
98
|
+
UseTinyMCE::RakeSupport::copy_init_script('use_tinymce_init_jquery.js')
|
99
|
+
# FileUtils.cp File.join(UseTinyMCE::RakeSupport::ASSETS_ROOT, 'use_tinymce_init_jquery.js'), File.join(JAVASCRIPT_ROOT, 'use_tinymce_init.js')
|
87
100
|
end
|
88
101
|
end
|
@@ -25,27 +25,17 @@ module UseTinymce
|
|
25
25
|
|
26
26
|
if defined? Rails
|
27
27
|
module Link
|
28
|
-
|
29
|
-
when Rails.version =~ /^3.0/
|
28
|
+
if Rails.version =~ /^3.[01]/
|
30
29
|
def use_tinymce_link
|
31
30
|
if defined?(params) && use_tinymce?(params[:action])
|
32
|
-
|
33
|
-
jq_path = File.join(Rails.root, 'public', 'javascripts', 'tinymce', 'jscripts', 'tiny_mce', 'jquery.tinymce.js')
|
34
|
-
puts "Path to jquery.tinymce.js: #{jq_path}"
|
35
|
-
puts "Path Exists? #{File.exists?(jq_path)}"
|
31
|
+
jq_path = File.join(Rails.root, 'public', 'javascripts', 'tinymce', 'jscripts', 'tiny_mce', 'jquery.tinymce.js')
|
36
32
|
if File.exists? jq_path
|
37
|
-
javascript_include_tag( 'tinymce/jscripts/tiny_mce/jquery.tinymce', 'use_tinymce_init' )
|
33
|
+
javascript_include_tag( '/javascripts/tinymce/jscripts/tiny_mce/jquery.tinymce', '/javascripts/use_tinymce_init' )
|
38
34
|
else
|
39
|
-
javascript_include_tag( 'tinymce/jscripts/tiny_mce/tiny_mce', 'use_tinymce_init' )
|
35
|
+
javascript_include_tag( '/javascripts/tinymce/jscripts/tiny_mce/tiny_mce', '/javascripts/use_tinymce_init' )
|
40
36
|
end
|
41
37
|
end
|
42
38
|
end
|
43
|
-
|
44
|
-
when Rails.version =~ /^3.1/
|
45
|
-
def use_tinymce_link
|
46
|
-
# do nothing. Rails 3.1.x pulls in all the code in /app/assets/javascripts if you
|
47
|
-
# use javascript_include_tag "application"
|
48
|
-
end
|
49
39
|
else
|
50
40
|
logger.debug("use_tinymce has not been tested for this version of Rails: #{Rails.version}")
|
51
41
|
end
|
File without changes
|
metadata
CHANGED
@@ -1,33 +1,29 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: use_tinymce
|
3
|
-
version: !ruby/object:Gem::Version
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.9
|
4
5
|
prerelease:
|
5
|
-
version: 0.0.8
|
6
6
|
platform: ruby
|
7
|
-
authors:
|
7
|
+
authors:
|
8
8
|
- Mike Howard
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
|
13
|
-
date: 2011-07-18 00:00:00 Z
|
12
|
+
date: 2011-09-12 00:00:00.000000000Z
|
14
13
|
dependencies: []
|
14
|
+
description: ! 'UseTinymce - Yet Another tinyMCE integrations gem for Rails 3
|
15
15
|
|
16
|
-
|
17
|
-
Contains tinymce version "
|
16
|
+
Contains tinymce version '
|
18
17
|
email: mike@clove.com
|
19
18
|
executables: []
|
20
|
-
|
21
19
|
extensions: []
|
22
|
-
|
23
20
|
extra_rdoc_files: []
|
24
|
-
|
25
|
-
files:
|
21
|
+
files:
|
26
22
|
- lib/tasks/use_tinymce.rake
|
27
23
|
- lib/use_tinymce/railengine.rb
|
28
24
|
- lib/use_tinymce/use_tinymce.rb
|
29
25
|
- lib/use_tinymce.rb
|
30
|
-
- test/
|
26
|
+
- test/test_use_tinymce_base.rb
|
31
27
|
- MIT-LICENSE
|
32
28
|
- Rakefile
|
33
29
|
- README.markdown
|
@@ -465,31 +461,26 @@ files:
|
|
465
461
|
- assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/utils/validate.js
|
466
462
|
homepage: http://github.com/mikehoward/use_tinymce
|
467
463
|
licenses: []
|
468
|
-
|
469
464
|
post_install_message:
|
470
465
|
rdoc_options: []
|
471
|
-
|
472
|
-
require_paths:
|
466
|
+
require_paths:
|
473
467
|
- lib
|
474
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
468
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
475
469
|
none: false
|
476
|
-
requirements:
|
477
|
-
- -
|
478
|
-
- !ruby/object:Gem::Version
|
479
|
-
version:
|
480
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
470
|
+
requirements:
|
471
|
+
- - ! '>='
|
472
|
+
- !ruby/object:Gem::Version
|
473
|
+
version: '0'
|
474
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
481
475
|
none: false
|
482
|
-
requirements:
|
483
|
-
- -
|
484
|
-
- !ruby/object:Gem::Version
|
485
|
-
version:
|
476
|
+
requirements:
|
477
|
+
- - ! '>='
|
478
|
+
- !ruby/object:Gem::Version
|
479
|
+
version: '0'
|
486
480
|
requirements: []
|
487
|
-
|
488
481
|
rubyforge_project:
|
489
|
-
rubygems_version: 1.
|
482
|
+
rubygems_version: 1.8.6
|
490
483
|
signing_key:
|
491
484
|
specification_version: 3
|
492
485
|
summary: UseTinymce - Yet Another tinyMCE integrations gem for Rails 3
|
493
486
|
test_files: []
|
494
|
-
|
495
|
-
has_rdoc:
|