<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -10,7 +10,7 @@ A gem for interacting with the Google Finance API
 
 GMoney::GFSession.login('google username', 'password')
 
-portfolios = GMoney::Portfolio.all #or GMoney::Portfolio.all(:with_returns =&gt; true)
+portfolios = GMoney::Portfolio.all #or GMoney::Portfolio.all(:returns =&gt; true)
 
 #wait for a minute or so
 </diff>
      <filename>README.rdoc</filename>
    </modified>
    <modified>
      <diff>@@ -27,7 +27,7 @@ module GMoney
     def self.retreive_portfolios(id, options = {})
       url = GF_PORTFOLIO_FEED_URL
       url += &quot;/#{id}&quot; if id != :all
-      url += &quot;?returns=true&quot; if options[:with_returns]
+      url += &quot;?returns=true&quot; if options[:returns]
       portfolios = []
       
       response = GFService.send_request(GFRequest.new(url, :headers =&gt; {&quot;Authorization&quot; =&gt; &quot;GoogleLogin auth=#{GFSession.auth_token}&quot;}))</diff>
      <filename>lib/gmoney/portfolio.rb</filename>
    </modified>
    <modified>
      <diff>@@ -20,7 +20,7 @@ module GMoney
     
     def self.find_by_url(url, options = {})
       positions = []
-      url += &quot;?returns=true&quot; if options[:with_returns]
+      url += &quot;?returns=true&quot; if options[:returns]
       
       response = GFService.send_request(GFRequest.new(url, :headers =&gt; {&quot;Authorization&quot; =&gt; &quot;GoogleLogin auth=#{GFSession.auth_token}&quot;}))
       </diff>
      <filename>lib/gmoney/position.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,6 +1,6 @@
 &lt;?xml version='1.0' encoding='utf-8'?&gt;
 &lt;entry xmlns='http://www.w3.org/2005/Atom' xmlns:gf='http://schemas.google.com/finance/2007' xmlns:gd='http://schemas.google.com/g/2005'&gt;
-  &lt;id&gt;http://finance.google.com/finance/feeds/jspradlin@gmail.com/portfolios/9/positions/NASDAQ:GOOG/transactions/2&lt;/id&gt;
+  &lt;id&gt;http://finance.google.com/finance/feeds/user@example.com/portfolios/9/positions/NASDAQ:GOOG/transactions/2&lt;/id&gt;
   &lt;updated&gt;2009-09-12T18:22:44.000Z&lt;/updated&gt;
   &lt;category scheme='http://schemas.google.com/g/2005#kind' term='http://schemas.google.com/finance/2007#transaction' /&gt;
   &lt;title type='text'&gt;2&lt;/title&gt;</diff>
      <filename>spec/fixtures/transaction_feed_for_GOOG_1.xml</filename>
    </modified>
    <modified>
      <diff>@@ -27,11 +27,11 @@ describe GMoney::Portfolio do
     portfolios.size.should be_eql(3)
   end
 
-  it &quot;should return a portfolio with returns data is :with_returns == true&quot; do
+  it &quot;should return a portfolio with returns data is :returns == true&quot; do
     @url = 'https://finance.google.com/finance/feeds/default/portfolios?returns=true'
     @gf_response.body = @feed_with_returns
 
-    portfolios = portfolio_helper(@url, :all, {:with_returns =&gt; true})
+    portfolios = portfolio_helper(@url, :all, {:returns =&gt; true})
     
     portfolios.size.should be_eql(3)
     portfolios[0].cost_basis.should be_eql(2500.00)</diff>
      <filename>spec/portfolio_spec.rb</filename>
    </modified>
    <modified>
      <diff>@@ -27,10 +27,10 @@ describe GMoney::Position do
     positions.size.should be_eql(5)
   end
 
-  it &quot;should return a position with returns data is :with_returns == true&quot; do
+  it &quot;should return a position with returns data is :returns == true&quot; do
     @gf_response.body = @feed_with_returns
 
-    positions = position_helper(@portfolio_id, {:with_returns =&gt; true})
+    positions = position_helper(@portfolio_id, {:returns =&gt; true})
     
     positions.size.should be_eql(5)
     positions[0].cost_basis.should be_eql(615.00)
@@ -91,7 +91,7 @@ describe GMoney::Position do
     GMoney::GFSession.should_receive(:auth_token).and_return('toke')
 
     url = &quot;#{GMoney::GF_PORTFOLIO_FEED_URL}/#{id.portfolio_id}/positions/#{id.position_id}&quot;
-    send_url = options[:with_returns] ? (url + '?returns=true') : url
+    send_url = options[:returns] ? (url + '?returns=true') : url
 
     GMoney::GFRequest.should_receive(:new).with(send_url, :headers =&gt; {&quot;Authorization&quot; =&gt; &quot;GoogleLogin auth=toke&quot;}).and_return(@gf_request)
 </diff>
      <filename>spec/position_spec.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>9fd290ddda8e5046ea1613c6c2366c483d432ed6</id>
    </parent>
  </parents>
  <author>
    <name>jspradlin</name>
    <email>jspradlin@gmail.com</email>
  </author>
  <url>http://github.com/jspradlin/gmoney/commit/ed49c2e60ff1b81a3171eecb32a064336913a515</url>
  <id>ed49c2e60ff1b81a3171eecb32a064336913a515</id>
  <committed-date>2009-10-01T15:37:49-07:00</committed-date>
  <authored-date>2009-10-01T15:37:49-07:00</authored-date>
  <message>Minor code cleanup</message>
  <tree>7b27867d78375f21c87a7dc8b929f2162b4602ac</tree>
  <committer>
    <name>jspradlin</name>
    <email>jspradlin@gmail.com</email>
  </committer>
</commit>
