front_end_builds 0.0.12 → 0.0.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/front_end_builds/engine.rb +11 -13
- data/lib/front_end_builds/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 897d5aad584bdc4b66956bb9c2d63aab0cfe2e44
|
4
|
+
data.tar.gz: 12ef86941be815844d1bd89829c9e21490a78bf9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 078e94e2eb5d0dce28c7e61a0eab384bb8ecda6aeb5b197ccd4542a6bcb74a698f2f5e86b0f1c78f27f83c58d5c26b58d0efc20a3784c29d5767f690e4bb1d41
|
7
|
+
data.tar.gz: 232401e0a5356f89224eeaa4fef9bfb9f4760329718b1603a7857f751ab724137c1535332e499e84c78a18e1cbad8cf15d801716e924516a3d38aebf6ee7d23e
|
@@ -1,5 +1,3 @@
|
|
1
|
-
require 'action_dispatch/middleware/static'
|
2
|
-
|
3
1
|
module FrontEndBuilds
|
4
2
|
class Engine < ::Rails::Engine
|
5
3
|
isolate_namespace FrontEndBuilds
|
@@ -12,17 +10,17 @@ module FrontEndBuilds
|
|
12
10
|
end
|
13
11
|
|
14
12
|
# Initializer to combine this engines static assets with the static assets of the hosting site.
|
15
|
-
initializer "static assets" do |app|
|
16
|
-
app.middleware.insert_before(::ActionDispatch::Static, ::ActionDispatch::Static, "#{root}/public")
|
17
|
-
end
|
13
|
+
#initializer "static assets" do |app|
|
14
|
+
#app.middleware.insert_before(::ActionDispatch::Static, ::ActionDispatch::Static, "#{root}/public")
|
15
|
+
#end
|
18
16
|
|
19
|
-
initializer "front_end_assets.assets.precompile", group: :all do |app|
|
20
|
-
app.config.assets.precompile += %w(
|
21
|
-
front_end_builds/vendor.css
|
22
|
-
front_end_builds/admin.css
|
23
|
-
front_end_builds/vendor.js
|
24
|
-
front_end_builds/admin.js
|
25
|
-
)
|
26
|
-
end
|
17
|
+
#initializer "front_end_assets.assets.precompile", group: :all do |app|
|
18
|
+
#app.config.assets.precompile += %w(
|
19
|
+
#front_end_builds/vendor.css
|
20
|
+
#front_end_builds/admin.css
|
21
|
+
#front_end_builds/vendor.js
|
22
|
+
#front_end_builds/admin.js
|
23
|
+
#)
|
24
|
+
#end
|
27
25
|
end
|
28
26
|
end
|