epic-editor-rails 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/epic-editor-rails/engine.rb +10 -1
- data/lib/epic-editor-rails/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1fa66f152a4fff35abcf1522771aac3785451cb5
|
4
|
+
data.tar.gz: a8cbe9f6a7894d92cbe86b3b428fcc5cf0a15a27
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0d1c3b7db1838b999b9a84f9bd5da77bf7ce713b9106a1bdf6f67409cb213cf2001d09f7b40e5c88d25b29d94446a753c050f3a74ff3ff78999752dea28f641e
|
7
|
+
data.tar.gz: 2fecc7cc601c1f37917d29d6398ff0a97ace9427017c0d803b61bab478346d2d7a274b26e19c668f8d41112f2e30ea2d10d74ec93ebe291562dc90c6aebc6f60
|
data/README.md
CHANGED
@@ -2,7 +2,16 @@ module Epic
|
|
2
2
|
module Editor
|
3
3
|
module Rails
|
4
4
|
class Engine < ::Rails::Engine
|
5
|
+
if ::Rails.version >= "3.1"
|
6
|
+
initializer "Precompile EpicEditor assets" do |app|
|
7
|
+
app.config.assets.precompile += [
|
8
|
+
"epiceditor.js", "base/epiceditor.css",
|
9
|
+
"editor/epic-dark.css", "editor/epic-light.css",
|
10
|
+
"preview/bartik.css", "preview/github.css", "preview-dark.css"
|
11
|
+
]
|
12
|
+
end
|
13
|
+
end
|
5
14
|
end
|
6
15
|
end
|
7
16
|
end
|
8
|
-
end
|
17
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: epic-editor-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- zethus
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-01-
|
11
|
+
date: 2014-01-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|