CHANGELOG.md in lotus-utils-0.3.0 vs CHANGELOG.md in lotus-utils-0.3.1

- old
+ new

@@ -1,123 +1,97 @@ -## v0.3.0 -### Oct 23, 2014 +# Lotus::Utils +Ruby core extentions and class utilities for Lotus -4f7a8cf 2014-10-22 **Luca Guidi** Use 1/3 less objects when using Lotus::Utils::Kernel.Array +## v0.3.1 - 2014-11-23 +### Added +- [Luca Guidi] Allow `Utils::Class.load!` to accept any object that implements `#to_s` +- [Trung Lê] Allow `Utils::Class.load!` to accept a class +- [Luca Guidi] Introduced `Utils::Class.load_from_pattern!` +- [Luca Guidi] Introduced `Utils.jruby?` and `Utils.rubinius?` +- [Luca Guidi] Introduced `Utils::Deprecation` +- [Luca Guidi] Official support for Rubinius 2.3+ +- [Luca Guidi] Official support for JRuby 1.7+ (with 2.0 mode) +- [Janko Marohnić] Implemented `Utils::PathPrefix` relativness and absolutness +- [Luca Guidi] Made `Utils::PathPrefix` `#join` and `#relative_join` to return a new instance of that class +- [Luca Guidi] Implemented `Utils::Hash#deep_dup` +- [Luca Guidi] Made `Utils::PathPrefix#join` to accept multiple argument -a82437d 2014-10-20 **Luca Guidi** Improved error message for Utils::Class.load! +### Fixed +- [Luca Guidi] Made `Utils::PathPrefix#join` remove trailing occurrences for `@separator` from the output +- [Luca Guidi] Made `Utils::PathPrefix#relative_join` to correctly replace all the instances of `@separator` from the output -2a7134d 2014-10-17 **Tom Kadwill** Improved error NameError message by passing in the whole constant name +### Deprecated +- [Luca Guidi] Deprecated `Utils::Class.load!` with a pattern like `Articles(Controller|::Controller)`, use `Utils::Class.load_from_pattern!` instead -52c9fe2 2014-10-16 **Luca Guidi** Utils::Hash#to_h return instances of ::Hash in case of nested symbolized data structure +## v0.3.0 - 2014-10-23 +### Added +- [Celso Fernandes] Add BigDecimal coercion to Lotus::Utils::Kernel +- [Luca Guidi] Define `Boolean` constant, if missing +- [Luca Guidi] Use composition over inheritance for `Lotus::Utils::PathPrefix` +- [Luca Guidi] Use composition over inheritance for `Lotus::Utils::Hash` +- [Luca Guidi] Use composition over inheritance for `Lotus::Utils::String` -6b9ba7b 2014-09-23 **Luca Guidi** Raise TypeError if nil is passed for PathPrefix#relative_join +### Fixed +- [Luca Guidi] Improved error message for `Utils::Class.load!` +- [Tom Kadwill] Improved error `NameError` message by passing in the whole constant name to `Utils::Class.load!` +- [Luca Guidi] `Utils::Hash#to_h` return instances of `::Hash` in case of nested symbolized data structure +- [Luca Guidi] Raise `TypeError` if `nil` is passed to `PathPrefix#relative_join` +- [Peter Suschlik] Define `Lotus::Utils::Hash#respond_to_missing?` +- [Peter Suschlik] Define `Lotus::Utils::String#responds_to_missing?` +- [Luca Guidi] Ensure `Utils::Hash#inspect` output to be the same of `::Hash#inspect` -28d119f 2014-08-19 **Celso Fernandes** Add BigDecimal coercion to Lotus::Utils::Kernel +## v0.2.0 - 2014-06-23 +### Added +- [Luca Guidi] Implemented `Lotus::Utils::Kernel.Symbol` +- [Luca Guidi] Made `Kernel.Pathname` to raise an error when `nil` is passed as argument +- [Luca Guidi] Implemented `Lotus::Utils::LoadPaths#freeze` in order to prevent modification after the object has been frozen +- [Luca Guidi] Implemented Lotus::Utils::LoadPaths#push, also aliased as #<< +- [Luca Guidi] Use composition over inheritance for `Lotus::Utils::LoadPaths` +- [Luca Guidi] Introduced `Lotus::Utils::LoadPaths` +- [Luca Guidi] Introduced `Lotus::Utils::String#namespace`, in order to return the top level Ruby namespace for the given string +- [Luca Guidi] Implemented `Lotus::Utils::Kernel.Pathname` -a1b7213 2014-08-18 **Luca Guidi** Ensure PathPrefix#relative_join will raise a meaningful error +### Fixed +- [Luca Guidi] Implemented `Lotus::Utils::LoadPaths#initialize_copy` in order to safely `#dup` and `#clone` -139c4d5 2014-08-03 **Luca Guidi** Define Boolean, if missing :airplane: +### Changed +- [Luca Guidi] Implemented `Lotus::Utils::Callbacks::Chain#freeze` in order to prevent modification after the object has been frozen +- [Luca Guidi] All the `Utils::Kernel` methods will raise `TypeError` in case of failed coercion. +- [Luca Guidi] Made `Kernel.Time` to raise an error when `nil` is passed as argument +- [Luca Guidi] Made `Kernel.DateTime` to raise an error when `nil` is passed as argument +- [Luca Guidi] Made `Kernel.Date` to raise an error when `nil` is passed as argument +- [Luca Guidi] Made `Kernel.Boolean` to return false when `nil` is passed as argument +- [Luca Guidi] Made `Kernel.String` to return an empty string when `nil` is passed as argument +- [Luca Guidi] Made `Kernel.Float` to return `0.0` when `nil` is passed as argument +- [Luca Guidi] Made `Kernel.Integer` to return `0` when `nil` is passed as argument +- [Luca Guidi] Made `Kernel.Hash` to return an empty `Hash` when `nil` is passed as argument +- [Luca Guidi] Made `Kernel.Set` to return an empty `Set` when `nil` is passed as argument +- [Luca Guidi] Made `Kernel.Array` to return an empty `Array` when `nil` is passed as argument +- [Luca Guidi] Use composition over inheritance for `Lotus::Utils::Callbacks::Chain` -520c021 2014-07-29 **Peter Suschlik** Speedup Lotus::Utils::String#tokenize +## v0.1.1 - 2014-04-23 +### Added +- [Luca Guidi] Implemented `Lotus::Utils::Kernel.Time` +- [Luca Guidi] Implemented `Lotus::Utils::Kernel.DateTime` +- [Luca Guidi] Implemented `Lotus::Utils::Kernel.Date` +- [Luca Guidi] Implemented `Lotus::Utils::Kernel.Float` +- [Luca Guidi] Implemented `Lotus::Utils::Kernel.Boolean` +- [Luca Guidi] Implemented `Lotus::Utils::Kernel.Hash` +- [Luca Guidi] Implemented `Lotus::Utils::Kernel.Set` +- [Luca Guidi] Implemented `Lotus::Utils::Kernel.String` +- [Luca Guidi] Implemented `Lotus::Utils::Kernel.Integer` +- [Luca Guidi] Implemented `Lotus::Utils::Kernel.Array` -2380d62 2014-07-29 **Peter Suschlik** Define Lotus::Utils::Hash#respond_to_missing? +### Fixed +- [Christopher Keele] Add missing stdlib `Set` require to `Utils::ClassAttribute` -1c300af 2014-07-29 **Peter Suschlik** Define Lotus::Utils::String#responds_to_missing? - -46b39e3 2014-07-25 **Luca Guidi** Let Utils::Hash#inspect output to be the same of ::Hash#inspect - -5b3e790 2014-07-25 **Luca Guidi** Use composition over inheritance for Lotus::Utils::PathPrefix - -6333287 2014-07-09 **Luca Guidi** Specify ::Hash in Lotus::Utils::Kernel.Hash - -25e101e 2014-07-09 **Luca Guidi** Use composition over inheritance for Lotus::Utils::Hash - -dea7e6b 2014-07-07 **Luca Guidi** Lotus::Utils::String is now a wrapper around a string, instead of inheriting from String. - -## v0.2.0 -### Jun 23, 2014 - -a969fda 2014-06-12 **Luca Guidi** Implemented Lotus::Utils::Kernel.Symbol - -13532f5 2014-06-13 **Luca Guidi** [breaking] Implemented Lotus::Utils::Callbacks::Chain#freeze in order to prevent modification after the object has been frozen - -e438da8 2014-06-13 **Luca Guidi** [breaking] All the Utils::Kernel methods will raise TypeError in case of failed coercion. - -7fd90d1 2014-06-13 **Luca Guidi** Make Kernel.Pathname to raise an error when nil is passed as argument - -6437791 2014-06-13 **Luca Guidi** [breaking] Make Kernel.Time to raise an error when nil is passed as argument - -c7f428b 2014-06-13 **Luca Guidi** [breaking] Make Kernel.DateTime to raise an error when nil is passed as argument - -ab0dc0c 2014-06-13 **Luca Guidi** [breaking] Make Kernel.Date to raise an error when nil is passed as argument - -11d5c1c 2014-06-13 **Luca Guidi** [breaking] Make Kernel.Boolean to return false when nil is passed as argument - -c3bcaea 2014-06-13 **Luca Guidi** [breaking] Make Kernel.String to return an empty string when nil is passed as argument - -0bd3826 2014-06-13 **Luca Guidi** [breaking] Make Kernel.Float to return 0.0 when nil is passed as argument - -7ce8018 2014-06-13 **Luca Guidi** [breaking] Make Kernel.Integer to return 0 when nil is passed as argument - -0377326 2014-06-13 **Luca Guidi** [breaking] Make Kernel.Hash to return an empty hash when nil is passed as argument - -d3b0e2a 2014-06-13 **Luca Guidi** [breaking] Make Kernel.Set to return an empty set when nil is passed as argument - -cd2d1b8 2014-06-13 **Luca Guidi** [breaking] Make Kernel.Array to return an empty array when nil is passed as argument - -32c15d6 2014-06-09 **Luca Guidi** Implemented Lotus::Utils::LoadPaths#freeze in order to prevent modification after the object has been frozen - -2b8d8d5 2014-06-09 **Luca Guidi** Implemented Lotus::Utils::LoadPaths#initialize_copy in order to safely dup and clone - -9a91222 2014-06-09 **Luca Guidi** Implemented Lotus::Utils::LoadPaths#push, also aliased as #<< - -1d3d986 2014-06-08 **Luca Guidi** Use composition over inheritance for Lotus::Utils::LoadPaths - -82d0af3 2014-06-08 **Luca Guidi** [breaking] Use composition over inheritance for Lotus::Utils::Callbacks::Chain - -442175b 2014-06-04 **Luca Guidi** Introduced Lotus::Utils::LoadPaths - -2734a87 2014-05-28 **Luca Guidi** Introduced Lotus::Utils::String#namespace, in order to return the top level Ruby namespace for the given string - -a2a19e9 2014-05-10 **Luca Guidi** Support for Ruby 2.1.2 - -07146a1 2014-05-08 **Luca Guidi** Implemented Lotus::Utils::Kernel.Pathname - -## v0.1.1 -### Apr 23, 2014 - -c125e0c _2014-04-18_ **Luca Guidi** Implemented Lotus::Utils::Kernel.Time - -b366672 _2014-04-18_ **Luca Guidi** Implemented Lotus::Utils::Kernel.DateTime - -37a010f _2014-04-17_ **Luca Guidi** Implemented Lotus::Utils::Kernel.Date - -484ec9d _2014-04-17_ **Luca Guidi** Implemented Lotus::Utils::Kernel.Float - -69dd6eb _2014-04-16_ **Christopher Keele** Add missing stdlib Set require to ClassAttribute. - -82c0f54 _2014-04-12_ **Luca Guidi** Implemented Lotus::Utils::Kernel.Boolean - -48ba6fb _2014-04-11_ **Luca Guidi** Implemented Lotus::Utils::Kernel.Hash - -c10d561 _2014-04-11_ **Luca Guidi** Implemented Lotus::Utils::Kernel.Set - -5582e72 _2014-04-11_ **Karl Freeman** add Github contributing guidelines - -012f266 _2014-04-11_ **Luca Guidi** Implemented Lotus::Utils::Kernel.String - -e1a35e2 _2014-04-08_ **Luca Guidi** Implemented Lotus::Utils::Kernel.Integer - -152c856 _2014-04-08_ **Luca Guidi** Implemented Lotus::Utils::Kernel.Array - -## v0.1.0 -### Jan 23, 2014 - -1212e9d _2014-01-16_ **Luca Guidi** Introduced Lotus::Utils::String#demodulize - -f9badc2 _2014-01-16_ **Luca Guidi** Fix for ClassAttribute: ensure class attributes to be inherited even the subclass is defined into a different namespace - -c19d26b _2014-01-07_ **Luca Guidi** Introducing Lotus::Utils::IO - -0453716 _2013-08-08_ **Luca Guidi** Added Class loading mechanism - -272304b _2013-08-07_ **Luca Guidi** Initial mess +## v0.1.0 - 2014-01-23 +### Added +- [Luca Guidi] Introduced `Lotus::Utils::String#demodulize` +- [Luca Guidi] Introduced `Lotus::Utils::IO.silence_warnings` +- [Luca Guidi] Introduced class loading mechanism from a string: `Utils::Class.load!` +- [Luca Guidi] Introduced callbacks support for classes +- [Luca Guidi] Introduced inheritable class level attributes +- [Luca Guidi] Introduced `Utils::Hash` +- [Luca Guidi] Introduced `Utils::String` +- [Luca Guidi] Introduced `Utils::PathPrefix` +- [Luca Guidi] Official support for MRI 2.0+