plutonium 0.12.3 → 0.12.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/generators/pu/core/install/install_generator.rb +4 -0
- data/lib/plutonium/railtie.rb +1 -1
- data/lib/plutonium/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b41319fc7e06279097625aaad2116a7743bbd91694cbe74d24a4bdc168ee3342
|
4
|
+
data.tar.gz: 868260b35a8731d3c26b324a5baadb2cffb3e7244f28e7df0cf43abe2b8442a5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b56ac02a9594b3335d66a253c1228b7531f843594654168831cd95d6ebe94760156f42fc6579533211df013ada8e61c0d7366dc33a2792264e497f4497cd45da
|
7
|
+
data.tar.gz: 44c23e43db9a5f27faf441d9383628b75a66c2a5b1b94a25d237da58496617de70b705319afc4f583e07a8cdbeb5446d293c2fc5ea9c0c57b7f52003b0d677f9
|
@@ -36,6 +36,10 @@ module Pu
|
|
36
36
|
environment "# config.plutonium.assets.logo = \"logo.png\""
|
37
37
|
end
|
38
38
|
|
39
|
+
def setup_assets
|
40
|
+
invoke "pu:core:assets", [], force: true, skip: options[:skip]
|
41
|
+
end
|
42
|
+
|
39
43
|
def eject_views
|
40
44
|
invoke "pu:eject:layout", [], dest: "main_app",
|
41
45
|
force: options[:force],
|
data/lib/plutonium/railtie.rb
CHANGED
@@ -18,7 +18,7 @@ module Plutonium
|
|
18
18
|
# config.after_initialize do
|
19
19
|
# config.assets.precompile -= Plutonium::Railtie::PRECOMPILE_ASSETS
|
20
20
|
# end
|
21
|
-
PRECOMPILE_ASSETS = %w[plutonium.js plutonium.js.map plutonium.min.js plutonium.min.js.map plutonium.css]
|
21
|
+
PRECOMPILE_ASSETS = %w[plutonium.js plutonium.js.map plutonium.min.js plutonium.min.js.map plutonium.css plutonium.png plutonium.ico]
|
22
22
|
|
23
23
|
initializer "plutonium.assets" do
|
24
24
|
next unless Rails.application.config.respond_to?(:assets)
|
data/lib/plutonium/version.rb
CHANGED