Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Provides the `Tablecloth` JavaScript/CSS packaged for the Rails 3.1+ asset pipeline
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
script
spec
vendor/assets
.gitignore
.rspec
.rubocop.yml
.ruby-gemset
.ruby-version
.travis.yml
CHANGELOG.md
CONTRIBUTING.md
Gemfile
LICENSE.txt
README.md
Rakefile
tablecloth-rails.gemspec

README.md

tablecloth-rails

Gem Travis Gemnasium Code Climate Coveralls

Gemified by Doc Walker

Provides the Tablecloth JavaScript/CSS packaged for the Rails 3.1+ asset pipeline.

Installation

Add these lines to your application's Gemfile:

# tablecloth table js/css packaged for the rails asset pipeline
gem 'tablecloth-rails', '~> 1.0.101'

And then execute:

$ bundle

Or install it yourself as:

$ gem install tablecloth-rails

Gem version notes:

  • Version is in the format X.Y.ZVV where X.Y.Z is version of Tablecloth plugin and VV is version of gem (with leading zero);
  • Refer to Semantic Versioning 2.0.0 (http://semver.org);

Usage

Add these lines to app/assets/javascripts/application.js

// provides tablecloth table js/css from gem 'tablecloth-rails':
//= require tablecloth-rails

Add these lines to app/assets/stylesheets/application.css

/*
provides tablecloth table js/css from gem 'tablecloth-rails':
= require tablecloth-rails
*/

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

Acknowledgements

Something went wrong with that request. Please try again.