<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -101,62 +101,62 @@ class Flickr::Uploader &lt; Flickr::Base
 
   protected
 
-    def upload_options(options)
-      upload_options = { :api_key =&gt; @flickr.api_key }
-      upload_options.merge!(options.slice(:title, :description, :tags))
-      [ :is_public, :is_friend, :is_family, :async ].each { |key| upload_options[key] = options.has_key?(key) ? '1' : '0' }
-
-      upload_options[:safety_level] = case options[:safety_level]
-        when :safe then '1'
-        when :moderate then '2'
-        when :restricted then '3'
-      end if options.has_key?(:safety_level)
-
-      upload_options[:content_type] = case options[:content_type]
-        when :photo then '1'
-        when :screenshot then '2'
-        when :other then '3'
-      end if options.has_key?(:content_type)
-
-      upload_options[:hidden] = options.has_key?(:hidden) ? '2' : '1'
-      upload_options
-    end
-
+  def upload_options(options)
+    upload_options = { :api_key =&gt; @flickr.api_key }
+    upload_options.merge!({:title =&gt; options[:title], :description =&gt; options[:description], :tags =&gt; options[:tags]})
+    [ :is_public, :is_friend, :is_family, :async ].each { |key| upload_options[key] = options[key] ? '1' : '0' }
+
+    upload_options[:safety_level] = case options[:safety_level]
+      when :safe then '1'
+      when :moderate then '2'
+      when :restricted then '3'
+    end if options.has_key?(:safety_level)
+
+    upload_options[:content_type] = case options[:content_type]
+      when :photo then '1'
+      when :screenshot then '2'
+      when :other then '3'
+    end if options.has_key?(:content_type)
+
+    upload_options[:hidden] = options.has_key?(:hidden) ? '2' : '1'
+    upload_options
+  end
 end
 
+
 class Flickr::Uploader::FormPart
-	attr_reader :data, :mime_type, :attributes, :filename
-
-	def initialize(name, data, mime_type = nil, filename = nil)
-		@attributes = {}
-		@attributes['name'] = name
-		@attributes['filename'] = filename if filename
-		@data = data
-		@mime_type = mime_type
-		@filename = filename
-	end
-
-	def to_s
-		([ &quot;Content-Disposition: form-data&quot; ] +
-		attributes.map{|k,v| &quot;#{k}=\&quot;#{v}\&quot;&quot;}).
-		join('; ') + &quot;\r\n&quot;+
-		(@mime_type ? &quot;Content-Type: #{@mime_type}\r\n&quot; : '')+
-		&quot;\r\n#{data}&quot;
-	end
+  attr_reader :data, :mime_type, :attributes, :filename
+
+  def initialize(name, data, mime_type = nil, filename = nil)
+    @attributes = {}
+    @attributes['name'] = name
+    @attributes['filename'] = filename if filename
+    @data = data
+    @mime_type = mime_type
+    @filename = filename
+  end
+
+  def to_s
+    ([ &quot;Content-Disposition: form-data&quot; ] +
+    attributes.map{|k,v| &quot;#{k}=\&quot;#{v}\&quot;&quot;}).
+    join('; ') + &quot;\r\n&quot;+
+    (@mime_type ? &quot;Content-Type: #{@mime_type}\r\n&quot; : '')+
+    &quot;\r\n#{data}&quot;
+  end
 end
 
+
 class Flickr::Uploader::MultiPartForm
-	attr_accessor :boundary, :parts
-
-	def initialize(boundary=nil)
-		@boundary = boundary ||
-		    &quot;----------------------------Ruby#{rand(1000000000000)}&quot;
-		@parts = []
-	end
-
-	def to_s
-		&quot;--#@boundary\r\n&quot;+
-		parts.map{|p| p.to_s}.join(&quot;\r\n--#@boundary\r\n&quot;)+
-		&quot;\r\n--#@boundary--\r\n&quot;
-	end
-end
\ No newline at end of file
+  attr_accessor :boundary, :parts
+
+  def initialize(boundary=nil)
+    @boundary = boundary || &quot;----------------------------Ruby#{rand(1000000000000)}&quot;
+    @parts = []
+  end
+
+  def to_s
+    &quot;--#@boundary\r\n&quot; + 
+    parts.map{|p| p.to_s}.join(&quot;\r\n--#@boundary\r\n&quot;)+
+    &quot;\r\n--#@boundary--\r\n&quot;
+  end
+end</diff>
      <filename>lib/flickr/uploader.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>55f648a85a329a465e6b7547b5b2c3d1468e06f0</id>
    </parent>
  </parents>
  <author>
    <name>bwyrosdick</name>
    <email>ben.wyrosdick@gmail.com</email>
  </author>
  <url>http://github.com/thewebfellas/flickr_fu/commit/f26a56072c6288d16490324e9a23381677c794c2</url>
  <id>f26a56072c6288d16490324e9a23381677c794c2</id>
  <committed-date>2008-08-16T23:43:35-07:00</committed-date>
  <authored-date>2008-08-16T23:43:35-07:00</authored-date>
  <message>replaced slice method call since it is specifically a rails hash thing.  Also formatting cleanup</message>
  <tree>f77183f54ae24a1c74e117b393665b5a5d9e0776</tree>
  <committer>
    <name>bwyrosdick</name>
    <email>ben.wyrosdick@gmail.com</email>
  </committer>
</commit>
