Sha256: d47b9996adae51f9b920cdf5e9bfe738a78fc883b2cf2c540bcbb42892e61555
Contents?: true
Size: 837 Bytes
Versions: 2
Compression:
Stored size: 837 Bytes
Contents
require 'rails' require 'active_support/dependencies' module Combustion Modules = %w( active_record action_controller action_view action_mailer sprockets ) def self.initialize!(*modules) modules = Modules if modules.empty? || modules == [:all] modules.each { |mod| require "#{mod}/railtie" } Combustion::Application.configure_for_combustion Combustion::Application.initialize! silence_stream(STDOUT) do load "#{Rails.root}/db/schema.rb" end RSpec.configure do |config| config.include(Capybara) if defined?(Capybara) config.include(Combustion::Application.routes.url_helpers) config.include(Combustion::Application.routes.mounted_helpers) end if defined?(RSpec) && RSpec.respond_to?(:configure) end end require 'combustion/application' require 'combustion/version'
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
combustion-0.3.0 | lib/combustion.rb |
combustion-0.2.0 | lib/combustion.rb |