Ruby core extensions and class utilities for Hanami
- Home page: http://hanamirb.org
- Mailing List: http://hanamirb.org/mailing-list
- API Doc: http://rdoc.info/gems/hanami-utils
- Bugs/Issues: https://github.com/hanami/utils/issues
- Support: http://stackoverflow.com/questions/tagged/hanami
- Chat: http://chat.hanamirb.org
Hanami::Utils supports Ruby (MRI) 2.3+, JRuby 9.1.5.0+
Add this line to your application's Gemfile:
gem 'hanami-utils'
And then execute:
$ bundle
Or install it yourself as:
$ gem install hanami-utils
Hanami::Utils is designed to enhance Ruby's code and stdlib. By default this gem doesn't load any code, you must require what you need.
Standardized Service Object with small interface and rich returning result. [API doc]
Enhanced version of Ruby's Logger
. [API doc]
Enhanced version of Ruby's BasicObject
. [API doc]
Checks for blank. [API doc]
Callbacks to decorate methods with before
and after
logic. It supports polymorphic callbacks (methods and procs). [API doc]
Load classes from strings. It also supports namespaces. [API doc]
Inheritable class attributes. [API doc]
Deprecate Hanami features. [API doc]
Safe #dup
logic for Ruby objects. [API doc]
Safe and fast escape for URLs, HTML content and attributes. Based on OWASP/ESAPI code. [API doc]
Recursive, cross-platform ordered list of files. [API doc]
File utilities to manipulate files and directories. [API doc]
Enhanced version of Ruby's Hash
. [API doc]
Silence Ruby warnings. [API doc]
Complete and customizable english inflections (pluralization and singularization). [API doc]
JSON engine with swappable backends (via optional multi_json
gem) or powered by Ruby's json
(default). [API doc]
Type coercions for most common Ruby types. [API doc]
Manage directories where to find Ruby source code or web static assets. [API doc]
Safe logic to manage relative URLs. [API doc]
Enhanced version of Ruby's String
. [API doc]
Hanami::Utils uses Semantic Versioning 2.0.0
- Fork it ( https://github.com/hanami/utils/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Copyright © 2014-2017 Luca Guidi – Released under MIT License
This project was formerly known as Lotus (lotus-utils
).