Sha256: d4a45d4118c584bd8695a66e6240fa3528c0050ebffbf48d271c75ae6beb14cf

Contents?: true

Size: 630 Bytes

Versions: 7

Compression:

Stored size: 630 Bytes

Contents

module Playmo
  module Recipes
    class CompassRecipe < Playmo::Recipe
      source_root File.expand_path('../templates/compass_recipe', __FILE__)

      def setup
        question "Would you like to use Compass in this project?" => :install_compass
      end

      def install_compass
        gem "compass", "~> 0.12.alpha.0"
      end
    end
  end
end

# Write down this recipe to our Cookbook if it's available
require File.dirname(__FILE__) + '/application_controller_recipe'
Playmo::Cookbook.instance.insert_after(Playmo::Recipes::ApplicationControllerRecipe, Playmo::Recipes::CompassRecipe) if defined?(Playmo::Cookbook)

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
playmo-0.0.18 lib/playmo/recipes/compass_recipe.rb
playmo-0.0.17 lib/playmo/recipes/compass_recipe.rb
playmo-0.0.14 lib/playmo/recipes/compass_recipe.rb
playmo-0.0.13 lib/playmo/recipes/compass_recipe.rb
playmo-0.0.12 lib/playmo/recipes/compass_recipe.rb
playmo-0.0.11 lib/playmo/recipes/compass_recipe.rb
playmo-0.0.10 lib/playmo/recipes/compass_recipe.rb