<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,3 +1,7 @@
+0.6.11 - May 18, 2009
+* 1 minor addition
+  * Added the ability to sign in with twitter instead of authorizing
+
 0.6.10 - May 18, 2009
 * 1 cool addition
   * Added full support for trends - current, daily and weekly (even allowing excluding of hashtags and for specific dates)</diff>
      <filename>History</filename>
    </modified>
    <modified>
      <diff>@@ -3,14 +3,21 @@ module Twitter
     extend Forwardable
     def_delegators :access_token, :get, :post
     
-    attr_reader :ctoken, :csecret
+    attr_reader :ctoken, :csecret, :consumer_options
     
-    def initialize(ctoken, csecret)
-      @ctoken, @csecret = ctoken, csecret
+    # Options
+    #   :sign_in =&gt; true to just sign in with twitter instead of doing oauth authorization
+    #               (http://apiwiki.twitter.com/Sign-in-with-Twitter)
+    def initialize(ctoken, csecret, options={})
+      @ctoken, @csecret, @consumer_options = ctoken, csecret, {}
+      
+      if options[:sign_in]
+        @consumer_options[:authorize_path] =  '/oauth/authenticate'
+      end
     end
     
     def consumer
-      @consumer ||= ::OAuth::Consumer.new(@ctoken, @csecret, {:site =&gt; 'http://twitter.com'})
+      @consumer ||= ::OAuth::Consumer.new(@ctoken, @csecret, {:site =&gt; 'http://twitter.com'}.merge(consumer_options))
     end
     
     def request_token</diff>
      <filename>lib/twitter/oauth.rb</filename>
    </modified>
    <modified>
      <diff>@@ -8,6 +8,16 @@ class OAuthTest &lt; Test::Unit::TestCase
     twitter.csecret.should == 'secret'
   end
   
+  should &quot;set autorization path to '/oauth/authorize' by default&quot; do
+    twitter = Twitter::OAuth.new('token', 'secret')
+    twitter.consumer.options[:authorize_path].should == '/oauth/authorize'
+  end
+
+  should &quot;set autorization path to '/oauth/authenticate' if sign_in_with_twitter&quot; do
+    twitter = Twitter::OAuth.new('token', 'secret', :sign_in =&gt; true)
+    twitter.consumer.options[:authorize_path].should == '/oauth/authenticate'
+  end
+  
   should &quot;have a consumer&quot; do
     consumer = mock('oauth consumer')
     OAuth::Consumer.expects(:new).with('token', 'secret', {:site =&gt; 'http://twitter.com'}).returns(consumer)</diff>
      <filename>test/twitter/oauth_test.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>709e7be1562e355a0d39019d3bcba066f3a8b9d8</id>
    </parent>
  </parents>
  <author>
    <name>John Nunemaker</name>
    <email>nunemaker@gmail.com</email>
  </author>
  <url>http://github.com/jnunemaker/twitter/commit/68b6252a21e7e773d108027f693b8378593e21ad</url>
  <id>68b6252a21e7e773d108027f693b8378593e21ad</id>
  <committed-date>2009-05-18T18:01:40-07:00</committed-date>
  <authored-date>2009-05-18T18:01:40-07:00</authored-date>
  <message>Added the ability to sign in with twitter instead of authorizing</message>
  <tree>bcd3d786abfb185bf8083d78687e7f2584eb5813</tree>
  <committer>
    <name>John Nunemaker</name>
    <email>nunemaker@gmail.com</email>
  </committer>
</commit>
