hanami 0,0,0,1,0,4,4,2 travis-ci ruby Rubygems

The web, with simplicity.

Gem Version Build Status Coverage Code Climate Dependencies Inline docs

Hanami :cherry_blossom:

The web, with simplicity.

Frameworks

Hanami is a full-stack Ruby web framework. It’s made up of smaller, single-purpose libraries.

This repository is for the full-stack framework, which provides the glue that ties all the parts together:

These components are designed to be used independently or together in a Hanami application.

Installation

Hanami supports Ruby (MRI) 2.3+

gem install hanami

Usage

hanami new bookshelf
cd bookshelf && bundle
bundle exec hanami server # visit http://localhost:2300

Please follow along with the Getting Started guide.

Donations

You can give back to Open Source, by supporting Hanami development via a donation. :green_heart:

Supporters

Contact

Community

We strive for an inclusive and helpful community. We have a Code of Conduct to handle controversial cases. In general, we expect you to be nice with other people. Our hope is for a great software and a great Community.

Contributing

  1. Fork it ( https://github.com/hanami/hanami/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

How To Use Hanami HEAD

If you want to test Hanami’s HEAD to try a new feature or to test a bug fix, here’s how to do:

git clone https://github.com/hanami/hanami.git
cd hanami && bundle
bundle exec hanami new --hanami-head=true bookshelf
cd bookshelf
vim Gemfile # edit with: gem 'hanami', path: '..'
bundle

Development Requirements

  • Ruby 2.3+ / JRuby 9.1.5.0+
  • Bundler
  • PhantomJS
  • Node.js (MacOS)

Testing

In order to simulate installed gems on developers’ computers, the build installs all the gems locally in vendor/cache, including hanami code from lib/.

Before running a test, please make sure you have a fresh version of the code:

./script/setup
bundle exec rspec spec/path/to/file_spec.rb

To run all the tests, please use:

./script/ci

Versioning

Hanami uses Semantic Versioning 2.0.0

Copyright

Released under MIT License.

This project was formerly known as Lotus (lotusrb).

Copyright © 2014-2017 Luca Guidi.

Related Repositories

hanami

hanami

The web, with simplicity. ...

controller

controller

Complete, fast and testable actions for Rack and Hanami ...

utils

utils

Ruby core extentions and class utilities for Hanami ...

awesome-hanami

awesome-hanami

A collection of awesome Hanami Gems and projects ...

hanami.github.io

hanami.github.io

Hanami website ...


Top Contributors

jodosha joneslee85 davydovanton cllns AlfonsoUceda Linuus lengarvey Erol mvader brennovich gotjosh t4deu rosafaria jeremyf aderyabin hieuk09 tomkadwill duykhoa oreoshake jasoncharnes nguyenngoc2505 stevehook mengqing lucasallan davidcelis jbodah rpanachi michaeldeol benlovell pascalbetz

Releases

-   v0.8.0 zip tar
-   v0.7.3 zip tar
-   v0.7.2 zip tar
-   v0.7.1 zip tar
-   v0.7.0 zip tar
-   v0.6.1 zip tar
-   v0.6.0 zip tar
-   v0.5.0 zip tar
-   v0.4.1 zip tar
-   v0.4.0 zip tar
-   v0.3.2 zip tar
-   v0.3.1 zip tar
-   v0.3.0 zip tar
-   v0.2.1 zip tar
-   v0.2.0 zip tar
-   v0.1.0 zip tar