Sha256: 8c1ef07965da61c8d5c1e35973e34351eace07d8d203da08dc7dc0ab4ca965e5
Contents?: true
Size: 318 Bytes
Versions: 5
Compression:
Stored size: 318 Bytes
Contents
require 'rails' module Npmdc class Railtie < Rails::Railtie config.npmdc = ActiveSupport::OrderedOptions.new initializer 'npmdc' do |app| options = { path: app.config.npmdc[:path] || Rails.root, verbose: app.config.npmdc[:verbose] } Npmdc.call(options) end end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
npmdc-0.2.2 | lib/npmdc/railtie.rb |
npmdc-0.2.1 | lib/npmdc/railtie.rb |
npmdc-0.2.0 | lib/npmdc/railtie.rb |
npmdc-0.1.2 | lib/npmdc/railtie.rb |
npmdc-0.1.1 | lib/npmdc/railtie.rb |