<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -16,6 +16,7 @@ lib/rtunesu/entities/permission.rb
 lib/rtunesu/entities/section.rb
 lib/rtunesu/entities/site.rb
 lib/rtunesu/entities/track.rb
+lib/rtunesu/entities/theme.rb
 lib/rtunesu/entity.rb
 lib/rtunesu/user.rb
 lib/rtunesu/version.rb</diff>
      <filename>Manifest.txt</filename>
    </modified>
    <modified>
      <diff>@@ -10,7 +10,8 @@ DOWNLOAD_PATH = &quot;http://rubyforge.org/projects/#{RUBYFORGE_PROJECT}&quot;
 EXTRA_DEPENDENCIES = [
   ['ruby-hmac', '&gt;= 0.3.1'],
   ['hpricot', '&gt;= 0.6'],
-  ['builder', '&gt;= 2.0']
+  ['builder', '&gt;= 2.0'],
+  ['multipart-post', '&gt;= 0.1']
 ]
 
 @config_file = &quot;~/.rubyforge/user-config.yml&quot;</diff>
      <filename>config/hoe.rb</filename>
    </modified>
    <modified>
      <diff>@@ -4,6 +4,7 @@ require 'hmac'
 require 'hmac-sha2'
 require 'digest'
 require 'net/https'
+require 'net/http/post/multipart'
 require 'uri'
 require 'timeout'
 
@@ -51,7 +52,7 @@ module RTunesU
     end
         
     def upload_url_for_location(location)
-      url_string = &quot;#{API_URL}/GetUploadURL/#{self.options[:site]}.#{location.handle}?#{self.generate_authorization_token}&quot;
+      url_string = &quot;#{API_URL}/GetUploadURL/#{self.options[:site]}.#{location.Handle}?#{self.generate_authorization_token}&quot;
       puts url_string
       url = URI.parse(url_string)
       http = Net::HTTP.new(url.host, url.port)
@@ -102,10 +103,16 @@ module RTunesU
     end
     
     # Uploads a file from the local system to iTunes U.
-    def upload_file(file, itunes_location)
-      IO::popen('-') do |c|
-        exec &quot;curl -q -F 'file=@#{file.path}' '#{upload_url_for_location(itunes_location)}'&quot;
+    def upload_file(file_path, itunes_location)
+      url = URI.parse(self.upload_url_for_location(itunes_location))
+      req = Net::HTTP::Post::Multipart.new(url.path, {&quot;file&quot; =&gt; UploadIO.new(file_path, &quot;image/jpeg&quot;)})
+      res = Net::HTTP.start(url.host, url.port) do |http|
+        http.request(req)
       end
+          
+      # IO::popen('-') do |c|
+      #   exec &quot;curl -q -F 'file=@#{file.path}' '#{upload_url_for_location(itunes_location)}'&quot;
+      # end
     end
   end
 end
\ No newline at end of file</diff>
      <filename>lib/rtunesu/connection.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,8 +1,19 @@
 module RTunesU
   # A Course in iTunes U.
   # == Attributes
+  # Name
+  # Handle
+  # Instructor
+  # Description
+  # Identifier
+  # ThemeHandle
+  # ShortName
+  
   # == Nested Entities
+  # Permission
+  # Group
 
   class Course &lt; Entity
+     
   end
 end
\ No newline at end of file</diff>
      <filename>lib/rtunesu/entities/course.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,8 +1,20 @@
 module RTunesU
   # A Group in iTunes U. A Group is expressed as a tab in the iTunes interface.
   # == Attributes
+  # Name
+  # Handle
+  # GroupType
+  # ShortName
+  # AggregateFileSize
+  # AllowSubscription
+  # 
+  #
   # == Nested Entities
+  # Permission
   # Track
+  # SharedObjects
+  # ExternalFeed
+  
   class Group &lt; Entity
   end
 end
\ No newline at end of file</diff>
      <filename>lib/rtunesu/entities/group.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,6 +1,9 @@
 module RTunesU
   # A Permission in iTunes U.
   # == Attributes
+  # Credential
+  # Access
+  # 
   # == Nested Entities
   class Permission &lt; Entity
   end</diff>
      <filename>lib/rtunesu/entities/permission.rb</filename>
    </modified>
    <modified>
      <diff>@@ -4,7 +4,7 @@ module RTunesU
   # Handle
   # Name
   # AllowSubscription
-  # AggregateFileSize (read only)
+  # AggregateFileSize
   # 
   # == Nested Entities
   # Permission</diff>
      <filename>lib/rtunesu/entities/section.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,7 +1,18 @@
 module RTunesU
   # A Site in iTunes U.
   # == Attributes
+  # Name
+  # Handle
+  # AllowSubscription
+  # AggregateFileSize
+  # ThemeHandle
+  # LoginURL
+  
   # == Nested Entities
+  # Permission
+  # Theme
+  # LinkCollectionSet
+  # Section
   class Site
   end
 end
\ No newline at end of file</diff>
      <filename>lib/rtunesu/entities/site.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,4 +1,19 @@
 module RTunesU
+  # == Attributes
+  # Name
+  # Handle
+  # BackgroundColor
+  # LineColor
+  # LinkArrowColor
+  # LinkBackgroundColor
+  # LinkBackgroundColorAlpha
+  # LinkBoxColor
+  # LinkTextColor
+  # LinkTitleColor
+  # RegularTextColor
+  # TitleTextColor
+  # TimeFormat
+  # DateFormat
   class Theme &lt; Entity
   end
 end
\ No newline at end of file</diff>
      <filename>lib/rtunesu/entities/theme.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,7 +1,17 @@
 module RTunesU
   # A Track in iTunes U.
   # == Attributes
-  # == Nested Entities
+  # Name
+  # Handle
+  # Kind
+  # TrackNumber
+  # DiscNumber
+  # DurationMilliseconds
+  # AlbumName
+  # ArtistName
+  # GenreName
+  # DownloadURL
+  # Comment
   class Track &lt; Entity
     # Tracks can only be found from within their Course. There is currently no way to find a Track separete from its Course.  
     def self.find(handle, course_handle, connection)</diff>
      <filename>lib/rtunesu/entities/track.rb</filename>
    </modified>
    <modified>
      <diff>@@ -2,7 +2,7 @@ module RTunesU
   module VERSION #:nodoc:
     MAJOR = 0
     MINOR = 2
-    TINY  = 0
+    TINY  = 2
 
     STRING = [MAJOR, MINOR, TINY].join('.')
   end</diff>
      <filename>lib/rtunesu/version.rb</filename>
    </modified>
    <modified>
      <diff>@@ -17,7 +17,7 @@ require 'syntax/convertors/html'
 require 'erb'
 require File.dirname(__FILE__) + &quot;/../lib/#{GEM_NAME}/version.rb&quot;
 
-version  = Rtunesu::VERSION::STRING
+version  = RTunesU::VERSION::STRING
 download = &quot;http://rubyforge.org/projects/#{RUBYFORGE_PROJECT}&quot;
 
 def rubyforge_project_id</diff>
      <filename>script/txt2html</filename>
    </modified>
    <modified>
      <diff>@@ -14,5 +14,4 @@ describe User do
   it 'should convert to a properly formatted credential string' do
     @user.to_credential_string.should eql('Administrator@urn:mace:itunesu.com:sites:example.edu')
   end
-  
 end</diff>
      <filename>spec/user_spec.rb</filename>
    </modified>
    <modified>
      <diff>@@ -5,7 +5,7 @@
   &lt;link rel=&quot;stylesheet&quot; href=&quot;stylesheets/screen.css&quot; type=&quot;text/css&quot; media=&quot;screen&quot; /&gt;
   &lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot; /&gt;
   &lt;title&gt;
-      RTunesU
+      rtunesu
   &lt;/title&gt;
   &lt;script src=&quot;javascripts/rounded_corners_lite.inc.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
 &lt;style&gt;
@@ -29,18 +29,26 @@
 &lt;/head&gt;
 &lt;body&gt;
 &lt;div id=&quot;main&quot;&gt;
-  &lt;h1&gt;RTunesU&lt;/h1&gt;
-  &lt;p&gt;Project hosted on &lt;a href='http://github.com/trek/rtunesu/'&gt;github&lt;/a&gt;&lt;/p&gt;
+
+    &lt;h1&gt;rtunesu&lt;/h1&gt;
+    &lt;div id=&quot;version&quot; class=&quot;clickable&quot; onclick='document.location = &quot;http://rubyforge.org/projects/rtunesu&quot;; return false'&gt;
+      &lt;p&gt;Get Version&lt;/p&gt;
+      &lt;a href=&quot;http://rubyforge.org/projects/rtunesu&quot; class=&quot;numbers&quot;&gt;0.2.1&lt;/a&gt;
+    &lt;/div&gt;
+    &lt;h2&gt;Code
+RTunesU is hosted on github: &lt;a href=&quot;http://github.com/trek/rtunesu/tree/master&quot;&gt;http://github.com/trek/rtunesu/tree/master&lt;/a&gt;&lt;/h2&gt;
+
+
+	&lt;h2&gt;Installing
+RTunesU can be installed via rubygems with
+gem install rtunesu&lt;/h2&gt;
+    &lt;p class=&quot;coda&quot;&gt;
+      &lt;a href=&quot;FIXME email&quot;&gt;FIXME full name&lt;/a&gt;, 1st August 2008&lt;br&gt;
+      Theme extended from &lt;a href=&quot;http://rb2js.rubyforge.org/&quot;&gt;Paul Battley&lt;/a&gt;
+    &lt;/p&gt;
 &lt;/div&gt;
 
-&lt;script type=&quot;text/javascript&quot;&gt;
-var gaJsHost = ((&quot;https:&quot; == document.location.protocol) ? &quot;https://ssl.&quot; : &quot;http://www.&quot;);
-document.write(unescape(&quot;%3Cscript src='&quot; + gaJsHost + &quot;google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E&quot;));
-&lt;/script&gt;
-&lt;script type=&quot;text/javascript&quot;&gt;
-var pageTracker = _gat._getTracker(&quot;UA-5143470-1&quot;);
-pageTracker._initData();
-pageTracker._trackPageview();
-&lt;/script&gt;
+&lt;!-- insert site tracking codes here, like Google Urchin --&gt;
+
 &lt;/body&gt;
 &lt;/html&gt;</diff>
      <filename>website/index.html</filename>
    </modified>
    <modified>
      <diff>@@ -1,83 +1,7 @@
 h1. rtunesu
-
-h1. &amp;#x2192; 'rtunesu'
-
-
-h2. What
-
+h2. Code
+RTunesU is hosted on github: &quot;http://github.com/trek/rtunesu/tree/master&quot;:http://github.com/trek/rtunesu/tree/master
 
 h2. Installing
-
-&lt;pre syntax=&quot;ruby&quot;&gt;sudo gem install rtunesu&lt;/pre&gt;
-
-h2. The basics
-
-
-h2. Demonstration of usage
-
-
-
-h2. Forum
-
-&quot;http://groups.google.com/group/rtunesu&quot;:http://groups.google.com/group/rtunesu
-
-TODO - create Google Group - rtunesu
-
-h2. How to submit patches
-
-Read the &quot;8 steps for fixing other people's code&quot;:http://drnicwilliams.com/2007/06/01/8-steps-for-fixing-other-peoples-code/ and for section &quot;8b: Submit patch to Google Groups&quot;:http://drnicwilliams.com/2007/06/01/8-steps-for-fixing-other-peoples-code/#8b-google-groups, use the Google Group above.
-
-TODO - pick SVN or Git instructions
-
-The trunk repository is &lt;code&gt;svn://rubyforge.org/var/svn/rtunesu/trunk&lt;/code&gt; for anonymous access.
-
-OOOORRRR
-
-You can fetch the source from either:
-
-&lt;% if rubyforge_project_id %&gt;
-
-* rubyforge: &quot;http://rubyforge.org/scm/?group_id=&lt;%= rubyforge_project_id %&gt;&quot;:http://rubyforge.org/scm/?group_id=&lt;%= rubyforge_project_id %&gt;
-
-&lt;pre&gt;git clone git://rubyforge.org/rtunesu.git&lt;/pre&gt;
-
-&lt;% else %&gt;
-
-* rubyforge: MISSING IN ACTION
-
-TODO - You can not created a RubyForge project, OR have not run &lt;code&gt;rubyforge config&lt;/code&gt;
-yet to refresh your local rubyforge data with this projects' id information.
-
-When you do this, this message will magically disappear!
-
-Or you can hack website/index.txt and make it all go away!!
-
-&lt;% end %&gt;
-
-* github: &quot;http://github.com/GITHUB_USERNAME/rtunesu/tree/master&quot;:http://github.com/GITHUB_USERNAME/rtunesu/tree/master
-
-&lt;pre&gt;git clone git://github.com/GITHUB_USERNAME/rtunesu.git&lt;/pre&gt;
-
-
-TODO - add &quot;github_username: username&quot; to ~/.rubyforge/user-config.yml and newgem will reuse it for future projects.
-
-
-* gitorious: &quot;git://gitorious.org/rtunesu/mainline.git&quot;:git://gitorious.org/rtunesu/mainline.git
-
-&lt;pre&gt;git clone git://gitorious.org/rtunesu/mainline.git&lt;/pre&gt;
-
-h3. Build and test instructions
-
-&lt;pre&gt;cd rtunesu
-rake test
-rake install_gem&lt;/pre&gt;
-
-
-h2. License
-
-This code is free to use under the terms of the MIT license. 
-
-h2. Contact
-
-Comments are welcome. Send an email to &quot;FIXME full name&quot;:mailto:FIXME email via the &quot;forum&quot;:http://groups.google.com/group/rtunesu
-
+RTunesU can be installed via rubygems with
+gem install rtunesu
\ No newline at end of file</diff>
      <filename>website/index.txt</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>5f735e9290af7b6ce171367d4340a58cc6a9c2a8</id>
    </parent>
  </parents>
  <author>
    <name>Trek Glowacki</name>
    <email>trek.glowacki@gmail.com</email>
  </author>
  <url>http://github.com/trek/rtunesu/commit/128b6f5fa42d2298a826968def4975183133acfc</url>
  <id>128b6f5fa42d2298a826968def4975183133acfc</id>
  <committed-date>2008-08-21T19:00:32-07:00</committed-date>
  <authored-date>2008-08-21T19:00:32-07:00</authored-date>
  <message>Added information about attributes and entities in preparation for  more explicit methods.</message>
  <tree>f839c7f9980ca23df7382cdcfc36e30e80f39197</tree>
  <committer>
    <name>Trek Glowacki</name>
    <email>trek.glowacki@gmail.com</email>
  </committer>
</commit>
