Hanami::Utils v0.3.1 Release Notes

Release Date: 2014-11-23 // over 9 years ago
  • βž• 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