All Versions
33
Latest Version
Avg Release Cycle
99 days
Latest Release
720 days ago

Changelog History
Page 3

  • v1.0.2 Changes

    October 14, 2014
    • ๐Ÿš… Define #load on Dotenv::Railtie, which can be called to manually load dotenv before Rails has initialized.

    • โž• add dotenv/rails-now, which can be required in the Gemfile to immediately load dotenv.

      gem 'dotenv-rails', require: 'dotenv/rails-now'
      gem 'gem-that-requires-env-variables'
      

    Full Changelog

  • v1.0.1 Changes

    October 04, 2014
    • ๐Ÿ›  Fix load error with Spring when running rails server (#140)

    Full Changelog

  • v1.0.0 Changes

    October 03, 2014
    • ๐Ÿš… dotenv-rails is now loaded during the before_configuration callback, which is fired when the Application constant is defined (class Application < Rails::Application).

    • โœ‚ Remove deprecated features. Upgrade to 0.11.0 and fix deprecation warnings before upgrading to 1.0.0.

    • ๐Ÿš… Watch .env for changes with Spring in Rails 4 (#118)

    • ๐Ÿ›  Fix deprecation warnings for File.exists? (#121)

    • ๐Ÿš… Use Rails.root to find .env (#122)

    • Avoid substitutions inside single quotes (#124)

    Full Changelog

  • v0.11.1 Changes

    April 22, 2014
    • ๐Ÿš€ Depend on dotenv-deployment ~>0.0.2, which fixes issues with 0.0.1

    Full Changelog

  • v0.11.0 Changes

    April 21, 2014

    Full Changelog

  • v0.10.0 Changes

    February 22, 2014
    • โž• Add support for executing interpolated commands. (Ruby >= 1.9 only)

      HEAD_SHA=$(git rev-parse HEAD)
      
    • โž• Add dotenv_role option in Capistrano.

      set :dotenv_role, [:app, web]
      
    • โž• Add Dotenv.overload to overwrite existing environment values.

    Full Changelog

  • v0.9.0 Changes

    August 29, 2013
    • โž• Add support for variable expansion.

      HOST="example.com"
      URL="http://${USER}@${HOST}"
      ESCAPED_VARIABLE="this is \$NOT replaced"
      
    • ๐Ÿ‘ Allow setting variables without a value.

      BLANK=
      
    • โž• Add dotenv executable to load .env for other scripts.

      $ dotenv ./script.py
      

    Full Changelog

  • v0.8.0 Changes

    June 12, 2013
    • โž• Added a capistrano recipe to symlink in .env on deploy.

    • ๐Ÿ‘ Allow inline comments

      VARIABLE=value # this is a comment
      
    • ๐Ÿ“œ Raises Dotenv::FormatError when parsing fails

    Full Changelog

  • v0.7.0 Changes

    April 15, 2013
    • โœ‚ Remove deprectated autoloading. Upgrade to 0.6 first and fix any warnings.

    • โž• Add Dotenv.load! which raises Errno::ENOENT if the file does not exist

    Full Changelog

  • v0.6.0 Changes

    March 22, 2013
    • โž• Add dotenv-rails gem for autoloading in a Rails app

    • ๐Ÿ—„ Deprecated autoloading with plain dotenv gem

    • ๐Ÿ‘Œ Support for double quotes

      A="some value"
      B="with \"escaped\" quotes"
      C="and newline\n expansion"
      
    • ๐Ÿ‘Œ Support for pow-style variables prefixed with export

      export VARIABLE="some value"
      

    Full Changelog