Changelog History
Page 3
-
v1.0.2 Changes
October 14, 2014๐ Define
#load
onDotenv::Railtie
, which can be called to manually loaddotenv
before Rails has initialized.โ add
dotenv/rails-now
, which can be required in theGemfile
to immediately load dotenv.gem 'dotenv-rails', require: 'dotenv/rails-now' gem 'gem-that-requires-env-variables'
-
v1.0.1 Changes
October 04, 2014- ๐ Fix load error with Spring when running
rails server
(#140)
- ๐ Fix load error with Spring when running
-
v1.0.0 Changes
October 03, 2014๐ dotenv-rails is now loaded during the
before_configuration
callback, which is fired when theApplication
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)
-
v0.11.1 Changes
April 22, 2014- ๐ Depend on dotenv-deployment ~>0.0.2, which fixes issues with 0.0.1
-
v0.11.0 Changes
April 21, 2014- ๐ Extract dotenv-deployment gem. https://github.com/bkeepers/dotenv-deployment
-
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.
-
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
-
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
-
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
-
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"