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 CHANGED
@@ -1 +1 @@
1
- 0.0.3
1
+ 0.0.4
@@ -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.3"
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"]
@@ -24,11 +24,11 @@ module AssetsOnHeroku
24
24
  FileUtils.mkdir_p(@root)
25
25
  end
26
26
 
27
- def setup_sass
28
- Sass::Plugin.options = {
29
- :css_location => "#{root}/stylesheets",
30
- :template_location => "public/stylesheets/sass"
31
- } if defined?(Sass::Plugin)
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
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 3
9
- version: 0.0.3
8
+ - 4
9
+ version: 0.0.4
10
10
  platform: ruby
11
11
  authors:
12
12
  - Jacek Becela