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 and check:heroku task now have a --quiet option

      This 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