assets_on_heroku 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/assets_on_heroku.gemspec +1 -1
- data/lib/assets_on_heroku.rb +5 -5
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.4
|
data/assets_on_heroku.gemspec
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{assets_on_heroku}
|
8
|
-
s.version = "0.0.
|
8
|
+
s.version = "0.0.4"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Jacek Becela", "Tomasz Mazur"]
|
data/lib/assets_on_heroku.rb
CHANGED
@@ -24,11 +24,11 @@ module AssetsOnHeroku
|
|
24
24
|
FileUtils.mkdir_p(@root)
|
25
25
|
end
|
26
26
|
|
27
|
-
def setup_sass
|
28
|
-
Sass::Plugin
|
29
|
-
:css_location
|
30
|
-
:template_location
|
31
|
-
|
27
|
+
def setup_sass
|
28
|
+
if defined?(Sass::Plugin)
|
29
|
+
Sass::Plugin.options[:css_location] = "#{@root}/stylesheets"
|
30
|
+
Sass::Plugin.options[:template_location] ||= "public/stylesheets/sass" # Make template_location overridable
|
31
|
+
end
|
32
32
|
end
|
33
33
|
|
34
34
|
def setup_rails
|