Ruby Facets v1.6.0 Release Notes
Release Date: 2006-07-20 // almost 18 years ago-
๐ Changes:
โ Additions
- Add
PrivateAccess
expiremental class. - Add
Hash#reverse_merge
(from ActiveSupport). - Add core methods
Enumerable#divide
, array and hash op_div, kernel/meta. - Add Jan Molic's Debugger(Logger) to explore.
- Add
Symbol::generate
. - Created subclass
AutoDictionary
, now used byDictionary.auto
. - Add new implementation of
OpenObject
in Facets/EXPLORE. - Add
deep_clone
(thanks Jan Molic). - Add
Hash.auto
(thanks Jan Molic). - Add
annotation
andinstance_intercept
to Facets/EXPLORE. - Add
Kernel#to_data
. - Add Daniel Berger's
Hash#to_stuct
. - Improve
Proc#to_method
andKernel#instance_exec
. - Add
instance_exec
(duh). - Add
object_clone
andobject_dup
. These object_ methods are intended as non-overridable (although you can if you must). - Add facets/explore libs.
- Add settings.rb from glue.
- Add
๐ Renamed Features
- Retained
::alpha
but changed::auto_key
to::auto_alpha
. - Rename Hash methods
keys_to_s
andkeys_to_sym
tostringify_keys
andsymbolize_keys
. Both now depend onnormalize_keys
.
- Retained
๐ Deprecations
- Deprecate BasicObject (bad implementation).
- Remove BlankSlate alias to BasicObject.
- Remove generate_method_name methods
- Remove kernel/generate_method_name, not thread safe.
- Remove moodule/generate_instance_method_name, not thread safe.
- Deprecate generate_method_name and generate_instance_method_name.
- Deprecate
::key_new
and:value_new
, use ::new.by_key and ::new.by_value instead.
๐ Bug Fixes
- Fix to nilclass#status (accept single parameter).
- Adjustments to stringify_keys, record normalize_keys.
- Minor bug fix to
alias_method_chain
.
Other Enhancments
- Updated Dictionary class.
- Work on OpenCascade, and
Hash#having_fallback
features. - Minor update to tagiterator.rb.
- OpenObject uses
self[]
instead of@table[]
. - Rewrote openobject as a subclass of Hash with a method filter.
- Rewrote annotation.rb and moved into more/.
- Move ValueHolder in snapshot.rb to Snapshot::ValueHolder.
Admin Changes
- Add meta docs to darcs.
- Add _darcs expection to FileList.
- Fix compatiblity with Reap.