Sha256: 6cbd4a39a296a19e2c13759b99880ccacd168e7d1fc8224f4ddaf5ccba361787
Contents?: true
Size: 448 Bytes
Versions: 3
Compression:
Stored size: 448 Bytes
Contents
require 'rails/generators' module Bbq class Railtie < Rails::Railtie initializer "bqq.set_app" do Bbq.app = Rails.application end 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
bbq-0.2.1 | lib/bbq/railtie.rb |
bbq-0.2.0 | lib/bbq/railtie.rb |
bbq-0.1.0 | lib/bbq/railtie.rb |