Skip to content

Latest commit

 

History

History
36 lines (28 loc) · 1.18 KB

CHANGELOG.md

File metadata and controls

36 lines (28 loc) · 1.18 KB

3.3.1 (Sep 9, 2012)

Bugfixes

  • Configuration: same key can appear more than once.
  • __FILE__ works in Optimism.require(file)

3.3.0 (Aug 29, 2012)

Improvements

  • Add yaml, json support. (@GutenYe)
  • You can write extensions to parser. (@GutenYe)
  • Remove hike dependency for less dependency. (@Gutenye)

Changes

  • Change path. _ is current path, _r is root path.
  • Rename Optimism::MissingFile to EMissingFile
  • Remove Optimism.get .convert .[] Optimsim#_get _child _replace _walk!
  • Add Optimism.require!, Optimism#_has_key2?
  • Optimism#initialize
    • Add (hash/optimism, o) argument.
    • Rename :only_symbol_key option to :symbolize_key
    • Add :parser option
    • :namespace option without move the node.
  • Optimism.require
    • Support yaml file (.yml)
    • Rename :mixin option to :merge
    • Remove :ignore_syntax_error, :raise_missing_file option
  • Optimism#_walk return nil instead of raising error
  • Optimism#_store2 remove :namespace option