All Versions
Latest Version
Avg Release Cycle
85 days
Latest Release
427 days ago

Changelog History
Page 2

  • v0.8.1

    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-task

    • running check:heroku takes Heroku's value of ENVIED_GROUPS into account

    • calling enable_defaults! without arguments now does what it says

    ๐Ÿ—„ Deprecated

    • doing ENVied.require in config/initializers/envied.rb (as previously generated by init:rails-task) is not recommended anymore. It triggers a deprecation warning.

      It's recommended to rerun the init:rails-task.

  • v0.8.0

    October 04, 2014

    โž• 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!'
    • 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
  • v0.7.2

    September 07, 2014

    โž• Added

    • extract-task: see all ENV-variables used in your project.

      $ envied extract
      Found 63 occurrences of 45 variables:
      * config/boot.rb:4
      * config/boot.rb:6
    • version-task (i.e. bin/envied --version)

  • v0.7.1

    August 29, 2014
    • Total refactor (TM).

    • Fix bug in Heroku binstub.

      It checked for group 'default,production' instead of 'default' and 'production'.

  • v0.7.0

    August 24, 2014
    • Add init:rails-task for setup in Rails applications.
  • v0.6.3

    August 22, 2014
    • Fix bug: 'false' was not a coercible value.
  • v0.6.2

    August 20, 2014
    • Add 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

    August 13, 2014
    • Add envied check to check whether defined variables are present and valid.
  • v0.6.0

    August 13, 2014
    • The configuration now lives in Envfile by default.
  • v0.5.0

    July 02, 2014
    • add Array Hash types

      # in env.rb
      ENVied.configure { variable :TAGS, :Array; variable :HASH, :Hash }
      $ 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'}