Sha256: 232eaef1cb9453f819f1e90b1737455b7fcae215ed1b683027a1d474d89d5fc3
Contents?: true
Size: 559 Bytes
Versions: 16
Compression:
Stored size: 559 Bytes
Contents
require "rails" require "active_support/ordered_hash" module NightcrawlerSwift class Railtie < Rails::Railtie railtie_name :nightcrawler_swift config.nightcrawler_swift = ActiveSupport::OrderedOptions.new rake_tasks do load "nightcrawler_swift/tasks/asset_sync.rake" end initializer "nightcrawler_swift.configure" do |app| settings = app.config.nightcrawler_swift logger = settings.delete(:logger) || Rails.logger NightcrawlerSwift.configure settings NightcrawlerSwift.logger = logger end end end
Version data entries
16 entries across 16 versions & 1 rubygems