ENVied v0.8.0 Release Notes
Release Date: 2014-10-04 // over 9 years ago-
โ 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