README.rdoc in jquery_mobile_rails-1.1.1.1 vs README.rdoc in jquery_mobile_rails-1.2.0

- old
+ new

@@ -2,11 +2,11 @@ This gem adds the JQuery Mobile files to the rails assets pipeline. ==== Gem's JQuery Mobile Version -1.1.1 +1.2.0 === Instalation Add this gem to your Gemfile: @@ -35,9 +35,29 @@ === Example Inside the test/dummy there is a simple application using a very basic jquery mobile templating. + +== Different versions + +By default, jquery_mobile_rails gem will provide latest stable version of JQM. +Besides that 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" + +== Pull Requests + +Please, this steps help a lot the merge proccess: + +* Copy jquery mobile files to vendor/assets/(javascripts|stylesheets|images)/ +* Remove version number from the file names +* place images in the sub-directory named 'jquery-mobile' (vendor/assets/images/jquery-mobile) +* run the rake task `jquery_mobile_rails_css_fix`. This will ensure that the images in the css will be loaded using `image-url()` instead of `url()`, and it will convert the file to scss. + +:) === References * JQuery Mobile Page: http://jquerymobile.com/ * Mobylette Gem: https://github.com/tscolari/mobylette