From 432191b799d9e7eaf8b98e77ca08dbed24651cee Mon Sep 17 00:00:00 2001
From: Matthew O'Riordan
Date: Tue, 4 Mar 2014 14:13:17 +0000
Subject: [PATCH 01/71] Include instructions for installation via Bower
---
README.md | 25 ++++++++++++++++++++++++-
1 file changed, 24 insertions(+), 1 deletion(-)
diff --git a/README.md b/README.md
index d2442a5e..31b2905c 100644
--- a/README.md
+++ b/README.md
@@ -20,7 +20,7 @@ Requirements
If you don't use HTML5, adding "data" attributes to your HTML4 or XHTML pages might make them fail [W3C markup validation][validator]. However, this shouldn't create any issues for web browsers or other user agents.
-Installation
+Installation using the jQuery-Rails Gem
------------
For automated installation in Rails, use the "jquery-rails" gem. Place this in your Gemfile:
@@ -52,6 +52,29 @@ Choose to overwrite jquery_ujs.js if prompted.*
c. For Rails 2.x and for manual installation follow [this wiki](https://github.com/rails/jquery-ujs/wiki/Manual-installing-and-Rails-2) .
+Installation using Bower
+------------
+
+Modify your bower.json file and add jQuery-UJS as a dependency as follows:
+
+```javascript
+{
+ "dependencies": {
+ /* include jQuery-UJS as below */
+ "jquery-ujs": "git@github.com:rails/jquery-ujs.git"
+ }
+}
+```
+
+Then run `bower install jquery-ujs` to install the jQuery-UJS package.
+
+For Rails 3.1 and above, add these lines to the top of your app/assets/javascripts/application.js file:
+
+```javascript
+//= require jquery
+//= require jquery-ujs/src/rails
+```
+
How to run tests
------------
From 358b19d6adf5a939505f84fd91ea492a254412e6 Mon Sep 17 00:00:00 2001
From: Lucas Mazza
Date: Wed, 6 Aug 2014 22:46:28 -0300
Subject: [PATCH 02/71] Do not crash the test suite if the form does not have
an `action` attribute.
---
test/public/test/settings.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/public/test/settings.js b/test/public/test/settings.js
index 606f2900..85a33ac1 100644
--- a/test/public/test/settings.js
+++ b/test/public/test/settings.js
@@ -47,7 +47,7 @@ $(document).bind('submit', function(e) {
iframe = $('