Sha256: 1fce8f53c9f931bfe8b2a61cb22dd0cee4f4d1453d3747e258d185bdd8ff18be

Contents?: true

Size: 372 Bytes

Versions: 11

Compression:

Stored size: 372 Bytes

Contents

class Verdict::Railtie < Rails::Railtie
  initializer "experiments.configure_rails_initialization" do |app|
    Verdict.default_logger = Rails.logger
    Verdict.directory = Rails.root.join('app', 'experiments')

    app.config.eager_load_paths -= [Verdict.directory.to_s]
  end

  rake_tasks do
    load File.expand_path("./tasks.rake", File.dirname(__FILE__))
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
verdict-0.6.0 lib/verdict/railtie.rb
verdict-0.5.0 lib/verdict/railtie.rb
verdict-0.4.1 lib/verdict/railtie.rb
verdict-0.4.0 lib/verdict/railtie.rb
verdict-0.3.2 lib/verdict/railtie.rb
verdict-0.3.1 lib/verdict/railtie.rb
verdict-0.3.0 lib/verdict/railtie.rb
verdict-0.2.1 lib/verdict/railtie.rb
verdict-0.2.0 lib/verdict/railtie.rb
verdict-0.1.1 lib/verdict/railtie.rb
verdict-0.1.0 lib/verdict/railtie.rb