tinymce_splitblockquote 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -5,7 +5,7 @@ begin
5
5
  require 'jeweler'
6
6
  Jeweler::Tasks.new do |gem|
7
7
  gem.name = "tinymce_splitblockquote"
8
- gem.version = "0.0.4"
8
+ gem.version = "0.0.5"
9
9
  gem.summary = %Q{A tiny_mce gem's plugin installing my splitblockquote plugin.}
10
10
  gem.description = %Q{This plugin splits (nested) blockquotes when the user try to break lines into them.}
11
11
 
@@ -32,9 +32,10 @@ unless defined?(TinyMCE::Plugin)
32
32
 
33
33
  dest = File.join(Rails.root.to_s, 'public', 'javascripts' )
34
34
  dest = File.join(dest, 'tiny_mce', 'plugins', 'splitblockquote', 'editor_plugin_src.js' )
35
- orig = File.join(self.assets_path, 'plugins', 'splitblockquote', 'editor_plugin_src.js' )
36
-
37
- return if FileUtils.identical?( orig, dest)
35
+ if File.exist? dest
36
+ orig = File.join(self.assets_path, 'plugins', 'splitblockquote', 'editor_plugin_src.js' )
37
+ return if FileUtils.identical?( orig, dest)
38
+ end
38
39
  puts "Installing #{self.name} plugin assets from #{self.assets_path}"
39
40
  FileUtils.cp_r "#{self.assets_path}/.", File.join(Rails.root.to_s, 'public', 'javascripts', 'tiny_mce')
40
41
  end
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{tinymce_splitblockquote}
8
- s.version = "0.0.4"
8
+ s.version = "0.0.5"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Guiran Patrick"]
12
- s.date = %q{2010-07-27}
12
+ s.date = %q{2010-07-28}
13
13
  s.description = %q{This plugin splits (nested) blockquotes when the user try to break lines into them.}
14
14
  s.email = %q{pguiran@linagora.com}
15
15
  s.extra_rdoc_files = [
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tinymce_splitblockquote
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 4
10
- version: 0.0.4
9
+ - 5
10
+ version: 0.0.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Guiran Patrick
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-07-27 00:00:00 +02:00
18
+ date: 2010-07-28 00:00:00 +02:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency