Sha256: 7d4b1e75ae8c1148759f66f6e52e1df7467cf7540fc11b2a9512ba74363b6f43

Contents?: true

Size: 531 Bytes

Versions: 25

Compression:

Stored size: 531 Bytes

Contents

require 'netzke/core'

module Netzke
  autoload :Plugin, 'netzke/plugin'
  autoload :Base, 'netzke/base'
end

# Rails specific
if defined? ::Rails
  require 'netzke/core/railz'

  ActiveSupport.on_load(:action_controller) do
    include Netzke::Railz::ControllerExtensions
  end

  ActiveSupport.on_load(:action_view) do
    include Netzke::Railz::ActionViewExt
  end

  ActiveSupport.on_load(:after_initialize) do
    Netzke::Base.logger = Rails.logger
  end
else
  require 'logger'
  Netzke::Base.logger = Logger.new(STDOUT)
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
netzke-core-6.5.0.0 lib/netzke-core.rb
netzke-core-6.5.0.0.rc2 lib/netzke-core.rb
netzke-core-6.5.0.0.rc1 lib/netzke-core.rb
netzke-core-1.0.1.0 lib/netzke-core.rb
netzke-core-1.0.0.0 lib/netzke-core.rb
netzke-core-1.0.0.0.pre4 lib/netzke-core.rb
netzke-core-1.0.0.0.pre3 lib/netzke-core.rb
netzke-core-1.0.0.0.pre2 lib/netzke-core.rb
netzke-core-1.0.0.0.pre lib/netzke-core.rb
netzke-core-0.12.3 lib/netzke-core.rb
netzke-core-0.12.2 lib/netzke-core.rb
netzke-core-0.12.1 lib/netzke-core.rb
netzke-core-0.12.0 lib/netzke-core.rb
netzke-core-0.12.0.rc1 lib/netzke-core.rb
netzke-core-0.12.0.beta lib/netzke-core.rb
netzke-core-0.11.0 lib/netzke-core.rb
netzke-core-0.10.1 lib/netzke-core.rb
netzke-core-0.10.0 lib/netzke-core.rb
netzke-core-0.9.0 lib/netzke-core.rb
netzke-core-0.10.0.rc2 lib/netzke-core.rb