widget_bundler 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/app/models/widget_bundle.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZTY1YjdjMWUzYjZlZTJiYjUwYTEzODFhNmU5NjZhYmExZDc4MjYxMw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MmExOGNlMTI2N2I0NTYzZGI1ZTIyNjE1MTRmODU3YmVkMGM2M2QxNg==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZWUyYjA5ZTk5MTRhNTlmNzcwYmM2NmUzZjU2MjdhZDFkODAxMzk2ZTNiNGU1
|
10
|
+
OWIwNTYwOTViZTU0NWEwMjRlYmFkMmE1N2YwNmI3NDJhNjRhNzI5YzdmMjM2
|
11
|
+
OGVmOTQ3ZWYzMGZjNWM1ZWJiYjQwNmQ4N2FlNjBmYmUwZDczOTc=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NzM2YmI3NzQzMTM3MmI1Y2M4YTgxN2Y3MDU5NDIzYzUwMDU5ZGJjZDZiZWIy
|
14
|
+
YWExNWNmNWEzOTJmZDE2MjgyYTFkMGMwNGI2YTE2ZTI5YjYxYmNkMTEzMGVk
|
15
|
+
MGIyMzI4NmVmMjU3ZWM0Y2FjOGNkODgzNDllYTQzZTYyNjY5ODE=
|
@@ -73,7 +73,7 @@ class WidgetBundle
|
|
73
73
|
def minify_stylesheets(stylesheets, path)
|
74
74
|
out = ''
|
75
75
|
stylesheets.each do |css|
|
76
|
-
out << Sass::Engine.new(File.open(css).read, syntax: :scss, style: :compressed).render
|
76
|
+
out << Sass::Engine.new(File.open("#{Rails.root}/public/#{css}").read, syntax: :scss, style: :compressed).render
|
77
77
|
end
|
78
78
|
|
79
79
|
# write the main.css file
|
@@ -85,7 +85,7 @@ class WidgetBundle
|
|
85
85
|
def minify_javascripts(javascripts, path)
|
86
86
|
out = ''
|
87
87
|
javascripts.each do |js|
|
88
|
-
out << Uglifier.compile(File.read(js))
|
88
|
+
out << Uglifier.compile(File.read("#{Rails.root}/public/#{js}"))
|
89
89
|
end
|
90
90
|
|
91
91
|
# write the main.js file
|