All Versions
57
Latest Version
Avg Release Cycle
65 days
Latest Release
420 days ago

Changelog History
Page 6

  • v0.3.3 Changes

    January 08, 2015

    πŸ›  Fixed

    • [Luca Guidi] Ensure to return the right offending object if a missing method is called with Utils::String and Hash (eg. Utils::Hash.new(a: 1).all? {|_, v| v.foo } blame v instead of Hash)
    • [Luca Guidi] Raise an error if try to coerce non numeric strings into Integer, Float & BigDecimal (eg. Utils::Kernel.Integer("hello") # => raise TypeError)
  • v0.3.2 Changes

    December 23, 2014

    βž• Added

    • πŸ’Ž [Luca Guidi] Official support for Ruby 2.2
    • [Luca Guidi] Introduced Utils::Attributes
    • [Luca Guidi] Added Utils::Hash#stringify!
  • v0.3.1 Changes

    November 23, 2014

    βž• 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

    πŸ›  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

    πŸ—„ Deprecated

    • [Luca Guidi] Deprecated Utils::Class.load! with a pattern like Articles(Controller|::Controller), use Utils::Class.load_from_pattern! instead
  • v0.3.0 Changes

    October 23, 2014

    βž• 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

    πŸ›  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
  • v0.2.0 Changes

    June 23, 2014

    βž• 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

    πŸ›  Fixed

    • πŸ‘― [Luca Guidi] Implemented Lotus::Utils::LoadPaths#initialize_copy in order to safely #dup and #clone

    πŸ”„ 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
  • v0.1.1 Changes

    April 23, 2014

    βž• 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

    πŸ›  Fixed

    • [Christopher Keele] Add missing stdlib Set require to Utils::ClassAttribute
  • v0.1.0 Changes

    January 23, 2014

    βž• 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+