Sha256: 2340610f73757a38f0131c4e9ca6486f8bd72660a330ad3a8014b7717d3eaab2

Contents?: true

Size: 556 Bytes

Versions: 27

Compression:

Stored size: 556 Bytes

Contents

module Wovnrb

  class Railtie < Rails::Railtie
    initializer 'wovnrb.configure_rails_initialization' do |app|
      app.middleware.insert_before(0, Wovnrb::Interceptor)
      #begin
      #  app.middleware.insert_before(Rack::Runtime, Wovnrb::Interceptor)
      #rescue
      #  app.middleware.insert_before(0, Wovnrb::Interceptor)
      #end

      #if Rails.env.development? && config.respond_to?(:wovnrb)
      #  config.after_initialize do
      #    config.wovnrb[:project_token] = User.first.short_token
      #  end
      #end
    end
  end

end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
wovnrb-1.1.0 lib/wovnrb/railtie.rb
wovnrb-1.0.13 lib/wovnrb/railtie.rb
wovnrb-1.0.12 lib/wovnrb/railtie.rb
wovnrb-1.0.11 lib/wovnrb/railtie.rb
wovnrb-1.0.10 lib/wovnrb/railtie.rb
wovnrb-1.0.9 lib/wovnrb/railtie.rb
wovnrb-1.0.8 lib/wovnrb/railtie.rb
wovnrb-1.0.7 lib/wovnrb/railtie.rb
wovnrb-1.0.6 lib/wovnrb/railtie.rb
wovnrb-1.0.5 lib/wovnrb/railtie.rb
wovnrb-1.0.4 lib/wovnrb/railtie.rb
wovnrb-1.0.2 lib/wovnrb/railtie.rb
wovnrb-1.0.1 lib/wovnrb/railtie.rb
wovnrb-1.0.0 lib/wovnrb/railtie.rb
wovnrb-0.2.30 lib/wovnrb/railtie.rb
wovnrb-0.2.29 lib/wovnrb/railtie.rb
wovnrb-0.2.28 lib/wovnrb/railtie.rb
wovnrb-0.2.27 lib/wovnrb/railtie.rb
wovnrb-0.2.26 lib/wovnrb/railtie.rb
wovnrb-0.2.25 lib/wovnrb/railtie.rb