<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -6,11 +6,12 @@ Capistrano::Configuration.instance.load do
       require 'rubygems'
       require 'activeresource'
 
-      class Story &lt; ActiveResource::Base
-        self.site = &quot;http://www.pivotaltracker.com/services/v2/projects/:project_id&quot;
-      end
+      class Story &lt; ActiveResource::Base ; end
 
+      protocol = self[:pivotal_tracker_ssl] ? 'https' : 'http'
+      Story.site = &quot;#{protocol}://www.pivotaltracker.com/services/v2/projects/:project_id&quot;
       Story.headers['X-TrackerToken'] = pivotal_tracker_token
+      
       puts &quot;* delivering tracker stories ...&quot;
       response = Story.put(:deliver_all_finished, :project_id =&gt; pivotal_tracker_project_id)
 </diff>
      <filename>lib/deploy_and_deliver/recipes.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>8bd0b2acda90659408197ae01d644a5e4081aba8</id>
    </parent>
  </parents>
  <author>
    <name>Zach Dennis</name>
    <email>zach.dennis@gmail.com</email>
  </author>
  <url>http://github.com/collectiveidea/deploy_and_deliver/commit/a229dada2151d6132f0f162c34ee1c73c861da7f</url>
  <id>a229dada2151d6132f0f162c34ee1c73c861da7f</id>
  <committed-date>2009-09-30T08:57:31-07:00</committed-date>
  <authored-date>2009-09-30T08:51:51-07:00</authored-date>
  <message>Added :pivotal_tracker_ssl option which accepts true/false. If not supplied it defaults to false. This changes the protocol used to access pivotal tracker's API to https or http based.</message>
  <tree>ae24c551cd38e3a988ba0cdfa75489293ffdf35f</tree>
  <committer>
    <name>Brandon Keepers</name>
    <email>brandon@collectiveidea.com</email>
  </committer>
</commit>
