Sha256: 6e8ffc80279510925822ed9ced5a90edd7b0d2abfe3bf5de94fd2ab360b6ecce

Contents?: true

Size: 573 Bytes

Versions: 32

Compression:

Stored size: 573 Bytes

Contents

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

require "kentucky/generator"

unless defined?(Sass)
  require 'sass'
end

module Kentucky
  if defined?(Rails) && defined?(Rails::Engine)
    class Engine < ::Rails::Engine
      require 'kentucky/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

32 entries across 32 versions & 1 rubygems

Version Path
kentucky-3.1.0 lib/kentucky.rb
kentucky-3.0.3 lib/kentucky.rb
kentucky-3.0.2 lib/kentucky.rb
kentucky-3.0.1 lib/kentucky.rb
kentucky-3.0.0 lib/kentucky.rb
kentucky-2.2.2 lib/kentucky.rb
kentucky-2.2.1 lib/kentucky.rb
kentucky-2.1.0 lib/kentucky.rb
kentucky-2.0.0 lib/kentucky.rb
kentucky-1.5.1 lib/kentucky.rb
kentucky-1.5.0 lib/kentucky.rb
kentucky-1.4.0 lib/kentucky.rb
kentucky-1.2.1 lib/kentucky.rb
kentucky-1.2.0 lib/kentucky.rb
kentucky-1.1.0 lib/kentucky.rb
kentucky-1.0.5 lib/kentucky.rb
kentucky-1.0.4 lib/kentucky.rb
kentucky-1.0.3 lib/kentucky.rb
kentucky-1.0.0 lib/kentucky.rb
kentucky-0.5.2 lib/kentucky.rb