From a0869998162e180b294260ea021b9782ee4ec2bb Mon Sep 17 00:00:00 2001 From: Joshua Childs Date: Thu, 24 Mar 2011 13:46:10 -0400 Subject: [PATCH 1/2] updating documentation for running tests --- INSTALL | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/INSTALL b/INSTALL index 89f1b9bd..3c67d5cb 100644 --- a/INSTALL +++ b/INSTALL @@ -32,16 +32,16 @@ Or, if you installed via rubygems: $> irb irb$> require "rubygems" => true - irb$> require_gem "ruby-openid" + irb$> require_gem "ruby-openid" => true == Run the test suite -Go into the test directory and execute the *runtests.rb* script. +Go into the admin directory and execute the *runtests.rb* script. == Next steps -* Run consumer.rb in the examples directory. +* Run consumer.rb in the examples directory. * Get started writing your own consumer using OpenID::Consumer * Write your own server with OpenID::Server * Use the OpenIDLoginGenerator! Read example/README for more info. From 973eb806ab35b7affa4e4d55e333f41015274268 Mon Sep 17 00:00:00 2001 From: Joshua Childs Date: Thu, 24 Mar 2011 13:47:57 -0400 Subject: [PATCH 2/2] updating auto-submit form to hide element using CSS, moved auto-submitting javascript off body attribute and into a timeout to verify availability of form in the DOM. --- lib/openid/util.rb | 33 +++++++++++++++++---------------- 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/lib/openid/util.rb b/lib/openid/util.rb index c5a6716b..63a48728 100644 --- a/lib/openid/util.rb +++ b/lib/openid/util.rb @@ -88,22 +88,23 @@ def Util.log(message) end def Util.auto_submit_html(form, title='OpenID transaction in progress') - return " - - - #{title} - - -#{form} - - - -" + return " + + #{title} + + + + + #{form} + + " end end