tiny_mce_helper 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Binary file
Binary file
data/test/test_helper.rb CHANGED
@@ -1,18 +1,13 @@
1
- require 'test/unit'
1
+ # Load the plugin testing framework
2
+ $:.unshift("#{File.dirname(__FILE__)}/../../plugin_test_helper/lib")
2
3
  require 'rubygems'
3
- require 'action_controller'
4
- require 'action_controller/test_process'
5
- require 'action_view'
4
+ require 'plugin_test_helper'
6
5
 
7
- RAILS_ROOT = "#{File.dirname(__FILE__)}/app_root"
8
- EXPANDED_RAILS_ROOT = File.expand_path(RAILS_ROOT)
9
-
10
- $:.unshift(File.dirname(__FILE__) + '/../lib')
11
- require File.dirname(__FILE__) + '/../init'
6
+ EXPANDED_RAILS_ROOT = File.expand_path(Rails.root)
12
7
 
13
8
  class Test::Unit::TestCase #:nodoc:
14
9
  private
15
- def assert_html_equal(expected, actual)
16
- assert_equal expected.strip.gsub(/\n\s*/, ''), actual.strip.gsub(/\n\s*/, '')
17
- end
10
+ def assert_html_equal(expected, actual)
11
+ assert_equal expected.strip.gsub(/\n\s*/, ''), actual.strip.gsub(/\n\s*/, '')
12
+ end
18
13
  end
@@ -2,8 +2,8 @@ require File.dirname(__FILE__) + '/../test_helper'
2
2
 
3
3
  # Don't go out to the Internet if we're not live
4
4
  unless ENV['LIVE']
5
- class << PluginAWeek::Helpers::TinyMCEHelper
6
- # Use pages ewe've already downloaded for Sourceforge and Wiki information
5
+ class << PluginAWeek::TinyMCEHelper
6
+ # Use pages we've already downloaded for Sourceforge and Wiki information
7
7
  def open(name, *rest, &block)
8
8
  if name.include?('sourceforge')
9
9
  name = 'test/files/sourceforge.html'
@@ -16,10 +16,14 @@ unless ENV['LIVE']
16
16
 
17
17
  # User files we've already downloaded for extracting the TinyMCE soure
18
18
  def system(cmd, *args)
19
- if cmd =~ /^wget .+2_0_8/
20
- FileUtils.cp("#{EXPANDED_RAILS_ROOT}/../../test/files/tinymce_2_0_8.tgz", '/tmp/')
21
- elsif cmd =~ /^wget .+2_1_1_1/
22
- FileUtils.cp("#{EXPANDED_RAILS_ROOT}/../../test/files/tinymce_2_1_1_1.tgz", '/tmp/')
19
+ if cmd == 'wget'
20
+ if args.first =~ /3_0_8/
21
+ FileUtils.cp("#{EXPANDED_RAILS_ROOT}/../files/tinymce_3_0_8.zip", '/tmp/')
22
+ elsif args.first =~ /3_0_6_2/
23
+ FileUtils.cp("#{EXPANDED_RAILS_ROOT}/../files/tinymce_3_0_6_2.zip", '/tmp/')
24
+ else
25
+ super
26
+ end
23
27
  else
24
28
  super
25
29
  end
@@ -41,136 +45,172 @@ class << STDIN
41
45
  end
42
46
  end
43
47
 
44
- class TinyMceHelperTest < Test::Unit::TestCase
45
- include ActionView::Helpers::TagHelper
46
- include ActionView::Helpers::AssetTagHelper
47
- include ActionView::Helpers::JavaScriptHelper
48
- include PluginAWeek::Helpers::TinyMCEHelper
49
-
48
+ class TinyMceInstallerTest < Test::Unit::TestCase
50
49
  def setup
51
- PluginAWeek::Helpers::TinyMCEHelper.verbose = true
52
- @uses_tiny_mce = nil
53
-
54
- # Set up config path
55
- @config_root = "#{RAILS_ROOT}/config"
56
- FileUtils.cp("#{RAILS_ROOT}/config_bak/tiny_mce_options.yml", @config_root)
57
- @original_config_files = Dir["#{RAILS_ROOT}/config/**/*"].sort
58
-
59
50
  # Set up public path
60
- @public_root = "#{RAILS_ROOT}/public"
61
- FileUtils.mkdir_p("#{RAILS_ROOT}/public/javascripts")
62
-
63
- # Track valid options
64
- @original_valid_options = PluginAWeek::Helpers::TinyMCEHelper.valid_options.dup
51
+ @public_root = "#{Rails.root}/public"
52
+ FileUtils.mkdir_p("#{Rails.root}/public/javascripts")
65
53
 
66
54
  # Set default STDIN value
67
55
  STDIN.gets = 'n'
68
56
  STDIN.prompted = false
69
-
70
- # Set up test request
71
- @request = ActionController::TestRequest.new
72
- @controller = ActionController::Base.new
73
- @controller.request = @request
74
- @controller.instance_eval {@_params = request.path_parameters}
75
- @controller.send(:initialize_current_url)
76
-
77
- # Make sure we always start in a test environment
78
- Object.const_set('RAILS_ENV', 'test')
79
- end
80
-
81
- def test_valid_options_should_not_be_empty
82
- assert PluginAWeek::Helpers::TinyMCEHelper.valid_options.any?
83
57
  end
84
58
 
85
- def test_install_should_save_latest_version_to_default_target
86
- PluginAWeek::Helpers::TinyMCEHelper.install(:force => true)
59
+ def test_should_save_latest_version_to_default_target
60
+ PluginAWeek::TinyMCEHelper.install(:force => true)
61
+
62
+ assert File.exists?("#{Rails.root}/public/javascripts/tiny_mce")
87
63
 
88
- assert File.exists?("#{RAILS_ROOT}/public/javascripts/tinymce")
89
- assert File.open("#{RAILS_ROOT}/public/javascripts/tinymce/changelog").readlines.join.include?('Version 2.1.1.1')
64
+ source = File.open("#{Rails.root}/public/javascripts/tiny_mce/tiny_mce_src.js").readlines.join
65
+ assert source.include?("majorVersion : '3'");
66
+ assert source.include?("minorVersion : '0.8'");
90
67
  end
91
68
 
92
- def test_install_should_allow_custom_version
93
- PluginAWeek::Helpers::TinyMCEHelper.install(:version => '2.0.8', :force => true)
69
+ def test_should_allow_custom_version
70
+ PluginAWeek::TinyMCEHelper.install(:version => '3.0.6.2', :force => true)
71
+
72
+ assert File.exists?("#{Rails.root}/public/javascripts/tiny_mce")
94
73
 
95
- assert File.exists?("#{RAILS_ROOT}/public/javascripts/tinymce")
96
- assert File.open("#{RAILS_ROOT}/public/javascripts/tinymce/changelog").readlines.join.include?('Version 2.0.8')
74
+ source = File.open("#{Rails.root}/public/javascripts/tiny_mce/tiny_mce_src.js").readlines.join
75
+ assert source.include?("majorVersion : '3'");
76
+ assert source.include?("minorVersion : '0.6.2'");
97
77
  end
98
78
 
99
- def test_install_should_allow_custom_target
100
- PluginAWeek::Helpers::TinyMCEHelper.install(:target => 'public/javascripts/tiny_mce', :force => true)
79
+ def test_should_allow_custom_target
80
+ PluginAWeek::TinyMCEHelper.install(:target => 'public/javascripts/tinymce', :force => true)
101
81
 
102
- assert File.exists?("#{RAILS_ROOT}/public/javascripts/tiny_mce")
82
+ assert File.exists?("#{Rails.root}/public/javascripts/tinymce")
103
83
  end
104
84
 
105
- def test_install_should_prompt_user_if_base_target_already_exists
106
- FileUtils.mkdir("#{RAILS_ROOT}/public/javascripts/tinymce")
107
- PluginAWeek::Helpers::TinyMCEHelper.install
85
+ def test_should_prompt_user_if_base_target_already_exists
86
+ FileUtils.mkdir("#{Rails.root}/public/javascripts/tiny_mce")
87
+ PluginAWeek::TinyMCEHelper.install
108
88
 
109
89
  assert STDIN.prompted
110
90
  end
111
91
 
112
- def test_install_should_skip_if_target_exists_and_user_skips
113
- FileUtils.mkdir("#{RAILS_ROOT}/public/javascripts/tinymce")
92
+ def test_should_skip_if_target_exists_and_user_skips
93
+ FileUtils.mkdir("#{Rails.root}/public/javascripts/tiny_mce")
114
94
  STDIN.gets = 'n'
115
- PluginAWeek::Helpers::TinyMCEHelper.install
95
+ PluginAWeek::TinyMCEHelper.install
116
96
 
117
- assert !File.exists?("#{RAILS_ROOT}/public/javascripts/tinymce/changelog")
97
+ assert !File.exists?("#{Rails.root}/public/javascripts/tiny_mce/tiny_mce_src.js")
118
98
  end
119
99
 
120
- def test_install_should_not_skip_if_target_exists_and_user_doesnt_skip
121
- FileUtils.mkdir("#{RAILS_ROOT}/public/javascripts/tinymce")
100
+ def test_should_not_skip_if_target_exists_and_user_doesnt_skip
101
+ FileUtils.mkdir("#{Rails.root}/public/javascripts/tiny_mce")
122
102
  STDIN.gets = 'y'
123
- PluginAWeek::Helpers::TinyMCEHelper.install
103
+ PluginAWeek::TinyMCEHelper.install
124
104
 
125
- assert File.exists?("#{RAILS_ROOT}/public/javascripts/tinymce/changelog")
105
+ assert File.exists?("#{Rails.root}/public/javascripts/tiny_mce/tiny_mce_src.js")
126
106
  end
127
107
 
128
- def test_install_should_continue_prompting_user_if_target_exists_and_invalid_option_is_typed
129
- FileUtils.mkdir("#{RAILS_ROOT}/public/javascripts/tinymce")
108
+ def test_should_continue_prompting_user_if_target_exists_and_invalid_option_is_typed
109
+ FileUtils.mkdir("#{Rails.root}/public/javascripts/tiny_mce")
130
110
  STDIN.gets = %w(k y)
131
- PluginAWeek::Helpers::TinyMCEHelper.install
111
+ PluginAWeek::TinyMCEHelper.install
132
112
 
133
113
  assert STDIN.gets.chomp.empty?
134
- assert File.exists?("#{RAILS_ROOT}/public/javascripts/tinymce/changelog")
114
+ assert File.exists?("#{Rails.root}/public/javascripts/tiny_mce/tiny_mce_src.js")
135
115
  end
136
116
 
137
117
  def test_install_should_overwrite_existing_folder_if_forced
138
- FileUtils.mkdir("#{RAILS_ROOT}/public/javascripts/tinymce")
139
- PluginAWeek::Helpers::TinyMCEHelper.install(:force => true)
118
+ FileUtils.mkdir("#{Rails.root}/public/javascripts/tiny_mce")
119
+ PluginAWeek::TinyMCEHelper.install(:force => true)
140
120
 
141
- assert File.exists?("#{RAILS_ROOT}/public/javascripts/tinymce/changelog")
121
+ assert File.exists?("#{Rails.root}/public/javascripts/tiny_mce/tiny_mce_src.js")
142
122
  end
143
123
 
144
- def test_uninstall_should_remove_options_configuration
145
- PluginAWeek::Helpers::TinyMCEHelper.uninstall
146
- assert !File.exists?("#{RAILS_ROOT}/config/tiny_mce_options.yml")
124
+ def teardown
125
+ FileUtils.rmtree(@public_root)
147
126
  end
148
-
149
- def test_uninstall_should_remove_tinymce_source
150
- FileUtils.mkdir("#{RAILS_ROOT}/public/javascripts/tinymce")
151
- PluginAWeek::Helpers::TinyMCEHelper.uninstall
127
+ end
128
+
129
+ class TinyMceUpdaterTest < Test::Unit::TestCase
130
+ def setup
131
+ # Set up config path
132
+ @config_root = "#{Rails.root}/config"
133
+ FileUtils.cp("#{Rails.root}/config_bak/tiny_mce_options.yml", @config_root)
134
+ @original_config_files = Dir["#{Rails.root}/config/**/*"].sort
152
135
 
153
- assert !File.exists?("#{RAILS_ROOT}/public/javascripts/tinymce")
136
+ # Track valid options
137
+ @original_valid_options = PluginAWeek::TinyMCEHelper.valid_options.dup
154
138
  end
155
139
 
156
140
  def test_should_update_options_if_options_configuration_doesnt_exist
157
- FileUtils.rm("#{RAILS_ROOT}/config/tiny_mce_options.yml")
158
- PluginAWeek::Helpers::TinyMCEHelper.update_options
141
+ FileUtils.rm("#{Rails.root}/config/tiny_mce_options.yml")
142
+ PluginAWeek::TinyMCEHelper.update_options
159
143
 
160
- assert File.exists?("#{RAILS_ROOT}/config/tiny_mce_options.yml")
161
- options = File.open(PluginAWeek::Helpers::TinyMCEHelper::OPTIONS_FILE_PATH) {|f| YAML.load(f.read)}
144
+ assert File.exists?("#{Rails.root}/config/tiny_mce_options.yml")
145
+ options = File.open(PluginAWeek::TinyMCEHelper::OPTIONS_FILE_PATH) {|f| YAML.load(f.read)}
162
146
  assert_instance_of Array, options
163
147
  end
164
148
 
165
149
  def test_should_update_options_if_options_configuration_exists
166
- File.truncate("#{RAILS_ROOT}/config/tiny_mce_options.yml", 0)
167
- PluginAWeek::Helpers::TinyMCEHelper.update_options
150
+ File.truncate("#{Rails.root}/config/tiny_mce_options.yml", 0)
151
+ PluginAWeek::TinyMCEHelper.update_options
168
152
 
169
- assert File.exists?("#{RAILS_ROOT}/config/tiny_mce_options.yml")
170
- options = File.open(PluginAWeek::Helpers::TinyMCEHelper::OPTIONS_FILE_PATH) {|f| YAML.load(f.read)}
153
+ assert File.exists?("#{Rails.root}/config/tiny_mce_options.yml")
154
+ options = File.open(PluginAWeek::TinyMCEHelper::OPTIONS_FILE_PATH) {|f| YAML.load(f.read)}
171
155
  assert_instance_of Array, options
172
156
  end
173
157
 
158
+ def teardown
159
+ PluginAWeek::TinyMCEHelper.valid_options = @original_valid_options
160
+ end
161
+ end
162
+
163
+ class TinyMceUninstallerTest < Test::Unit::TestCase
164
+ def setup
165
+ # Set up public path
166
+ @public_root = "#{Rails.root}/public"
167
+ FileUtils.mkdir_p("#{Rails.root}/public/javascripts")
168
+
169
+ # Set up config path
170
+ @config_root = "#{Rails.root}/config"
171
+ FileUtils.cp("#{Rails.root}/config_bak/tiny_mce_options.yml", @config_root)
172
+ @original_config_files = Dir["#{Rails.root}/config/**/*"].sort
173
+ end
174
+
175
+ def test_uninstall_should_remove_options_configuration
176
+ PluginAWeek::TinyMCEHelper.uninstall
177
+ assert !File.exists?("#{Rails.root}/config/tiny_mce_options.yml")
178
+ end
179
+
180
+ def test_uninstall_should_remove_tinymce_source
181
+ FileUtils.mkdir("#{Rails.root}/public/javascripts/tiny_mce")
182
+ PluginAWeek::TinyMCEHelper.uninstall
183
+
184
+ assert !File.exists?("#{Rails.root}/public/javascripts/tiny_mce")
185
+ end
186
+
187
+ def teardown
188
+ FileUtils.rmtree(@public_root)
189
+ end
190
+ end
191
+
192
+ class TinyMceHelperTest < Test::Unit::TestCase
193
+ include ActionView::Helpers::TagHelper
194
+ include ActionView::Helpers::AssetTagHelper
195
+ include ActionView::Helpers::JavaScriptHelper
196
+ include PluginAWeek::TinyMCEHelper
197
+
198
+ def setup
199
+ # Set up test request
200
+ @request = ActionController::TestRequest.new
201
+ @controller = ActionController::Base.new
202
+ @controller.request = @request
203
+ @controller.instance_eval {@_params = request.path_parameters}
204
+ @controller.send(:initialize_current_url)
205
+
206
+ # Make sure we always start in a test environment
207
+ silence_warnings {Object.const_set('RAILS_ENV', 'test')}
208
+ end
209
+
210
+ def test_valid_options_should_not_be_empty
211
+ assert PluginAWeek::TinyMCEHelper.valid_options.any?
212
+ end
213
+
174
214
  def test_should_be_using_tiny_mce_if_instance_variable_exists
175
215
  @uses_tiny_mce = true
176
216
  assert using_tiny_mce?
@@ -182,39 +222,50 @@ class TinyMceHelperTest < Test::Unit::TestCase
182
222
  end
183
223
 
184
224
  def test_should_use_source_file_name_if_in_development
185
- Object.const_set('RAILS_ENV', 'development')
186
- assert_equal 'tinymce/tiny_mce_src', tiny_mce_file_name
225
+ silence_warnings {Object.const_set('RAILS_ENV', 'development')}
226
+ assert_equal 'tiny_mce/tiny_mce_src', tiny_mce_file_name
187
227
  end
188
228
 
189
229
  def test_should_use_compressed_file_name_if_in_test
190
- Object.const_set('RAILS_ENV', 'test')
191
- assert_equal 'tinymce/tiny_mce', tiny_mce_file_name
230
+ silence_warnings {Object.const_set('RAILS_ENV', 'test')}
231
+ assert_equal 'tiny_mce/tiny_mce', tiny_mce_file_name
192
232
  end
193
233
 
194
234
  def test_should_use_compressed_file_name_if_in_production
195
- Object.const_set('RAILS_ENV', 'production')
196
- assert_equal 'tinymce/tiny_mce', tiny_mce_file_name
235
+ silence_warnings {Object.const_set('RAILS_ENV', 'production')}
236
+ assert_equal 'tiny_mce/tiny_mce', tiny_mce_file_name
197
237
  end
198
238
 
199
239
  def test_should_use_environment_file_name_for_javascript_include_in_development
200
- Object.const_set('RAILS_ENV', 'development')
201
- assert_equal '<script src="/javascripts/tinymce/tiny_mce_src.js" type="text/javascript"></script>', javascript_include_tiny_mce
240
+ silence_warnings {Object.const_set('RAILS_ENV', 'development')}
241
+ assert_equal '<script src="/javascripts/tiny_mce/tiny_mce_src.js" type="text/javascript"></script>', javascript_include_tiny_mce
202
242
  end
203
243
 
204
244
  def test_should_use_environment_file_name_for_javascript_include_in_test
205
- Object.const_set('RAILS_ENV', 'test')
206
- assert_equal '<script src="/javascripts/tinymce/tiny_mce.js" type="text/javascript"></script>', javascript_include_tiny_mce
245
+ silence_warnings {Object.const_set('RAILS_ENV', 'test')}
246
+ assert_equal '<script src="/javascripts/tiny_mce/tiny_mce.js" type="text/javascript"></script>', javascript_include_tiny_mce
207
247
  end
208
248
 
209
249
  def test_should_include_conditional_javascript_if_using_tiny_mce
210
250
  @uses_tiny_mce = true
211
- assert_equal '<script src="/javascripts/tinymce/tiny_mce.js" type="text/javascript"></script>', javascript_include_tiny_mce_if_used
251
+ assert_equal '<script src="/javascripts/tiny_mce/tiny_mce.js" type="text/javascript"></script>', javascript_include_tiny_mce_if_used
212
252
  end
213
253
 
214
254
  def test_should_not_include_conditional_javascript_if_not_using_tiny_mce
215
255
  @uses_tiny_mce = false
216
256
  assert_nil javascript_include_tiny_mce_if_used
217
257
  end
258
+ end
259
+
260
+ class TinyMceHelperScriptTest < Test::Unit::TestCase
261
+ include ActionView::Helpers::TagHelper
262
+ include ActionView::Helpers::JavaScriptHelper
263
+ include PluginAWeek::TinyMCEHelper
264
+
265
+ def setup
266
+ # Track valid options
267
+ @original_valid_options = PluginAWeek::TinyMCEHelper.valid_options.dup
268
+ end
218
269
 
219
270
  def test_script_should_use_textareas_mode_and_simple_theme_by_default
220
271
  expected = <<-end_eval
@@ -231,12 +282,12 @@ class TinyMceHelperTest < Test::Unit::TestCase
231
282
  end
232
283
 
233
284
  def test_script_should_not_raise_exception_if_invalid_option_provided_but_valid_options_is_nil
234
- PluginAWeek::Helpers::TinyMCEHelper.valid_options = nil
285
+ PluginAWeek::TinyMCEHelper.valid_options = nil
235
286
  assert_nothing_raised {tiny_mce_init_script(:invalid => true)}
236
287
  end
237
288
 
238
289
  def test_script_should_not_raise_exception_if_invalid_option_provided_but_valid_options_is_empty
239
- PluginAWeek::Helpers::TinyMCEHelper.valid_options = []
290
+ PluginAWeek::TinyMCEHelper.valid_options = []
240
291
  assert_nothing_raised {tiny_mce_init_script(:invalid => true)}
241
292
  end
242
293
 
@@ -317,7 +368,6 @@ class TinyMceHelperTest < Test::Unit::TestCase
317
368
  end
318
369
 
319
370
  def teardown
320
- FileUtils.rmtree(@public_root)
321
- PluginAWeek::Helpers::TinyMCEHelper.valid_options = @original_valid_options
371
+ PluginAWeek::TinyMCEHelper.valid_options = @original_valid_options
322
372
  end
323
373
  end
data/uninstall.rb CHANGED
@@ -1,2 +1,2 @@
1
1
  # Uninstall TinyMCE
2
- PluginAWeek::Helpers::TinyMCEHelper.uninstall
2
+ PluginAWeek::TinyMCEHelper.uninstall
metadata CHANGED
@@ -1,66 +1,73 @@
1
1
  --- !ruby/object:Gem::Specification
2
- rubygems_version: 0.9.4
3
- specification_version: 1
4
2
  name: tiny_mce_helper
5
3
  version: !ruby/object:Gem::Version
6
- version: 0.0.2
7
- date: 2007-09-26 00:00:00 -04:00
8
- summary: Adds helper methods for creating the TinyMCE initialization script.
9
- require_paths:
10
- - lib
11
- email: info@pluginaweek.org
12
- homepage: http://www.pluginaweek.org
13
- rubyforge_project:
14
- description:
15
- autorequire: tiny_mce_helper
16
- default_executable:
17
- bindir: bin
18
- has_rdoc: true
19
- required_ruby_version: !ruby/object:Gem::Version::Requirement
20
- requirements:
21
- - - ">"
22
- - !ruby/object:Gem::Version
23
- version: 0.0.0
24
- version:
4
+ version: 0.0.3
25
5
  platform: ruby
26
- signing_key:
27
- cert_chain:
28
- post_install_message:
29
6
  authors:
30
- - Aaron Pfeifer, Neil Abraham
7
+ - Aaron Pfeifer
8
+ autorequire: tiny_mce_helper
9
+ bindir: bin
10
+ cert_chain: []
11
+
12
+ date: 2008-05-05 00:00:00 -04:00
13
+ default_executable:
14
+ dependencies: []
15
+
16
+ description:
17
+ email: aaron@pluginaweek.org
18
+ executables: []
19
+
20
+ extensions: []
21
+
22
+ extra_rdoc_files: []
23
+
31
24
  files:
32
25
  - lib/tiny_mce_helper.rb
33
26
  - tasks/tiny_mce_helper_tasks.rake
34
- - test/test_helper.rb
35
27
  - test/app_root
36
- - test/unit
37
- - test/files
38
28
  - test/app_root/config
39
- - test/app_root/config_bak
40
29
  - test/app_root/config/tiny_mce_options.yml
30
+ - test/app_root/config_bak
41
31
  - test/app_root/config_bak/tiny_mce_options.yml
32
+ - test/test_helper.rb
33
+ - test/unit
42
34
  - test/unit/tiny_mce_helper_test.rb
43
- - test/files/tinymce_2_0_8.tgz
35
+ - test/files
44
36
  - test/files/wiki.html
37
+ - test/files/tinymce_3_0_8.zip
38
+ - test/files/tinymce_3_0_6_2.zip
45
39
  - test/files/sourceforge.html
46
- - test/files/tinymce_2_1_1_1.tgz
47
40
  - CHANGELOG
48
41
  - init.rb
49
42
  - install.rb
50
43
  - Rakefile
51
44
  - README
52
45
  - uninstall.rb
53
- test_files:
54
- - test/unit/tiny_mce_helper_test.rb
46
+ has_rdoc: true
47
+ homepage: http://www.pluginaweek.org
48
+ post_install_message:
55
49
  rdoc_options: []
56
50
 
57
- extra_rdoc_files: []
58
-
59
- executables: []
60
-
61
- extensions: []
62
-
51
+ require_paths:
52
+ - lib
53
+ required_ruby_version: !ruby/object:Gem::Requirement
54
+ requirements:
55
+ - - ">="
56
+ - !ruby/object:Gem::Version
57
+ version: "0"
58
+ version:
59
+ required_rubygems_version: !ruby/object:Gem::Requirement
60
+ requirements:
61
+ - - ">="
62
+ - !ruby/object:Gem::Version
63
+ version: "0"
64
+ version:
63
65
  requirements: []
64
66
 
65
- dependencies: []
66
-
67
+ rubyforge_project:
68
+ rubygems_version: 1.1.0
69
+ signing_key:
70
+ specification_version: 2
71
+ summary: Adds helper methods for creating the TinyMCE initialization script.
72
+ test_files:
73
+ - test/unit/tiny_mce_helper_test.rb