<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -52,7 +52,7 @@ module Amazon
 	#  req = Request.new( '0Y44V8FAFNM119CX4TR2', 'calibanorg-20' )
 	#
 	def initialize(key_id=nil, associate=nil, locale=nil, cache=nil,
-		       user_agent=USER_AGENT)
+		       cache_dir=nil, user_agent=USER_AGENT)
 
 	  @config ||= Amazon::Config.new
 
@@ -62,6 +62,7 @@ module Amazon
 
 	  key_id ||= @config['key_id']
 	  cache = @config['cache'] if cache.nil?
+	  cache_dir ||= @config['cache_dir']
 
 	  # Take locale from config file if no locale was passed to method.
 	  #
@@ -78,7 +79,7 @@ module Amazon
 	  @tag	      = associate || @config['associate'] || DEF_ASSOC[locale]
 	  @user_agent = user_agent
 	  @cache      = unless cache == 'false' || cache == false
-			  Amazon::AWS::Cache.new( @config['cache_dir'] )
+			  Amazon::AWS::Cache.new( cache_dir )
 			else
 			  nil
 			end</diff>
      <filename>lib/amazon/aws/search.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>bab33a00667de768b4494a6fbee9df489e69a25b</id>
    </parent>
  </parents>
  <author>
    <name>Jamie Dyer</name>
    <email>jamie@kernowsoul.com</email>
  </author>
  <url>http://github.com/res0nat0r/ruby-aws/commit/86564817f37a67d6d4a701bbfd3df9e81b6ef227</url>
  <id>86564817f37a67d6d4a701bbfd3df9e81b6ef227</id>
  <committed-date>2008-12-03T16:41:40-08:00</committed-date>
  <authored-date>2008-12-03T16:41:40-08:00</authored-date>
  <message>Changed Request initializer to support passing a cache directory as a parameter</message>
  <tree>d34ae8b1440169a062c2754d894f3bf2bf224b17</tree>
  <committer>
    <name>Jamie Dyer</name>
    <email>jamie@kernowsoul.com</email>
  </committer>
</commit>
