Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
This is a gemified version of Marc Harter's humane-js library.
Ruby JavaScript CSS

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app
lib
spec
vendor/assets/components/humane-js
.bowerrc
.gitignore Rewrite to use Bower and include tests
Gemfile
README.md
Rakefile
bower.json
config.ru
humane-rails.gemspec

README.md

 _                                                      _ _ 
| |__  _   _ _ __ ___   __ _ _ __   ___       _ __ __ _(_) |___ 
| '_ \| | | | '_ ` _ \ / _` | '_ \ / _ \_____| '__/ _` | | / __|
| | | | |_| | | | | | | (_| | | | |  __/_____| | | (_| | | \__ \
|_| |_|\__,_|_| |_| |_|\__,_|_| |_|\___|     |_|  \__,_|_|_|___/

This is a gemified version of Marc Harter's humane-js library. See http://wavded.github.com/humane-js for more details.

Build Status Code Climate

Instructions

Add the following to your Gemfile:

gem "humane-rails"

the following directive to the top of your application.js:

//= require humane-rails

and one of the following directives to the top of your application.css:

*= require humane-rails/original
*= require humane-rails/libnotify
*= require humane-rails/bigbox
*= require humane-rails/boldlight
*= require humane-rails/jackedup
*= require humane-rails/flatty

Don't forget to run bundle update after updating to the latest version of the gem to ensure that it is used by your Rails application.

The gem also provides a helper for displaying flash messages:

<%=raw humane_flash_messages %>

License

humane-js is licensed under the MIT license: http://github.com/wavded/humane-js

Something went wrong with that request. Please try again.