Sha256: 9949093e1860e32d3cac2f5fe8f0b901dc21c97bbdd6421f582dd6e22148c4e3

Contents?: true

Size: 256 Bytes

Versions: 11

Compression:

Stored size: 256 Bytes

Contents

module Typus

  module Reloader

    # Reload config and roles when app is running in development.
    def reload_config_et_roles
      return if Rails.env.production?
      Typus::Configuration.roles!
      Typus::Configuration.config!
    end

  end

end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
typus-0.9.39 lib/typus/reloader.rb
typus-0.9.38 lib/typus/reloader.rb
typus-0.9.37 lib/typus/reloader.rb
typus-0.9.36 lib/typus/reloader.rb
typus-0.9.35 lib/typus/reloader.rb
typus-0.9.34 lib/typus/reloader.rb
typus-0.9.33 lib/typus/reloader.rb
typus-0.9.32 lib/typus/reloader.rb
typus-0.9.31 lib/typus/reloader.rb
typus-0.9.30 lib/typus/reloader.rb
typus-0.9.29 lib/typus/reloader.rb