Sha256: 98bed174a4806866a0fe439e5f462d3aed7995e66117c665005670fca7062c64

Contents?: true

Size: 219 Bytes

Versions: 2

Compression:

Stored size: 219 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.rb"
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
figaro-0.4.0 lib/figaro/railtie.rb
figaro-0.3.0 lib/figaro/railtie.rb