Sha256: 404a313634b3288507d27e1cce627c853e35b424fc3ed668f58e6c4218fea53c

Contents?: true

Size: 1.72 KB

Versions: 1

Compression:

Stored size: 1.72 KB

Contents

# 0.7.0 / 2014-08-24

* Add init:rails-task for setup in Rails applications.

# 0.6.3 / 2014-08-22

* Fix bug: 'false' was not a coercible value.

# 0.6.2 / 2014-08-20

* Add `envied check:heroku` to do a check on your Heroku app.

* Add `envied check:heroku:binstub` to generate script for convenient 'check:heroku'

# 0.6.1 / 2014-08-13

* Add `envied check` to check whether defined variables are present and valid.

# 0.6.0 / 2014-08-13

* The configuration now lives in `Envfile` by default.

# 0.5.0 / 2014-07-02

* add Array Hash types

  ```ruby
  # 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'}
  ```

# 0.4.0 / 2014-05-16

* groups added

  This allows for more fine-grained requiring.  
  See the section in the [README](https://github.com/eval/envied/tree/v0.4.0#groups).

* configuring is now simpler:

  ```ruby
  ENVied.configure { variable :RACK_ENV }
  # vs
  ENVied.configure {|env| env.variable :RACK_ENV }
  ```

* Deprecate `require!`. Use `require` instead.

  Just like requiring groups with Bundler.

* Deprecate lowercase methods for uppercase ENV-variables.

  `ENV['RACK_ENV']` is no longer accessible as `ENVied.rack_env`, only as `ENVied.RACK_ENV`.  
  This is not only what you would expect, but it also reduces the chance of clashing with existing class-methods.

# 0.3.0 / 2014-03-14

* defaults need to be enabled explicitly:

  `ENVied.configure(enable_defaults: Rails.env.development?) { ... }`

# 0.2.0 / 2014-03-14

* add defaults

# 0.1.0 / 2014-03-13

* add defaults

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
envied-0.7.0 CHANGELOG.md