Skip to content

Commit

Permalink
Bump to version 3 of API
Browse files Browse the repository at this point in the history
  • Loading branch information
tpope committed Jan 30, 2010
1 parent e9b3b6b commit d2957ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/pickler/tracker.rb
Expand Up @@ -5,7 +5,7 @@ class Pickler
class Tracker

ADDRESS = 'www.pivotaltracker.com'
BASE_PATH = '/services/v2'
BASE_PATH = '/services/v3'
SEARCH_KEYS = %w(label type state requester owner mywork id includedone)

class Error < Pickler::Error; end
Expand Down
2 changes: 1 addition & 1 deletion spec/spec_helper.rb
Expand Up @@ -12,7 +12,7 @@
response = Net::HTTPOK.new("1.1","200","OK")
response.instance_variable_set(:@body, File.read(file))
response.add_field "Content-type", "application/xml"
url = "http://www.pivotaltracker.com/services/v2/#{file.sub(/\.xml$/,'')}"
url = "http://www.pivotaltracker.com/services/v3/#{file.sub(/\.xml$/,'')}"
FakeWeb.register_uri(:get, url, :response => response)
end
end
Expand Down

0 comments on commit d2957ff

Please sign in to comment.