0.02
No commit activity in last 3 years
No release in over 3 years
tether-rails wraps the Tether JavaScript library so that it can easily be included in Rails.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.11
~> 10.0

Runtime

>= 3.1
 Project Readme

Gem Version

tether-rails

This gem wraps the Tether JavaScript library so that it can be included easily in the Rails asset pipeline.

Installation and Usage

Include tether-rails application's Gemfile

gem 'tether-rails'

and run bundle install

Then, add tether-rails to your application.js manifest

//= require tether

and include the stylesheets in your application.css manifest

*= require tether

This gem also includes the CSS for theme-basic, theme-arrows, and theme-arrows-dark. You can include whichever files you need in your application.css with

*= require tether-theme-basic
*= require tether-theme-arrows
*= require tether-theme-arrows-dark

Versioning

The gem version will mirror the version of Tether that is included.

Contributing

If you need a newer version of Tether:

  1. Fork this repo.
  2. Update the vendored files with the newest release of Tether
  3. Update lib/tether-rails/version.rb to match the version of Tether that you updated to.
  4. Push to your repo and create a pull request.

License

The gem is available as open source under the terms of the MIT License.