Sha256: 38ef7d4ff9d28a95187195b113df52afa019b1d762971633394d29fc45857767

Contents?: true

Size: 425 Bytes

Versions: 13

Compression:

Stored size: 425 Bytes

Contents

# frozen_string_literal: true

require 'socket'

module  Chamber
module  Integrations
class   Rails < ::Rails::Railtie
  initializer 'chamber.load', before: :load_environment_config do
    Chamber.load(basepath:   ::Rails.root.join('config'),
                 namespaces: {
                   environment: -> { ::Rails.env },
                   hostname:    -> { ::Socket.gethostname },
                 })
  end
end
end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
chamber-3.1.1 lib/chamber/integrations/rails.rb
chamber-3.1.0 lib/chamber/integrations/rails.rb
chamber-3.0.1 lib/chamber/integrations/rails.rb
chamber-3.0.0 lib/chamber/integrations/rails.rb
chamber-3.0.0rc2 lib/chamber/integrations/rails.rb
chamber-2.14.3 lib/chamber/integrations/rails.rb
chamber-3.0.0rc1 lib/chamber/integrations/rails.rb
chamber-2.14.2 lib/chamber/integrations/rails.rb
chamber-2.14.1 lib/chamber/integrations/rails.rb
chamber-2.14.0 lib/chamber/integrations/rails.rb
chamber-2.13.1 lib/chamber/integrations/rails.rb
chamber-2.13.0 lib/chamber/integrations/rails.rb
chamber-2.12.5 lib/chamber/integrations/rails.rb