lib/deploy_tracker/capistrano.rb in deploy_tracker-0.0.1 vs lib/deploy_tracker/capistrano.rb in deploy_tracker-0.0.2

- old
+ new

@@ -21,12 +21,11 @@ puts "[DeployTracker] Tracking Deployment" github_username = `git config --get github.user`.chomp throw "[DeployTracker] Please set your github username with...\n\t`git config --global github.user YOUR_GITHUB_USERNAME`." if github_username.size==0 - url = URI.parse('https://deploytracking.heroku.com/deploys') - data = "deploy[github_username]=#{github_username}&deploy[environment]=#{rails_env}&deploy[current_revision]=#{current_revision}&deploy[repository]=#{repository}&api_key=#{deploy_tracking_api_key}" + data = "deploy[github_username]=#{github_username}&deploy[environment]=#{rails_env}&deploy[revision]=#{current_revision}&deploy[repository]=#{repository}&api_key=#{deploy_tracking_api_key}" http = Net::HTTP.new('deploytracking.heroku.com', 443) http.use_ssl = true path = '/deploys'