use_tinymce 0.0.13 → 0.0.14

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/tasks/use_tinymce.rake +4 -4
  2. metadata +1 -1
@@ -5,8 +5,8 @@ unless defined?(Rails)
5
5
  puts "This rake task only runs on Rails"
6
6
  exit
7
7
  end
8
- unless Rails.version =~ /^3.[01]/
9
- puts "Don't know how to install on Rails Version #{Rails.version}"
8
+ unless Rails.version =~ /^3.[012]/
9
+ puts "use_tinymce Error: Don't know how to install on Rails Version #{Rails.version}"
10
10
  exit
11
11
  end
12
12
 
@@ -111,7 +111,7 @@ namespace :use_tinymce do
111
111
  task :install_jquery => :install_tinymce_jquery do
112
112
  UseTinyMCE::RakeSupport::copy_init_script('use_tinymce_init_jquery.js')
113
113
  end
114
- when /^3.1/
114
+ when /^3\.[12]/
115
115
  desc "Install tinymce jquery plugin with 'advanced' initialization"
116
116
  task :install => :uninstall do
117
117
  raise Exception.new("Cannot install: #{UseTinyMCE::RakeSupport::JAVASCRIPT_ROOT} does not exist") unless UseTinyMCE::RakeSupport.mkdir_tree UseTinyMCE::RakeSupport::JAVASCRIPT_ROOT
@@ -119,7 +119,7 @@ namespace :use_tinymce do
119
119
  UseTinyMCE::RakeSupport::copy_init_script('use_tinymce_init_jquery.js')
120
120
  end
121
121
  else
122
- puts "Don't know how to install in Rails #{Rails.version}"
122
+ puts "use_tinymce error: Don't know how to install in Rails #{Rails.version}"
123
123
  exit 1
124
124
  end
125
125
  end
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.13
4
+ version: 0.0.14
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: