Sha256: 31455a492a02ca7aa7d9f183026c15b86921a1845ecc8a9de7d4487827a114c6

Contents?: true

Size: 314 Bytes

Versions: 3

Compression:

Stored size: 314 Bytes

Contents

class Tartarus::Railtie < Rails::Railtie
  generators = Proc.new do |g|
    g.orm             :activerecord, :migration => true
    g.template_engine :erb
    g.test_framework  :rspec
  end

  if ::Rails.version.to_f >= 3.1
    config.app_generators &generators
  else
    config.generators &generators
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tartarus-2.3 lib/tartarus/railtie.rb
tartarus-2.2 lib/tartarus/railtie.rb
tartarus-2.0.4 lib/tartarus/railtie.rb