tracker_api 0.2.6 → 0.2.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/README.md +11 -2
- data/lib/tracker_api/client.rb +26 -1
- data/lib/tracker_api/endpoints/activity.rb +38 -0
- data/lib/tracker_api/endpoints/epic.rb +1 -1
- data/lib/tracker_api/endpoints/epics.rb +1 -1
- data/lib/tracker_api/endpoints/me.rb +1 -1
- data/lib/tracker_api/endpoints/memberships.rb +1 -1
- data/lib/tracker_api/endpoints/notifications.rb +20 -0
- data/lib/tracker_api/endpoints/story.rb +8 -0
- data/lib/tracker_api/endpoints/tasks.rb +1 -1
- data/lib/tracker_api/resources/activity.rb +24 -0
- data/lib/tracker_api/resources/base.rb +71 -0
- data/lib/tracker_api/resources/change.rb +15 -0
- data/lib/tracker_api/resources/epic.rb +0 -2
- data/lib/tracker_api/resources/iteration.rb +4 -0
- data/lib/tracker_api/resources/me.rb +0 -2
- data/lib/tracker_api/resources/membership_summary.rb +0 -2
- data/lib/tracker_api/resources/notification.rb +26 -0
- data/lib/tracker_api/resources/person.rb +0 -2
- data/lib/tracker_api/resources/primary_resource.rb +13 -0
- data/lib/tracker_api/resources/project.rb +26 -3
- data/lib/tracker_api/resources/project_membership.rb +0 -2
- data/lib/tracker_api/resources/story.rb +21 -2
- data/lib/tracker_api/resources/task.rb +0 -2
- data/lib/tracker_api/version.rb +1 -1
- data/lib/tracker_api.rb +7 -0
- data/test/client_test.rb +45 -1
- data/test/project_test.rb +50 -0
- data/test/story_test.rb +50 -1
- data/test/vcr/cassettes/client_done_iterations_with_pagination.json +1 -1
- data/test/vcr/cassettes/client_get_limited_stories_with_no_pagination.json +1 -0
- data/test/vcr/cassettes/create_story.json +1 -0
- data/test/vcr/cassettes/get_activity.json +148 -0
- data/test/vcr/cassettes/get_all_notifications.json +50 -0
- data/test/vcr/cassettes/get_done_iterations.json +1 -1
- data/test/vcr/cassettes/get_iteration_by_number.json +1 -0
- data/test/vcr/cassettes/get_my_activities.json +1 -0
- data/test/vcr/cassettes/get_project_activity.json +1 -0
- data/test/vcr/cassettes/get_story.json +1 -0
- data/test/vcr/cassettes/get_story_activity.json +1 -0
- data/test/vcr/cassettes/get_tasks_when_stories_filtered.json +1 -0
- data/test/vcr/cassettes/get_unscheduled_story.json +1 -0
- data/test/vcr/cassettes/save_story.json +1 -0
- data/test/vcr/cassettes/save_story_with_multiple_changes.json +1 -0
- data/test/vcr/cassettes/update_story_to_create_activity.json +1 -0
- data/tracker_api.gemspec +3 -2
- metadata +101 -38
data/test/project_test.rb
CHANGED
@@ -63,6 +63,33 @@ describe TrackerApi::Resources::Project do
|
|
63
63
|
story.must_be_instance_of TrackerApi::Resources::Story
|
64
64
|
end
|
65
65
|
end
|
66
|
+
|
67
|
+
it 'can get an iteration by number' do
|
68
|
+
VCR.use_cassette('get iteration by number', record: :new_episodes) do
|
69
|
+
iterations = project.iterations(number: 2)
|
70
|
+
|
71
|
+
iterations.size.must_equal 1
|
72
|
+
iterations.first.must_be_instance_of TrackerApi::Resources::Iteration
|
73
|
+
iterations.first.number.must_equal 2
|
74
|
+
|
75
|
+
iterations = project.iterations(number: 1)
|
76
|
+
|
77
|
+
iterations.size.must_equal 1
|
78
|
+
iterations.first.must_be_instance_of TrackerApi::Resources::Iteration
|
79
|
+
iterations.first.number.must_equal 1
|
80
|
+
|
81
|
+
iterations = project.iterations(number: 10_000)
|
82
|
+
|
83
|
+
iterations.must_be_empty
|
84
|
+
end
|
85
|
+
end
|
86
|
+
|
87
|
+
it 'requires an iteration number > 0' do
|
88
|
+
VCR.use_cassette('get iteration by number', record: :new_episodes) do
|
89
|
+
-> { project.iterations(number: 0) }.must_raise(ArgumentError, /> 0/)
|
90
|
+
-> { project.iterations(number: -1) }.must_raise(ArgumentError, /> 0/)
|
91
|
+
end
|
92
|
+
end
|
66
93
|
end
|
67
94
|
|
68
95
|
describe '.stories' do
|
@@ -89,4 +116,27 @@ describe TrackerApi::Resources::Project do
|
|
89
116
|
end
|
90
117
|
end
|
91
118
|
end
|
119
|
+
|
120
|
+
describe '.activity' do
|
121
|
+
let(:story) { VCR.use_cassette('get unscheduled story') { project.stories(with_state: :unscheduled).first } }
|
122
|
+
|
123
|
+
before do
|
124
|
+
# create some activity
|
125
|
+
story.name = "#{story.name}+"
|
126
|
+
|
127
|
+
VCR.use_cassette('update story to create activity', record: :new_episodes) do
|
128
|
+
story.save
|
129
|
+
end
|
130
|
+
end
|
131
|
+
|
132
|
+
it 'gets all the activity for this project' do
|
133
|
+
VCR.use_cassette('get project activity', record: :new_episodes) do
|
134
|
+
activity = project.activity
|
135
|
+
|
136
|
+
activity.wont_be_empty
|
137
|
+
event = activity.first
|
138
|
+
event.must_be_instance_of TrackerApi::Resources::Activity
|
139
|
+
end
|
140
|
+
end
|
141
|
+
end
|
92
142
|
end
|
data/test/story_test.rb
CHANGED
@@ -5,11 +5,39 @@ describe TrackerApi::Resources::Story do
|
|
5
5
|
let(:client) { TrackerApi::Client.new token: pt_user[:token] }
|
6
6
|
let(:project_id) { pt_user[:project_id] }
|
7
7
|
let(:project) { VCR.use_cassette('get project') { client.project(project_id) } }
|
8
|
+
let(:story_id) { '66728004' }
|
9
|
+
let(:story) { VCR.use_cassette('get story') { project.story(story_id) } }
|
10
|
+
|
11
|
+
|
12
|
+
it 'can update an existing story' do
|
13
|
+
new_name = "#{story.name}+"
|
14
|
+
story.name = new_name
|
15
|
+
|
16
|
+
VCR.use_cassette('save story', record: :new_episodes) do
|
17
|
+
story.save
|
18
|
+
end
|
19
|
+
|
20
|
+
story.name.must_equal new_name
|
21
|
+
end
|
22
|
+
|
23
|
+
it 'can update multiple attributes of an existing story at once' do
|
24
|
+
new_name = "#{story.name}+"
|
25
|
+
new_desc = "#{story.description}+"
|
26
|
+
|
27
|
+
story.attributes = { name: new_name, description: new_desc }
|
28
|
+
|
29
|
+
VCR.use_cassette('save story with multiple changes', record: :new_episodes) do
|
30
|
+
story.save
|
31
|
+
end
|
32
|
+
|
33
|
+
story.name.must_equal new_name
|
34
|
+
story.description.must_equal new_desc
|
35
|
+
end
|
8
36
|
|
9
37
|
describe '.tasks' do
|
10
38
|
it 'gets all tasks for this story' do
|
11
39
|
VCR.use_cassette('get tasks', record: :new_episodes) do
|
12
|
-
tasks = project.story(
|
40
|
+
tasks = project.story(story_id).tasks
|
13
41
|
|
14
42
|
tasks.wont_be_empty
|
15
43
|
task = tasks.first
|
@@ -30,4 +58,25 @@ describe TrackerApi::Resources::Story do
|
|
30
58
|
end
|
31
59
|
end
|
32
60
|
end
|
61
|
+
|
62
|
+
describe '.activity' do
|
63
|
+
before do
|
64
|
+
# create some activity
|
65
|
+
story.name = "#{story.name}+"
|
66
|
+
|
67
|
+
VCR.use_cassette('update story to create activity', record: :new_episodes) do
|
68
|
+
story.save
|
69
|
+
end
|
70
|
+
end
|
71
|
+
|
72
|
+
it 'gets all the activity for this story' do
|
73
|
+
VCR.use_cassette('get story activity', record: :new_episodes) do
|
74
|
+
activity = story.activity
|
75
|
+
|
76
|
+
activity.wont_be_empty
|
77
|
+
event = activity.first
|
78
|
+
event.must_be_instance_of TrackerApi::Resources::Activity
|
79
|
+
end
|
80
|
+
end
|
81
|
+
end
|
33
82
|
end
|
@@ -1 +1 @@
|
|
1
|
-
{"http_interactions":[{"request":{"method":"get","uri":"https://www.pivotaltracker.com/services/v5/projects/1027488","body":{"encoding":"US-ASCII","string":""},"headers":{"User-Agent":["Ruby/2.0.0 (x86_64-darwin13.0.2; ruby) TrackerApi/0.2.1 Faraday/0.8.9"],"X-TrackerToken":["d55c3bc1f74346b843ca84ba340b29bf"]}},"response":{"status":{"code":200,"message":null},"headers":{"content-type":["application/json; charset=utf-8"],"transfer-encoding":["chunked"],"connection":["close"],"status":["200 OK"],"x-tracker-project-version":["3"],"x-ua-compatible":["IE=Edge,chrome=1"],"cache-control":["max-age=0, private, must-revalidate"],"x-request-id":["fea1c6d82465ee66e556be01724ff161"],"x-runtime":["0.065154"],"date":["Wed, 07 May 2014 04:50:06 GMT"],"x-rack-cache":["miss"],"x-powered-by":["Phusion Passenger 4.0.41"],"server":["nginx/1.6.0 + Phusion Passenger 4.0.41"],"access-control-allow-origin":["*"],"access-control-allow-credentials":["false"],"access-control-allow-methods":["GET, POST, PUT, DELETE, OPTIONS"],"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"]},"body":{"encoding":"UTF-8","string":"{\n \"id\": 1027488,\n \"kind\": \"project\",\n \"name\": \"My Sample Project\",\n \"version\": 3,\n \"iteration_length\": 1,\n \"week_start_day\": \"Monday\",\n \"point_scale\": \"0,1,2,3\",\n \"point_scale_is_custom\": false,\n \"bugs_and_chores_are_estimatable\": false,\n \"enable_planned_mode\": false,\n \"enable_tasks\": true,\n \"time_zone\": {\n \"kind\": \"time_zone\",\n \"olson_name\": \"America/Los_Angeles\",\n \"offset\": \"-07:00\"\n },\n \"velocity_averaged_over\": 3,\n \"number_of_done_iterations_to_show\": 12,\n \"has_google_domain\": false,\n \"profile_content\": \"This is a demo project, created by Tracker, with example stories for a simple shopping web site.\",\n \"enable_incoming_emails\": true,\n \"initial_velocity\": 10,\n \"public\": false,\n \"atom_enabled\": false,\n \"start_time\": \"2014-02-10T08:00:00Z\",\n \"created_at\": \"2014-03-02T07:11:04Z\",\n \"updated_at\": \"2014-03-02T07:11:04Z\",\n \"account_id\": 621384,\n \"current_iteration_number\": 13,\n \"enable_following\": true\n}"},"http_version":null},"recorded_at":"Wed, 07 May 2014 04:50:06 GMT"},{"request":{"method":"get","uri":"https://www.pivotaltracker.com/services/v5/projects/1027488/iterations?scope=done&offset=-12&limit=5","body":{"encoding":"US-ASCII","string":""},"headers":{"User-Agent":["Ruby/2.0.0 (x86_64-darwin13.0.2; ruby) TrackerApi/0.2.1 Faraday/0.8.9"],"X-TrackerToken":["d55c3bc1f74346b843ca84ba340b29bf"]}},"response":{"status":{"code":200,"message":null},"headers":{"content-type":["application/json; charset=utf-8"],"transfer-encoding":["chunked"],"connection":["close"],"status":["200 OK"],"x-tracker-project-version":["3"],"x-tracker-pagination-total":["12"],"x-tracker-pagination-offset":["-12"],"x-tracker-pagination-limit":["5"],"x-tracker-pagination-returned":["5"],"x-ua-compatible":["IE=Edge,chrome=1"],"cache-control":["max-age=0, private, must-revalidate"],"x-request-id":["2af256a26bcee7412d3de3ec23167684"],"x-runtime":["0.258338"],"date":["Wed, 07 May 2014 04:48:53 GMT"],"x-rack-cache":["miss"],"x-powered-by":["Phusion Passenger 4.0.41"],"server":["nginx/1.6.0 + Phusion Passenger 4.0.41"],"access-control-allow-origin":["*"],"access-control-allow-credentials":["false"],"access-control-allow-methods":["GET, POST, PUT, DELETE, OPTIONS"],"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"]},"body":{"encoding":"UTF-8","string":"[\n {\n \"kind\": \"iteration\",\n \"number\": 1,\n \"project_id\": 1027488,\n \"team_strength\": 1,\n \"stories\": [\n {\n \"kind\": \"story\",\n \"id\": 66727974,\n \"project_id\": 1027488,\n \"name\": \"Setup development environment\",\n \"description\": \"We need 2 machines set up\",\n \"story_type\": \"chore\",\n \"current_state\": \"accepted\",\n \"accepted_at\": \"2014-02-11T00:00:00Z\",\n \"requested_by_id\": 1266314,\n \"owner_ids\": [\n\n ],\n \"labels\": [\n\n ],\n \"created_at\": \"2014-02-10T00:00:00Z\",\n \"updated_at\": \"2014-03-02T07:11:04Z\",\n \"url\": \"http://www.pivotaltracker.com/story/show/66727974\"\n },\n {\n \"kind\": \"story\",\n \"id\": 66727976,\n \"project_id\": 1027488,\n \"name\": \"Setup demo server\",\n \"description\": \"Should be accessible from outside the network, with basic auth\",\n \"story_type\": \"chore\",\n \"current_state\": \"accepted\",\n \"accepted_at\": \"2014-02-11T00:00:00Z\",\n \"requested_by_id\": 1266314,\n \"owner_ids\": [\n\n ],\n \"labels\": [\n {\n \"kind\": \"label\",\n \"id\": 7849078,\n \"project_id\": 1027488,\n \"name\": \"deployment\",\n \"created_at\": \"2014-03-02T07:11:04Z\",\n \"updated_at\": \"2014-03-02T07:11:04Z\"\n }\n ],\n \"created_at\": \"2014-02-10T00:00:00Z\",\n \"updated_at\": \"2014-03-02T07:11:04Z\",\n \"url\": \"http://www.pivotaltracker.com/story/show/66727976\"\n },\n {\n \"kind\": \"story\",\n \"id\": 66727978,\n \"project_id\": 1027488,\n \"name\": \"Admin should be able to login\",\n \"description\": \"Admin should be a special user type. We can create the first admin user directly in the DB, but let's encrypt the password.\",\n \"story_type\": \"feature\",\n \"current_state\": \"accepted\",\n \"estimate\": 2,\n \"accepted_at\": \"2014-02-11T00:00:00Z\",\n \"requested_by_id\": 1266314,\n \"owner_ids\": [\n\n ],\n \"labels\": [\n {\n \"kind\": \"label\",\n \"id\": 7849080,\n \"project_id\": 1027488,\n \"name\": \"admin\",\n \"created_at\": \"2014-03-02T07:11:04Z\",\n \"updated_at\": \"2014-03-02T07:11:04Z\"\n }\n ],\n \"created_at\": \"2014-02-10T00:00:00Z\",\n \"updated_at\": \"2014-03-02T07:11:04Z\",\n \"url\": \"http://www.pivotaltracker.com/story/show/66727978\"\n },\n {\n \"kind\": \"story\",\n \"id\": 66727980,\n \"project_id\": 1027488,\n \"name\": \"Admin should be able to create new product\",\n \"description\": \"Product information includes title, description, price, SKU.\",\n \"story_type\": \"feature\",\n \"current_state\": \"accepted\",\n \"estimate\": 1,\n \"accepted_at\": \"2014-02-11T00:00:00Z\",\n \"requested_by_id\": 1266314,\n \"owner_ids\": [\n\n ],\n \"labels\": [\n {\n \"kind\": \"label\",\n \"id\": 7849080,\n \"project_id\": 1027488,\n \"name\": \"admin\",\n \"created_at\": \"2014-03-02T07:11:04Z\",\n \"updated_at\": \"2014-03-02T07:11:04Z\"\n }\n ],\n \"created_at\": \"2014-02-10T00:00:00Z\",\n \"updated_at\": \"2014-03-02T07:11:04Z\",\n \"url\": \"http://www.pivotaltracker.com/story/show/66727980\"\n },\n {\n \"kind\": \"story\",\n \"id\": 66727982,\n \"project_id\": 1027488,\n \"name\": \"Admin should be able to upload product photo\",\n \"story_type\": \"feature\",\n \"current_state\": \"accepted\",\n \"estimate\": 2,\n \"accepted_at\": \"2014-02-11T00:00:00Z\",\n \"requested_by_id\": 1266314,\n \"owner_ids\": [\n\n ],\n \"labels\": [\n {\n \"kind\": \"label\",\n \"id\": 7849080,\n \"project_id\": 1027488,\n \"name\": \"admin\",\n \"created_at\": \"2014-03-02T07:11:04Z\",\n \"updated_at\": \"2014-03-02T07:11:04Z\"\n }\n ],\n \"created_at\": \"2014-02-10T00:00:00Z\",\n \"updated_at\": \"2014-03-02T07:11:04Z\",\n \"url\": \"http://www.pivotaltracker.com/story/show/66727982\"\n }\n ],\n \"start\": \"2014-02-10T08:00:00Z\",\n \"finish\": \"2014-02-17T08:00:00Z\"\n },\n {\n \"kind\": \"iteration\",\n \"number\": 2,\n \"project_id\": 1027488,\n \"team_strength\": 1,\n \"stories\": [\n {\n \"kind\": \"story\",\n \"id\": 66727984,\n \"project_id\": 1027488,\n \"name\": \"Admin should be able to upload multiple product photos and mark one as the primary\",\n \"story_type\": \"feature\",\n \"current_state\": \"accepted\",\n \"estimate\": 3,\n \"accepted_at\": \"2014-02-18T00:00:00Z\",\n \"requested_by_id\": 1266314,\n \"owner_ids\": [\n\n ],\n \"labels\": [\n {\n \"kind\": \"label\",\n \"id\": 7849080,\n \"project_id\": 1027488,\n \"name\": \"admin\",\n \"created_at\": \"2014-03-02T07:11:04Z\",\n \"updated_at\": \"2014-03-02T07:11:04Z\"\n }\n ],\n \"created_at\": \"2014-02-10T00:00:00Z\",\n \"updated_at\": \"2014-03-02T07:11:04Z\",\n \"url\": \"http://www.pivotaltracker.com/story/show/66727984\"\n },\n {\n \"kind\": \"story\",\n \"id\": 66727986,\n \"project_id\": 1027488,\n \"name\": \"Shopper should see list of products, with primary photo as thumbnail\",\n \"story_type\": \"feature\",\n \"current_state\": \"accepted\",\n \"estimate\": 2,\n \"accepted_at\": \"2014-02-18T00:00:00Z\",\n \"requested_by_id\": 1266314,\n \"owner_ids\": [\n\n ],\n \"labels\": [\n {\n \"kind\": \"label\",\n \"id\": 7849082,\n \"project_id\": 1027488,\n \"name\": \"shopping\",\n \"created_at\": \"2014-03-02T07:11:04Z\",\n \"updated_at\": \"2014-03-02T07:11:04Z\"\n }\n ],\n \"created_at\": \"2014-02-10T00:00:00Z\",\n \"updated_at\": \"2014-03-02T07:11:04Z\",\n \"url\": \"http://www.pivotaltracker.com/story/show/66727986\"\n },\n {\n \"kind\": \"story\",\n \"id\": 66727988,\n \"project_id\": 1027488,\n \"name\": \"Product browsing should be paginated, with 10 products per page\",\n \"story_type\": \"feature\",\n \"current_state\": \"accepted\",\n \"estimate\": 1,\n \"accepted_at\": \"2014-02-18T00:00:00Z\",\n \"requested_by_id\": 1266314,\n \"owner_ids\": [\n\n ],\n \"labels\": [\n {\n \"kind\": \"label\",\n \"id\": 7849082,\n \"project_id\": 1027488,\n \"name\": \"shopping\",\n \"created_at\": \"2014-03-02T07:11:04Z\",\n \"updated_at\": \"2014-03-02T07:11:04Z\"\n }\n ],\n \"created_at\": \"2014-02-10T00:00:00Z\",\n \"updated_at\": \"2014-03-02T07:11:04Z\",\n \"url\": \"http://www.pivotaltracker.com/story/show/66727988\"\n },\n {\n \"kind\": \"story\",\n \"id\": 66727990,\n \"project_id\": 1027488,\n \"name\": \"Make product browsing pagination AJAXy\",\n \"story_type\": \"feature\",\n \"current_state\": \"accepted\",\n \"estimate\": 2,\n \"accepted_at\": \"2014-02-18T00:00:00Z\",\n \"requested_by_id\": 1266314,\n \"owner_ids\": [\n\n ],\n \"labels\": [\n {\n \"kind\": \"label\",\n \"id\": 7849082,\n \"project_id\": 1027488,\n \"name\": \"shopping\",\n \"created_at\": \"2014-03-02T07:11:04Z\",\n \"updated_at\": \"2014-03-02T07:11:04Z\"\n },\n {\n \"kind\": \"label\",\n \"id\": 7849084,\n \"project_id\": 1027488,\n \"name\": \"usability\",\n \"created_at\": \"2014-03-02T07:11:05Z\",\n \"updated_at\": \"2014-03-02T07:11:05Z\"\n }\n ],\n \"created_at\": \"2014-02-10T00:00:00Z\",\n \"updated_at\": \"2014-03-02T07:11:04Z\",\n \"url\": \"http://www.pivotaltracker.com/story/show/66727990\"\n },\n {\n \"kind\": \"story\",\n \"id\": 66727992,\n \"project_id\": 1027488,\n \"name\": \"Admin should be able to import multiple new products from CSV file\",\n \"story_type\": \"feature\",\n \"current_state\": \"accepted\",\n \"estimate\": 3,\n \"accepted_at\": \"2014-02-18T00:00:00Z\",\n \"requested_by_id\": 1266314,\n \"owner_ids\": [\n\n ],\n \"labels\": [\n {\n \"kind\": \"label\",\n \"id\": 7849080,\n \"project_id\": 1027488,\n \"name\": \"admin\",\n \"created_at\": \"2014-03-02T07:11:04Z\",\n \"updated_at\": \"2014-03-02T07:11:04Z\"\n }\n ],\n \"created_at\": \"2014-02-10T00:00:00Z\",\n \"updated_at\": \"2014-03-02T07:11:05Z\",\n \"url\": \"http://www.pivotaltracker.com/story/show/66727992\"\n }\n ],\n \"start\": \"2014-02-17T08:00:00Z\",\n \"finish\": \"2014-02-24T08:00:00Z\"\n },\n {\n \"kind\": \"iteration\",\n \"number\": 3,\n \"project_id\": 1027488,\n \"team_strength\": 1,\n \"stories\": [\n {\n \"kind\": \"story\",\n \"id\": 66727994,\n \"project_id\": 1027488,\n \"name\": \"Shopper should be able to click on a product, and see all product details, including photos\",\n \"story_type\": \"feature\",\n \"current_state\": \"accepted\",\n \"estimate\": 1,\n \"accepted_at\": \"2014-03-02T00:00:00Z\",\n \"requested_by_id\": 1266314,\n \"owner_ids\": [\n\n ],\n \"labels\": [\n {\n \"kind\": \"label\",\n \"id\": 7849082,\n \"project_id\": 1027488,\n \"name\": \"shopping\",\n \"created_at\": \"2014-03-02T07:11:04Z\",\n \"updated_at\": \"2014-03-02T07:11:04Z\"\n }\n ],\n \"created_at\": \"2014-02-17T00:00:00Z\",\n \"updated_at\": \"2014-03-02T07:11:05Z\",\n \"url\": \"http://www.pivotaltracker.com/story/show/66727994\"\n },\n {\n \"kind\": \"story\",\n \"id\": 66727996,\n \"project_id\": 1027488,\n \"name\": \"Shopper should be able to add product to shopping cart\",\n \"story_type\": \"feature\",\n \"current_state\": \"accepted\",\n \"estimate\": 1,\n \"accepted_at\": \"2014-03-02T07:11:05Z\",\n \"requested_by_id\": 1266314,\n \"owner_ids\": [\n\n ],\n \"labels\": [\n {\n \"kind\": \"label\",\n \"id\": 7849086,\n \"project_id\": 1027488,\n \"name\": \"cart\",\n \"created_at\": \"2014-03-02T07:11:05Z\",\n \"updated_at\": \"2014-03-02T07:11:05Z\"\n },\n {\n \"kind\": \"label\",\n \"id\": 7849082,\n \"project_id\": 1027488,\n \"name\": \"shopping\",\n \"created_at\": \"2014-03-02T07:11:04Z\",\n \"updated_at\": \"2014-03-02T07:11:04Z\"\n }\n ],\n \"created_at\": \"2014-02-17T00:00:00Z\",\n \"updated_at\": \"2014-03-02T07:11:05Z\",\n \"url\": \"http://www.pivotaltracker.com/story/show/66727996\"\n }\n ],\n \"start\": \"2014-02-24T08:00:00Z\",\n \"finish\": \"2014-03-03T08:00:00Z\"\n },\n {\n \"kind\": \"iteration\",\n \"number\": 4,\n \"project_id\": 1027488,\n \"team_strength\": 1,\n \"stories\": [\n\n ],\n \"start\": \"2014-03-03T08:00:00Z\",\n \"finish\": \"2014-03-10T07:00:00Z\"\n },\n {\n \"kind\": \"iteration\",\n \"number\": 5,\n \"project_id\": 1027488,\n \"team_strength\": 1,\n \"stories\": [\n\n ],\n \"start\": \"2014-03-10T07:00:00Z\",\n \"finish\": \"2014-03-17T07:00:00Z\"\n }\n]"},"http_version":null},"recorded_at":"Wed, 07 May 2014 04:50:06 GMT"},{"request":{"method":"get","uri":"https://www.pivotaltracker.com/services/v5/projects/1027488/iterations?scope=done&offset=-7&limit=5","body":{"encoding":"US-ASCII","string":""},"headers":{"User-Agent":["Ruby/2.0.0 (x86_64-darwin13.0.2; ruby) TrackerApi/0.2.1 Faraday/0.8.9"],"X-TrackerToken":["d55c3bc1f74346b843ca84ba340b29bf"]}},"response":{"status":{"code":200,"message":null},"headers":{"content-type":["application/json; charset=utf-8"],"transfer-encoding":["chunked"],"connection":["close"],"status":["200 OK"],"x-tracker-project-version":["3"],"x-tracker-pagination-total":["12"],"x-tracker-pagination-offset":["-7"],"x-tracker-pagination-limit":["5"],"x-tracker-pagination-returned":["5"],"x-ua-compatible":["IE=Edge,chrome=1"],"cache-control":["max-age=0, private, must-revalidate"],"x-request-id":["2e91547e50e9b86e52da6fd56876b1d4"],"x-runtime":["0.154181"],"date":["Wed, 07 May 2014 04:48:53 GMT"],"x-rack-cache":["miss"],"x-powered-by":["Phusion Passenger 4.0.41"],"server":["nginx/1.6.0 + Phusion Passenger 4.0.41"],"access-control-allow-origin":["*"],"access-control-allow-credentials":["false"],"access-control-allow-methods":["GET, POST, PUT, DELETE, OPTIONS"],"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"]},"body":{"encoding":"UTF-8","string":"[\n {\n \"kind\": \"iteration\",\n \"number\": 6,\n \"project_id\": 1027488,\n \"team_strength\": 1,\n \"stories\": [\n\n ],\n \"start\": \"2014-03-17T07:00:00Z\",\n \"finish\": \"2014-03-24T07:00:00Z\"\n },\n {\n \"kind\": \"iteration\",\n \"number\": 7,\n \"project_id\": 1027488,\n \"team_strength\": 1,\n \"stories\": [\n\n ],\n \"start\": \"2014-03-24T07:00:00Z\",\n \"finish\": \"2014-03-31T07:00:00Z\"\n },\n {\n \"kind\": \"iteration\",\n \"number\": 8,\n \"project_id\": 1027488,\n \"team_strength\": 1,\n \"stories\": [\n\n ],\n \"start\": \"2014-03-31T07:00:00Z\",\n \"finish\": \"2014-04-07T07:00:00Z\"\n },\n {\n \"kind\": \"iteration\",\n \"number\": 9,\n \"project_id\": 1027488,\n \"team_strength\": 1,\n \"stories\": [\n\n ],\n \"start\": \"2014-04-07T07:00:00Z\",\n \"finish\": \"2014-04-14T07:00:00Z\"\n },\n {\n \"kind\": \"iteration\",\n \"number\": 10,\n \"project_id\": 1027488,\n \"team_strength\": 1,\n \"stories\": [\n\n ],\n \"start\": \"2014-04-14T07:00:00Z\",\n \"finish\": \"2014-04-21T07:00:00Z\"\n }\n]"},"http_version":null},"recorded_at":"Wed, 07 May 2014 04:50:07 GMT"},{"request":{"method":"get","uri":"https://www.pivotaltracker.com/services/v5/projects/1027488/iterations?scope=done&offset=-2&limit=5","body":{"encoding":"US-ASCII","string":""},"headers":{"User-Agent":["Ruby/2.0.0 (x86_64-darwin13.0.2; ruby) TrackerApi/0.2.1 Faraday/0.8.9"],"X-TrackerToken":["d55c3bc1f74346b843ca84ba340b29bf"]}},"response":{"status":{"code":200,"message":null},"headers":{"content-type":["application/json; charset=utf-8"],"transfer-encoding":["chunked"],"connection":["close"],"status":["200 OK"],"x-tracker-project-version":["3"],"x-tracker-pagination-total":["12"],"x-tracker-pagination-offset":["-2"],"x-tracker-pagination-limit":["5"],"x-tracker-pagination-returned":["2"],"x-ua-compatible":["IE=Edge,chrome=1"],"cache-control":["max-age=0, private, must-revalidate"],"x-request-id":["3ba332b4d55c2aa937ea538fbd8a9171"],"x-runtime":["0.126451"],"date":["Wed, 07 May 2014 04:50:07 GMT"],"x-rack-cache":["miss"],"x-powered-by":["Phusion Passenger 4.0.41"],"server":["nginx/1.6.0 + Phusion Passenger 4.0.41"],"access-control-allow-origin":["*"],"access-control-allow-credentials":["false"],"access-control-allow-methods":["GET, POST, PUT, DELETE, OPTIONS"],"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"]},"body":{"encoding":"UTF-8","string":"[\n {\n \"kind\": \"iteration\",\n \"number\": 11,\n \"project_id\": 1027488,\n \"team_strength\": 1,\n \"stories\": [\n\n ],\n \"start\": \"2014-04-21T07:00:00Z\",\n \"finish\": \"2014-04-28T07:00:00Z\"\n },\n {\n \"kind\": \"iteration\",\n \"number\": 12,\n \"project_id\": 1027488,\n \"team_strength\": 1,\n \"stories\": [\n\n ],\n \"start\": \"2014-04-28T07:00:00Z\",\n \"finish\": \"2014-05-05T07:00:00Z\"\n }\n]"},"http_version":null},"recorded_at":"Wed, 07 May 2014 04:50:07 GMT"}],"recorded_with":"VCR 2.8.0"}
|
1
|
+
{"http_interactions":[{"request":{"method":"get","uri":"https://www.pivotaltracker.com/services/v5/projects/1027488","body":{"encoding":"US-ASCII","string":""},"headers":{"User-Agent":["Ruby/2.0.0 (x86_64-darwin13.0.2; ruby) TrackerApi/0.2.1 Faraday/0.8.9"],"X-TrackerToken":["d55c3bc1f74346b843ca84ba340b29bf"]}},"response":{"status":{"code":200,"message":null},"headers":{"content-type":["application/json; charset=utf-8"],"transfer-encoding":["chunked"],"connection":["close"],"status":["200 OK"],"x-tracker-project-version":["3"],"x-ua-compatible":["IE=Edge,chrome=1"],"cache-control":["max-age=0, private, must-revalidate"],"x-request-id":["fea1c6d82465ee66e556be01724ff161"],"x-runtime":["0.065154"],"date":["Wed, 07 May 2014 04:50:06 GMT"],"x-rack-cache":["miss"],"x-powered-by":["Phusion Passenger 4.0.41"],"server":["nginx/1.6.0 + Phusion Passenger 4.0.41"],"access-control-allow-origin":["*"],"access-control-allow-credentials":["false"],"access-control-allow-methods":["GET, POST, PUT, DELETE, OPTIONS"],"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"]},"body":{"encoding":"UTF-8","string":"{\n \"id\": 1027488,\n \"kind\": \"project\",\n \"name\": \"My Sample Project\",\n \"version\": 3,\n \"iteration_length\": 1,\n \"week_start_day\": \"Monday\",\n \"point_scale\": \"0,1,2,3\",\n \"point_scale_is_custom\": false,\n \"bugs_and_chores_are_estimatable\": false,\n \"enable_planned_mode\": false,\n \"enable_tasks\": true,\n \"time_zone\": {\n \"kind\": \"time_zone\",\n \"olson_name\": \"America/Los_Angeles\",\n \"offset\": \"-07:00\"\n },\n \"velocity_averaged_over\": 3,\n \"number_of_done_iterations_to_show\": 12,\n \"has_google_domain\": false,\n \"profile_content\": \"This is a demo project, created by Tracker, with example stories for a simple shopping web site.\",\n \"enable_incoming_emails\": true,\n \"initial_velocity\": 10,\n \"public\": false,\n \"atom_enabled\": false,\n \"start_time\": \"2014-02-10T08:00:00Z\",\n \"created_at\": \"2014-03-02T07:11:04Z\",\n \"updated_at\": \"2014-03-02T07:11:04Z\",\n \"account_id\": 621384,\n \"current_iteration_number\": 13,\n \"enable_following\": true\n}"},"http_version":null},"recorded_at":"Wed, 07 May 2014 04:50:06 GMT"},{"request":{"method":"get","uri":"https://www.pivotaltracker.com/services/v5/projects/1027488/iterations?scope=done&offset=-12&limit=5","body":{"encoding":"US-ASCII","string":""},"headers":{"User-Agent":["Ruby/2.0.0 (x86_64-darwin13.0.2; ruby) TrackerApi/0.2.1 Faraday/0.8.9"],"X-TrackerToken":["d55c3bc1f74346b843ca84ba340b29bf"]}},"response":{"status":{"code":200,"message":null},"headers":{"content-type":["application/json; charset=utf-8"],"transfer-encoding":["chunked"],"connection":["close"],"status":["200 OK"],"x-tracker-project-version":["3"],"x-tracker-pagination-total":["12"],"x-tracker-pagination-offset":["-12"],"x-tracker-pagination-limit":["5"],"x-tracker-pagination-returned":["5"],"x-ua-compatible":["IE=Edge,chrome=1"],"cache-control":["max-age=0, private, must-revalidate"],"x-request-id":["2af256a26bcee7412d3de3ec23167684"],"x-runtime":["0.258338"],"date":["Wed, 07 May 2014 04:48:53 GMT"],"x-rack-cache":["miss"],"x-powered-by":["Phusion Passenger 4.0.41"],"server":["nginx/1.6.0 + Phusion Passenger 4.0.41"],"access-control-allow-origin":["*"],"access-control-allow-credentials":["false"],"access-control-allow-methods":["GET, POST, PUT, DELETE, OPTIONS"],"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"]},"body":{"encoding":"UTF-8","string":"[\n {\n \"kind\": \"iteration\",\n \"number\": 1,\n \"project_id\": 1027488,\n \"team_strength\": 1,\n \"stories\": [\n {\n \"kind\": \"story\",\n \"id\": 66727974,\n \"project_id\": 1027488,\n \"name\": \"Setup development environment\",\n \"description\": \"We need 2 machines set up\",\n \"story_type\": \"chore\",\n \"current_state\": \"accepted\",\n \"accepted_at\": \"2014-02-11T00:00:00Z\",\n \"requested_by_id\": 1266314,\n \"owner_ids\": [\n\n ],\n \"labels\": [\n\n ],\n \"created_at\": \"2014-02-10T00:00:00Z\",\n \"updated_at\": \"2014-03-02T07:11:04Z\",\n \"url\": \"http://www.pivotaltracker.com/story/show/66727974\"\n },\n {\n \"kind\": \"story\",\n \"id\": 66727976,\n \"project_id\": 1027488,\n \"name\": \"Setup demo server\",\n \"description\": \"Should be accessible from outside the network, with basic auth\",\n \"story_type\": \"chore\",\n \"current_state\": \"accepted\",\n \"accepted_at\": \"2014-02-11T00:00:00Z\",\n \"requested_by_id\": 1266314,\n \"owner_ids\": [\n\n ],\n \"labels\": [\n {\n \"kind\": \"label\",\n \"id\": 7849078,\n \"project_id\": 1027488,\n \"name\": \"deployment\",\n \"created_at\": \"2014-03-02T07:11:04Z\",\n \"updated_at\": \"2014-03-02T07:11:04Z\"\n }\n ],\n \"created_at\": \"2014-02-10T00:00:00Z\",\n \"updated_at\": \"2014-03-02T07:11:04Z\",\n \"url\": \"http://www.pivotaltracker.com/story/show/66727976\"\n },\n {\n \"kind\": \"story\",\n \"id\": 66727978,\n \"project_id\": 1027488,\n \"name\": \"Admin should be able to login\",\n \"description\": \"Admin should be a special user type. We can create the first admin user directly in the DB, but let's encrypt the password.\",\n \"story_type\": \"feature\",\n \"current_state\": \"accepted\",\n \"estimate\": 2,\n \"accepted_at\": \"2014-02-11T00:00:00Z\",\n \"requested_by_id\": 1266314,\n \"owner_ids\": [\n\n ],\n \"labels\": [\n {\n \"kind\": \"label\",\n \"id\": 7849080,\n \"project_id\": 1027488,\n \"name\": \"admin\",\n \"created_at\": \"2014-03-02T07:11:04Z\",\n \"updated_at\": \"2014-03-02T07:11:04Z\"\n }\n ],\n \"created_at\": \"2014-02-10T00:00:00Z\",\n \"updated_at\": \"2014-03-02T07:11:04Z\",\n \"url\": \"http://www.pivotaltracker.com/story/show/66727978\"\n },\n {\n \"kind\": \"story\",\n \"id\": 66727980,\n \"project_id\": 1027488,\n \"name\": \"Admin should be able to create new product\",\n \"description\": \"Product information includes title, description, price, SKU.\",\n \"story_type\": \"feature\",\n \"current_state\": \"accepted\",\n \"estimate\": 1,\n \"accepted_at\": \"2014-02-11T00:00:00Z\",\n \"requested_by_id\": 1266314,\n \"owner_ids\": [\n\n ],\n \"labels\": [\n {\n \"kind\": \"label\",\n \"id\": 7849080,\n \"project_id\": 1027488,\n \"name\": \"admin\",\n \"created_at\": \"2014-03-02T07:11:04Z\",\n \"updated_at\": \"2014-03-02T07:11:04Z\"\n }\n ],\n \"created_at\": \"2014-02-10T00:00:00Z\",\n \"updated_at\": \"2014-03-02T07:11:04Z\",\n \"url\": \"http://www.pivotaltracker.com/story/show/66727980\"\n },\n {\n \"kind\": \"story\",\n \"id\": 66727982,\n \"project_id\": 1027488,\n \"name\": \"Admin should be able to upload product photo\",\n \"story_type\": \"feature\",\n \"current_state\": \"accepted\",\n \"estimate\": 2,\n \"accepted_at\": \"2014-02-11T00:00:00Z\",\n \"requested_by_id\": 1266314,\n \"owner_ids\": [\n\n ],\n \"labels\": [\n {\n \"kind\": \"label\",\n \"id\": 7849080,\n \"project_id\": 1027488,\n \"name\": \"admin\",\n \"created_at\": \"2014-03-02T07:11:04Z\",\n \"updated_at\": \"2014-03-02T07:11:04Z\"\n }\n ],\n \"created_at\": \"2014-02-10T00:00:00Z\",\n \"updated_at\": \"2014-03-02T07:11:04Z\",\n \"url\": \"http://www.pivotaltracker.com/story/show/66727982\"\n }\n ],\n \"start\": \"2014-02-10T08:00:00Z\",\n \"finish\": \"2014-02-17T08:00:00Z\"\n },\n {\n \"kind\": \"iteration\",\n \"number\": 2,\n \"project_id\": 1027488,\n \"team_strength\": 1,\n \"stories\": [\n {\n \"kind\": \"story\",\n \"id\": 66727984,\n \"project_id\": 1027488,\n \"name\": \"Admin should be able to upload multiple product photos and mark one as the primary\",\n \"story_type\": \"feature\",\n \"current_state\": \"accepted\",\n \"estimate\": 3,\n \"accepted_at\": \"2014-02-18T00:00:00Z\",\n \"requested_by_id\": 1266314,\n \"owner_ids\": [\n\n ],\n \"labels\": [\n {\n \"kind\": \"label\",\n \"id\": 7849080,\n \"project_id\": 1027488,\n \"name\": \"admin\",\n \"created_at\": \"2014-03-02T07:11:04Z\",\n \"updated_at\": \"2014-03-02T07:11:04Z\"\n }\n ],\n \"created_at\": \"2014-02-10T00:00:00Z\",\n \"updated_at\": \"2014-03-02T07:11:04Z\",\n \"url\": \"http://www.pivotaltracker.com/story/show/66727984\"\n },\n {\n \"kind\": \"story\",\n \"id\": 66727986,\n \"project_id\": 1027488,\n \"name\": \"Shopper should see list of products, with primary photo as thumbnail\",\n \"story_type\": \"feature\",\n \"current_state\": \"accepted\",\n \"estimate\": 2,\n \"accepted_at\": \"2014-02-18T00:00:00Z\",\n \"requested_by_id\": 1266314,\n \"owner_ids\": [\n\n ],\n \"labels\": [\n {\n \"kind\": \"label\",\n \"id\": 7849082,\n \"project_id\": 1027488,\n \"name\": \"shopping\",\n \"created_at\": \"2014-03-02T07:11:04Z\",\n \"updated_at\": \"2014-03-02T07:11:04Z\"\n }\n ],\n \"created_at\": \"2014-02-10T00:00:00Z\",\n \"updated_at\": \"2014-03-02T07:11:04Z\",\n \"url\": \"http://www.pivotaltracker.com/story/show/66727986\"\n },\n {\n \"kind\": \"story\",\n \"id\": 66727988,\n \"project_id\": 1027488,\n \"name\": \"Product browsing should be paginated, with 10 products per page\",\n \"story_type\": \"feature\",\n \"current_state\": \"accepted\",\n \"estimate\": 1,\n \"accepted_at\": \"2014-02-18T00:00:00Z\",\n \"requested_by_id\": 1266314,\n \"owner_ids\": [\n\n ],\n \"labels\": [\n {\n \"kind\": \"label\",\n \"id\": 7849082,\n \"project_id\": 1027488,\n \"name\": \"shopping\",\n \"created_at\": \"2014-03-02T07:11:04Z\",\n \"updated_at\": \"2014-03-02T07:11:04Z\"\n }\n ],\n \"created_at\": \"2014-02-10T00:00:00Z\",\n \"updated_at\": \"2014-03-02T07:11:04Z\",\n \"url\": \"http://www.pivotaltracker.com/story/show/66727988\"\n },\n {\n \"kind\": \"story\",\n \"id\": 66727990,\n \"project_id\": 1027488,\n \"name\": \"Make product browsing pagination AJAXy\",\n \"story_type\": \"feature\",\n \"current_state\": \"accepted\",\n \"estimate\": 2,\n \"accepted_at\": \"2014-02-18T00:00:00Z\",\n \"requested_by_id\": 1266314,\n \"owner_ids\": [\n\n ],\n \"labels\": [\n {\n \"kind\": \"label\",\n \"id\": 7849082,\n \"project_id\": 1027488,\n \"name\": \"shopping\",\n \"created_at\": \"2014-03-02T07:11:04Z\",\n \"updated_at\": \"2014-03-02T07:11:04Z\"\n },\n {\n \"kind\": \"label\",\n \"id\": 7849084,\n \"project_id\": 1027488,\n \"name\": \"usability\",\n \"created_at\": \"2014-03-02T07:11:05Z\",\n \"updated_at\": \"2014-03-02T07:11:05Z\"\n }\n ],\n \"created_at\": \"2014-02-10T00:00:00Z\",\n \"updated_at\": \"2014-03-02T07:11:04Z\",\n \"url\": \"http://www.pivotaltracker.com/story/show/66727990\"\n },\n {\n \"kind\": \"story\",\n \"id\": 66727992,\n \"project_id\": 1027488,\n \"name\": \"Admin should be able to import multiple new products from CSV file\",\n \"story_type\": \"feature\",\n \"current_state\": \"accepted\",\n \"estimate\": 3,\n \"accepted_at\": \"2014-02-18T00:00:00Z\",\n \"requested_by_id\": 1266314,\n \"owner_ids\": [\n\n ],\n \"labels\": [\n {\n \"kind\": \"label\",\n \"id\": 7849080,\n \"project_id\": 1027488,\n \"name\": \"admin\",\n \"created_at\": \"2014-03-02T07:11:04Z\",\n \"updated_at\": \"2014-03-02T07:11:04Z\"\n }\n ],\n \"created_at\": \"2014-02-10T00:00:00Z\",\n \"updated_at\": \"2014-03-02T07:11:05Z\",\n \"url\": \"http://www.pivotaltracker.com/story/show/66727992\"\n }\n ],\n \"start\": \"2014-02-17T08:00:00Z\",\n \"finish\": \"2014-02-24T08:00:00Z\"\n },\n {\n \"kind\": \"iteration\",\n \"number\": 3,\n \"project_id\": 1027488,\n \"team_strength\": 1,\n \"stories\": [\n {\n \"kind\": \"story\",\n \"id\": 66727994,\n \"project_id\": 1027488,\n \"name\": \"Shopper should be able to click on a product, and see all product details, including photos\",\n \"story_type\": \"feature\",\n \"current_state\": \"accepted\",\n \"estimate\": 1,\n \"accepted_at\": \"2014-03-02T00:00:00Z\",\n \"requested_by_id\": 1266314,\n \"owner_ids\": [\n\n ],\n \"labels\": [\n {\n \"kind\": \"label\",\n \"id\": 7849082,\n \"project_id\": 1027488,\n \"name\": \"shopping\",\n \"created_at\": \"2014-03-02T07:11:04Z\",\n \"updated_at\": \"2014-03-02T07:11:04Z\"\n }\n ],\n \"created_at\": \"2014-02-17T00:00:00Z\",\n \"updated_at\": \"2014-03-02T07:11:05Z\",\n \"url\": \"http://www.pivotaltracker.com/story/show/66727994\"\n },\n {\n \"kind\": \"story\",\n \"id\": 66727996,\n \"project_id\": 1027488,\n \"name\": \"Shopper should be able to add product to shopping cart\",\n \"story_type\": \"feature\",\n \"current_state\": \"accepted\",\n \"estimate\": 1,\n \"accepted_at\": \"2014-03-02T07:11:05Z\",\n \"requested_by_id\": 1266314,\n \"owner_ids\": [\n\n ],\n \"labels\": [\n {\n \"kind\": \"label\",\n \"id\": 7849086,\n \"project_id\": 1027488,\n \"name\": \"cart\",\n \"created_at\": \"2014-03-02T07:11:05Z\",\n \"updated_at\": \"2014-03-02T07:11:05Z\"\n },\n {\n \"kind\": \"label\",\n \"id\": 7849082,\n \"project_id\": 1027488,\n \"name\": \"shopping\",\n \"created_at\": \"2014-03-02T07:11:04Z\",\n \"updated_at\": \"2014-03-02T07:11:04Z\"\n }\n ],\n \"created_at\": \"2014-02-17T00:00:00Z\",\n \"updated_at\": \"2014-03-02T07:11:05Z\",\n \"url\": \"http://www.pivotaltracker.com/story/show/66727996\"\n }\n ],\n \"start\": \"2014-02-24T08:00:00Z\",\n \"finish\": \"2014-03-03T08:00:00Z\"\n },\n {\n \"kind\": \"iteration\",\n \"number\": 4,\n \"project_id\": 1027488,\n \"team_strength\": 1,\n \"stories\": [\n\n ],\n \"start\": \"2014-03-03T08:00:00Z\",\n \"finish\": \"2014-03-10T07:00:00Z\"\n },\n {\n \"kind\": \"iteration\",\n \"number\": 5,\n \"project_id\": 1027488,\n \"team_strength\": 1,\n \"stories\": [\n\n ],\n \"start\": \"2014-03-10T07:00:00Z\",\n \"finish\": \"2014-03-17T07:00:00Z\"\n }\n]"},"http_version":null},"recorded_at":"Wed, 07 May 2014 04:50:06 GMT"},{"request":{"method":"get","uri":"https://www.pivotaltracker.com/services/v5/projects/1027488/iterations?scope=done&offset=-7&limit=5","body":{"encoding":"US-ASCII","string":""},"headers":{"User-Agent":["Ruby/2.0.0 (x86_64-darwin13.0.2; ruby) TrackerApi/0.2.1 Faraday/0.8.9"],"X-TrackerToken":["d55c3bc1f74346b843ca84ba340b29bf"]}},"response":{"status":{"code":200,"message":null},"headers":{"content-type":["application/json; charset=utf-8"],"transfer-encoding":["chunked"],"connection":["close"],"status":["200 OK"],"x-tracker-project-version":["3"],"x-tracker-pagination-total":["12"],"x-tracker-pagination-offset":["-7"],"x-tracker-pagination-limit":["5"],"x-tracker-pagination-returned":["5"],"x-ua-compatible":["IE=Edge,chrome=1"],"cache-control":["max-age=0, private, must-revalidate"],"x-request-id":["2e91547e50e9b86e52da6fd56876b1d4"],"x-runtime":["0.154181"],"date":["Wed, 07 May 2014 04:48:53 GMT"],"x-rack-cache":["miss"],"x-powered-by":["Phusion Passenger 4.0.41"],"server":["nginx/1.6.0 + Phusion Passenger 4.0.41"],"access-control-allow-origin":["*"],"access-control-allow-credentials":["false"],"access-control-allow-methods":["GET, POST, PUT, DELETE, OPTIONS"],"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"]},"body":{"encoding":"UTF-8","string":"[\n {\n \"kind\": \"iteration\",\n \"number\": 6,\n \"project_id\": 1027488,\n \"team_strength\": 1,\n \"stories\": [\n\n ],\n \"start\": \"2014-03-17T07:00:00Z\",\n \"finish\": \"2014-03-24T07:00:00Z\"\n },\n {\n \"kind\": \"iteration\",\n \"number\": 7,\n \"project_id\": 1027488,\n \"team_strength\": 1,\n \"stories\": [\n\n ],\n \"start\": \"2014-03-24T07:00:00Z\",\n \"finish\": \"2014-03-31T07:00:00Z\"\n },\n {\n \"kind\": \"iteration\",\n \"number\": 8,\n \"project_id\": 1027488,\n \"team_strength\": 1,\n \"stories\": [\n\n ],\n \"start\": \"2014-03-31T07:00:00Z\",\n \"finish\": \"2014-04-07T07:00:00Z\"\n },\n {\n \"kind\": \"iteration\",\n \"number\": 9,\n \"project_id\": 1027488,\n \"team_strength\": 1,\n \"stories\": [\n\n ],\n \"start\": \"2014-04-07T07:00:00Z\",\n \"finish\": \"2014-04-14T07:00:00Z\"\n },\n {\n \"kind\": \"iteration\",\n \"number\": 10,\n \"project_id\": 1027488,\n \"team_strength\": 1,\n \"stories\": [\n\n ],\n \"start\": \"2014-04-14T07:00:00Z\",\n \"finish\": \"2014-04-21T07:00:00Z\"\n }\n]"},"http_version":null},"recorded_at":"Wed, 07 May 2014 04:50:07 GMT"},{"request":{"method":"get","uri":"https://www.pivotaltracker.com/services/v5/projects/1027488/iterations?scope=done&offset=-2&limit=5","body":{"encoding":"US-ASCII","string":""},"headers":{"User-Agent":["Ruby/2.0.0 (x86_64-darwin13.0.2; ruby) TrackerApi/0.2.1 Faraday/0.8.9"],"X-TrackerToken":["d55c3bc1f74346b843ca84ba340b29bf"]}},"response":{"status":{"code":200,"message":null},"headers":{"content-type":["application/json; charset=utf-8"],"transfer-encoding":["chunked"],"connection":["close"],"status":["200 OK"],"x-tracker-project-version":["3"],"x-tracker-pagination-total":["12"],"x-tracker-pagination-offset":["-2"],"x-tracker-pagination-limit":["5"],"x-tracker-pagination-returned":["2"],"x-ua-compatible":["IE=Edge,chrome=1"],"cache-control":["max-age=0, private, must-revalidate"],"x-request-id":["3ba332b4d55c2aa937ea538fbd8a9171"],"x-runtime":["0.126451"],"date":["Wed, 07 May 2014 04:50:07 GMT"],"x-rack-cache":["miss"],"x-powered-by":["Phusion Passenger 4.0.41"],"server":["nginx/1.6.0 + Phusion Passenger 4.0.41"],"access-control-allow-origin":["*"],"access-control-allow-credentials":["false"],"access-control-allow-methods":["GET, POST, PUT, DELETE, OPTIONS"],"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"]},"body":{"encoding":"UTF-8","string":"[\n {\n \"kind\": \"iteration\",\n \"number\": 11,\n \"project_id\": 1027488,\n \"team_strength\": 1,\n \"stories\": [\n\n ],\n \"start\": \"2014-04-21T07:00:00Z\",\n \"finish\": \"2014-04-28T07:00:00Z\"\n },\n {\n \"kind\": \"iteration\",\n \"number\": 12,\n \"project_id\": 1027488,\n \"team_strength\": 1,\n \"stories\": [\n\n ],\n \"start\": \"2014-04-28T07:00:00Z\",\n \"finish\": \"2014-05-05T07:00:00Z\"\n }\n]"},"http_version":null},"recorded_at":"Wed, 07 May 2014 04:50:07 GMT"},{"request":{"method":"get","uri":"https://www.pivotaltracker.com/services/v5/projects/1027488/iterations?limit=5&offset=-12&scope=done","body":{"encoding":"US-ASCII","string":""},"headers":{"User-Agent":["Ruby/2.1.4 (x86_64-darwin14.0; ruby) TrackerApi/0.2.6 Faraday/0.9.0"],"X-TrackerToken":["d55c3bc1f74346b843ca84ba340b29bf"]}},"response":{"status":{"code":200,"message":null},"headers":{"Content-Type":["application/json; charset=utf-8"],"Status":["200 OK"],"X-Tracker-Project-Version":["25"],"X-Tracker-Pagination-Total":["40"],"X-Tracker-Pagination-Offset":["-12"],"X-Tracker-Pagination-Limit":["5"],"X-Tracker-Pagination-Returned":["5"],"X-UA-Compatible":["IE=Edge,chrome=1"],"ETag":["\"d45246fca9ea2bbd4df46ee61af141d2\""],"Cache-Control":["max-age=0, private, must-revalidate"],"X-Request-Id":["8829ce4a3d9ce39db64aeed5f69c6c2b"],"X-Runtime":["0.218563"],"Date":["Mon, 17 Nov 2014 19:02:40 GMT"],"X-Rack-Cache":["miss"],"X-Powered-By":["Phusion Passenger 4.0.41"],"Server":["nginx/1.6.0 + Phusion Passenger 4.0.41"],"Access-Control-Allow-Origin":["*"],"Access-Control-Allow-Credentials":["false"],"Access-Control-Allow-Methods":["GET, POST, PUT, DELETE, OPTIONS"],"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"],"X-Tracker-Client-Pinger-Interval":["12"]},"body":{"encoding":"UTF-8","string":"[\n {\n \"kind\": \"iteration\",\n \"number\": 29,\n \"project_id\": 1027488,\n \"team_strength\": 1,\n \"stories\": [\n\n ],\n \"start\": \"2014-08-25T07:00:00Z\",\n \"finish\": \"2014-09-01T07:00:00Z\"\n },\n {\n \"kind\": \"iteration\",\n \"number\": 30,\n \"project_id\": 1027488,\n \"team_strength\": 1,\n \"stories\": [\n\n ],\n \"start\": \"2014-09-01T07:00:00Z\",\n \"finish\": \"2014-09-08T07:00:00Z\"\n },\n {\n \"kind\": \"iteration\",\n \"number\": 31,\n \"project_id\": 1027488,\n \"team_strength\": 1,\n \"stories\": [\n\n ],\n \"start\": \"2014-09-08T07:00:00Z\",\n \"finish\": \"2014-09-15T07:00:00Z\"\n },\n {\n \"kind\": \"iteration\",\n \"number\": 32,\n \"project_id\": 1027488,\n \"team_strength\": 1,\n \"stories\": [\n\n ],\n \"start\": \"2014-09-15T07:00:00Z\",\n \"finish\": \"2014-09-22T07:00:00Z\"\n },\n {\n \"kind\": \"iteration\",\n \"number\": 33,\n \"project_id\": 1027488,\n \"team_strength\": 1,\n \"stories\": [\n\n ],\n \"start\": \"2014-09-22T07:00:00Z\",\n \"finish\": \"2014-09-29T07:00:00Z\"\n }\n]"},"http_version":null},"recorded_at":"Mon, 17 Nov 2014 19:02:40 GMT"},{"request":{"method":"get","uri":"https://www.pivotaltracker.com/services/v5/projects/1027488/iterations?limit=5&offset=-7&scope=done","body":{"encoding":"US-ASCII","string":""},"headers":{"User-Agent":["Ruby/2.1.4 (x86_64-darwin14.0; ruby) TrackerApi/0.2.6 Faraday/0.9.0"],"X-TrackerToken":["d55c3bc1f74346b843ca84ba340b29bf"]}},"response":{"status":{"code":200,"message":null},"headers":{"Content-Type":["application/json; charset=utf-8"],"Status":["200 OK"],"X-Tracker-Project-Version":["25"],"X-Tracker-Pagination-Total":["40"],"X-Tracker-Pagination-Offset":["-7"],"X-Tracker-Pagination-Limit":["5"],"X-Tracker-Pagination-Returned":["5"],"X-UA-Compatible":["IE=Edge,chrome=1"],"ETag":["\"3187e9f0eac3eb32bd330e7f9647baef\""],"Cache-Control":["max-age=0, private, must-revalidate"],"X-Request-Id":["b8da8b3435bb60f89b4f6b1ef9b7c6f1"],"X-Runtime":["0.156633"],"Date":["Mon, 17 Nov 2014 19:02:40 GMT"],"X-Rack-Cache":["miss"],"X-Powered-By":["Phusion Passenger 4.0.41"],"Server":["nginx/1.6.0 + Phusion Passenger 4.0.41"],"Access-Control-Allow-Origin":["*"],"Access-Control-Allow-Credentials":["false"],"Access-Control-Allow-Methods":["GET, POST, PUT, DELETE, OPTIONS"],"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"],"X-Tracker-Client-Pinger-Interval":["12"]},"body":{"encoding":"UTF-8","string":"[\n {\n \"kind\": \"iteration\",\n \"number\": 34,\n \"project_id\": 1027488,\n \"team_strength\": 1,\n \"stories\": [\n\n ],\n \"start\": \"2014-09-29T07:00:00Z\",\n \"finish\": \"2014-10-06T07:00:00Z\"\n },\n {\n \"kind\": \"iteration\",\n \"number\": 35,\n \"project_id\": 1027488,\n \"team_strength\": 1,\n \"stories\": [\n\n ],\n \"start\": \"2014-10-06T07:00:00Z\",\n \"finish\": \"2014-10-13T07:00:00Z\"\n },\n {\n \"kind\": \"iteration\",\n \"number\": 36,\n \"project_id\": 1027488,\n \"team_strength\": 1,\n \"stories\": [\n\n ],\n \"start\": \"2014-10-13T07:00:00Z\",\n \"finish\": \"2014-10-20T07:00:00Z\"\n },\n {\n \"kind\": \"iteration\",\n \"number\": 37,\n \"project_id\": 1027488,\n \"team_strength\": 1,\n \"stories\": [\n\n ],\n \"start\": \"2014-10-20T07:00:00Z\",\n \"finish\": \"2014-10-27T07:00:00Z\"\n },\n {\n \"kind\": \"iteration\",\n \"number\": 38,\n \"project_id\": 1027488,\n \"team_strength\": 1,\n \"stories\": [\n\n ],\n \"start\": \"2014-10-27T07:00:00Z\",\n \"finish\": \"2014-11-03T08:00:00Z\"\n }\n]"},"http_version":null},"recorded_at":"Mon, 17 Nov 2014 19:02:40 GMT"},{"request":{"method":"get","uri":"https://www.pivotaltracker.com/services/v5/projects/1027488/iterations?limit=5&offset=-2&scope=done","body":{"encoding":"US-ASCII","string":""},"headers":{"User-Agent":["Ruby/2.1.4 (x86_64-darwin14.0; ruby) TrackerApi/0.2.6 Faraday/0.9.0"],"X-TrackerToken":["d55c3bc1f74346b843ca84ba340b29bf"]}},"response":{"status":{"code":200,"message":null},"headers":{"Content-Type":["application/json; charset=utf-8"],"Status":["200 OK"],"X-Tracker-Project-Version":["25"],"X-Tracker-Pagination-Total":["40"],"X-Tracker-Pagination-Offset":["-2"],"X-Tracker-Pagination-Limit":["5"],"X-Tracker-Pagination-Returned":["2"],"X-UA-Compatible":["IE=Edge,chrome=1"],"ETag":["\"03e2871bc22bb1cb39066ebb5b505b3c\""],"Cache-Control":["max-age=0, private, must-revalidate"],"X-Request-Id":["b2d1eee3045a011bb4a2d5f544f4a277"],"X-Runtime":["0.218874"],"Date":["Mon, 17 Nov 2014 19:02:41 GMT"],"X-Rack-Cache":["miss"],"X-Powered-By":["Phusion Passenger 4.0.41"],"Server":["nginx/1.6.0 + Phusion Passenger 4.0.41"],"Access-Control-Allow-Origin":["*"],"Access-Control-Allow-Credentials":["false"],"Access-Control-Allow-Methods":["GET, POST, PUT, DELETE, OPTIONS"],"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"],"X-Tracker-Client-Pinger-Interval":["12"]},"body":{"encoding":"UTF-8","string":"[\n {\n \"kind\": \"iteration\",\n \"number\": 39,\n \"project_id\": 1027488,\n \"team_strength\": 1,\n \"stories\": [\n\n ],\n \"start\": \"2014-11-03T08:00:00Z\",\n \"finish\": \"2014-11-10T08:00:00Z\"\n },\n {\n \"kind\": \"iteration\",\n \"number\": 40,\n \"project_id\": 1027488,\n \"team_strength\": 1,\n \"stories\": [\n\n ],\n \"start\": \"2014-11-10T08:00:00Z\",\n \"finish\": \"2014-11-17T08:00:00Z\"\n }\n]"},"http_version":null},"recorded_at":"Mon, 17 Nov 2014 19:02:41 GMT"}],"recorded_with":"VCR 2.9.3"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"http_interactions":[{"request":{"method":"get","uri":"https://www.pivotaltracker.com/services/v5/projects/1027488","body":{"encoding":"US-ASCII","string":""},"headers":{"User-Agent":["Ruby/2.1.4 (x86_64-darwin14.0; ruby) TrackerApi/0.2.6 Faraday/0.9.0"],"X-TrackerToken":["d55c3bc1f74346b843ca84ba340b29bf"]}},"response":{"status":{"code":200,"message":null},"headers":{"Content-Type":["application/json; charset=utf-8"],"Status":["200 OK"],"X-Tracker-Project-Version":["25"],"X-UA-Compatible":["IE=Edge,chrome=1"],"ETag":["\"792ee6be998d3b6a256bd3fefb84f9ce\""],"Cache-Control":["max-age=0, private, must-revalidate"],"X-Request-Id":["9933441a62da18bcf59d9c05a6101dbb"],"X-Runtime":["0.056710"],"Date":["Mon, 17 Nov 2014 19:02:39 GMT"],"X-Rack-Cache":["miss"],"X-Powered-By":["Phusion Passenger 4.0.41"],"Server":["nginx/1.6.0 + Phusion Passenger 4.0.41"],"Access-Control-Allow-Origin":["*"],"Access-Control-Allow-Credentials":["false"],"Access-Control-Allow-Methods":["GET, POST, PUT, DELETE, OPTIONS"],"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"],"X-Tracker-Client-Pinger-Interval":["12"]},"body":{"encoding":"UTF-8","string":"{\n \"id\": 1027488,\n \"kind\": \"project\",\n \"name\": \"My Sample Project\",\n \"version\": 25,\n \"iteration_length\": 1,\n \"week_start_day\": \"Monday\",\n \"point_scale\": \"0,1,2,3\",\n \"point_scale_is_custom\": false,\n \"bugs_and_chores_are_estimatable\": false,\n \"automatic_planning\": true,\n \"enable_tasks\": true,\n \"time_zone\": {\n \"kind\": \"time_zone\",\n \"olson_name\": \"America/Los_Angeles\",\n \"offset\": \"-08:00\"\n },\n \"velocity_averaged_over\": 3,\n \"number_of_done_iterations_to_show\": 12,\n \"has_google_domain\": false,\n \"profile_content\": \"This is a demo project, created by Tracker, with example stories for a simple shopping web site.\",\n \"enable_incoming_emails\": true,\n \"initial_velocity\": 10,\n \"public\": false,\n \"atom_enabled\": false,\n \"start_time\": \"2014-02-10T08:00:00Z\",\n \"created_at\": \"2014-03-02T07:11:04Z\",\n \"updated_at\": \"2014-03-02T07:11:04Z\",\n \"account_id\": 621384,\n \"current_iteration_number\": 41,\n \"enable_following\": true\n}"},"http_version":null},"recorded_at":"Mon, 17 Nov 2014 19:02:39 GMT"},{"request":{"method":"get","uri":"https://www.pivotaltracker.com/services/v5/projects/1027488/stories?limit=7","body":{"encoding":"US-ASCII","string":""},"headers":{"User-Agent":["Ruby/2.1.4 (x86_64-darwin14.0; ruby) TrackerApi/0.2.6 Faraday/0.9.0"],"X-TrackerToken":["d55c3bc1f74346b843ca84ba340b29bf"]}},"response":{"status":{"code":200,"message":null},"headers":{"Content-Type":["application/json; charset=utf-8"],"Status":["200 OK"],"X-Tracker-Project-Version":["25"],"X-Tracker-Pagination-Total":["80"],"X-Tracker-Pagination-Offset":["0"],"X-Tracker-Pagination-Limit":["7"],"X-Tracker-Pagination-Returned":["7"],"X-UA-Compatible":["IE=Edge,chrome=1"],"ETag":["\"808994944996e223fba002e911ccad4e\""],"Cache-Control":["max-age=0, private, must-revalidate"],"X-Request-Id":["7d3a139a5d7c4fa2719a36b1cd674b22"],"X-Runtime":["0.055409"],"Date":["Mon, 17 Nov 2014 19:02:39 GMT"],"X-Rack-Cache":["miss"],"X-Powered-By":["Phusion Passenger 4.0.41"],"Server":["nginx/1.6.0 + Phusion Passenger 4.0.41"],"Access-Control-Allow-Origin":["*"],"Access-Control-Allow-Credentials":["false"],"Access-Control-Allow-Methods":["GET, POST, PUT, DELETE, OPTIONS"],"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"],"X-Tracker-Client-Pinger-Interval":["12"]},"body":{"encoding":"UTF-8","string":"[\n {\n \"kind\": \"story\",\n \"id\": 66727974,\n \"created_at\": \"2014-02-10T00:00:00Z\",\n \"updated_at\": \"2014-03-02T07:11:04Z\",\n \"accepted_at\": \"2014-02-11T00:00:00Z\",\n \"story_type\": \"chore\",\n \"name\": \"Setup development environment\",\n \"description\": \"We need 2 machines set up\",\n \"current_state\": \"accepted\",\n \"requested_by_id\": 1266314,\n \"project_id\": 1027488,\n \"url\": \"https://www.pivotaltracker.com/story/show/66727974\",\n \"owner_ids\": [\n\n ],\n \"labels\": [\n\n ]\n },\n {\n \"kind\": \"story\",\n \"id\": 66727976,\n \"created_at\": \"2014-02-10T00:00:00Z\",\n \"updated_at\": \"2014-03-02T07:11:04Z\",\n \"accepted_at\": \"2014-02-11T00:00:00Z\",\n \"story_type\": \"chore\",\n \"name\": \"Setup demo server\",\n \"description\": \"Should be accessible from outside the network, with basic auth\",\n \"current_state\": \"accepted\",\n \"requested_by_id\": 1266314,\n \"project_id\": 1027488,\n \"url\": \"https://www.pivotaltracker.com/story/show/66727976\",\n \"owner_ids\": [\n\n ],\n \"labels\": [\n {\n \"id\": 7849078,\n \"project_id\": 1027488,\n \"kind\": \"label\",\n \"name\": \"deployment\",\n \"created_at\": \"2014-03-02T07:11:04Z\",\n \"updated_at\": \"2014-03-02T07:11:04Z\"\n }\n ]\n },\n {\n \"kind\": \"story\",\n \"id\": 66727978,\n \"created_at\": \"2014-02-10T00:00:00Z\",\n \"updated_at\": \"2014-03-02T07:11:04Z\",\n \"accepted_at\": \"2014-02-11T00:00:00Z\",\n \"estimate\": 2,\n \"story_type\": \"feature\",\n \"name\": \"Admin should be able to login\",\n \"description\": \"Admin should be a special user type. We can create the first admin user directly in the DB, but let's encrypt the password.\",\n \"current_state\": \"accepted\",\n \"requested_by_id\": 1266314,\n \"project_id\": 1027488,\n \"url\": \"https://www.pivotaltracker.com/story/show/66727978\",\n \"owner_ids\": [\n\n ],\n \"labels\": [\n {\n \"id\": 7849080,\n \"project_id\": 1027488,\n \"kind\": \"label\",\n \"name\": \"admin\",\n \"created_at\": \"2014-03-02T07:11:04Z\",\n \"updated_at\": \"2014-03-02T07:11:04Z\"\n }\n ]\n },\n {\n \"kind\": \"story\",\n \"id\": 66727980,\n \"created_at\": \"2014-02-10T00:00:00Z\",\n \"updated_at\": \"2014-03-02T07:11:04Z\",\n \"accepted_at\": \"2014-02-11T00:00:00Z\",\n \"estimate\": 1,\n \"story_type\": \"feature\",\n \"name\": \"Admin should be able to create new product\",\n \"description\": \"Product information includes title, description, price, SKU.\",\n \"current_state\": \"accepted\",\n \"requested_by_id\": 1266314,\n \"project_id\": 1027488,\n \"url\": \"https://www.pivotaltracker.com/story/show/66727980\",\n \"owner_ids\": [\n\n ],\n \"labels\": [\n {\n \"id\": 7849080,\n \"project_id\": 1027488,\n \"kind\": \"label\",\n \"name\": \"admin\",\n \"created_at\": \"2014-03-02T07:11:04Z\",\n \"updated_at\": \"2014-03-02T07:11:04Z\"\n }\n ]\n },\n {\n \"kind\": \"story\",\n \"id\": 66727982,\n \"created_at\": \"2014-02-10T00:00:00Z\",\n \"updated_at\": \"2014-03-02T07:11:04Z\",\n \"accepted_at\": \"2014-02-11T00:00:00Z\",\n \"estimate\": 2,\n \"story_type\": \"feature\",\n \"name\": \"Admin should be able to upload product photo\",\n \"current_state\": \"accepted\",\n \"requested_by_id\": 1266314,\n \"project_id\": 1027488,\n \"url\": \"https://www.pivotaltracker.com/story/show/66727982\",\n \"owner_ids\": [\n\n ],\n \"labels\": [\n {\n \"id\": 7849080,\n \"project_id\": 1027488,\n \"kind\": \"label\",\n \"name\": \"admin\",\n \"created_at\": \"2014-03-02T07:11:04Z\",\n \"updated_at\": \"2014-03-02T07:11:04Z\"\n }\n ]\n },\n {\n \"kind\": \"story\",\n \"id\": 66727984,\n \"created_at\": \"2014-02-10T00:00:00Z\",\n \"updated_at\": \"2014-03-02T07:11:04Z\",\n \"accepted_at\": \"2014-02-18T00:00:00Z\",\n \"estimate\": 3,\n \"story_type\": \"feature\",\n \"name\": \"Admin should be able to upload multiple product photos and mark one as the primary\",\n \"current_state\": \"accepted\",\n \"requested_by_id\": 1266314,\n \"project_id\": 1027488,\n \"url\": \"https://www.pivotaltracker.com/story/show/66727984\",\n \"owner_ids\": [\n\n ],\n \"labels\": [\n {\n \"id\": 7849080,\n \"project_id\": 1027488,\n \"kind\": \"label\",\n \"name\": \"admin\",\n \"created_at\": \"2014-03-02T07:11:04Z\",\n \"updated_at\": \"2014-03-02T07:11:04Z\"\n }\n ]\n },\n {\n \"kind\": \"story\",\n \"id\": 66727986,\n \"created_at\": \"2014-02-10T00:00:00Z\",\n \"updated_at\": \"2014-03-02T07:11:04Z\",\n \"accepted_at\": \"2014-02-18T00:00:00Z\",\n \"estimate\": 2,\n \"story_type\": \"feature\",\n \"name\": \"Shopper should see list of products, with primary photo as thumbnail\",\n \"current_state\": \"accepted\",\n \"requested_by_id\": 1266314,\n \"project_id\": 1027488,\n \"url\": \"https://www.pivotaltracker.com/story/show/66727986\",\n \"owner_ids\": [\n\n ],\n \"labels\": [\n {\n \"id\": 7849082,\n \"project_id\": 1027488,\n \"kind\": \"label\",\n \"name\": \"shopping\",\n \"created_at\": \"2014-03-02T07:11:04Z\",\n \"updated_at\": \"2014-03-02T07:11:04Z\"\n }\n ]\n }\n]"},"http_version":null},"recorded_at":"Mon, 17 Nov 2014 19:02:39 GMT"}],"recorded_with":"VCR 2.9.3"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"http_interactions":[{"request":{"method":"post","uri":"https://www.pivotaltracker.com/services/v5/projects/1027488/stories?name=Test+story","body":{"encoding":"UTF-8","string":""},"headers":{"User-Agent":["Ruby/2.1.4 (x86_64-darwin14.0; ruby) TrackerApi/0.2.6 Faraday/0.9.0"],"X-TrackerToken":["d55c3bc1f74346b843ca84ba340b29bf"],"Content-Length":["0"]}},"response":{"status":{"code":200,"message":null},"headers":{"Content-Type":["application/json; charset=utf-8"],"Status":["200 OK"],"X-Tracker-Project-Version":["25"],"X-UA-Compatible":["IE=Edge,chrome=1"],"ETag":["\"189f639e9e259d637b393a900f31e2b3\""],"Cache-Control":["max-age=0, private, must-revalidate"],"X-Request-Id":["cadbfbc916ca94817be218738dba5733"],"X-Runtime":["0.284900"],"Date":["Mon, 17 Nov 2014 19:02:22 GMT"],"X-Rack-Cache":["invalidate, pass"],"X-Powered-By":["Phusion Passenger 4.0.41"],"Server":["nginx/1.6.0 + Phusion Passenger 4.0.41"],"Access-Control-Allow-Origin":["*"],"Access-Control-Allow-Credentials":["false"],"Access-Control-Allow-Methods":["GET, POST, PUT, DELETE, OPTIONS"],"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"],"X-Tracker-Client-Pinger-Interval":["12"]},"body":{"encoding":"UTF-8","string":"{\n \"kind\": \"story\",\n \"id\": 82874846,\n \"project_id\": 1027488,\n \"name\": \"Test story\",\n \"story_type\": \"feature\",\n \"current_state\": \"unscheduled\",\n \"requested_by_id\": 1266314,\n \"owner_ids\": [\n\n ],\n \"labels\": [\n\n ],\n \"created_at\": \"2014-11-17T19:02:22Z\",\n \"updated_at\": \"2014-11-17T19:02:22Z\",\n \"url\": \"https://www.pivotaltracker.com/story/show/82874846\"\n}"},"http_version":null},"recorded_at":"Mon, 17 Nov 2014 19:02:22 GMT"}],"recorded_with":"VCR 2.9.3"}
|
@@ -0,0 +1,148 @@
|
|
1
|
+
{
|
2
|
+
"http_interactions": [
|
3
|
+
{
|
4
|
+
"request": {
|
5
|
+
"method": "get",
|
6
|
+
"uri": "https://www.pivotaltracker.com/services/v5/projects/1027488/stories/66728018",
|
7
|
+
"body": {
|
8
|
+
"encoding": "US-ASCII",
|
9
|
+
"string": ""
|
10
|
+
},
|
11
|
+
"headers": {
|
12
|
+
"User-Agent": ["Ruby/2.1.2 (x86_64-darwin13.0; ruby) TrackerApi/0.2.6 Faraday/0.9.1"],
|
13
|
+
"X-TrackerToken": ["d55c3bc1f74346b843ca84ba340b29bf"]
|
14
|
+
}
|
15
|
+
},
|
16
|
+
"response": {
|
17
|
+
"status": {
|
18
|
+
"code": 200,
|
19
|
+
"message": null
|
20
|
+
},
|
21
|
+
"headers": {
|
22
|
+
"Content-Type": ["application/json; charset=utf-8"],
|
23
|
+
"Status": ["200 OK"],
|
24
|
+
"X-Tracker-Project-Version": ["31"],
|
25
|
+
"X-UA-Compatible": ["IE=Edge,chrome=1"],
|
26
|
+
"ETag": ["\"42102f796d1d9ea683e76483cee6f0ba\""],
|
27
|
+
"Cache-Control": ["max-age=0, private, must-revalidate"],
|
28
|
+
"X-Request-Id": ["5268db03fc647266aa02be0ecc5a67b0"],
|
29
|
+
"X-Runtime": ["0.048473"],
|
30
|
+
"Date": ["Sun, 18 Jan 2015 18:50:48 GMT"],
|
31
|
+
"X-Rack-Cache": ["miss"],
|
32
|
+
"X-Powered-By": ["Phusion Passenger 4.0.41"],
|
33
|
+
"Server": ["nginx/1.6.0 + Phusion Passenger 4.0.41"],
|
34
|
+
"Access-Control-Allow-Origin": ["*"],
|
35
|
+
"Access-Control-Allow-Credentials": ["false"],
|
36
|
+
"Access-Control-Allow-Methods": ["GET, POST, PUT, DELETE, OPTIONS"],
|
37
|
+
"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"],
|
38
|
+
"X-Tracker-Client-Pinger-Interval": ["8"]
|
39
|
+
},
|
40
|
+
"body": {
|
41
|
+
"encoding": "UTF-8",
|
42
|
+
"string": "{\"kind\":\"story\",\"id\":66728018,\"project_id\":1027488,\"name\":\"When shopper submits order, authorize total product amount from payment gateway\",\"story_type\":\"feature\",\"current_state\":\"unstarted\",\"estimate\":3,\"requested_by_id\":1266314,\"owner_ids\":[],\"labels\":[{\"kind\":\"label\",\"id\":7849090,\"project_id\":1027488,\"name\":\"checkout\",\"created_at\":\"2014-03-02T07:11:05Z\",\"updated_at\":\"2014-03-02T07:11:05Z\"},{\"kind\":\"label\",\"id\":7849092,\"project_id\":1027488,\"name\":\"needs discussion\",\"created_at\":\"2014-03-02T07:11:05Z\",\"updated_at\":\"2014-03-02T07:11:05Z\"},{\"kind\":\"label\",\"id\":7849082,\"project_id\":1027488,\"name\":\"shopping\",\"created_at\":\"2014-03-02T07:11:04Z\",\"updated_at\":\"2014-03-02T07:11:04Z\"}],\"created_at\":\"2014-02-17T00:00:00Z\",\"updated_at\":\"2014-03-02T07:11:05Z\",\"url\":\"https://www.pivotaltracker.com/story/show/66728018\"}"
|
43
|
+
},
|
44
|
+
"http_version": null
|
45
|
+
},
|
46
|
+
"recorded_at": "Sun, 18 Jan 2015 18:50:48 GMT"
|
47
|
+
},
|
48
|
+
{
|
49
|
+
"request": {
|
50
|
+
"method": "get",
|
51
|
+
"uri": "https://www.pivotaltracker.com/services/v5/projects/1027488/stories/66728018/activity",
|
52
|
+
"body": {
|
53
|
+
"encoding": "US-ASCII",
|
54
|
+
"string": ""
|
55
|
+
},
|
56
|
+
"headers": {
|
57
|
+
"User-Agent": ["Ruby/2.1.2 (x86_64-darwin13.0; ruby) TrackerApi/0.2.6 Faraday/0.9.1"],
|
58
|
+
"X-TrackerToken": ["d55c3bc1f74346b843ca84ba340b29bf"]
|
59
|
+
}
|
60
|
+
},
|
61
|
+
"response": {
|
62
|
+
"status": {
|
63
|
+
"code": 200,
|
64
|
+
"message": null
|
65
|
+
},
|
66
|
+
"headers": {
|
67
|
+
"Content-Type": ["application/json; charset=utf-8"],
|
68
|
+
"Status": ["200 OK"],
|
69
|
+
"X-Tracker-Project-Version": ["31"],
|
70
|
+
"X-Tracker-Pagination-Total": ["0"],
|
71
|
+
"X-Tracker-Pagination-Offset": ["0"],
|
72
|
+
"X-Tracker-Pagination-Limit": ["100"],
|
73
|
+
"X-Tracker-Pagination-Returned": ["0"],
|
74
|
+
"X-UA-Compatible": ["IE=Edge,chrome=1"],
|
75
|
+
"ETag": ["\"d751713988987e9331980363e24189ce\""],
|
76
|
+
"Cache-Control": ["max-age=0, private, must-revalidate"],
|
77
|
+
"X-Request-Id": ["af7fc1c469a42a9e0de1c47f0ca13eee"],
|
78
|
+
"X-Runtime": ["0.050026"],
|
79
|
+
"Date": ["Sun, 18 Jan 2015 18:50:48 GMT"],
|
80
|
+
"X-Rack-Cache": ["miss"],
|
81
|
+
"X-Powered-By": ["Phusion Passenger 4.0.41"],
|
82
|
+
"Server": ["nginx/1.6.0 + Phusion Passenger 4.0.41"],
|
83
|
+
"Access-Control-Allow-Origin": ["*"],
|
84
|
+
"Access-Control-Allow-Credentials": ["false"],
|
85
|
+
"Access-Control-Allow-Methods": ["GET, POST, PUT, DELETE, OPTIONS"],
|
86
|
+
"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"],
|
87
|
+
"X-Tracker-Client-Pinger-Interval": ["8"]
|
88
|
+
},
|
89
|
+
"body": {
|
90
|
+
"encoding": "UTF-8",
|
91
|
+
"string": "[]"
|
92
|
+
},
|
93
|
+
"http_version": null
|
94
|
+
},
|
95
|
+
"recorded_at": "Sun, 18 Jan 2015 18:50:49 GMT"
|
96
|
+
},
|
97
|
+
{
|
98
|
+
"request": {
|
99
|
+
"method": "get",
|
100
|
+
"uri": "https://www.pivotaltracker.com/services/v5/projects/1027488/stories/66728004/activity",
|
101
|
+
"body": {
|
102
|
+
"encoding": "US-ASCII",
|
103
|
+
"string": ""
|
104
|
+
},
|
105
|
+
"headers": {
|
106
|
+
"User-Agent": ["Ruby/2.1.5 (x86_64-darwin14.0; ruby) TrackerApi/0.2.6 Faraday/0.9.0"],
|
107
|
+
"X-TrackerToken": ["d55c3bc1f74346b843ca84ba340b29bf"]
|
108
|
+
}
|
109
|
+
},
|
110
|
+
"response": {
|
111
|
+
"status": {
|
112
|
+
"code": 200,
|
113
|
+
"message": null
|
114
|
+
},
|
115
|
+
"headers": {
|
116
|
+
"Content-Type": ["application/json; charset=utf-8"],
|
117
|
+
"Status": ["200 OK"],
|
118
|
+
"X-Tracker-Project-Version": ["32"],
|
119
|
+
"X-Tracker-Pagination-Total": ["1"],
|
120
|
+
"X-Tracker-Pagination-Offset": ["0"],
|
121
|
+
"X-Tracker-Pagination-Limit": ["100"],
|
122
|
+
"X-Tracker-Pagination-Returned": ["1"],
|
123
|
+
"X-UA-Compatible": ["IE=Edge,chrome=1"],
|
124
|
+
"ETag": ["\"9a3d97812ce54fcad490e3bb193c0b6e\""],
|
125
|
+
"Cache-Control": ["max-age=0, private, must-revalidate"],
|
126
|
+
"X-Request-Id": ["0191fba48d6a68f922656723bcd5114a"],
|
127
|
+
"X-Runtime": ["0.067792"],
|
128
|
+
"Date": ["Tue, 20 Jan 2015 06:12:06 GMT"],
|
129
|
+
"X-Rack-Cache": ["miss"],
|
130
|
+
"X-Powered-By": ["Phusion Passenger 4.0.41"],
|
131
|
+
"Server": ["nginx/1.6.0 + Phusion Passenger 4.0.41"],
|
132
|
+
"Access-Control-Allow-Origin": ["*"],
|
133
|
+
"Access-Control-Allow-Credentials": ["false"],
|
134
|
+
"Access-Control-Allow-Methods": ["GET, POST, PUT, DELETE, OPTIONS"],
|
135
|
+
"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"],
|
136
|
+
"X-Tracker-Client-Pinger-Interval": ["8"]
|
137
|
+
},
|
138
|
+
"body": {
|
139
|
+
"encoding": "UTF-8",
|
140
|
+
"string": "[{\"kind\":\"story_update_activity\",\"guid\":\"1027488_32\",\"project_version\":32,\"message\":\"Tracker API User1 edited this bug\",\"highlight\":\"edited\",\"changes\":[{\"kind\":\"story\",\"change_type\":\"update\",\"id\":66728004,\"original_values\":{\"name\":\"Some product photos not scaled properly when browsing products\",\"updated_at\":\"2014-06-02T12:44:52Z\"},\"new_values\":{\"name\":\"Some product photos not scaled properly when browsing products+\",\"updated_at\":\"2015-01-20T06:12:06Z\"},\"name\":\"Some product photos not scaled properly when browsing products+\",\"story_type\":\"bug\"}],\"primary_resources\":[{\"kind\":\"story\",\"id\":66728004,\"name\":\"Some product photos not scaled properly when browsing products+\",\"story_type\":\"bug\",\"url\":\"https://www.pivotaltracker.com/story/show/66728004\"}],\"project\":{\"kind\":\"project\",\"id\":1027488,\"name\":\"My Sample Project\"},\"performed_by\":{\"kind\":\"person\",\"id\":1266314,\"name\":\"Tracker API User1\",\"initials\":\"TU1\"},\"occurred_at\":\"2015-01-20T06:12:06Z\"}]"
|
141
|
+
},
|
142
|
+
"http_version": null
|
143
|
+
},
|
144
|
+
"recorded_at": "Tue, 20 Jan 2015 06:12:06 GMT"
|
145
|
+
}
|
146
|
+
],
|
147
|
+
"recorded_with": "VCR 2.9.3"
|
148
|
+
}
|
@@ -0,0 +1,50 @@
|
|
1
|
+
{
|
2
|
+
"http_interactions": [
|
3
|
+
{
|
4
|
+
"request": {
|
5
|
+
"method": "get",
|
6
|
+
"uri": "https://www.pivotaltracker.com/services/v5/my/notifications",
|
7
|
+
"body": {
|
8
|
+
"encoding": "US-ASCII",
|
9
|
+
"string": ""
|
10
|
+
},
|
11
|
+
"headers": {
|
12
|
+
"User-Agent": ["Ruby/2.1.5 (x86_64-darwin14.0; ruby) TrackerApi/0.2.6 Faraday/0.9.0"],
|
13
|
+
"X-TrackerToken": ["d55c3bc1f74346b843ca84ba340b29bf"]
|
14
|
+
}
|
15
|
+
},
|
16
|
+
"response": {
|
17
|
+
"status": {
|
18
|
+
"code": 200,
|
19
|
+
"message": null
|
20
|
+
},
|
21
|
+
"headers": {
|
22
|
+
"Content-Type": ["application/json; charset=utf-8"],
|
23
|
+
"Status": ["200 OK"],
|
24
|
+
"X-Tracker-Last-Notification-Timestamp": ["1422318958000"],
|
25
|
+
"X-UA-Compatible": ["IE=Edge,chrome=1"],
|
26
|
+
"ETag": ["\"8b9fdbed1595a4d0dd400be2e7d9fed9\""],
|
27
|
+
"Cache-Control": ["max-age=0, private, must-revalidate"],
|
28
|
+
"X-Request-Id": ["f699c20a0214ecb5df9fd0b3d2a9a611"],
|
29
|
+
"X-Runtime": ["0.049450"],
|
30
|
+
"Date": ["Tue, 27 Jan 2015 00:36:39 GMT"],
|
31
|
+
"X-Rack-Cache": ["miss"],
|
32
|
+
"X-Powered-By": ["Phusion Passenger 4.0.41"],
|
33
|
+
"Server": ["nginx/1.6.0 + Phusion Passenger 4.0.41"],
|
34
|
+
"Access-Control-Allow-Origin": ["*"],
|
35
|
+
"Access-Control-Allow-Credentials": ["false"],
|
36
|
+
"Access-Control-Allow-Methods": ["GET, POST, PUT, DELETE, OPTIONS"],
|
37
|
+
"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"],
|
38
|
+
"X-Tracker-Client-Pinger-Interval": ["8"]
|
39
|
+
},
|
40
|
+
"body": {
|
41
|
+
"encoding": "UTF-8",
|
42
|
+
"string": "[{\"kind\":\"notification\",\"id\":110356882,\"project\":{\"kind\":\"project\",\"id\":1027488,\"name\":\"My Sample Project\"},\"performer\":{\"kind\":\"person\",\"id\":1266316,\"name\":\"Tracker API User2\"},\"message\":\"Tracker API User2 has made you an owner of this story\",\"notification_type\":\"story\",\"action\":\"ownership\",\"story\":{\"kind\":\"story\",\"id\":82330712,\"name\":\"Test story\"},\"created_at\":\"2015-01-27T00:35:58Z\",\"updated_at\":\"2015-01-27T00:35:58Z\"}]"
|
43
|
+
},
|
44
|
+
"http_version": null
|
45
|
+
},
|
46
|
+
"recorded_at": "Tue, 27 Jan 2015 00:36:39 GMT"
|
47
|
+
}
|
48
|
+
],
|
49
|
+
"recorded_with": "VCR 2.9.3"
|
50
|
+
}
|