dmarkow / jquery-mobile-rails

jQuery Mobile for Rails 3/4 Asset Pipeline
MIT License
167 stars 49 forks source link

Support different versions of jQuery Mobile by using git branches like 1.2.0-alpha.1. #12

Closed mariozaizar closed 12 years ago

mariozaizar commented 12 years ago

Start using git branches to provide different jQuery Mobile versions.

So, by default, jquery_mobile_rails gem will provide latest stable version of JQM. But you can switch to other versions by selecting a different branch.

For example, to use 1.2.0-alpha.1, update your Gemfile to:

gem "jquery_mobile_rails", git: "git://github.com/tscolari/jquery-mobile-rails.git", branch: "1.2.0-alpha.1"

Note: I'm trying to create this new branch on this pull request. But seems like it will be merged into master. Perhaps you can change that, and update only the README on master, and let 1.2.0-alpha.1 branch with the new assets.

tscolari commented 12 years ago

Hello @mariozaizar!

I had to manually merge it by because of the different branch name. It's merged here https://github.com/tscolari/jquery-mobile-rails/tree/1.2.0-alpha.1

Thank you for your time!