recipes/compass.rb in rails_apps_composer-1.0.26 vs recipes/compass.rb in rails_apps_composer-1.1.0
- old
+ new
@@ -1,28 +1,19 @@
if config['compass']
- if recipes.include? 'rails 3.1'
- gem 'compass', :version => '~> 0.12.alpha.0'
-
- after_bundler do
- remove_file 'app/assets/stylesheets/application.css'
- create_file 'app/assets/stylesheets/application.css.sass' do <<-SASS
+ gem 'compass', :version => '~> 0.12.alpha.4'
+ after_bundler do
+ remove_file 'app/assets/stylesheets/application.css'
+ create_file 'app/assets/stylesheets/application.css.sass' do <<-SASS
//= require_self
-//= require_tree .
+//= require_tree .
@import compass
@import _blueprint
SASS
- end
end
- else
- gem 'compass', :version => '~> 0.11'
-
- after_bundler do
- run 'compass init rails'
- end
end
else
- receipes.delete('compass')
+ recipes.delete('compass')
end
__END__
name: Compass