Sha256: 1b0aa7963c36e76658b27b4dd5930e94708c822288929199d9a1f32175dfacff

Contents?: true

Size: 536 Bytes

Versions: 10

Compression:

Stored size: 536 Bytes

Contents

dir = File.dirname(__FILE__)
$LOAD_PATH.unshift dir unless $LOAD_PATH.include?(dir)

require 'tartan/generator'

unless defined?(Sass)
  require 'sass'
end

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

10 entries across 10 versions & 1 rubygems

Version Path
tartan-grid-1.2.0 lib/tartan.rb
tartan-grid-1.1.0 lib/tartan.rb
tartan-grid-1.0.0 lib/tartan.rb
tartan-grid-0.0.7 lib/tartan.rb
tartan-grid-0.0.6 lib/tartan.rb
tartan-grid-0.0.5 lib/tartan.rb
tartan-grid-0.0.4 lib/tartan.rb
tartan-grid-0.0.3 lib/tartan.rb
tartan-grid-0.0.2 lib/tartan.rb
tartan-grid-0.0.1 lib/tartan.rb