Sha256: 86d86e02ec36b366e5f82e71b4ba01512f8206fe9331a28dbb2ccb469c1a0eb2

Contents?: true

Size: 1.32 KB

Versions: 3

Compression:

Stored size: 1.32 KB

Contents

[![Gem Version](https://badge.fury.io/rb/tether-rails.svg)](https://badge.fury.io/rb/tether-rails)
# tether-rails

This gem wraps the [Tether](http://tether.io/docs/welcome/) JavaScript library so that it can be included easily in the Rails asset pipeline.


## Installation and Usage

Include tether-rails application's Gemfile
```ruby
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](https://github.com/HubSpot/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](http://opensource.org/licenses/MIT).

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tether-rails-1.4.0 README.md
tether-rails-1.3.3 README.md
tether-rails-1.3.0 README.md