activeadmin-redactor 0.1.4 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 93056ba3ce82ff28290c152abd77b7c2d6791d28
|
4
|
+
data.tar.gz: 0e4b5511e36f736cd3fb827d948f86f7d7349625
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4bb9894a243cc2688c4c56631c7bbfe75ef2529fc3ceeb991e09ae77d014629367678472e8fd4e713b55cc7d31ef2c7efe4d935e187fb89cb840c9be88bc55d1
|
7
|
+
data.tar.gz: 5b844e27ed57ada920d2f382398297e7b7412ac360878eb2ebb1505cf4e7bfe89e8f78928fa5efb9cea8fb7b54e0adfd631477b61a895f54db0402851474a305
|
data/lib/activeadmin/redactor.rb
CHANGED
@@ -30,6 +30,11 @@ module Activeadmin
|
|
30
30
|
::ActiveAdmin::Views::TableFor.send(:include, TableMethods)
|
31
31
|
|
32
32
|
class Engine < ::Rails::Engine
|
33
|
+
if Rails.version > "3.1"
|
34
|
+
initializer "ActiveAdmin Redactor precompile hook", :group => :all do |app|
|
35
|
+
app.config.assets.precompile += %w(activeadmin-redactor.js activeadmin-redactor.css)
|
36
|
+
end
|
37
|
+
end
|
33
38
|
end
|
34
39
|
end
|
35
40
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activeadmin-redactor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Karl Entwistle
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-09-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|