Sha256: 04b9634851c757650ca20220bd14ef37ead2689808da6825cd8ac39c81f1cb55

Contents?: true

Size: 221 Bytes

Versions: 11

Compression:

Stored size: 221 Bytes

Contents

require "rails"
require "yaml"

module Figaro
  class Railtie < ::Rails::Railtie
    config.before_configuration do
      ENV.update(Figaro.env)
    end

    rake_tasks do
      load "figaro/tasks.rake"
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
figaro-0.6.4 lib/figaro/railtie.rb
figaro-0.6.3 lib/figaro/railtie.rb
figaro-0.6.2 lib/figaro/railtie.rb
figaro-0.6.1 lib/figaro/railtie.rb
figaro-0.6.0 lib/figaro/railtie.rb
figaro-0.5.4 lib/figaro/railtie.rb
figaro-0.5.3 lib/figaro/railtie.rb
figaro-0.5.2 lib/figaro/railtie.rb
figaro-0.5.1 lib/figaro/railtie.rb
figaro-0.5.0 lib/figaro/railtie.rb
figaro-0.4.1 lib/figaro/railtie.rb