Changelog History
Page 2
-
v0.8.1 Changes
October 18, 2014โ Added
- the
check
task uses ENV['ENVIED_GROUPS'] as default groups-option if present
๐ Fixed
Rails: you can use ENVied now in config/application.rb and config/environments/*.rb
For existing projects: rerun the
init:rails
-taskrunning
check:heroku
takes Heroku's value of ENVIED_GROUPS into accountcalling
enable_defaults!
without arguments now does what it says
๐ Deprecated
doing
ENVied.require
inconfig/initializers/envied.rb
(as previously generated byinit:rails
-task) is not recommended anymore. It triggers a deprecation warning.It's recommended to rerun the
init:rails
-task.
- the
-
v0.8.0 Changes
October 04, 2014โ Added
- the
check:heroku:binstub
task uses ENV['HEROKU_APP'] as app-option if present the
check
andcheck:heroku
task now have a--quiet
optionThis prevents output on STDOUT for a successful check. Handy for wrapper-scripts:
# some bash-script 'ensure-env' #!/usr/bin/env bash bundle exec envied check --quiet --groups default && $@ $ ./ensure-env echo 'works!' works!
ENVied.require accepts string with groups, e.g. 'default,production'
This way it's possible to easily require groups using the ENV:
# config/initializers/envied.rb ENVied.require(*ENV['ENVIED_GROUPS'] || Rails.groups) $ ENVIED_GROUPS='default,production' bin/rails server
๐ Fixed
- extract-task would report at most one variable per line of code.
- extract-task would not extract variable names with digits
๐ Deprecated
- titlecase variable types. Use downcased instead:
variable :PORT, :integer
โ Removed
extract: test/spec-folder are no longer part of the default globs.
Use the option
--tests
to include it:$ bundle exec envied extract --tests
- the
-
v0.7.2 Changes
September 07, 2014โ Added
extract-task: see all ENV-variables used in your project.
$ envied extract Found 63 occurrences of 45 variables: BUNDLE_GEMFILE * config/boot.rb:4 * config/boot.rb:6 ...
version-task (i.e. bin/envied --version)
-
v0.7.1 Changes
August 29, 2014Total refactor (TM).
Fix bug in Heroku binstub.
It checked for group 'default,production' instead of 'default' and 'production'.
-
v0.7.0 Changes
August 24, 2014- Add init:rails-task for setup in Rails applications.
-
v0.6.3 Changes
August 22, 2014- Fix bug: 'false' was not a coercible value.
-
v0.6.2 Changes
August 20, 2014Add
envied check:heroku
to do a check on your Heroku app.Add
envied check:heroku:binstub
to generate script for convenient 'check:heroku'
-
v0.6.1 Changes
August 13, 2014- Add
envied check
to check whether defined variables are present and valid.
- Add
-
v0.6.0 Changes
August 13, 2014- The configuration now lives in
Envfile
by default.
- The configuration now lives in
-
v0.5.0 Changes
July 02, 2014add Array Hash types
# in env.rb ENVied.configure { variable :TAGS, :Array; variable :HASH, :Hash } ENVied.require $ HASH=a=1&b=2 TAGS=tag1,tag2 ruby -renvied -r./env.rb -e 'p ENVied.TAGS' # ["tag1", "tag2"] $ HASH='a=1&b=2' TAGS=tag1,tag2 ruby -renvied -r./env.rb -e 'p ENVied.HASH' # {'a' => '1', 'b' => '2'}