locomotive-tinymce-rails 3.4.7.4 → 3.4.7.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,9 @@
1
+ assets_task = Rake::Task.task_defined?('assets:precompile:primary') ? 'assets:precompile:primary' : 'assets:precompile'
2
+
3
+ Rake::Task[assets_task].enhance do
4
+ assets = File.expand_path(File.dirname(__FILE__) + "/../../vendor/assets/javascripts/tinymce")
5
+ target = File.join(Rails.public_path, Rails.application.config.assets.prefix)
6
+
7
+ mkdir_p target
8
+ cp_r assets, target, :preserve => true
9
+ end
@@ -1,3 +1,2 @@
1
1
  require 'tinymce/rails/version'
2
- require 'tinymce/rails/engine'
3
- require 'tinymce/rails/sprockets_monkeypatch'
2
+ require 'tinymce/rails/engine'
@@ -1,8 +1,8 @@
1
1
  module TinyMCE
2
2
  module Rails
3
3
  class Engine < ::Rails::Engine
4
- initializer "configure assets", :group => :all do |app|
5
- app.config.assets.precompile << 'tinymce/*'
4
+ initializer 'precompile', :group => :all do |app|
5
+ app.config.assets.precompile << 'tinymce.js'
6
6
  end
7
7
  end
8
8
  end
@@ -2,6 +2,6 @@ module TinyMCE
2
2
  VERSION = '3.4.7.1'
3
3
 
4
4
  module Rails
5
- VERSION = '3.4.7.4'
5
+ VERSION = '3.4.7.5'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,8 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: locomotive-tinymce-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.4.7.4
5
4
  prerelease:
5
+ version: 3.4.7.5
6
6
  platform: ruby
7
7
  authors:
8
8
  - Sam Pohlenz
@@ -10,35 +10,35 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-11-15 00:00:00.000000000 Z
13
+ date: 2013-02-06 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
- name: actionpack
17
- requirement: !ruby/object:Gem::Requirement
16
+ type: :runtime
17
+ version_requirements: !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ~>
21
21
  - !ruby/object:Gem::Version
22
22
  version: '3.2'
23
- type: :runtime
23
+ name: actionpack
24
24
  prerelease: false
25
- version_requirements: !ruby/object:Gem::Requirement
25
+ requirement: !ruby/object:Gem::Requirement
26
26
  none: false
27
27
  requirements:
28
28
  - - ~>
29
29
  - !ruby/object:Gem::Version
30
30
  version: '3.2'
31
31
  - !ruby/object:Gem::Dependency
32
- name: rake
33
- requirement: !ruby/object:Gem::Requirement
32
+ type: :development
33
+ version_requirements: !ruby/object:Gem::Requirement
34
34
  none: false
35
35
  requirements:
36
36
  - - '='
37
37
  - !ruby/object:Gem::Version
38
38
  version: 0.9.2
39
- type: :development
39
+ name: rake
40
40
  prerelease: false
41
- version_requirements: !ruby/object:Gem::Requirement
41
+ requirement: !ruby/object:Gem::Requirement
42
42
  none: false
43
43
  requirements:
44
44
  - - '='
@@ -56,8 +56,8 @@ files:
56
56
  - app/assets/javascripts/tinymce/preinit.js.erb
57
57
  - app/assets/javascripts/tinymce-jquery.js
58
58
  - app/assets/javascripts/tinymce.js
59
+ - lib/tasks/tinymce-assets.rake
59
60
  - lib/tinymce/rails/engine.rb
60
- - lib/tinymce/rails/sprockets_monkeypatch.rb
61
61
  - lib/tinymce/rails/version.rb
62
62
  - lib/tinymce/rails.rb
63
63
  - lib/tinymce-rails.rb
@@ -461,19 +461,19 @@ required_ruby_version: !ruby/object:Gem::Requirement
461
461
  requirements:
462
462
  - - ! '>='
463
463
  - !ruby/object:Gem::Version
464
- version: '0'
465
464
  segments:
466
465
  - 0
467
- hash: 3145637586827119322
466
+ hash: -4287185435052120671
467
+ version: '0'
468
468
  required_rubygems_version: !ruby/object:Gem::Requirement
469
469
  none: false
470
470
  requirements:
471
471
  - - ! '>='
472
472
  - !ruby/object:Gem::Version
473
- version: '0'
474
473
  segments:
475
474
  - 0
476
- hash: 3145637586827119322
475
+ hash: -4287185435052120671
476
+ version: '0'
477
477
  requirements: []
478
478
  rubyforge_project:
479
479
  rubygems_version: 1.8.23
@@ -1,13 +0,0 @@
1
- require 'sprockets/asset'
2
-
3
- module Sprockets
4
- class Asset
5
-
6
- def digest_path_with_tinymce
7
- return logical_path if logical_path =~ /^tinymce\//
8
- digest_path_without_tinymce
9
- end
10
-
11
- alias_method_chain :digest_path, :tinymce
12
- end
13
- end