Sha256: a6f5b52cc7ff82aa82170ef7fc7cdb1cfa9aa428c16c7c0ac00ee5fec54d11a5

Contents?: true

Size: 570 Bytes

Versions: 19

Compression:

Stored size: 570 Bytes

Contents

# CodeKit needs relative paths
dir = File.dirname(__FILE__)
$LOAD_PATH.unshift dir unless $LOAD_PATH.include?(dir)

require "bourbon/generator"

unless defined?(Sass)
  require 'sass'
end

module Bourbon
  if defined?(Rails) && defined?(Rails::Engine)
    class Engine < ::Rails::Engine
      require 'bourbon/engine'
    end

    module Rails
      class Railtie < ::Rails::Railtie
        rake_tasks do
          load "tasks/install.rake"
        end
      end
    end
  else
    Sass.load_paths << File.expand_path("../../app/assets/stylesheets", __FILE__)
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
bourbon-3.2.4 lib/bourbon.rb
bourbon-3.2.3 lib/bourbon.rb
bourbon-4.0.1 lib/bourbon.rb
bourbon-3.2.1 lib/bourbon.rb
bourbon-4.0.0 lib/bourbon.rb
bourbon-3.2.0 lib/bourbon.rb
bourbon-4.0.0.rc2 lib/bourbon.rb
bourbon-4.0.0.rc1 lib/bourbon.rb
bourbon-3.2.0.beta.2 lib/bourbon.rb
bourbon-3.2.0.beta.1 lib/bourbon.rb
bourbon-3.1.8 lib/bourbon.rb
bourbon-3.1.7 lib/bourbon.rb
bourbon-3.1.6 lib/bourbon.rb
bourbon-3.1.5 lib/bourbon.rb
bourbon-3.1.4 lib/bourbon.rb
bourbon-3.1.3 lib/bourbon.rb
bourbon-3.1.2.1 lib/bourbon.rb
bourbon-3.1.1 lib/bourbon.rb
bourbon-3.1.0 lib/bourbon.rb