Sha256: c2c925412f25fe9ac48c76d3506828052ec4ca8904a6956d3acc4f4204bd07d2

Contents?: true

Size: 372 Bytes

Versions: 5

Compression:

Stored size: 372 Bytes

Contents

require 'rails/generators'

module Bbq
  class Railtie < Rails::Railtie
    rake_tasks do
      load Bbq.root.join("lib/tasks/bbq.rake")
    end

    helper_generators = %w(test_unit rspec).collect do |test_framework|
      ["#{test_framework}:bbq_test", "#{test_framework}:bbq_install"]
    end.flatten

    Rails::Generators.hide_namespaces *helper_generators
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
bbq-0.0.4 lib/bbq/railtie.rb
bbq-0.0.3 lib/bbq/railtie.rb
bbq-0.0.2 lib/bbq/railtie.rb
bbq-0.0.2.beta.3 lib/bbq/railtie.rb
bbq-0.0.2.beta.2 lib/bbq/railtie.rb