Sha256: 44b16ff13020b1e0013858b7d465cf774d162d4c7107194a0bf295a2dea1ae3c

Contents?: true

Size: 1.55 KB

Versions: 5

Compression:

Stored size: 1.55 KB

Contents

# Gumby Framework - RoR gem

[Gumby Framework](http://gumbyframework.com/) gem for Rails asset pipeline. Based on Gumby Framework 2.

## Installation

Add this line to your application's Gemfile:

    gem "gumby"

And then execute:

    $ bundle install

Or install it yourself as:

    $ gem install gumby

## Usage

You will need to add also the <code>jquery-rails</code> and <code>modernizr-rails</code>  gem to your gemfile:

	# Gemfile

	gem "jquery-rails"	
	gem "modernizr-rails"
	gem "gumby"
	
Then run <code>bundle install</code>.

You will need to add also this tag to your HTML head tag:

	<%= javascript_include_tag :modernizr %>
	
#### CSS

Add this line at the end of your application.css

	*= require gumby
	
#### Javascript

You will need to add jquery and modernizr and global Gumby object in your application.js:

	//= require jquery
	//= require jquery_ujs
	//= require modernizr
	//= require gumby

	or

	//= require gumby.min
	
After this line, you can add the Gumby JS plugins; you have available the following plugins:

	//= require ui/gumby.checkbox
	//= require ui/gumby.fittext
	//= require ui/gumby.fixed
	//= require ui/gumby.navbar
	//= require ui/gumby.radiobtn
	//= require ui/gumby.retina
	//= require ui/gumby.skiplink
	//= require ui/gumby.tabs
	//= require ui/gumby.toggleswitch
	//= require ui/jquery.validation

## Contributing

1. Fork it
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 new Pull Request

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
gumby-0.0.5 README.md
gumby-0.0.4 README.md
gumby-0.0.3 README.md
gumby-0.0.2 README.md
gumby-0.0.1 README.md