locomotive-aloha-rails 0.20.1.4 → 0.20.1.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/aloha/rails.rb +0 -1
- data/lib/aloha/rails/engine.rb +2 -2
- data/lib/aloha/rails/version.rb +1 -1
- data/lib/tasks/aloha-assets.rake +9 -0
- metadata +27 -17
- data/lib/aloha/rails/sprockets_monkeypatch.rb +0 -13
data/lib/aloha/rails.rb
CHANGED
data/lib/aloha/rails/engine.rb
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
module Aloha
|
2
2
|
module Rails
|
3
3
|
class Engine < ::Rails::Engine
|
4
|
-
initializer
|
5
|
-
app.config.assets.precompile << 'aloha
|
4
|
+
initializer 'precompile', :group => :all do |app|
|
5
|
+
app.config.assets.precompile << 'aloha.js'
|
6
6
|
end
|
7
7
|
end
|
8
8
|
end
|
data/lib/aloha/rails/version.rb
CHANGED
@@ -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/aloha')
|
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
|
metadata
CHANGED
@@ -1,38 +1,48 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: locomotive-aloha-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.20.1.4
|
5
4
|
prerelease:
|
5
|
+
version: 0.20.1.5
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Didier Lafforgue
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2013-02-06 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
|
-
|
16
|
-
|
15
|
+
type: :runtime
|
16
|
+
version_requirements: !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
20
20
|
- !ruby/object:Gem::Version
|
21
21
|
version: 3.2.1
|
22
|
-
|
22
|
+
name: actionpack
|
23
23
|
prerelease: false
|
24
|
-
|
24
|
+
requirement: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ~>
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 3.2.1
|
25
30
|
- !ruby/object:Gem::Dependency
|
26
|
-
|
27
|
-
|
31
|
+
type: :development
|
32
|
+
version_requirements: !ruby/object:Gem::Requirement
|
28
33
|
none: false
|
29
34
|
requirements:
|
30
|
-
- - =
|
35
|
+
- - '='
|
31
36
|
- !ruby/object:Gem::Version
|
32
37
|
version: 0.9.2
|
33
|
-
|
38
|
+
name: rake
|
34
39
|
prerelease: false
|
35
|
-
|
40
|
+
requirement: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - '='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: 0.9.2
|
36
46
|
description: Seamlessly integrates Aloha Editor into the Rails 3.1 asset pipeline.
|
37
47
|
email: didier.lafforgue@gmail.com
|
38
48
|
executables: []
|
@@ -45,10 +55,10 @@ files:
|
|
45
55
|
- app/assets/javascripts/aloha/preinit.js.erb
|
46
56
|
- app/assets/javascripts/aloha.js
|
47
57
|
- lib/aloha/rails/engine.rb
|
48
|
-
- lib/aloha/rails/sprockets_monkeypatch.rb
|
49
58
|
- lib/aloha/rails/version.rb
|
50
59
|
- lib/aloha/rails.rb
|
51
60
|
- lib/aloha-rails.rb
|
61
|
+
- lib/tasks/aloha-assets.rake
|
52
62
|
- vendor/assets/javascripts/aloha/css/aloha-core.css
|
53
63
|
- vendor/assets/javascripts/aloha/css/aloha-sidebar.css
|
54
64
|
- vendor/assets/javascripts/aloha/css/aloha.css
|
@@ -1087,22 +1097,22 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
1087
1097
|
requirements:
|
1088
1098
|
- - ! '>='
|
1089
1099
|
- !ruby/object:Gem::Version
|
1090
|
-
version: '0'
|
1091
1100
|
segments:
|
1092
1101
|
- 0
|
1093
|
-
hash:
|
1102
|
+
hash: -1432753948552770538
|
1103
|
+
version: '0'
|
1094
1104
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
1095
1105
|
none: false
|
1096
1106
|
requirements:
|
1097
1107
|
- - ! '>='
|
1098
1108
|
- !ruby/object:Gem::Version
|
1099
|
-
version: '0'
|
1100
1109
|
segments:
|
1101
1110
|
- 0
|
1102
|
-
hash:
|
1111
|
+
hash: -1432753948552770538
|
1112
|
+
version: '0'
|
1103
1113
|
requirements: []
|
1104
1114
|
rubyforge_project:
|
1105
|
-
rubygems_version: 1.8.
|
1115
|
+
rubygems_version: 1.8.23
|
1106
1116
|
signing_key:
|
1107
1117
|
specification_version: 3
|
1108
1118
|
summary: Rails 3.1 integration for Aloha Editor.
|