tracker_api 1.8.0 → 1.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.travis.yml +1 -0
- data/lib/tracker_api/client.rb +6 -4
- data/lib/tracker_api/version.rb +1 -1
- data/test/file_attachment_test.rb +3 -3
- data/test/vcr/cassettes/create_attachments.json +1 -1
- data/test/vcr/cassettes/create_comment_with_attachment.json +1 -1
- data/test/vcr/cassettes/delete_an_attachment.json +1 -1
- data/test/vcr/cassettes/delete_attachments.json +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: e5c69ed80fbe1f4d8cb18311a4df2807c7131678c79a4f2c8a54f39fa766a180
|
4
|
+
data.tar.gz: 9e69d8cfcfb3291ea39ed720685b761430aa12c83f8389ef100bde47f83ddb7b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 385942ec74532ff4285005b5477c3e6070f4a5ecdbe51fb2cbd91b8897a518599c31f90e6b91fd8101cb61a494462b8e4563c7f2c9356f258282a4fcaaf4b7d8
|
7
|
+
data.tar.gz: 92788d5cbc49ae6393fd1012f508c91ffe68e2ff29ee38821abc1dc83e928d5374ea6c78a257bcc3838152e797536f828a9fa7310f98946683c076631aa6c72c
|
data/.travis.yml
CHANGED
data/lib/tracker_api/client.rb
CHANGED
@@ -36,7 +36,7 @@ module TrackerApi
|
|
36
36
|
@connection = Faraday.new({ url: @url }.merge(connection_options)) do |builder|
|
37
37
|
# response
|
38
38
|
builder.use Faraday::Response::RaiseError
|
39
|
-
builder.response :json
|
39
|
+
builder.response :json, content_type: /\bjson/ # e.g., 'application/json; charset=utf-8'
|
40
40
|
|
41
41
|
# request
|
42
42
|
builder.request :multipart
|
@@ -190,7 +190,8 @@ module TrackerApi
|
|
190
190
|
opts[:params] = options[:params] || {}
|
191
191
|
opts[:token] = options[:token] || @token
|
192
192
|
headers = { 'User-Agent' => USER_AGENT,
|
193
|
-
'X-TrackerToken' => opts.fetch(:token)
|
193
|
+
'X-TrackerToken' => opts.fetch(:token),
|
194
|
+
'Accept' => 'application/json' }.merge(options.fetch(:headers, {}))
|
194
195
|
|
195
196
|
CONVENIENCE_HEADERS.each do |h|
|
196
197
|
if header = options[h]
|
@@ -223,10 +224,11 @@ module TrackerApi
|
|
223
224
|
end
|
224
225
|
response
|
225
226
|
rescue Faraday::Error::ClientError => e
|
226
|
-
|
227
|
+
status_code = e.response[:status]
|
228
|
+
case status_code
|
227
229
|
when 400..499 then raise TrackerApi::Errors::ClientError.new(e)
|
228
230
|
when 500..599 then raise TrackerApi::Errors::ServerError.new(e)
|
229
|
-
else raise "Expected 4xx or 5xx HTTP status code"
|
231
|
+
else raise "Expected 4xx or 5xx HTTP status code; got #{status_code} instead."
|
230
232
|
end
|
231
233
|
end
|
232
234
|
|
data/lib/tracker_api/version.rb
CHANGED
@@ -7,13 +7,13 @@ describe TrackerApi::Resources::FileAttachment do
|
|
7
7
|
let(:project) { VCR.use_cassette('get project') { client.project(project_id) } }
|
8
8
|
let(:story_id) { '66728004' }
|
9
9
|
let(:story) { VCR.use_cassette('get story') { project.story(story_id) } }
|
10
|
-
|
10
|
+
|
11
11
|
it 'can be deleted' do
|
12
12
|
VCR.use_cassette('delete an attachment', record: :new_episodes) do
|
13
13
|
comment_with_attachments = story.create_comment(text: "test comment", files: [File.expand_path('../Gemfile', File.dirname(__FILE__))])
|
14
14
|
comment_with_attachments.attachments(reload: true).size.must_equal 1
|
15
15
|
comment_with_attachments.attachments.first.delete
|
16
|
-
comment_with_attachments.attachments(reload: true).size.must_equal
|
16
|
+
comment_with_attachments.attachments(reload: true).size.must_equal 0
|
17
17
|
end
|
18
18
|
end
|
19
|
-
end
|
19
|
+
end
|
@@ -1 +1 @@
|
|
1
|
-
{"http_interactions":[{"request":{"method":"post","uri":"https://www.pivotaltracker.com/services/v5/projects/1027488/uploads","body":{"encoding":"UTF-8","string":"-------------RubyMultipartPost-
|
1
|
+
{"http_interactions":[{"request":{"method":"post","uri":"https://www.pivotaltracker.com/services/v5/projects/1027488/uploads","body":{"encoding":"UTF-8","string":"-------------RubyMultipartPost-dd6ad95ab88f92eed1df3ed33581fe14\r\nContent-Disposition: form-data; name=\"file\"; filename=\"Gemfile\"\r\nContent-Length: 144\r\nContent-Type: \r\nContent-Transfer-Encoding: binary\r\n\r\nsource 'https://rubygems.org'\n\n# Specify your gem's dependencies in tracker_api.gemspec\ngemspec\n\ngem 'coveralls', group: :test, require: false\n\n\r\n-------------RubyMultipartPost-dd6ad95ab88f92eed1df3ed33581fe14--\r\n\r\n"},"headers":{"User-Agent":["Ruby/2.4.0 (x86_64-darwin16; ruby) TrackerApi/1.8.0 Faraday/0.13.1"],"X-TrackerToken":["d55c3bc1f74346b843ca84ba340b29bf"],"Accept":["application/json"],"Content-Type":["multipart/form-data; boundary=-----------RubyMultipartPost-dd6ad95ab88f92eed1df3ed33581fe14"],"Content-Length":["419"]}},"response":{"status":{"code":200,"message":null},"headers":{"Access-Control-Allow-Credentials":["false"],"Access-Control-Allow-Headers":["X-TrackerToken,DNT,X-Mx-ReqToken,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,X-Tracker-Warn-Unless-Project-Version-Is"],"Access-Control-Allow-Methods":["GET, POST, PUT, DELETE, OPTIONS"],"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=0, private, must-revalidate"],"Content-Type":["application/json; charset=utf-8"],"Date":["Tue, 31 Oct 2017 16:20:45 GMT"],"Etag":["\"6a1b8eae3b1fbb93b8b83199a1588ea8\""],"Server":["nginx + Phusion Passenger"],"Status":["200 OK"],"Strict-Transport-Security":["max-age=31536000; includeSubDomains; preload"],"X-Content-Type-Options":["nosniff"],"X-Powered-By":["Phusion Passenger Enterprise"],"X-Rack-Cache":["invalidate, pass"],"X-Request-Id":["20f84411c70bf2551f2ec3fbf4048daf"],"X-Runtime":["2.551932"],"X-Tracker-Client-Pinger-Interval":["20"],"X-Tracker-Project-Version":["400"],"X-Ua-Compatible":["IE=Edge,chrome=1"],"X-Vcap-Request-Id":["f4eaf569-588e-48ba-79fc-5ca3f3609512"],"X-Xss-Protection":["1; mode=block"],"Content-Length":["256"],"Via":["1.1 google"],"Alt-Svc":["clear"]},"body":{"encoding":"ASCII-8BIT","string":"{\"kind\":\"file_attachment\",\"id\":85128281,\"filename\":\"Gemfile\",\"created_at\":\"2017-10-31T16:20:42Z\",\"uploader_id\":1266314,\"thumbnailable\":false,\"size\":144,\"download_url\":\"/file_attachments/85128281/download\",\"uploaded\":false,\"big_url\":\"#\",\"thumbnail_url\":\"#\"}"},"http_version":null},"recorded_at":"Tue, 31 Oct 2017 16:20:45 GMT"},{"request":{"method":"put","uri":"https://www.pivotaltracker.com/services/v5/projects/1027488/stories/66728004/comments/120836920?fields=%3Adefault%2Cfile_attachments","body":{"encoding":"UTF-8","string":"{\"file_attachment_ids_to_add\":[85128281]}"},"headers":{"User-Agent":["Ruby/2.4.0 (x86_64-darwin16; ruby) TrackerApi/1.8.0 Faraday/0.13.1"],"X-TrackerToken":["d55c3bc1f74346b843ca84ba340b29bf"],"Accept":["application/json"],"Content-Type":["application/json"]}},"response":{"status":{"code":200,"message":null},"headers":{"Access-Control-Allow-Credentials":["false"],"Access-Control-Allow-Headers":["X-TrackerToken,DNT,X-Mx-ReqToken,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,X-Tracker-Warn-Unless-Project-Version-Is"],"Access-Control-Allow-Methods":["GET, POST, PUT, DELETE, OPTIONS"],"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=0, private, must-revalidate"],"Content-Type":["application/json; charset=utf-8"],"Date":["Tue, 31 Oct 2017 16:20:45 GMT"],"Etag":["\"2ca662983b8bbe641a7c871aa99e0a83\""],"Server":["nginx + Phusion Passenger"],"Status":["200 OK"],"Strict-Transport-Security":["max-age=31536000; includeSubDomains; preload"],"X-Content-Type-Options":["nosniff"],"X-Powered-By":["Phusion Passenger Enterprise"],"X-Rack-Cache":["invalidate, pass"],"X-Request-Id":["ca3953b8be9cff1cd63c5d8f16cc0a24"],"X-Runtime":["0.221710"],"X-Tracker-Client-Pinger-Interval":["20"],"X-Tracker-Project-Version":["401"],"X-Ua-Compatible":["IE=Edge,chrome=1"],"X-Vcap-Request-Id":["bb266616-d875-497a-5a68-7bc1f3e49e3a"],"X-Xss-Protection":["1; mode=block"],"Content-Length":["454"],"Via":["1.1 google"],"Alt-Svc":["clear"]},"body":{"encoding":"ASCII-8BIT","string":"{\"kind\":\"comment\",\"file_attachments\":[{\"kind\":\"file_attachment\",\"id\":85128281,\"filename\":\"Gemfile\",\"created_at\":\"2017-10-31T16:20:42Z\",\"uploader_id\":1266314,\"thumbnailable\":false,\"size\":144,\"download_url\":\"/file_attachments/85128281/download\",\"uploaded\":false,\"big_url\":\"#\",\"thumbnail_url\":\"#\"}],\"id\":120836920,\"story_id\":66728004,\"text\":\"This is a comment.+++\",\"person_id\":1266314,\"created_at\":\"2015-12-17T22:13:55Z\",\"updated_at\":\"2017-10-31T16:20:45Z\"}"},"http_version":null},"recorded_at":"Tue, 31 Oct 2017 16:20:45 GMT"}],"recorded_with":"VCR 3.0.3"}
|
@@ -1 +1 @@
|
|
1
|
-
{"http_interactions":[{"request":{"method":"post","uri":"https://www.pivotaltracker.com/services/v5/projects/1027488/stories/66728004/comments","body":{"encoding":"UTF-8","string":"{\"text\":\"Test creating a comment\"}"},"headers":{"User-Agent":["Ruby/2.
|
1
|
+
{"http_interactions":[{"request":{"method":"post","uri":"https://www.pivotaltracker.com/services/v5/projects/1027488/stories/66728004/comments","body":{"encoding":"UTF-8","string":"{\"text\":\"Test creating a comment\"}"},"headers":{"User-Agent":["Ruby/2.4.0 (x86_64-darwin16; ruby) TrackerApi/1.8.0 Faraday/0.13.1"],"X-TrackerToken":["d55c3bc1f74346b843ca84ba340b29bf"],"Accept":["application/json"],"Content-Type":["application/json"]}},"response":{"status":{"code":200,"message":null},"headers":{"Access-Control-Allow-Credentials":["false"],"Access-Control-Allow-Headers":["X-TrackerToken,DNT,X-Mx-ReqToken,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,X-Tracker-Warn-Unless-Project-Version-Is"],"Access-Control-Allow-Methods":["GET, POST, PUT, DELETE, OPTIONS"],"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=0, private, must-revalidate"],"Content-Type":["application/json; charset=utf-8"],"Date":["Tue, 31 Oct 2017 16:15:51 GMT"],"Etag":["\"736fd39ad66bf89ba8d1872c417ea2f8\""],"Server":["nginx + Phusion Passenger"],"Status":["200 OK"],"Strict-Transport-Security":["max-age=31536000; includeSubDomains; preload"],"X-Content-Type-Options":["nosniff"],"X-Powered-By":["Phusion Passenger Enterprise"],"X-Rack-Cache":["invalidate, pass"],"X-Request-Id":["6cecd97d0005f72ec7a6caf8cb431413"],"X-Runtime":["0.489918"],"X-Tracker-Client-Pinger-Interval":["20"],"X-Tracker-Project-Version":["397"],"X-Ua-Compatible":["IE=Edge,chrome=1"],"X-Vcap-Request-Id":["6669bfb4-0d69-4047-5ec0-3510540e007b"],"X-Xss-Protection":["1; mode=block"],"Content-Length":["178"],"Via":["1.1 google"],"Alt-Svc":["clear"]},"body":{"encoding":"ASCII-8BIT","string":"{\"kind\":\"comment\",\"id\":181648335,\"story_id\":66728004,\"text\":\"Test creating a comment\",\"person_id\":1266314,\"created_at\":\"2017-10-31T16:15:50Z\",\"updated_at\":\"2017-10-31T16:15:50Z\"}"},"http_version":null},"recorded_at":"Tue, 31 Oct 2017 16:15:51 GMT"},{"request":{"method":"post","uri":"https://www.pivotaltracker.com/services/v5/projects/1027488/uploads","body":{"encoding":"UTF-8","string":"-------------RubyMultipartPost-c6995ef331cf872b4d6a6ac5be52d42e\r\nContent-Disposition: form-data; name=\"file\"; filename=\"Gemfile\"\r\nContent-Length: 144\r\nContent-Type: \r\nContent-Transfer-Encoding: binary\r\n\r\nsource 'https://rubygems.org'\n\n# Specify your gem's dependencies in tracker_api.gemspec\ngemspec\n\ngem 'coveralls', group: :test, require: false\n\n\r\n-------------RubyMultipartPost-c6995ef331cf872b4d6a6ac5be52d42e--\r\n\r\n"},"headers":{"User-Agent":["Ruby/2.4.0 (x86_64-darwin16; ruby) TrackerApi/1.8.0 Faraday/0.13.1"],"X-TrackerToken":["d55c3bc1f74346b843ca84ba340b29bf"],"Accept":["application/json"],"Content-Type":["multipart/form-data; boundary=-----------RubyMultipartPost-c6995ef331cf872b4d6a6ac5be52d42e"],"Content-Length":["419"]}},"response":{"status":{"code":200,"message":null},"headers":{"Access-Control-Allow-Credentials":["false"],"Access-Control-Allow-Headers":["X-TrackerToken,DNT,X-Mx-ReqToken,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,X-Tracker-Warn-Unless-Project-Version-Is"],"Access-Control-Allow-Methods":["GET, POST, PUT, DELETE, OPTIONS"],"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=0, private, must-revalidate"],"Content-Type":["application/json; charset=utf-8"],"Date":["Tue, 31 Oct 2017 16:15:51 GMT"],"Etag":["\"f5bab382dc93e1d6382d0ffd23f0d219\""],"Server":["nginx + Phusion Passenger"],"Status":["200 OK"],"Strict-Transport-Security":["max-age=31536000; includeSubDomains; preload"],"X-Content-Type-Options":["nosniff"],"X-Powered-By":["Phusion Passenger Enterprise"],"X-Rack-Cache":["invalidate, pass"],"X-Request-Id":["24e2c6b8807b7fab2b73c3b338666ac9"],"X-Runtime":["0.564545"],"X-Tracker-Client-Pinger-Interval":["20"],"X-Tracker-Project-Version":["397"],"X-Ua-Compatible":["IE=Edge,chrome=1"],"X-Vcap-Request-Id":["561a6716-0d93-48e3-713f-1c636b7df131"],"X-Xss-Protection":["1; mode=block"],"Content-Length":["256"],"Via":["1.1 google"],"Alt-Svc":["clear"]},"body":{"encoding":"ASCII-8BIT","string":"{\"kind\":\"file_attachment\",\"id\":85128165,\"filename\":\"Gemfile\",\"created_at\":\"2017-10-31T16:15:51Z\",\"uploader_id\":1266314,\"thumbnailable\":false,\"size\":144,\"download_url\":\"/file_attachments/85128165/download\",\"uploaded\":false,\"big_url\":\"#\",\"thumbnail_url\":\"#\"}"},"http_version":null},"recorded_at":"Tue, 31 Oct 2017 16:15:52 GMT"},{"request":{"method":"put","uri":"https://www.pivotaltracker.com/services/v5/projects/1027488/stories/66728004/comments/181648335?fields=%3Adefault%2Cfile_attachments","body":{"encoding":"UTF-8","string":"{\"file_attachment_ids_to_add\":[85128165]}"},"headers":{"User-Agent":["Ruby/2.4.0 (x86_64-darwin16; ruby) TrackerApi/1.8.0 Faraday/0.13.1"],"X-TrackerToken":["d55c3bc1f74346b843ca84ba340b29bf"],"Accept":["application/json"],"Content-Type":["application/json"]}},"response":{"status":{"code":200,"message":null},"headers":{"Access-Control-Allow-Credentials":["false"],"Access-Control-Allow-Headers":["X-TrackerToken,DNT,X-Mx-ReqToken,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,X-Tracker-Warn-Unless-Project-Version-Is"],"Access-Control-Allow-Methods":["GET, POST, PUT, DELETE, OPTIONS"],"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=0, private, must-revalidate"],"Content-Type":["application/json; charset=utf-8"],"Date":["Tue, 31 Oct 2017 16:15:52 GMT"],"Etag":["\"839a73aec784e94028df3b7e71f6073d\""],"Server":["nginx + Phusion Passenger"],"Status":["200 OK"],"Strict-Transport-Security":["max-age=31536000; includeSubDomains; preload"],"X-Content-Type-Options":["nosniff"],"X-Powered-By":["Phusion Passenger Enterprise"],"X-Rack-Cache":["invalidate, pass"],"X-Request-Id":["f973cc2f57fa6ad760a9344039f4db2a"],"X-Runtime":["0.250137"],"X-Tracker-Client-Pinger-Interval":["20"],"X-Tracker-Project-Version":["398"],"X-Ua-Compatible":["IE=Edge,chrome=1"],"X-Vcap-Request-Id":["6c1557e1-321e-4d19-584f-3746cea39250"],"X-Xss-Protection":["1; mode=block"],"Content-Length":["456"],"Via":["1.1 google"],"Alt-Svc":["clear"]},"body":{"encoding":"ASCII-8BIT","string":"{\"kind\":\"comment\",\"file_attachments\":[{\"kind\":\"file_attachment\",\"id\":85128165,\"filename\":\"Gemfile\",\"created_at\":\"2017-10-31T16:15:51Z\",\"uploader_id\":1266314,\"thumbnailable\":false,\"size\":144,\"download_url\":\"/file_attachments/85128165/download\",\"uploaded\":false,\"big_url\":\"#\",\"thumbnail_url\":\"#\"}],\"id\":181648335,\"story_id\":66728004,\"text\":\"Test creating a comment\",\"person_id\":1266314,\"created_at\":\"2017-10-31T16:15:50Z\",\"updated_at\":\"2017-10-31T16:15:52Z\"}"},"http_version":null},"recorded_at":"Tue, 31 Oct 2017 16:15:52 GMT"}],"recorded_with":"VCR 3.0.3"}
|
@@ -1 +1 @@
|
|
1
|
-
{"http_interactions":[{"request":{"method":"post","uri":"https://www.pivotaltracker.com/services/v5/projects/1027488/stories/66728004/comments","body":{"encoding":"UTF-8","string":"{\"text\":\"test comment\"}"},"headers":{"User-Agent":["Ruby/2.1.2 (x86_64-darwin16.0; ruby) TrackerApi/1.7.1 Faraday/0.12.1"],"X-TrackerToken":["d55c3bc1f74346b843ca84ba340b29bf"],"Content-Type":["application/json"]}},"response":{"status":{"code":200,"message":null},"headers":{"Access-Control-Allow-Credentials":["false"],"Access-Control-Allow-Headers":["X-TrackerToken,DNT,X-Mx-ReqToken,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,X-Tracker-Warn-Unless-Project-Version-Is"],"Access-Control-Allow-Methods":["GET, POST, PUT, DELETE, OPTIONS"],"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=0, private, must-revalidate"],"Content-Type":["application/json; charset=utf-8"],"Date":["Mon, 12 Jun 2017 04:32:05 GMT"],"Etag":["\"41563e5f526f1848b15c73c0e35da4d1\""],"Server":["nginx + Phusion Passenger"],"Status":["200 OK"],"Strict-Transport-Security":["max-age=31536000; includeSubDomains; preload"],"X-Content-Type-Options":["nosniff"],"X-Powered-By":["Phusion Passenger Enterprise"],"X-Rack-Cache":["invalidate, pass"],"X-Request-Id":["15f2a2b7c1afc750ed4bc4a9afd345eb"],"X-Runtime":["0.247018"],"X-Tracker-Client-Pinger-Interval":["20"],"X-Tracker-Project-Version":["274"],"X-Ua-Compatible":["IE=Edge,chrome=1"],"X-Vcap-Request-Id":["1e6356c1-5099-4c60-731a-9795c8ee7f09"],"X-Xss-Protection":["1; mode=block"],"Content-Length":["167"],"Connection":["keep-alive"]},"body":{"encoding":"ASCII-8BIT","string":"{\"kind\":\"comment\",\"id\":173612961,\"story_id\":66728004,\"text\":\"test comment\",\"person_id\":1266314,\"created_at\":\"2017-06-12T04:32:05Z\",\"updated_at\":\"2017-06-12T04:32:05Z\"}"},"http_version":null},"recorded_at":"Mon, 12 Jun 2017 04:32:05 GMT"},{"request":{"method":"post","uri":"https://www.pivotaltracker.com/services/v5/projects/1027488/uploads","body":{"encoding":"UTF-8","string":"-------------RubyMultipartPost-9d081de8e923a5f828bd19095e2d4614\r\nContent-Disposition: form-data; name=\"file\"; filename=\"Gemfile\"\r\nContent-Length: 144\r\nContent-Type: \r\nContent-Transfer-Encoding: binary\r\n\r\nsource 'https://rubygems.org'\n\n# Specify your gem's dependencies in tracker_api.gemspec\ngemspec\n\ngem 'coveralls', group: :test, require: false\n\n\r\n-------------RubyMultipartPost-9d081de8e923a5f828bd19095e2d4614--\r\n\r\n"},"headers":{"User-Agent":["Ruby/2.1.2 (x86_64-darwin16.0; ruby) TrackerApi/1.7.1 Faraday/0.12.1"],"X-TrackerToken":["d55c3bc1f74346b843ca84ba340b29bf"],"Content-Type":["multipart/form-data; boundary=-----------RubyMultipartPost-9d081de8e923a5f828bd19095e2d4614"],"Content-Length":["419"]}},"response":{"status":{"code":200,"message":null},"headers":{"Access-Control-Allow-Credentials":["false"],"Access-Control-Allow-Headers":["X-TrackerToken,DNT,X-Mx-ReqToken,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,X-Tracker-Warn-Unless-Project-Version-Is"],"Access-Control-Allow-Methods":["GET, POST, PUT, DELETE, OPTIONS"],"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=0, private, must-revalidate"],"Content-Type":["text/html; charset=utf-8"],"Date":["Mon, 12 Jun 2017 04:32:06 GMT"],"Etag":["\"668d416b586c3c528748c4c2e233a0da\""],"Server":["nginx + Phusion Passenger"],"Status":["200 OK"],"Strict-Transport-Security":["max-age=31536000; includeSubDomains; preload"],"X-Content-Type-Options":["nosniff"],"X-Powered-By":["Phusion Passenger Enterprise"],"X-Rack-Cache":["invalidate, pass"],"X-Request-Id":["e8798bd49ade52d16445406840c57697"],"X-Runtime":["0.690138"],"X-Tracker-Client-Pinger-Interval":["20"],"X-Tracker-Project-Version":["274"],"X-Ua-Compatible":["IE=Edge,chrome=1"],"X-Vcap-Request-Id":["97f94c33-a3ef-4a1c-5ffc-bc3acfa17f69"],"X-Xss-Protection":["1; mode=block"],"Content-Length":["256"],"Connection":["keep-alive"]},"body":{"encoding":"ASCII-8BIT","string":"{\"kind\":\"file_attachment\",\"id\":80981051,\"filename\":\"Gemfile\",\"created_at\":\"2017-06-12T04:32:06Z\",\"uploader_id\":1266314,\"thumbnailable\":false,\"size\":144,\"download_url\":\"/file_attachments/80981051/download\",\"uploaded\":false,\"big_url\":\"#\",\"thumbnail_url\":\"#\"}"},"http_version":null},"recorded_at":"Mon, 12 Jun 2017 04:32:06 GMT"},{"request":{"method":"put","uri":"https://www.pivotaltracker.com/services/v5/projects/1027488/stories/66728004/comments/173612961?fields=%3Adefault%2Cfile_attachments","body":{"encoding":"UTF-8","string":"{\"file_attachment_ids_to_add\":[80981051]}"},"headers":{"User-Agent":["Ruby/2.1.2 (x86_64-darwin16.0; ruby) TrackerApi/1.7.1 Faraday/0.12.1"],"X-TrackerToken":["d55c3bc1f74346b843ca84ba340b29bf"],"Content-Type":["application/json"]}},"response":{"status":{"code":200,"message":null},"headers":{"Access-Control-Allow-Credentials":["false"],"Access-Control-Allow-Headers":["X-TrackerToken,DNT,X-Mx-ReqToken,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,X-Tracker-Warn-Unless-Project-Version-Is"],"Access-Control-Allow-Methods":["GET, POST, PUT, DELETE, OPTIONS"],"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=0, private, must-revalidate"],"Content-Type":["application/json; charset=utf-8"],"Date":["Mon, 12 Jun 2017 04:32:07 GMT"],"Etag":["\"2a3224d7487c35a703524109f9a6f727\""],"Server":["nginx + Phusion Passenger"],"Status":["200 OK"],"Strict-Transport-Security":["max-age=31536000; includeSubDomains; preload"],"X-Content-Type-Options":["nosniff"],"X-Powered-By":["Phusion Passenger Enterprise"],"X-Rack-Cache":["invalidate, pass"],"X-Request-Id":["ef50a1a6b2e974e6d1963d866f031183"],"X-Runtime":["0.242017"],"X-Tracker-Client-Pinger-Interval":["20"],"X-Tracker-Project-Version":["275"],"X-Ua-Compatible":["IE=Edge,chrome=1"],"X-Vcap-Request-Id":["d4b02942-2a14-4bbb-5b59-2ec23d0b20d0"],"X-Xss-Protection":["1; mode=block"],"Content-Length":["445"],"Connection":["keep-alive"]},"body":{"encoding":"ASCII-8BIT","string":"{\"kind\":\"comment\",\"file_attachments\":[{\"kind\":\"file_attachment\",\"id\":80981051,\"filename\":\"Gemfile\",\"created_at\":\"2017-06-12T04:32:06Z\",\"uploader_id\":1266314,\"thumbnailable\":false,\"size\":144,\"download_url\":\"/file_attachments/80981051/download\",\"uploaded\":false,\"big_url\":\"#\",\"thumbnail_url\":\"#\"}],\"id\":173612961,\"story_id\":66728004,\"text\":\"test comment\",\"person_id\":1266314,\"created_at\":\"2017-06-12T04:32:05Z\",\"updated_at\":\"2017-06-12T04:32:07Z\"}"},"http_version":null},"recorded_at":"Mon, 12 Jun 2017 04:32:07 GMT"},{"request":{"method":"get","uri":"https://www.pivotaltracker.com/services/v5/projects/1027488/stories/66728004/comments/173612961?fields=file_attachments","body":{"encoding":"US-ASCII","string":""},"headers":{"User-Agent":["Ruby/2.1.2 (x86_64-darwin16.0; ruby) TrackerApi/1.7.1 Faraday/0.12.1"],"X-TrackerToken":["d55c3bc1f74346b843ca84ba340b29bf"]}},"response":{"status":{"code":200,"message":null},"headers":{"Access-Control-Allow-Credentials":["false"],"Access-Control-Allow-Headers":["X-TrackerToken,DNT,X-Mx-ReqToken,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,X-Tracker-Warn-Unless-Project-Version-Is"],"Access-Control-Allow-Methods":["GET, POST, PUT, DELETE, OPTIONS"],"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=0, private, must-revalidate"],"Content-Type":["application/json; charset=utf-8"],"Date":["Mon, 12 Jun 2017 04:35:19 GMT"],"Etag":["\"99e589a588c8942ef0fee8918334f509\""],"Server":["nginx + Phusion Passenger"],"Status":["200 OK"],"Strict-Transport-Security":["max-age=31536000; includeSubDomains; preload"],"X-Content-Type-Options":["nosniff"],"X-Powered-By":["Phusion Passenger Enterprise"],"X-Rack-Cache":["miss"],"X-Request-Id":["df1a64a0d133cfaa26e4860d26fff982"],"X-Runtime":["0.053143"],"X-Tracker-Client-Pinger-Interval":["20"],"X-Tracker-Project-Version":["276"],"X-Ua-Compatible":["IE=Edge,chrome=1"],"X-Vcap-Request-Id":["f60cfa8a-a7e5-492f-7e23-87ccf8310fe6"],"X-Xss-Protection":["1; mode=block"],"Content-Length":["1047"],"Connection":["keep-alive"]},"body":{"encoding":"ASCII-8BIT","string":"{\"file_attachments\":[{\"kind\":\"file_attachment\",\"id\":80981051,\"filename\":\"Gemfile\",\"created_at\":\"2017-06-12T04:32:06Z\",\"uploader_id\":1266314,\"thumbnailable\":false,\"size\":144,\"download_url\":\"/file_attachments/80981051/download\",\"uploaded\":true,\"big_url\":\"https://s3.amazonaws.com/prod.tracker2/resource/80981051/Gemfile_big?response-content-disposition=attachment&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJEX3ET63U5T77TYA%2F20170612%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20170612T043519Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=4d56cd218c2118fc8ecbe1a85f61a1a580e55d5a3005560e92840417cfb15456\",\"thumbnail_url\":\"https://s3.amazonaws.com/prod.tracker2/resource/80981051/Gemfile_thumb?response-content-disposition=attachment&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJEX3ET63U5T77TYA%2F20170612%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20170612T043519Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=d00de998df6c5ed301c9fc84b5d7889b19f55da0ffd169bc0596e06a7ef39212\"}],\"id\":173612961}"},"http_version":null},"recorded_at":"Mon, 12 Jun 2017 04:35:19 GMT"},{"request":{"method":"get","uri":"https://www.pivotaltracker.com/services/v5/projects/1027488/stories/66728004/comments/173612961?fields=file_attachments","body":{"encoding":"US-ASCII","string":""},"headers":{"User-Agent":["Ruby/2.1.2 (x86_64-darwin16.0; ruby) TrackerApi/1.7.1 Faraday/0.12.1"],"X-TrackerToken":["d55c3bc1f74346b843ca84ba340b29bf"]}},"response":{"status":{"code":200,"message":null},"headers":{"Access-Control-Allow-Credentials":["false"],"Access-Control-Allow-Headers":["X-TrackerToken,DNT,X-Mx-ReqToken,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,X-Tracker-Warn-Unless-Project-Version-Is"],"Access-Control-Allow-Methods":["GET, POST, PUT, DELETE, OPTIONS"],"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=0, private, must-revalidate"],"Content-Type":["application/json; charset=utf-8"],"Date":["Mon, 12 Jun 2017 04:35:22 GMT"],"Etag":["\"99e589a588c8942ef0fee8918334f509\""],"Server":["nginx + Phusion Passenger"],"Status":["200 OK"],"Strict-Transport-Security":["max-age=31536000; includeSubDomains; preload"],"X-Content-Type-Options":["nosniff"],"X-Powered-By":["Phusion Passenger Enterprise"],"X-Rack-Cache":["miss"],"X-Request-Id":["b152a48bc83e3fdc30a2b2476abe2136"],"X-Runtime":["0.039146"],"X-Tracker-Client-Pinger-Interval":["20"],"X-Tracker-Project-Version":["276"],"X-Ua-Compatible":["IE=Edge,chrome=1"],"X-Vcap-Request-Id":["424956d8-fb29-47da-67be-81ae11805b88"],"X-Xss-Protection":["1; mode=block"],"Content-Length":["1047"],"Connection":["keep-alive"]},"body":{"encoding":"ASCII-8BIT","string":"{\"file_attachments\":[{\"kind\":\"file_attachment\",\"id\":80981051,\"filename\":\"Gemfile\",\"created_at\":\"2017-06-12T04:32:06Z\",\"uploader_id\":1266314,\"thumbnailable\":false,\"size\":144,\"download_url\":\"/file_attachments/80981051/download\",\"uploaded\":true,\"big_url\":\"https://s3.amazonaws.com/prod.tracker2/resource/80981051/Gemfile_big?response-content-disposition=attachment&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJEX3ET63U5T77TYA%2F20170612%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20170612T043519Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=4d56cd218c2118fc8ecbe1a85f61a1a580e55d5a3005560e92840417cfb15456\",\"thumbnail_url\":\"https://s3.amazonaws.com/prod.tracker2/resource/80981051/Gemfile_thumb?response-content-disposition=attachment&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJEX3ET63U5T77TYA%2F20170612%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20170612T043519Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=d00de998df6c5ed301c9fc84b5d7889b19f55da0ffd169bc0596e06a7ef39212\"}],\"id\":173612961}"},"http_version":null},"recorded_at":"Mon, 12 Jun 2017 04:35:22 GMT"},{"request":{"method":"get","uri":"https://www.pivotaltracker.com/services/v5/projects/1027488/stories/66728004/comments/173612961?fields=file_attachments","body":{"encoding":"US-ASCII","string":""},"headers":{"User-Agent":["Ruby/2.1.2 (x86_64-darwin16.0; ruby) TrackerApi/1.7.1 Faraday/0.12.1"],"X-TrackerToken":["d55c3bc1f74346b843ca84ba340b29bf"]}},"response":{"status":{"code":200,"message":null},"headers":{"Access-Control-Allow-Credentials":["false"],"Access-Control-Allow-Headers":["X-TrackerToken,DNT,X-Mx-ReqToken,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,X-Tracker-Warn-Unless-Project-Version-Is"],"Access-Control-Allow-Methods":["GET, POST, PUT, DELETE, OPTIONS"],"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=0, private, must-revalidate"],"Content-Type":["application/json; charset=utf-8"],"Date":["Mon, 12 Jun 2017 04:35:24 GMT"],"Etag":["\"99e589a588c8942ef0fee8918334f509\""],"Server":["nginx + Phusion Passenger"],"Status":["200 OK"],"Strict-Transport-Security":["max-age=31536000; includeSubDomains; preload"],"X-Content-Type-Options":["nosniff"],"X-Powered-By":["Phusion Passenger Enterprise"],"X-Rack-Cache":["miss"],"X-Request-Id":["27ce8539c1aabd5c68cddc78487bb4eb"],"X-Runtime":["0.040199"],"X-Tracker-Client-Pinger-Interval":["20"],"X-Tracker-Project-Version":["276"],"X-Ua-Compatible":["IE=Edge,chrome=1"],"X-Vcap-Request-Id":["9a969e64-dd8a-4eab-5e4b-36d2e7688ced"],"X-Xss-Protection":["1; mode=block"],"Content-Length":["1047"],"Connection":["keep-alive"]},"body":{"encoding":"ASCII-8BIT","string":"{\"file_attachments\":[{\"kind\":\"file_attachment\",\"id\":80981051,\"filename\":\"Gemfile\",\"created_at\":\"2017-06-12T04:32:06Z\",\"uploader_id\":1266314,\"thumbnailable\":false,\"size\":144,\"download_url\":\"/file_attachments/80981051/download\",\"uploaded\":true,\"big_url\":\"https://s3.amazonaws.com/prod.tracker2/resource/80981051/Gemfile_big?response-content-disposition=attachment&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJEX3ET63U5T77TYA%2F20170612%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20170612T043519Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=4d56cd218c2118fc8ecbe1a85f61a1a580e55d5a3005560e92840417cfb15456\",\"thumbnail_url\":\"https://s3.amazonaws.com/prod.tracker2/resource/80981051/Gemfile_thumb?response-content-disposition=attachment&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJEX3ET63U5T77TYA%2F20170612%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20170612T043519Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=d00de998df6c5ed301c9fc84b5d7889b19f55da0ffd169bc0596e06a7ef39212\"}],\"id\":173612961}"},"http_version":null},"recorded_at":"Mon, 12 Jun 2017 04:35:24 GMT"},{"request":{"method":"put","uri":"https://www.pivotaltracker.com/services/v5/projects/1027488/stories/66728004/comments/173612961?fields=%3Adefault%2Cfile_attachments","body":{"encoding":"UTF-8","string":"{\"file_attachment_ids_to_remove\":[80981051]}"},"headers":{"User-Agent":["Ruby/2.1.2 (x86_64-darwin16.0; ruby) TrackerApi/1.7.1 Faraday/0.12.1"],"X-TrackerToken":["d55c3bc1f74346b843ca84ba340b29bf"],"Content-Type":["application/json"]}},"response":{"status":{"code":200,"message":null},"headers":{"Access-Control-Allow-Credentials":["false"],"Access-Control-Allow-Headers":["X-TrackerToken,DNT,X-Mx-ReqToken,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,X-Tracker-Warn-Unless-Project-Version-Is"],"Access-Control-Allow-Methods":["GET, POST, PUT, DELETE, OPTIONS"],"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=0, private, must-revalidate"],"Content-Type":["application/json; charset=utf-8"],"Date":["Mon, 12 Jun 2017 04:36:28 GMT"],"Etag":["\"083511cb26d157694ae7271dee2e8505\""],"Server":["nginx + Phusion Passenger"],"Status":["200 OK"],"Strict-Transport-Security":["max-age=31536000; includeSubDomains; preload"],"X-Content-Type-Options":["nosniff"],"X-Powered-By":["Phusion Passenger Enterprise"],"X-Rack-Cache":["invalidate, pass"],"X-Request-Id":["4294da1f152d4294ee10f60706d10dec"],"X-Runtime":["0.221678"],"X-Tracker-Client-Pinger-Interval":["20"],"X-Tracker-Project-Version":["277"],"X-Ua-Compatible":["IE=Edge,chrome=1"],"X-Vcap-Request-Id":["4834e483-a596-44b1-6669-4e8ef9edf255"],"X-Xss-Protection":["1; mode=block"],"Content-Length":["189"],"Connection":["keep-alive"]},"body":{"encoding":"ASCII-8BIT","string":"{\"kind\":\"comment\",\"file_attachments\":[],\"id\":173612961,\"story_id\":66728004,\"text\":\"test comment\",\"person_id\":1266314,\"created_at\":\"2017-06-12T04:32:05Z\",\"updated_at\":\"2017-06-12T04:36:28Z\"}"},"http_version":null},"recorded_at":"Mon, 12 Jun 2017 04:36:28 GMT"}],"recorded_with":"VCR 3.0.3"}
|
1
|
+
{"http_interactions":[{"request":{"method":"post","uri":"https://www.pivotaltracker.com/services/v5/projects/1027488/stories/66728004/comments","body":{"encoding":"UTF-8","string":"{\"text\":\"test comment\"}"},"headers":{"User-Agent":["Ruby/2.4.0 (x86_64-darwin16; ruby) TrackerApi/1.8.0 Faraday/0.13.1"],"X-TrackerToken":["d55c3bc1f74346b843ca84ba340b29bf"],"Accept":["application/json"],"Content-Type":["application/json"]}},"response":{"status":{"code":200,"message":null},"headers":{"Access-Control-Allow-Credentials":["false"],"Access-Control-Allow-Headers":["X-TrackerToken,DNT,X-Mx-ReqToken,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,X-Tracker-Warn-Unless-Project-Version-Is"],"Access-Control-Allow-Methods":["GET, POST, PUT, DELETE, OPTIONS"],"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=0, private, must-revalidate"],"Content-Type":["application/json; charset=utf-8"],"Date":["Tue, 31 Oct 2017 16:15:41 GMT"],"Etag":["\"0f624792eb1d5548d47bdbcc69088b92\""],"Server":["nginx + Phusion Passenger"],"Status":["200 OK"],"Strict-Transport-Security":["max-age=31536000; includeSubDomains; preload"],"X-Content-Type-Options":["nosniff"],"X-Powered-By":["Phusion Passenger Enterprise"],"X-Rack-Cache":["invalidate, pass"],"X-Request-Id":["0df68035ff4ecba8c316c8e0c934caa7"],"X-Runtime":["2.461907"],"X-Tracker-Client-Pinger-Interval":["20"],"X-Tracker-Project-Version":["390"],"X-Ua-Compatible":["IE=Edge,chrome=1"],"X-Vcap-Request-Id":["8a497cb1-6f71-4b9b-5d23-91b9c416a286"],"X-Xss-Protection":["1; mode=block"],"Content-Length":["167"],"Via":["1.1 google"],"Alt-Svc":["clear"]},"body":{"encoding":"ASCII-8BIT","string":"{\"kind\":\"comment\",\"id\":181648318,\"story_id\":66728004,\"text\":\"test comment\",\"person_id\":1266314,\"created_at\":\"2017-10-31T16:15:38Z\",\"updated_at\":\"2017-10-31T16:15:38Z\"}"},"http_version":null},"recorded_at":"Tue, 31 Oct 2017 16:15:41 GMT"},{"request":{"method":"post","uri":"https://www.pivotaltracker.com/services/v5/projects/1027488/uploads","body":{"encoding":"UTF-8","string":"-------------RubyMultipartPost-76754ae3a2adb9f1c6e52e8eb4dfcdba\r\nContent-Disposition: form-data; name=\"file\"; filename=\"Gemfile\"\r\nContent-Length: 144\r\nContent-Type: \r\nContent-Transfer-Encoding: binary\r\n\r\nsource 'https://rubygems.org'\n\n# Specify your gem's dependencies in tracker_api.gemspec\ngemspec\n\ngem 'coveralls', group: :test, require: false\n\n\r\n-------------RubyMultipartPost-76754ae3a2adb9f1c6e52e8eb4dfcdba--\r\n\r\n"},"headers":{"User-Agent":["Ruby/2.4.0 (x86_64-darwin16; ruby) TrackerApi/1.8.0 Faraday/0.13.1"],"X-TrackerToken":["d55c3bc1f74346b843ca84ba340b29bf"],"Accept":["application/json"],"Content-Type":["multipart/form-data; boundary=-----------RubyMultipartPost-76754ae3a2adb9f1c6e52e8eb4dfcdba"],"Content-Length":["419"]}},"response":{"status":{"code":200,"message":null},"headers":{"Access-Control-Allow-Credentials":["false"],"Access-Control-Allow-Headers":["X-TrackerToken,DNT,X-Mx-ReqToken,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,X-Tracker-Warn-Unless-Project-Version-Is"],"Access-Control-Allow-Methods":["GET, POST, PUT, DELETE, OPTIONS"],"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=0, private, must-revalidate"],"Content-Type":["application/json; charset=utf-8"],"Date":["Tue, 31 Oct 2017 16:15:44 GMT"],"Etag":["\"002675c515d5b8de11e2e885884b6beb\""],"Server":["nginx + Phusion Passenger"],"Status":["200 OK"],"Strict-Transport-Security":["max-age=31536000; includeSubDomains; preload"],"X-Content-Type-Options":["nosniff"],"X-Powered-By":["Phusion Passenger Enterprise"],"X-Rack-Cache":["invalidate, pass"],"X-Request-Id":["ff12bdc2ab6486c0d85e8dd74a176e9d"],"X-Runtime":["2.726080"],"X-Tracker-Client-Pinger-Interval":["20"],"X-Tracker-Project-Version":["390"],"X-Ua-Compatible":["IE=Edge,chrome=1"],"X-Vcap-Request-Id":["7f858030-2233-45ac-6ccd-cb717b8e11c5"],"X-Xss-Protection":["1; mode=block"],"Content-Length":["256"],"Via":["1.1 google"],"Alt-Svc":["clear"]},"body":{"encoding":"ASCII-8BIT","string":"{\"kind\":\"file_attachment\",\"id\":85128155,\"filename\":\"Gemfile\",\"created_at\":\"2017-10-31T16:15:41Z\",\"uploader_id\":1266314,\"thumbnailable\":false,\"size\":144,\"download_url\":\"/file_attachments/85128155/download\",\"uploaded\":false,\"big_url\":\"#\",\"thumbnail_url\":\"#\"}"},"http_version":null},"recorded_at":"Tue, 31 Oct 2017 16:15:44 GMT"},{"request":{"method":"put","uri":"https://www.pivotaltracker.com/services/v5/projects/1027488/stories/66728004/comments/181648318?fields=%3Adefault%2Cfile_attachments","body":{"encoding":"UTF-8","string":"{\"file_attachment_ids_to_add\":[85128155]}"},"headers":{"User-Agent":["Ruby/2.4.0 (x86_64-darwin16; ruby) TrackerApi/1.8.0 Faraday/0.13.1"],"X-TrackerToken":["d55c3bc1f74346b843ca84ba340b29bf"],"Accept":["application/json"],"Content-Type":["application/json"]}},"response":{"status":{"code":200,"message":null},"headers":{"Access-Control-Allow-Credentials":["false"],"Access-Control-Allow-Headers":["X-TrackerToken,DNT,X-Mx-ReqToken,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,X-Tracker-Warn-Unless-Project-Version-Is"],"Access-Control-Allow-Methods":["GET, POST, PUT, DELETE, OPTIONS"],"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=0, private, must-revalidate"],"Content-Type":["application/json; charset=utf-8"],"Date":["Tue, 31 Oct 2017 16:15:44 GMT"],"Etag":["\"fe35e9c6407ed86a633b50b33d3bb477\""],"Server":["nginx + Phusion Passenger"],"Status":["200 OK"],"Strict-Transport-Security":["max-age=31536000; includeSubDomains; preload"],"X-Content-Type-Options":["nosniff"],"X-Powered-By":["Phusion Passenger Enterprise"],"X-Rack-Cache":["invalidate, pass"],"X-Request-Id":["494b6389e92c72bf8015e4c22eaf243e"],"X-Runtime":["0.233361"],"X-Tracker-Client-Pinger-Interval":["20"],"X-Tracker-Project-Version":["391"],"X-Ua-Compatible":["IE=Edge,chrome=1"],"X-Vcap-Request-Id":["eccf2813-dca1-407a-4dd4-4a62721b644a"],"X-Xss-Protection":["1; mode=block"],"Content-Length":["445"],"Via":["1.1 google"],"Alt-Svc":["clear"]},"body":{"encoding":"ASCII-8BIT","string":"{\"kind\":\"comment\",\"file_attachments\":[{\"kind\":\"file_attachment\",\"id\":85128155,\"filename\":\"Gemfile\",\"created_at\":\"2017-10-31T16:15:41Z\",\"uploader_id\":1266314,\"thumbnailable\":false,\"size\":144,\"download_url\":\"/file_attachments/85128155/download\",\"uploaded\":false,\"big_url\":\"#\",\"thumbnail_url\":\"#\"}],\"id\":181648318,\"story_id\":66728004,\"text\":\"test comment\",\"person_id\":1266314,\"created_at\":\"2017-10-31T16:15:38Z\",\"updated_at\":\"2017-10-31T16:15:44Z\"}"},"http_version":null},"recorded_at":"Tue, 31 Oct 2017 16:15:44 GMT"},{"request":{"method":"get","uri":"https://www.pivotaltracker.com/services/v5/projects/1027488/stories/66728004/comments/181648318?fields=file_attachments","body":{"encoding":"US-ASCII","string":""},"headers":{"User-Agent":["Ruby/2.4.0 (x86_64-darwin16; ruby) TrackerApi/1.8.0 Faraday/0.13.1"],"X-TrackerToken":["d55c3bc1f74346b843ca84ba340b29bf"],"Accept":["application/json"]}},"response":{"status":{"code":200,"message":null},"headers":{"Access-Control-Allow-Credentials":["false"],"Access-Control-Allow-Headers":["X-TrackerToken,DNT,X-Mx-ReqToken,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,X-Tracker-Warn-Unless-Project-Version-Is"],"Access-Control-Allow-Methods":["GET, POST, PUT, DELETE, OPTIONS"],"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=0, private, must-revalidate"],"Content-Type":["application/json; charset=utf-8"],"Date":["Tue, 31 Oct 2017 16:15:45 GMT"],"Etag":["\"d7be6bea6d94ec189964f417fa92aee9\""],"Server":["nginx + Phusion Passenger"],"Status":["200 OK"],"Strict-Transport-Security":["max-age=31536000; includeSubDomains; preload"],"X-Content-Type-Options":["nosniff"],"X-Powered-By":["Phusion Passenger Enterprise"],"X-Rack-Cache":["miss"],"X-Request-Id":["c07d4b36be6f311c76d4812ed1ebb1ff"],"X-Runtime":["0.064744"],"X-Tracker-Client-Pinger-Interval":["20"],"X-Tracker-Project-Version":["391"],"X-Ua-Compatible":["IE=Edge,chrome=1"],"X-Vcap-Request-Id":["7215621b-a569-4475-7148-a184812d5e6b"],"X-Xss-Protection":["1; mode=block"],"Content-Length":["294"],"Via":["1.1 google"],"Alt-Svc":["clear"]},"body":{"encoding":"ASCII-8BIT","string":"{\"file_attachments\":[{\"kind\":\"file_attachment\",\"id\":85128155,\"filename\":\"Gemfile\",\"created_at\":\"2017-10-31T16:15:41Z\",\"uploader_id\":1266314,\"thumbnailable\":false,\"size\":144,\"download_url\":\"/file_attachments/85128155/download\",\"uploaded\":false,\"big_url\":\"#\",\"thumbnail_url\":\"#\"}],\"id\":181648318}"},"http_version":null},"recorded_at":"Tue, 31 Oct 2017 16:15:45 GMT"},{"request":{"method":"put","uri":"https://www.pivotaltracker.com/services/v5/projects/1027488/stories/66728004/comments/181648318?fields=%3Adefault%2Cfile_attachments","body":{"encoding":"UTF-8","string":"{\"file_attachment_ids_to_remove\":[85128155]}"},"headers":{"User-Agent":["Ruby/2.4.0 (x86_64-darwin16; ruby) TrackerApi/1.8.0 Faraday/0.13.1"],"X-TrackerToken":["d55c3bc1f74346b843ca84ba340b29bf"],"Accept":["application/json"],"Content-Type":["application/json"]}},"response":{"status":{"code":200,"message":null},"headers":{"Access-Control-Allow-Credentials":["false"],"Access-Control-Allow-Headers":["X-TrackerToken,DNT,X-Mx-ReqToken,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,X-Tracker-Warn-Unless-Project-Version-Is"],"Access-Control-Allow-Methods":["GET, POST, PUT, DELETE, OPTIONS"],"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=0, private, must-revalidate"],"Content-Type":["application/json; charset=utf-8"],"Date":["Tue, 31 Oct 2017 16:15:45 GMT"],"Etag":["\"18b7c34c5dcd4a51c299b010427330d6\""],"Server":["nginx + Phusion Passenger"],"Status":["200 OK"],"Strict-Transport-Security":["max-age=31536000; includeSubDomains; preload"],"X-Content-Type-Options":["nosniff"],"X-Powered-By":["Phusion Passenger Enterprise"],"X-Rack-Cache":["invalidate, pass"],"X-Request-Id":["2ab791dea3ac2929b1dce321c038dde6"],"X-Runtime":["0.245700"],"X-Tracker-Client-Pinger-Interval":["20"],"X-Tracker-Project-Version":["392"],"X-Ua-Compatible":["IE=Edge,chrome=1"],"X-Vcap-Request-Id":["8c846aa9-6547-42ee-6877-ee9edbb5ff59"],"X-Xss-Protection":["1; mode=block"],"Content-Length":["189"],"Via":["1.1 google"],"Alt-Svc":["clear"]},"body":{"encoding":"ASCII-8BIT","string":"{\"kind\":\"comment\",\"file_attachments\":[],\"id\":181648318,\"story_id\":66728004,\"text\":\"test comment\",\"person_id\":1266314,\"created_at\":\"2017-10-31T16:15:38Z\",\"updated_at\":\"2017-10-31T16:15:45Z\"}"},"http_version":null},"recorded_at":"Tue, 31 Oct 2017 16:15:45 GMT"},{"request":{"method":"get","uri":"https://www.pivotaltracker.com/services/v5/projects/1027488/stories/66728004/comments/181648318?fields=file_attachments","body":{"encoding":"US-ASCII","string":""},"headers":{"User-Agent":["Ruby/2.4.0 (x86_64-darwin16; ruby) TrackerApi/1.8.0 Faraday/0.13.1"],"X-TrackerToken":["d55c3bc1f74346b843ca84ba340b29bf"],"Accept":["application/json"]}},"response":{"status":{"code":200,"message":null},"headers":{"Access-Control-Allow-Credentials":["false"],"Access-Control-Allow-Headers":["X-TrackerToken,DNT,X-Mx-ReqToken,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,X-Tracker-Warn-Unless-Project-Version-Is"],"Access-Control-Allow-Methods":["GET, POST, PUT, DELETE, OPTIONS"],"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=0, private, must-revalidate"],"Content-Type":["application/json; charset=utf-8"],"Date":["Tue, 31 Oct 2017 16:15:45 GMT"],"Etag":["\"0977cd9c44a2e5b945fbe3fef7c449ef\""],"Server":["nginx + Phusion Passenger"],"Status":["200 OK"],"Strict-Transport-Security":["max-age=31536000; includeSubDomains; preload"],"X-Content-Type-Options":["nosniff"],"X-Powered-By":["Phusion Passenger Enterprise"],"X-Rack-Cache":["miss"],"X-Request-Id":["0335eb432568547a6702e6840ac5d046"],"X-Runtime":["0.112227"],"X-Tracker-Client-Pinger-Interval":["20"],"X-Tracker-Project-Version":["392"],"X-Ua-Compatible":["IE=Edge,chrome=1"],"X-Vcap-Request-Id":["3b9e92d7-9964-49aa-468b-4fcb2ec9d3a9"],"X-Xss-Protection":["1; mode=block"],"Content-Length":["38"],"Via":["1.1 google"],"Alt-Svc":["clear"]},"body":{"encoding":"ASCII-8BIT","string":"{\"file_attachments\":[],\"id\":181648318}"},"http_version":null},"recorded_at":"Tue, 31 Oct 2017 16:15:45 GMT"}],"recorded_with":"VCR 3.0.3"}
|
@@ -1 +1 @@
|
|
1
|
-
{"http_interactions":[{"request":{"method":"post","uri":"https://www.pivotaltracker.com/services/v5/projects/1027488/uploads","body":{"encoding":"UTF-8","string":"-------------RubyMultipartPost-
|
1
|
+
{"http_interactions":[{"request":{"method":"post","uri":"https://www.pivotaltracker.com/services/v5/projects/1027488/uploads","body":{"encoding":"UTF-8","string":"-------------RubyMultipartPost-8160073bba7222d4ee54de105732dad0\r\nContent-Disposition: form-data; name=\"file\"; filename=\"Gemfile\"\r\nContent-Length: 144\r\nContent-Type: \r\nContent-Transfer-Encoding: binary\r\n\r\nsource 'https://rubygems.org'\n\n# Specify your gem's dependencies in tracker_api.gemspec\ngemspec\n\ngem 'coveralls', group: :test, require: false\n\n\r\n-------------RubyMultipartPost-8160073bba7222d4ee54de105732dad0--\r\n\r\n"},"headers":{"User-Agent":["Ruby/2.4.0 (x86_64-darwin16; ruby) TrackerApi/1.8.0 Faraday/0.13.1"],"X-TrackerToken":["d55c3bc1f74346b843ca84ba340b29bf"],"Accept":["application/json"],"Content-Type":["multipart/form-data; boundary=-----------RubyMultipartPost-8160073bba7222d4ee54de105732dad0"],"Content-Length":["419"]}},"response":{"status":{"code":200,"message":null},"headers":{"Access-Control-Allow-Credentials":["false"],"Access-Control-Allow-Headers":["X-TrackerToken,DNT,X-Mx-ReqToken,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,X-Tracker-Warn-Unless-Project-Version-Is"],"Access-Control-Allow-Methods":["GET, POST, PUT, DELETE, OPTIONS"],"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=0, private, must-revalidate"],"Content-Type":["application/json; charset=utf-8"],"Date":["Tue, 31 Oct 2017 16:21:23 GMT"],"Etag":["\"1eba9a378975c759a4beb6f7b5133d83\""],"Server":["nginx + Phusion Passenger"],"Status":["200 OK"],"Strict-Transport-Security":["max-age=31536000; includeSubDomains; preload"],"X-Content-Type-Options":["nosniff"],"X-Powered-By":["Phusion Passenger Enterprise"],"X-Rack-Cache":["invalidate, pass"],"X-Request-Id":["a03e6d515dbbf8ce444be03aacf31d96"],"X-Runtime":["0.564741"],"X-Tracker-Client-Pinger-Interval":["20"],"X-Tracker-Project-Version":["403"],"X-Ua-Compatible":["IE=Edge,chrome=1"],"X-Vcap-Request-Id":["9ab9c4bc-ff62-4eb9-51c9-4113f62ebe5e"],"X-Xss-Protection":["1; mode=block"],"Content-Length":["256"],"Via":["1.1 google"],"Alt-Svc":["clear"]},"body":{"encoding":"ASCII-8BIT","string":"{\"kind\":\"file_attachment\",\"id\":85128301,\"filename\":\"Gemfile\",\"created_at\":\"2017-10-31T16:21:22Z\",\"uploader_id\":1266314,\"thumbnailable\":false,\"size\":144,\"download_url\":\"/file_attachments/85128301/download\",\"uploaded\":false,\"big_url\":\"#\",\"thumbnail_url\":\"#\"}"},"http_version":null},"recorded_at":"Tue, 31 Oct 2017 16:21:23 GMT"},{"request":{"method":"put","uri":"https://www.pivotaltracker.com/services/v5/projects/1027488/stories/66728004/comments/120836920?fields=%3Adefault%2Cfile_attachments","body":{"encoding":"UTF-8","string":"{\"file_attachment_ids_to_add\":[85128301]}"},"headers":{"User-Agent":["Ruby/2.4.0 (x86_64-darwin16; ruby) TrackerApi/1.8.0 Faraday/0.13.1"],"X-TrackerToken":["d55c3bc1f74346b843ca84ba340b29bf"],"Accept":["application/json"],"Content-Type":["application/json"]}},"response":{"status":{"code":200,"message":null},"headers":{"Access-Control-Allow-Credentials":["false"],"Access-Control-Allow-Headers":["X-TrackerToken,DNT,X-Mx-ReqToken,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,X-Tracker-Warn-Unless-Project-Version-Is"],"Access-Control-Allow-Methods":["GET, POST, PUT, DELETE, OPTIONS"],"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=0, private, must-revalidate"],"Content-Type":["application/json; charset=utf-8"],"Date":["Tue, 31 Oct 2017 16:21:23 GMT"],"Etag":["\"5cc5a9fe7d4015a6cce6b17e115f014c\""],"Server":["nginx + Phusion Passenger"],"Status":["200 OK"],"Strict-Transport-Security":["max-age=31536000; includeSubDomains; preload"],"X-Content-Type-Options":["nosniff"],"X-Powered-By":["Phusion Passenger Enterprise"],"X-Rack-Cache":["invalidate, pass"],"X-Request-Id":["f6d52c7d0dc8cdefb4d58a15a44a2735"],"X-Runtime":["0.211677"],"X-Tracker-Client-Pinger-Interval":["20"],"X-Tracker-Project-Version":["404"],"X-Ua-Compatible":["IE=Edge,chrome=1"],"X-Vcap-Request-Id":["6b2c2168-3530-4ef1-7cda-1f9b76418faf"],"X-Xss-Protection":["1; mode=block"],"Content-Length":["454"],"Via":["1.1 google"],"Alt-Svc":["clear"]},"body":{"encoding":"ASCII-8BIT","string":"{\"kind\":\"comment\",\"file_attachments\":[{\"kind\":\"file_attachment\",\"id\":85128301,\"filename\":\"Gemfile\",\"created_at\":\"2017-10-31T16:21:22Z\",\"uploader_id\":1266314,\"thumbnailable\":false,\"size\":144,\"download_url\":\"/file_attachments/85128301/download\",\"uploaded\":false,\"big_url\":\"#\",\"thumbnail_url\":\"#\"}],\"id\":120836920,\"story_id\":66728004,\"text\":\"This is a comment.+++\",\"person_id\":1266314,\"created_at\":\"2015-12-17T22:13:55Z\",\"updated_at\":\"2017-10-31T16:21:23Z\"}"},"http_version":null},"recorded_at":"Tue, 31 Oct 2017 16:21:24 GMT"},{"request":{"method":"put","uri":"https://www.pivotaltracker.com/services/v5/projects/1027488/stories/66728004/comments/120836920?fields=%3Adefault%2Cfile_attachments","body":{"encoding":"UTF-8","string":"{\"file_attachment_ids_to_remove\":[85128301]}"},"headers":{"User-Agent":["Ruby/2.4.0 (x86_64-darwin16; ruby) TrackerApi/1.8.0 Faraday/0.13.1"],"X-TrackerToken":["d55c3bc1f74346b843ca84ba340b29bf"],"Accept":["application/json"],"Content-Type":["application/json"]}},"response":{"status":{"code":200,"message":null},"headers":{"Access-Control-Allow-Credentials":["false"],"Access-Control-Allow-Headers":["X-TrackerToken,DNT,X-Mx-ReqToken,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,X-Tracker-Warn-Unless-Project-Version-Is"],"Access-Control-Allow-Methods":["GET, POST, PUT, DELETE, OPTIONS"],"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=0, private, must-revalidate"],"Content-Type":["application/json; charset=utf-8"],"Date":["Tue, 31 Oct 2017 16:21:24 GMT"],"Etag":["\"ba6f3682edce9aec09c2584a875aa6a8\""],"Server":["nginx + Phusion Passenger"],"Status":["200 OK"],"Strict-Transport-Security":["max-age=31536000; includeSubDomains; preload"],"X-Content-Type-Options":["nosniff"],"X-Powered-By":["Phusion Passenger Enterprise"],"X-Rack-Cache":["invalidate, pass"],"X-Request-Id":["c2cb548791ca749c6182754f929385b6"],"X-Runtime":["0.486444"],"X-Tracker-Client-Pinger-Interval":["20"],"X-Tracker-Project-Version":["405"],"X-Ua-Compatible":["IE=Edge,chrome=1"],"X-Vcap-Request-Id":["a1fe71b9-b07b-4c2e-798d-c0b9d493f6a7"],"X-Xss-Protection":["1; mode=block"],"Content-Length":["198"],"Via":["1.1 google"],"Alt-Svc":["clear"]},"body":{"encoding":"ASCII-8BIT","string":"{\"kind\":\"comment\",\"file_attachments\":[],\"id\":120836920,\"story_id\":66728004,\"text\":\"This is a comment.+++\",\"person_id\":1266314,\"created_at\":\"2015-12-17T22:13:55Z\",\"updated_at\":\"2017-10-31T16:21:24Z\"}"},"http_version":null},"recorded_at":"Tue, 31 Oct 2017 16:21:24 GMT"},{"request":{"method":"get","uri":"https://www.pivotaltracker.com/services/v5/projects/1027488/stories/66728004/comments/120836920?fields=file_attachments","body":{"encoding":"US-ASCII","string":""},"headers":{"User-Agent":["Ruby/2.4.0 (x86_64-darwin16; ruby) TrackerApi/1.8.0 Faraday/0.13.1"],"X-TrackerToken":["d55c3bc1f74346b843ca84ba340b29bf"],"Accept":["application/json"]}},"response":{"status":{"code":200,"message":null},"headers":{"Access-Control-Allow-Credentials":["false"],"Access-Control-Allow-Headers":["X-TrackerToken,DNT,X-Mx-ReqToken,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,X-Tracker-Warn-Unless-Project-Version-Is"],"Access-Control-Allow-Methods":["GET, POST, PUT, DELETE, OPTIONS"],"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=0, private, must-revalidate"],"Content-Type":["application/json; charset=utf-8"],"Date":["Tue, 31 Oct 2017 16:21:25 GMT"],"Etag":["\"b579761d6d39646cda5c21c8d061abfa\""],"Server":["nginx + Phusion Passenger"],"Status":["200 OK"],"Strict-Transport-Security":["max-age=31536000; includeSubDomains; preload"],"X-Content-Type-Options":["nosniff"],"X-Powered-By":["Phusion Passenger Enterprise"],"X-Rack-Cache":["miss"],"X-Request-Id":["c94ecce7f3b1181cfec490dbc48eb075"],"X-Runtime":["0.216021"],"X-Tracker-Client-Pinger-Interval":["20"],"X-Tracker-Project-Version":["405"],"X-Ua-Compatible":["IE=Edge,chrome=1"],"X-Vcap-Request-Id":["5d41a1db-3049-42e5-4ba0-75eee7d61560"],"X-Xss-Protection":["1; mode=block"],"Content-Length":["38"],"Via":["1.1 google"],"Alt-Svc":["clear"]},"body":{"encoding":"ASCII-8BIT","string":"{\"file_attachments\":[],\"id\":120836920}"},"http_version":null},"recorded_at":"Tue, 31 Oct 2017 16:21:25 GMT"}],"recorded_with":"VCR 3.0.3"}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tracker_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Forest Carlisle
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-06-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -437,7 +437,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
437
437
|
version: '0'
|
438
438
|
requirements: []
|
439
439
|
rubyforge_project:
|
440
|
-
rubygems_version: 2.
|
440
|
+
rubygems_version: 2.7.6
|
441
441
|
signing_key:
|
442
442
|
specification_version: 4
|
443
443
|
summary: API client for the Pivotal Tracker v5 API
|