Sha256: 041ca416d3ba7f2522a3729ad8c09ceab79a49bc1e4dc21a765fa9ccc8105a69

Contents?: true

Size: 1.68 KB

Versions: 16

Compression:

Stored size: 1.68 KB

Contents

module CompassRails
  module Configuration
    module Default
      
      def project_type_without_default
        :rails
      end

      def default_sass_dir
        File.join("app", "assets", "stylesheets")
      end

      def default_css_dir
        File.join("public", "stylesheets")
      end

      def default_images_dir
        File.join("public", "images")
      end

      def default_fonts_dir
        File.join("public", "fonts")
      end

      def default_javascripts_dir
        File.join("public", "javascripts")
      end

      def default_http_images_path
        # Relies on the fact that this will be loaded after the "normal"
        # defaults, so that method_missing finds http_root_relative
        http_root_relative "images"
      end

      def default_http_generated_images_path
        # Relies on the fact that this will be loaded after the "normal"
        # defaults, so that method_missing finds http_root_relative
        http_root_relative "images"
      end

      def default_http_javascripts_path
        http_root_relative "javascripts"
      end

      def default_http_fonts_path
        http_root_relative "fonts"
      end

      def default_http_stylesheets_path
        http_root_relative "stylesheets"
      end

      def default_extensions_dir
        File.join("vendor", "plugins", "compass_extensions")
      end

      def default_cache_dir
        File.join("tmp", "sass-cache")
      end

      def default_project_path
        project_path = CompassRails.root
      end

      def default_http_path
        "/" # XXX Where is/was this stored in the Rails config?
      end

      def default_environment
        CompassRails.env
      end

    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
compass-rails-1.1.7 lib/compass-rails/configuration/default.rb
compass-rails-1.1.6 lib/compass-rails/configuration/default.rb
compass-rails-1.1.5 lib/compass-rails/configuration/default.rb
compass-rails-1.1.3 lib/compass-rails/configuration/default.rb
compass-rails-1.1.2 lib/compass-rails/configuration/default.rb
compass-rails-1.1.1 lib/compass-rails/configuration/default.rb
compass-rails-1.1.0 lib/compass-rails/configuration/default.rb
compass-rails-1.1.0.pre lib/compass-rails/configuration/default.rb
compass-rails-1.0.3 lib/compass-rails/configuration/default.rb
compass-rails-1.0.2 lib/compass-rails/configuration/default.rb
compass-rails-1.0.1 lib/compass-rails/configuration/default.rb
compass-rails-1.0.0 lib/compass-rails/configuration/default.rb
compass-rails-1.0.0.rc.4 lib/compass-rails/configuration/default.rb
compass-rails-1.0.0.rc.3 lib/compass-rails/configuration/default.rb
compass-rails-1.0.0.rc.2 lib/compass-rails/configuration/default.rb
compass-rails-1.0.0.rc.1 lib/compass-rails/configuration/default.rb