tracker-client 1.0.3 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/command.rb +1 -1
  2. metadata +1 -1
data/lib/command.rb CHANGED
@@ -124,7 +124,7 @@ module Tracker
124
124
 
125
125
  def self.upload_patch_body(commit_id, body)
126
126
  # Inject TrackedAt header to the commit message
127
- body.sub!(/^---/m, "TrackedAt: #{config[:url]}/patch/#{commit_id}\n\n---")
127
+ body.sub!(/^---/m, "TrackedAt: #{config[:url].gsub(/\/$/, '')}/patch/#{commit_id}\n\n---")
128
128
  patch_file = Tempfile.new(commit_id)
129
129
  begin
130
130
  patch_file.write(body)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tracker-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: