Sha256: 4517c55b4eef9da9b90ff70eeca036e7c6e86e44b9a44b0ecc3178637acb5e20

Contents?: true

Size: 1.5 KB

Versions: 4

Compression:

Stored size: 1.5 KB

Contents

module Compass
  module AppIntegration
    module Rails
      module ConfigurationDefaults

        def project_type_without_default
          :rails
        end

        def default_sass_dir
          # XXX Maybe this should be: app/views/stylesheets
          # or maybe layouts should be moved up a level.
          File.join("app", "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
          "/images"
        end

        def default_http_javascripts_path
          "/javascripts"
        end

        def default_http_fonts_path
          "/fonts"
        end

        def default_http_stylesheets_path
          "/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 = Compass::AppIntegration::Rails.root
        end

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

        def default_environment
          Compass::AppIntegration::Rails.env
        end

      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
compass-0.11.alpha.4 lib/compass/app_integration/rails/configuration_defaults.rb
compass-0.11.alpha.3 lib/compass/app_integration/rails/configuration_defaults.rb
compass-0.11.alpha.1 lib/compass/app_integration/rails/configuration_defaults.rb
compass-0.11.alpha.0 lib/compass/app_integration/rails/configuration_defaults.rb