tracker_api 0.2.1 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5b897caea67a6740f4ec6c0a2fffceeb581248ca
4
- data.tar.gz: 709d70b6f4cd722acf7c37e87dcdd1d0a81f3185
3
+ metadata.gz: 58b985867493c40993433ea092acf680a7f4380d
4
+ data.tar.gz: 0d1ad7f6314e67d9da1b4469da9ca20efbcdbf4f
5
5
  SHA512:
6
- metadata.gz: 0163e2073569220d272f6f23abca2bc2b07ed1688f0eb09131308f58a9b4307e23afce7d389377397d10d62f3d8385f781ee432dcd27331e5754682d0918b6b0
7
- data.tar.gz: ac24c26685e42b4dd78af2a9a7d263ee84cacee8ebb6c0e3225e2fa7abed51bf557c737eaf1a93971f292c17370447112965ee37ea08a6769cb9b1b0ca7153f7
6
+ metadata.gz: 2e8e8023fc4a22eedf7d101bce65067640ce530d7e1a052ec43490175faabac0f8447f1779ffe4ac7887498362596dbf09fd789729b656d11f4b5e8fae7d6b77
7
+ data.tar.gz: 2ca8846f9d6b86561b7cdef9e2978de8e38bd487f640d28d0c7fb1d8aab292b116f6d5526ead23fd09e7e2529c8227d7550d823deeb5071c48b1629a4b71e3b2
data/README.md CHANGED
@@ -35,6 +35,8 @@ $ gem install tracker_api
35
35
  ```ruby
36
36
  client = TrackerApi::Client.new(token: 'my-api-token') # Create API client
37
37
 
38
+ user_email = client.me.email # Get authenticated user's email
39
+
38
40
  projects = client.projects # Get all projects
39
41
  project = client.project(123456) # Find project with given ID
40
42
 
@@ -106,6 +106,13 @@ module TrackerApi
106
106
  Endpoints::Project.new(self).get(id, params)
107
107
  end
108
108
 
109
+ # Get information about the authenticated user
110
+ #
111
+ # @return [TrackerApi::Resources::Me]
112
+ def me
113
+ Endpoints::Me.new(self).get
114
+ end
115
+
109
116
  private
110
117
 
111
118
  def parse_query_and_convenience_headers(path, options)
@@ -0,0 +1,17 @@
1
+ module TrackerApi
2
+ module Endpoints
3
+ class Me
4
+ attr_accessor :client
5
+
6
+ def initialize(client)
7
+ @client = client
8
+ end
9
+
10
+ def get
11
+ data = client.get("/me").body
12
+
13
+ Resources::Me.new({ client: client }.merge(data))
14
+ end
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,23 @@
1
+ module TrackerApi
2
+ module Resources
3
+ class Me
4
+ include Virtus.model
5
+
6
+ attribute :client
7
+
8
+ attribute :id, Integer
9
+ attribute :name, String
10
+ attribute :initials, String
11
+ attribute :username, String
12
+ attribute :time_zone, TrackerApi::Resources::TimeZone
13
+ attribute :api_token, String
14
+ attribute :has_google_identity, Boolean
15
+ attribute :project_ids, Array[Integer]
16
+ attribute :projects, [TrackerApi::Resources::MembershipSummary]
17
+ attribute :workspace_ids, Array[Integer]
18
+ attribute :email, String
19
+ attribute :receives_in_app_notifications, Boolean
20
+ attribute :kind, String
21
+ end
22
+ end
23
+ end
@@ -0,0 +1,17 @@
1
+ module TrackerApi
2
+ module Resources
3
+ class MembershipSummary
4
+ include Virtus.model
5
+
6
+ attribute :client
7
+
8
+ attribute :id, Integer
9
+ attribute :kind, String
10
+ attribute :last_viewed_at, DateTime
11
+ attribute :project_color, String
12
+ attribute :project_id, Integer
13
+ attribute :project_name, String
14
+ attribute :role, String
15
+ end
16
+ end
17
+ end
@@ -1,3 +1,3 @@
1
1
  module TrackerApi
2
- VERSION = '0.2.1'
2
+ VERSION = '0.2.2'
3
3
  end
data/lib/tracker_api.rb CHANGED
@@ -23,6 +23,7 @@ module TrackerApi
23
23
  autoload :Epic, 'tracker_api/endpoints/epic'
24
24
  autoload :Epics, 'tracker_api/endpoints/epics'
25
25
  autoload :Iterations, 'tracker_api/endpoints/iterations'
26
+ autoload :Me, 'tracker_api/endpoints/me'
26
27
  autoload :Project, 'tracker_api/endpoints/project'
27
28
  autoload :Projects, 'tracker_api/endpoints/projects'
28
29
  autoload :Stories, 'tracker_api/endpoints/stories'
@@ -32,6 +33,8 @@ module TrackerApi
32
33
  autoload :Account, 'tracker_api/resources/account'
33
34
  autoload :Epic, 'tracker_api/resources/epic'
34
35
  autoload :Iteration, 'tracker_api/resources/iteration'
36
+ autoload :Me, 'tracker_api/resources/me'
37
+ autoload :MembershipSummary, 'tracker_api/resources/membership_summary'
35
38
  autoload :Label, 'tracker_api/resources/label'
36
39
  autoload :Project, 'tracker_api/resources/project'
37
40
  autoload :Story, 'tracker_api/resources/story'
data/test/client_test.rb CHANGED
@@ -61,6 +61,24 @@ describe TrackerApi::Client do
61
61
  end
62
62
  end
63
63
 
64
+ describe '.me' do
65
+ let(:pt_user) { PT_USER_1 }
66
+ let(:client) { TrackerApi::Client.new token: pt_user[:token] }
67
+ let(:username) { pt_user[:username] }
68
+ let(:project_id) { pt_user[:project_id] }
69
+
70
+ it 'gets info about the authenticated user' do
71
+ VCR.use_cassette('get me', record: :new_episodes) do
72
+ me = client.me
73
+
74
+ me.must_be_instance_of TrackerApi::Resources::Me
75
+ me.username.must_equal username
76
+
77
+ me.projects.map(&:project_id).must_include project_id
78
+ end
79
+ end
80
+ end
81
+
64
82
  describe '.paginate' do
65
83
  let(:pt_user) { PT_USER_1 }
66
84
  let(:client) { TrackerApi::Client.new token: pt_user[:token] }
@@ -24,9 +24,9 @@ VCR.configure do |c|
24
24
  end
25
25
 
26
26
  # These API Tokens are for a user with just one Public Sample Project
27
- PT_USER_1 = { project_id: 1027488, token: '0de3ac29f13082f0c16ed76f3f3f6895' } # trackher1 user
28
- PT_USER_2 = { project_id: 1027492, token: '90a51cef4e7c358b36b4e4cdf0f2dd2a' } # trackher2 user
29
- PT_USER_3 = { project_id: 1027494, token: 'f8aad6b471d1b1eb303d368ef533f622' } # trackher3 user
27
+ PT_USER_1 = { username: 'trackerapi1', password: 'trackerapi1', token: 'd55c3bc1f74346b843ca84ba340b29bf', project_id: 1027488 }
28
+ PT_USER_2 = { username: 'trackerapi2', password: 'trackerapi2', token: 'ab4c5895f57995bb7547986eacf91160', project_id: 1027492 }
29
+ PT_USER_3 = { username: 'trackerapi3', password: 'trackerapi3', token: '77f9b9a466c436e6456939208c84c973', project_id: 1027494 }
30
30
  PT_USERS = [PT_USER_1, PT_USER_2, PT_USER_3]
31
31
 
32
32
  LOGGER = ::Logger.new(STDOUT)
data/test/project_test.rb CHANGED
@@ -42,7 +42,7 @@ describe TrackerApi::Resources::Project do
42
42
  done_iterations = project.iterations(scope: :done, offset: offset)
43
43
 
44
44
  done_iterations.wont_be_empty
45
- done_iterations.length.must_be :<, project.number_of_done_iterations_to_show
45
+ done_iterations.length.must_be :<=, project.number_of_done_iterations_to_show
46
46
 
47
47
  iteration = done_iterations.first
48
48
  iteration.must_be_instance_of TrackerApi::Resources::Iteration
@@ -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.0 Faraday/0.8.9"],"X-TrackerToken":["0de3ac29f13082f0c16ed76f3f3f6895"]}},"response":{"status":{"code":200,"message":null},"headers":{"content-type":["application/json; charset=utf-8"],"transfer-encoding":["chunked"],"connection":["close"],"status":["200"],"x-powered-by":["Phusion Passenger (mod_rails/mod_rack) 3.0.14"],"x-tracker-project-version":["1"],"cache-control":["private, max-age=0, must-revalidate"],"x-runtime":["40"],"etag":["\"24d9e32f361b5a8e2b83e7f7f0a1558b\""],"server":["nginx/1.2.2 + Phusion Passenger 3.0.14 (mod_rails/mod_rack)"],"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 \"enable_following\": true,\n \"account_id\": 621384,\n \"version\": 1,\n \"atom_enabled\": false,\n \"enable_planned_mode\": false,\n \"bugs_and_chores_are_estimatable\": false,\n \"has_google_domain\": false,\n \"id\": 1027488,\n \"number_of_done_iterations_to_show\": 12,\n \"velocity_averaged_over\": 3,\n \"kind\": \"project\",\n \"created_at\": \"2014-03-02T07:11:04Z\",\n \"start_time\": \"2014-02-10T08:00:00Z\",\n \"public\": false,\n \"updated_at\": \"2014-03-02T07:11:04Z\",\n \"profile_content\": \"This is a demo project, created by Tracker, with example stories for a simple shopping web site.\",\n \"enable_tasks\": true,\n \"enable_incoming_emails\": true,\n \"point_scale_is_custom\": false,\n \"initial_velocity\": 10,\n \"time_zone\": {\n \"olson_name\": \"America/Los_Angeles\",\n \"kind\": \"time_zone\",\n \"offset\": \"-07:00\"\n },\n \"week_start_day\": \"Monday\",\n \"iteration_length\": 1,\n \"name\": \"My Sample Project\",\n \"current_iteration_number\": 7,\n \"point_scale\": \"0,1,2,3\"\n}"},"http_version":null},"recorded_at":"Wed, 26 Mar 2014 05:49:42 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.0 Faraday/0.8.9"],"X-TrackerToken":["0de3ac29f13082f0c16ed76f3f3f6895"]}},"response":{"status":{"code":200,"message":null},"headers":{"content-type":["application/json; charset=utf-8"],"transfer-encoding":["chunked"],"connection":["close"],"status":["200"],"x-powered-by":["Phusion Passenger (mod_rails/mod_rack) 3.0.14"],"x-tracker-pagination-returned":["5"],"x-tracker-project-version":["1"],"x-tracker-pagination-limit":["5"],"x-tracker-pagination-total":["6"],"cache-control":["private, max-age=0, must-revalidate"],"x-runtime":["187"],"etag":["\"b96f6d7d4a3d6c0160bca9addeda3beb\""],"x-tracker-pagination-offset":["-12"],"server":["nginx/1.2.2 + Phusion Passenger 3.0.14 (mod_rails/mod_rack)"],"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 \"finish\": \"2014-02-17T08:00:00Z\",\n \"stories\": [\n {\n \"current_state\": \"accepted\",\n \"id\": 66727974,\n \"description\": \"We need 2 machines set up\",\n \"labels\": [\n\n ],\n \"project_id\": 1027488,\n \"story_type\": \"chore\",\n \"kind\": \"story\",\n \"accepted_at\": \"2014-02-11T00:00:00Z\",\n \"created_at\": \"2014-02-10T00:00:00Z\",\n \"updated_at\": \"2014-03-02T07:11:04Z\",\n \"owner_ids\": [\n\n ],\n \"url\": \"http://www.pivotaltracker.com/story/show/66727974\",\n \"name\": \"Setup development environment\",\n \"requested_by_id\": 1266314\n },\n {\n \"current_state\": \"accepted\",\n \"id\": 66727976,\n \"description\": \"Should be accessible from outside the network, with basic auth\",\n \"labels\": [\n {\n \"id\": 7849078,\n \"project_id\": 1027488,\n \"kind\": \"label\",\n \"created_at\": \"2014-03-02T07:11:04Z\",\n \"updated_at\": \"2014-03-02T07:11:04Z\",\n \"name\": \"deployment\"\n }\n ],\n \"project_id\": 1027488,\n \"story_type\": \"chore\",\n \"kind\": \"story\",\n \"accepted_at\": \"2014-02-11T00:00:00Z\",\n \"created_at\": \"2014-02-10T00:00:00Z\",\n \"updated_at\": \"2014-03-02T07:11:04Z\",\n \"owner_ids\": [\n\n ],\n \"url\": \"http://www.pivotaltracker.com/story/show/66727976\",\n \"name\": \"Setup demo server\",\n \"requested_by_id\": 1266314\n },\n {\n \"current_state\": \"accepted\",\n \"id\": 66727978,\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 \"labels\": [\n {\n \"id\": 7849080,\n \"project_id\": 1027488,\n \"kind\": \"label\",\n \"created_at\": \"2014-03-02T07:11:04Z\",\n \"updated_at\": \"2014-03-02T07:11:04Z\",\n \"name\": \"admin\"\n }\n ],\n \"project_id\": 1027488,\n \"story_type\": \"feature\",\n \"estimate\": 2,\n \"kind\": \"story\",\n \"accepted_at\": \"2014-02-11T00:00:00Z\",\n \"created_at\": \"2014-02-10T00:00:00Z\",\n \"updated_at\": \"2014-03-02T07:11:04Z\",\n \"owner_ids\": [\n\n ],\n \"url\": \"http://www.pivotaltracker.com/story/show/66727978\",\n \"name\": \"Admin should be able to login\",\n \"requested_by_id\": 1266314\n },\n {\n \"current_state\": \"accepted\",\n \"id\": 66727980,\n \"description\": \"Product information includes title, description, price, SKU.\",\n \"labels\": [\n {\n \"id\": 7849080,\n \"project_id\": 1027488,\n \"kind\": \"label\",\n \"created_at\": \"2014-03-02T07:11:04Z\",\n \"updated_at\": \"2014-03-02T07:11:04Z\",\n \"name\": \"admin\"\n }\n ],\n \"project_id\": 1027488,\n \"story_type\": \"feature\",\n \"estimate\": 1,\n \"kind\": \"story\",\n \"accepted_at\": \"2014-02-11T00:00:00Z\",\n \"created_at\": \"2014-02-10T00:00:00Z\",\n \"updated_at\": \"2014-03-02T07:11:04Z\",\n \"owner_ids\": [\n\n ],\n \"url\": \"http://www.pivotaltracker.com/story/show/66727980\",\n \"name\": \"Admin should be able to create new product\",\n \"requested_by_id\": 1266314\n },\n {\n \"current_state\": \"accepted\",\n \"id\": 66727982,\n \"labels\": [\n {\n \"id\": 7849080,\n \"project_id\": 1027488,\n \"kind\": \"label\",\n \"created_at\": \"2014-03-02T07:11:04Z\",\n \"updated_at\": \"2014-03-02T07:11:04Z\",\n \"name\": \"admin\"\n }\n ],\n \"project_id\": 1027488,\n \"story_type\": \"feature\",\n \"estimate\": 2,\n \"kind\": \"story\",\n \"accepted_at\": \"2014-02-11T00:00:00Z\",\n \"created_at\": \"2014-02-10T00:00:00Z\",\n \"updated_at\": \"2014-03-02T07:11:04Z\",\n \"owner_ids\": [\n\n ],\n \"url\": \"http://www.pivotaltracker.com/story/show/66727982\",\n \"name\": \"Admin should be able to upload product photo\",\n \"requested_by_id\": 1266314\n }\n ],\n \"project_id\": 1027488,\n \"team_strength\": 1,\n \"kind\": \"iteration\",\n \"number\": 1,\n \"start\": \"2014-02-10T08:00:00Z\"\n },\n {\n \"finish\": \"2014-02-24T08:00:00Z\",\n \"stories\": [\n {\n \"current_state\": \"accepted\",\n \"id\": 66727984,\n \"labels\": [\n {\n \"id\": 7849080,\n \"project_id\": 1027488,\n \"kind\": \"label\",\n \"created_at\": \"2014-03-02T07:11:04Z\",\n \"updated_at\": \"2014-03-02T07:11:04Z\",\n \"name\": \"admin\"\n }\n ],\n \"project_id\": 1027488,\n \"story_type\": \"feature\",\n \"estimate\": 3,\n \"kind\": \"story\",\n \"accepted_at\": \"2014-02-18T00:00:00Z\",\n \"created_at\": \"2014-02-10T00:00:00Z\",\n \"updated_at\": \"2014-03-02T07:11:04Z\",\n \"owner_ids\": [\n\n ],\n \"url\": \"http://www.pivotaltracker.com/story/show/66727984\",\n \"name\": \"Admin should be able to upload multiple product photos and mark one as the primary\",\n \"requested_by_id\": 1266314\n },\n {\n \"current_state\": \"accepted\",\n \"id\": 66727986,\n \"labels\": [\n {\n \"id\": 7849082,\n \"project_id\": 1027488,\n \"kind\": \"label\",\n \"created_at\": \"2014-03-02T07:11:04Z\",\n \"updated_at\": \"2014-03-02T07:11:04Z\",\n \"name\": \"shopping\"\n }\n ],\n \"project_id\": 1027488,\n \"story_type\": \"feature\",\n \"estimate\": 2,\n \"kind\": \"story\",\n \"accepted_at\": \"2014-02-18T00:00:00Z\",\n \"created_at\": \"2014-02-10T00:00:00Z\",\n \"updated_at\": \"2014-03-02T07:11:04Z\",\n \"owner_ids\": [\n\n ],\n \"url\": \"http://www.pivotaltracker.com/story/show/66727986\",\n \"name\": \"Shopper should see list of products, with primary photo as thumbnail\",\n \"requested_by_id\": 1266314\n },\n {\n \"current_state\": \"accepted\",\n \"id\": 66727988,\n \"labels\": [\n {\n \"id\": 7849082,\n \"project_id\": 1027488,\n \"kind\": \"label\",\n \"created_at\": \"2014-03-02T07:11:04Z\",\n \"updated_at\": \"2014-03-02T07:11:04Z\",\n \"name\": \"shopping\"\n }\n ],\n \"project_id\": 1027488,\n \"story_type\": \"feature\",\n \"estimate\": 1,\n \"kind\": \"story\",\n \"accepted_at\": \"2014-02-18T00:00:00Z\",\n \"created_at\": \"2014-02-10T00:00:00Z\",\n \"updated_at\": \"2014-03-02T07:11:04Z\",\n \"owner_ids\": [\n\n ],\n \"url\": \"http://www.pivotaltracker.com/story/show/66727988\",\n \"name\": \"Product browsing should be paginated, with 10 products per page\",\n \"requested_by_id\": 1266314\n },\n {\n \"current_state\": \"accepted\",\n \"id\": 66727990,\n \"labels\": [\n {\n \"id\": 7849082,\n \"project_id\": 1027488,\n \"kind\": \"label\",\n \"created_at\": \"2014-03-02T07:11:04Z\",\n \"updated_at\": \"2014-03-02T07:11:04Z\",\n \"name\": \"shopping\"\n },\n {\n \"id\": 7849084,\n \"project_id\": 1027488,\n \"kind\": \"label\",\n \"created_at\": \"2014-03-02T07:11:05Z\",\n \"updated_at\": \"2014-03-02T07:11:05Z\",\n \"name\": \"usability\"\n }\n ],\n \"project_id\": 1027488,\n \"story_type\": \"feature\",\n \"estimate\": 2,\n \"kind\": \"story\",\n \"accepted_at\": \"2014-02-18T00:00:00Z\",\n \"created_at\": \"2014-02-10T00:00:00Z\",\n \"updated_at\": \"2014-03-02T07:11:04Z\",\n \"owner_ids\": [\n\n ],\n \"url\": \"http://www.pivotaltracker.com/story/show/66727990\",\n \"name\": \"Make product browsing pagination AJAXy\",\n \"requested_by_id\": 1266314\n },\n {\n \"current_state\": \"accepted\",\n \"id\": 66727992,\n \"labels\": [\n {\n \"id\": 7849080,\n \"project_id\": 1027488,\n \"kind\": \"label\",\n \"created_at\": \"2014-03-02T07:11:04Z\",\n \"updated_at\": \"2014-03-02T07:11:04Z\",\n \"name\": \"admin\"\n }\n ],\n \"project_id\": 1027488,\n \"story_type\": \"feature\",\n \"estimate\": 3,\n \"kind\": \"story\",\n \"accepted_at\": \"2014-02-18T00:00:00Z\",\n \"created_at\": \"2014-02-10T00:00:00Z\",\n \"updated_at\": \"2014-03-02T07:11:05Z\",\n \"owner_ids\": [\n\n ],\n \"url\": \"http://www.pivotaltracker.com/story/show/66727992\",\n \"name\": \"Admin should be able to import multiple new products from CSV file\",\n \"requested_by_id\": 1266314\n }\n ],\n \"project_id\": 1027488,\n \"team_strength\": 1,\n \"kind\": \"iteration\",\n \"number\": 2,\n \"start\": \"2014-02-17T08:00:00Z\"\n },\n {\n \"finish\": \"2014-03-03T08:00:00Z\",\n \"stories\": [\n {\n \"current_state\": \"accepted\",\n \"id\": 66727994,\n \"labels\": [\n {\n \"id\": 7849082,\n \"project_id\": 1027488,\n \"kind\": \"label\",\n \"created_at\": \"2014-03-02T07:11:04Z\",\n \"updated_at\": \"2014-03-02T07:11:04Z\",\n \"name\": \"shopping\"\n }\n ],\n \"project_id\": 1027488,\n \"story_type\": \"feature\",\n \"estimate\": 1,\n \"kind\": \"story\",\n \"accepted_at\": \"2014-03-02T00:00:00Z\",\n \"created_at\": \"2014-02-17T00:00:00Z\",\n \"updated_at\": \"2014-03-02T07:11:05Z\",\n \"owner_ids\": [\n\n ],\n \"url\": \"http://www.pivotaltracker.com/story/show/66727994\",\n \"name\": \"Shopper should be able to click on a product, and see all product details, including photos\",\n \"requested_by_id\": 1266314\n },\n {\n \"current_state\": \"accepted\",\n \"id\": 66727996,\n \"labels\": [\n {\n \"id\": 7849086,\n \"project_id\": 1027488,\n \"kind\": \"label\",\n \"created_at\": \"2014-03-02T07:11:05Z\",\n \"updated_at\": \"2014-03-02T07:11:05Z\",\n \"name\": \"cart\"\n },\n {\n \"id\": 7849082,\n \"project_id\": 1027488,\n \"kind\": \"label\",\n \"created_at\": \"2014-03-02T07:11:04Z\",\n \"updated_at\": \"2014-03-02T07:11:04Z\",\n \"name\": \"shopping\"\n }\n ],\n \"project_id\": 1027488,\n \"story_type\": \"feature\",\n \"estimate\": 1,\n \"kind\": \"story\",\n \"accepted_at\": \"2014-03-02T07:11:05Z\",\n \"created_at\": \"2014-02-17T00:00:00Z\",\n \"updated_at\": \"2014-03-02T07:11:05Z\",\n \"owner_ids\": [\n\n ],\n \"url\": \"http://www.pivotaltracker.com/story/show/66727996\",\n \"name\": \"Shopper should be able to add product to shopping cart\",\n \"requested_by_id\": 1266314\n }\n ],\n \"project_id\": 1027488,\n \"team_strength\": 1,\n \"kind\": \"iteration\",\n \"number\": 3,\n \"start\": \"2014-02-24T08:00:00Z\"\n },\n {\n \"finish\": \"2014-03-10T07:00:00Z\",\n \"stories\": [\n\n ],\n \"project_id\": 1027488,\n \"team_strength\": 1,\n \"kind\": \"iteration\",\n \"number\": 4,\n \"start\": \"2014-03-03T08:00:00Z\"\n },\n {\n \"finish\": \"2014-03-17T07:00:00Z\",\n \"stories\": [\n\n ],\n \"project_id\": 1027488,\n \"team_strength\": 1,\n \"kind\": \"iteration\",\n \"number\": 5,\n \"start\": \"2014-03-10T07:00:00Z\"\n }\n]"},"http_version":null},"recorded_at":"Wed, 26 Mar 2014 05:49:43 GMT"},{"request":{"method":"get","uri":"https://www.pivotaltracker.com/services/v5/projects/1027488/iterations?scope=done&offset=-1&limit=5","body":{"encoding":"US-ASCII","string":""},"headers":{"User-Agent":["Ruby/2.0.0 (x86_64-darwin13.0.2; ruby) TrackerApi/0.2.0 Faraday/0.8.9"],"X-TrackerToken":["0de3ac29f13082f0c16ed76f3f3f6895"]}},"response":{"status":{"code":200,"message":null},"headers":{"content-type":["application/json; charset=utf-8"],"transfer-encoding":["chunked"],"connection":["close"],"status":["200"],"x-powered-by":["Phusion Passenger (mod_rails/mod_rack) 3.0.14"],"x-tracker-pagination-returned":["1"],"x-tracker-project-version":["1"],"x-tracker-pagination-limit":["5"],"x-tracker-pagination-total":["6"],"cache-control":["private, max-age=0, must-revalidate"],"x-runtime":["90"],"etag":["\"8e04bde82acfaada287cd50c67a577c8\""],"x-tracker-pagination-offset":["-1"],"server":["nginx/1.2.2 + Phusion Passenger 3.0.14 (mod_rails/mod_rack)"],"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 \"finish\": \"2014-03-24T07:00:00Z\",\n \"stories\": [\n\n ],\n \"project_id\": 1027488,\n \"team_strength\": 1,\n \"kind\": \"iteration\",\n \"number\": 6,\n \"start\": \"2014-03-17T07:00:00Z\"\n }\n]"},"http_version":null},"recorded_at":"Wed, 26 Mar 2014 05:49:43 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"}],"recorded_with":"VCR 2.8.0"}