<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,32 +1,32 @@
 
 &lt;%= docs_for['TrustCommerce'] %&gt;
 
-== Examples
+## Examples ##
 
-=== Creating a subscription
+### Creating a subscription ###
 
 &lt;%= docs_for['TrustCommerce::Subscription.create'] %&gt;
 
-=== Update a subscription
+### Update a subscription ###
 
 &lt;%= docs_for['TrustCommerce::Subscription.update'] %&gt;
 
-=== Delete a subscription
+### Delete a subscription ###
 
 &lt;%= docs_for['TrustCommerce::Subscription.delete'] %&gt;
 
-=== Query a subscription
+### Query a subscription ###
 
 &lt;%= docs_for['TrustCommerce::Subscription.query'] %&gt;
 
-=== Process a one-time charge
+### Process a one-time charge ###
 
 &lt;%= docs_for['TrustCommerce::Subscription.charge'] %&gt;
 
-=== Credit a transaction
+### Credit a transaction ###
 
 &lt;%= docs_for['TrustCommerce::Subscription.credit'] %&gt;
 
-== Running the tests
+## Running the tests ##
 
 &lt;%= docs_for['TrustCommerceSubscriptionTest'] %&gt;</diff>
      <filename>README.erb</filename>
    </modified>
    <modified>
      <diff>@@ -5,41 +5,44 @@ processing and recurring / subscription billing services.
 This library provides a simple interface to create, edit, delete, and query subscriptions
 using TrustCommerce.
 
-== Background
+## Background ##
 
 TrustCommerce's recurring / subscription billing solution is implemented through a service
 called [Citadel](http://www.trustcommerce.com/citadel.php).  A Citadel-enabled account is
 required to use the subscription-based features implemented by this library.
 
-=== Citadel Basics
+### Citadel Basics ###
+
 * Citadel stores customer profiles which can include credit card information and billing frequency.
 * Citadel will automatically bill customers on their respective schedules.
 * Citadel identifies each customer by a Billing ID (six-character alphanumeric string).
 * A customer's profile, credit card, and billing frequency can be modified using the Billing ID.
 
-== Installation
+## Installation ##
 
 The simple way:
-  $ sudo gem install trustcommerce
+
+    $ sudo gem install trustcommerce
 
 Directly from repository:
-  $ svn co svn://rubyforge.org/var/svn/trustcommerce/trunk trustcommerce
+
+    $ svn co svn://rubyforge.org/var/svn/trustcommerce/trunk trustcommerce
 
 It is highly recommended to download and install the
 [TCLink ruby extension](http://www.trustcommerce.com/tclink.php).
 This extension provides failover capability and enhanced security features.
 If this library is not installed, standard POST over SSL will be used.
 
-== Configuration
+## Configuration ##
 
 When you signup for a TrustCommerce account you are issued a custid and a password.
 These are your credentials when using the TrustCommerce API.
 
-  TrustCommerce.custid   = '123456'
-  TrustCommerce.password = 'topsecret'
+    TrustCommerce.custid   = '123456'
+    TrustCommerce.password = 'topsecret'
 
-  # optional - sets Vault password for use in query() calls
-  TrustCommerce.vault_password = 'supersecure'
+    # optional - sets Vault password for use in query() calls
+    TrustCommerce.vault_password = 'supersecure'
 
 The password that TrustCommerce issues never changes or expires when used through the TCLink
 extension.  However if you choose to use SSL over HTTP instead (the fallback option if the TCLink
@@ -50,97 +53,97 @@ and therefore your password must be set accordingly.  To make matters more compl
 TrustCommerce currently forces you to change the Vault password every 90 days.
 
 
-== Examples
+## Examples ##
 
-=== Creating a subscription
+### Creating a subscription ###
 
-  # Bill Jennifer $12.00 monthly
-  response = TrustCommerce::Subscription.create(
-    :cc     =&gt; '4111111111111111',
-    :exp    =&gt; '0412',
-    :name   =&gt; 'Jennifer Smith',
-    :amount =&gt; 1200,
-    :cycle  =&gt; '1m'
-  )
-  
-  if response['status'] == 'approved'
-    puts &quot;Subscription created with Billing ID: #{response['billingid']}&quot;
-  else
-    puts &quot;An error occurred: #{response['error']}&quot;
-  end
+    # Bill Jennifer $12.00 monthly
+    response = TrustCommerce::Subscription.create(
+      :cc     =&gt; '4111111111111111',
+      :exp    =&gt; '0412',
+      :name   =&gt; 'Jennifer Smith',
+      :amount =&gt; 1200,
+      :cycle  =&gt; '1m'
+    )
+    
+    if response['status'] == 'approved'
+      puts &quot;Subscription created with Billing ID: #{response['billingid']}&quot;
+    else
+      puts &quot;An error occurred: #{response['error']}&quot;
+    end
 
 
-=== Update a subscription
+### Update a subscription ###
 
-  # Update subscription to use new credit card
-  response = TrustCommerce::Subscription.update(
-    :billingid =&gt; 'ABC123',
-    :cc        =&gt; '5411111111111115', 
-    :exp       =&gt; '0412'
-  )
-  
-  if response['status'] == 'accepted'
-    puts 'Subscription updated.'
-  else
-    puts &quot;An error occurred: #{response['error']}&quot;
-  end
+    # Update subscription to use new credit card
+    response = TrustCommerce::Subscription.update(
+      :billingid =&gt; 'ABC123',
+      :cc        =&gt; '5411111111111115', 
+      :exp       =&gt; '0412'
+    )
+    
+    if response['status'] == 'accepted'
+      puts 'Subscription updated.'
+    else
+      puts &quot;An error occurred: #{response['error']}&quot;
+    end
 
 
-=== Delete a subscription
+### Delete a subscription ###
 
-  # Delete subscription
-  response = TrustCommerce::Subscription.delete(
-    :billingid =&gt; 'ABC123'
-  )
-  
-  if response['status'] == 'accepted'
-    puts 'Subscription removed from active use.'
-  else
-    puts 'An error occurred.'
-  end
+    # Delete subscription
+    response = TrustCommerce::Subscription.delete(
+      :billingid =&gt; 'ABC123'
+    )
+    
+    if response['status'] == 'accepted'
+      puts 'Subscription removed from active use.'
+    else
+      puts 'An error occurred.'
+    end
 
 
-=== Query a subscription
+### Query a subscription ###
 
-  # Get all sale transactions for a subscription in CSV format
-  response = TrustCommerce::Subscription.query(
-    :querytype =&gt; 'transaction',
-    :action    =&gt; 'sale',
-    :billingid =&gt; 'ABC123'
-  )
+    # Get all sale transactions for a subscription in CSV format
+    response = TrustCommerce::Subscription.query(
+      :querytype =&gt; 'transaction',
+      :action    =&gt; 'sale',
+      :billingid =&gt; 'ABC123'
+    )
 
 
-=== Process a one-time charge
+### Process a one-time charge ###
 
-  # Process one-time sale against existing subscription
-  response = TrustCommerce::Subscription.charge(
-    :billingid =&gt; 'ABC123',
-    :amount    =&gt; 1995
-  )
+    # Process one-time sale against existing subscription
+    response = TrustCommerce::Subscription.charge(
+      :billingid =&gt; 'ABC123',
+      :amount    =&gt; 1995
+    )
 
 
-=== Credit a transaction
+### Credit a transaction ###
 
-  # Process one-time credit against existing transaction
-  response = TrustCommerce::Subscription.credit(
-    :transid =&gt; '001-0000111101',
-    :amount  =&gt; 1995
-  )
+    # Process one-time credit against existing transaction
+    response = TrustCommerce::Subscription.credit(
+      :transid =&gt; '001-0000111101',
+      :amount  =&gt; 1995
+    )
 
 
-== Running the tests
+## Running the tests ##
 
 The following special environment variables must be set up prior to running tests:
 
-  $ export TC_USERNAME=123456
-  $ export TC_PASSWORD=password
-  $ export TC_VAULT_PASSWORD=password
+    $ export TC_USERNAME=123456
+    $ export TC_PASSWORD=password
+    $ export TC_VAULT_PASSWORD=password
 
 Run tests via rake:
 
-  $ rake test
+    $ rake test
 
 Run tests via ruby:
 
-  $ ruby test/trustcommerce_test.rb
+    $ ruby test/trustcommerce_test.rb
 </diff>
      <filename>README.markdown</filename>
    </modified>
    <modified>
      <diff>@@ -45,7 +45,7 @@ namespace :doc do
       strip_comments[info.comment]
     end
     
-    open('README', 'w') do |file|
+    open('README.markdown', 'w') do |file|
       file.write ERB.new(IO.read('README.erb')).result(binding)
     end
   end</diff>
      <filename>Rakefile</filename>
    </modified>
    <modified>
      <diff>@@ -8,41 +8,44 @@ require 'uri'
 # This library provides a simple interface to create, edit, delete, and query subscriptions
 # using TrustCommerce.
 #
-# == Background
+# ## Background ##
 #
 # TrustCommerce's recurring / subscription billing solution is implemented through a service
 # called [Citadel](http://www.trustcommerce.com/citadel.php).  A Citadel-enabled account is
 # required to use the subscription-based features implemented by this library.
 #
-# === Citadel Basics
+# ### Citadel Basics ###
+#
 # * Citadel stores customer profiles which can include credit card information and billing frequency.
 # * Citadel will automatically bill customers on their respective schedules.
 # * Citadel identifies each customer by a Billing ID (six-character alphanumeric string).
 # * A customer's profile, credit card, and billing frequency can be modified using the Billing ID.
 #
-# == Installation
+# ## Installation ##
 #
 # The simple way:
-#   $ sudo gem install trustcommerce
+#
+#     $ sudo gem install trustcommerce
 #
 # Directly from repository:
-#   $ svn co svn://rubyforge.org/var/svn/trustcommerce/trunk trustcommerce
+#
+#     $ svn co svn://rubyforge.org/var/svn/trustcommerce/trunk trustcommerce
 #
 # It is highly recommended to download and install the
 # [TCLink ruby extension](http://www.trustcommerce.com/tclink.php).
 # This extension provides failover capability and enhanced security features.
 # If this library is not installed, standard POST over SSL will be used.
 #
-# == Configuration
+# ## Configuration ##
 #
 # When you signup for a TrustCommerce account you are issued a custid and a password.
 # These are your credentials when using the TrustCommerce API.
 #
-#   TrustCommerce.custid   = '123456'
-#   TrustCommerce.password = 'topsecret'
+#     TrustCommerce.custid   = '123456'
+#     TrustCommerce.password = 'topsecret'
 #
-#   # optional - sets Vault password for use in query() calls
-#   TrustCommerce.vault_password = 'supersecure'
+#     # optional - sets Vault password for use in query() calls
+#     TrustCommerce.vault_password = 'supersecure'
 #
 # The password that TrustCommerce issues never changes or expires when used through the TCLink
 # extension.  However if you choose to use SSL over HTTP instead (the fallback option if the TCLink
@@ -77,78 +80,78 @@ class TrustCommerce
   
   class Subscription
 
-    #   # Bill Jennifer $12.00 monthly
-    #   response = TrustCommerce::Subscription.create(
-    #     :cc     =&gt; '4111111111111111',
-    #     :exp    =&gt; '0412',
-    #     :name   =&gt; 'Jennifer Smith',
-    #     :amount =&gt; 1200,
-    #     :cycle  =&gt; '1m'
-    #   )
-    #   
-    #   if response['status'] == 'approved'
-    #     puts &quot;Subscription created with Billing ID: #{response['billingid']}&quot;
-    #   else
-    #     puts &quot;An error occurred: #{response['error']}&quot;
-    #   end
+    #     # Bill Jennifer $12.00 monthly
+    #     response = TrustCommerce::Subscription.create(
+    #       :cc     =&gt; '4111111111111111',
+    #       :exp    =&gt; '0412',
+    #       :name   =&gt; 'Jennifer Smith',
+    #       :amount =&gt; 1200,
+    #       :cycle  =&gt; '1m'
+    #     )
+    #     
+    #     if response['status'] == 'approved'
+    #       puts &quot;Subscription created with Billing ID: #{response['billingid']}&quot;
+    #     else
+    #       puts &quot;An error occurred: #{response['error']}&quot;
+    #     end
     def self.create(options)
       return TrustCommerce.send_request(options.merge(:action =&gt; 'store'))
     end
     
-    #   # Update subscription to use new credit card
-    #   response = TrustCommerce::Subscription.update(
-    #     :billingid =&gt; 'ABC123',
-    #     :cc        =&gt; '5411111111111115', 
-    #     :exp       =&gt; '0412'
-    #   )
-    #   
-    #   if response['status'] == 'accepted'
-    #     puts 'Subscription updated.'
-    #   else
-    #     puts &quot;An error occurred: #{response['error']}&quot;
-    #   end
+    #     # Update subscription to use new credit card
+    #     response = TrustCommerce::Subscription.update(
+    #       :billingid =&gt; 'ABC123',
+    #       :cc        =&gt; '5411111111111115', 
+    #       :exp       =&gt; '0412'
+    #     )
+    #     
+    #     if response['status'] == 'accepted'
+    #       puts 'Subscription updated.'
+    #     else
+    #       puts &quot;An error occurred: #{response['error']}&quot;
+    #     end
     def self.update(options)
       return TrustCommerce.send_request(options.merge(:action =&gt; 'store'))
     end    
     
-    #   # Delete subscription
-    #   response = TrustCommerce::Subscription.delete(
-    #     :billingid =&gt; 'ABC123'
-    #   )
-    #   
-    #   if response['status'] == 'accepted'
-    #     puts 'Subscription removed from active use.'
-    #   else
-    #     puts 'An error occurred.'
-    #   end
+    #     # Delete subscription
+    #     response = TrustCommerce::Subscription.delete(
+    #       :billingid =&gt; 'ABC123'
+    #     )
+    #     
+    #     if response['status'] == 'accepted'
+    #       puts 'Subscription removed from active use.'
+    #     else
+    #       puts 'An error occurred.'
+    #     end
     def self.delete(options)
       return TrustCommerce.send_request(options.merge(:action =&gt; 'unstore'))
     end
     
-    #   # Process one-time sale against existing subscription
-    #   response = TrustCommerce::Subscription.charge(
-    #     :billingid =&gt; 'ABC123',
-    #     :amount    =&gt; 1995
-    #   )
+    #     # Process one-time sale against existing subscription
+    #     response = TrustCommerce::Subscription.charge(
+    #       :billingid =&gt; 'ABC123',
+    #       :amount    =&gt; 1995
+    #     )
     def self.charge(options)
       return TrustCommerce.send_request(options.merge(:action =&gt; 'sale'))
     end
     
-    #   # Process one-time credit against existing transaction
-    #   response = TrustCommerce::Subscription.credit(
-    #     :transid =&gt; '001-0000111101',
-    #     :amount  =&gt; 1995
-    #   )
+    #     # Process one-time credit against existing transaction
+    #     response = TrustCommerce::Subscription.credit(
+    #       :transid =&gt; '001-0000111101',
+    #       :amount  =&gt; 1995
+    #     )
     def self.credit(options)
       return TrustCommerce.send_request(options.merge(:action =&gt; 'credit'))
     end
     
-    #   # Get all sale transactions for a subscription in CSV format
-    #   response = TrustCommerce::Subscription.query(
-    #     :querytype =&gt; 'transaction',
-    #     :action    =&gt; 'sale',
-    #     :billingid =&gt; 'ABC123'
-    #   )
+    #     # Get all sale transactions for a subscription in CSV format
+    #     response = TrustCommerce::Subscription.query(
+    #       :querytype =&gt; 'transaction',
+    #       :action    =&gt; 'sale',
+    #       :billingid =&gt; 'ABC123'
+    #     )
     def self.query(options)
       return TrustCommerce.send_query(options)
     end    </diff>
      <filename>lib/trustcommerce.rb</filename>
    </modified>
    <modified>
      <diff>@@ -2,17 +2,17 @@ require File.join(File.dirname(__FILE__), 'test_helper')
 
 # The following special environment variables must be set up prior to running tests:
 # 
-#   $ export TC_USERNAME=123456
-#   $ export TC_PASSWORD=password
-#   $ export TC_VAULT_PASSWORD=password
+#     $ export TC_USERNAME=123456
+#     $ export TC_PASSWORD=password
+#     $ export TC_VAULT_PASSWORD=password
 #
 # Run tests via rake:
 #
-#   $ rake test
+#     $ rake test
 #
 # Run tests via ruby:
 #
-#   $ ruby test/trustcommerce_test.rb
+#     $ ruby test/trustcommerce_test.rb
 class TrustCommerceSubscriptionTest &lt; Test::Unit::TestCase
 
   def setup</diff>
      <filename>test/trustcommerce_test.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>43c9de4e0ac8a20399394769a5de97270ca03315</id>
    </parent>
  </parents>
  <author>
    <name>Zack Chandler</name>
    <email>zackchandler@depixelate.com</email>
  </author>
  <url>http://github.com/zackchandler/trustcommerce/commit/242a80f4b621a12da2fec57c994a1c8ddbbcaf55</url>
  <id>242a80f4b621a12da2fec57c994a1c8ddbbcaf55</id>
  <committed-date>2008-03-30T21:21:48-07:00</committed-date>
  <authored-date>2008-03-30T21:21:48-07:00</authored-date>
  <message>reformat so markdown conversion works</message>
  <tree>981b37af947a9ddd51d77258131c0d8bd1ddb5e6</tree>
  <committer>
    <name>Zack Chandler</name>
    <email>zackchandler@depixelate.com</email>
  </committer>
</commit>
