tracker_api 1.6.0 → 1.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -2
- data/lib/tracker_api.rb +4 -0
- data/lib/tracker_api/endpoints/search.rb +22 -0
- data/lib/tracker_api/resources/epics_search_result.rb +12 -0
- data/lib/tracker_api/resources/iteration.rb +4 -0
- data/lib/tracker_api/resources/notification.rb +1 -0
- data/lib/tracker_api/resources/project.rb +10 -0
- data/lib/tracker_api/resources/search_result_container.rb +12 -0
- data/lib/tracker_api/resources/stories_search_result.rb +14 -0
- data/lib/tracker_api/resources/story.rb +4 -1
- data/lib/tracker_api/version.rb +1 -1
- data/test/project_test.rb +31 -0
- data/test/vcr/cassettes/get_current_iteration.json +1 -1
- data/test/vcr/cassettes/search_project.json +1 -0
- metadata +8 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f85db596e25b5ca38c0707b6b507a25d3a90f7ba
|
4
|
+
data.tar.gz: e3b298225456a235e4fcce30ad104752e83b470f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a1f12bf2e4d596ff59b26f7066b8f0b222f2ffe342978d6249f63969866f320a119cf6e1298924991f80151ea7e5708fff6484f46e2b2d0736177e1a695dc2b1
|
7
|
+
data.tar.gz: 972aaee7f7091d8bb2985aa13db6d496f61b08078598db98bf12124afa8e7f97b41653b68ec7a8ad0cf892e87be8fed3d2c9bfd79633d4105ba656950034a3e7
|
data/README.md
CHANGED
@@ -10,7 +10,7 @@ This gem allows you to easily use the [Pivotal Tracker v5 API](https://www.pivot
|
|
10
10
|
|
11
11
|
It’s powered by [Faraday](https://github.com/lostisland/faraday) and [Virtus](https://github.com/solnic/virtus).
|
12
12
|
|
13
|
-
##Demonstration
|
13
|
+
## Demonstration
|
14
14
|
[Dash of Agile](https://www.dashofagile.com) uses `tracker_api` to create agile dashboards from Pivotal Tracker projects.
|
15
15
|
|
16
16
|
## Installation
|
@@ -48,6 +48,8 @@ project.stories(with_state: :unscheduled, limit: 10) # Get
|
|
48
48
|
project.stories(filter: 'requester:OWK label:"jedi stuff"') # Get all stories that match the given filters
|
49
49
|
project.create_story(name: 'Destroy death star') # Create a story with the name 'Destroy death star'
|
50
50
|
|
51
|
+
project.search('Destroy death star') # Get a search result with all epics and stories relevant to the query
|
52
|
+
|
51
53
|
story = project.story(847762630) # Find a story with the given ID
|
52
54
|
story.activity # Get a list of all the activity performed on this story
|
53
55
|
story.transitions # Get a list of all the story transitions on this story
|
@@ -90,7 +92,6 @@ client = TrackerApi::Client.new(token: 'my-api-token') # Crea
|
|
90
92
|
client.project(project_id, fields: ':default,labels(name)') # Eagerly get labels with a project
|
91
93
|
client.project(project_id, fields: ':default,epics') # Eagerly get epics with a project
|
92
94
|
client.project(project_id).stories(fields: ':default,tasks') # Eagerly get stories with tasks
|
93
|
-
client.project.stories(fields: ':default,comments(:default,person)') # Eagerly get stories with comments and the person that made the comment
|
94
95
|
story.comments(fields: ':default,person') # Eagerly get comments and the person that made the comment for a story
|
95
96
|
```
|
96
97
|
|
data/lib/tracker_api.rb
CHANGED
@@ -44,6 +44,7 @@ module TrackerApi
|
|
44
44
|
autoload :Projects, 'tracker_api/endpoints/projects'
|
45
45
|
autoload :Workspace, 'tracker_api/endpoints/workspace'
|
46
46
|
autoload :Workspaces, 'tracker_api/endpoints/workspaces'
|
47
|
+
autoload :Search, 'tracker_api/endpoints/search'
|
47
48
|
autoload :Stories, 'tracker_api/endpoints/stories'
|
48
49
|
autoload :Story, 'tracker_api/endpoints/story'
|
49
50
|
autoload :StoryOwners, 'tracker_api/endpoints/story_owners'
|
@@ -65,6 +66,7 @@ module TrackerApi
|
|
65
66
|
autoload :Account, 'tracker_api/resources/account'
|
66
67
|
autoload :Change, 'tracker_api/resources/change'
|
67
68
|
autoload :Epic, 'tracker_api/resources/epic'
|
69
|
+
autoload :EpicsSearchResult, 'tracker_api/resources/epics_search_result'
|
68
70
|
autoload :Iteration, 'tracker_api/resources/iteration'
|
69
71
|
autoload :Me, 'tracker_api/resources/me'
|
70
72
|
autoload :MembershipSummary, 'tracker_api/resources/membership_summary'
|
@@ -75,6 +77,8 @@ module TrackerApi
|
|
75
77
|
autoload :Project, 'tracker_api/resources/project'
|
76
78
|
autoload :ProjectMembership, 'tracker_api/resources/project_membership'
|
77
79
|
autoload :Workspace, 'tracker_api/resources/workspace'
|
80
|
+
autoload :SearchResultContainer, 'tracker_api/resources/search_result_container'
|
81
|
+
autoload :StoriesSearchResult, 'tracker_api/resources/stories_search_result'
|
78
82
|
autoload :Story, 'tracker_api/resources/story'
|
79
83
|
autoload :Task, 'tracker_api/resources/task'
|
80
84
|
autoload :TimeZone, 'tracker_api/resources/time_zone'
|
@@ -0,0 +1,22 @@
|
|
1
|
+
module TrackerApi
|
2
|
+
module Endpoints
|
3
|
+
class Search
|
4
|
+
attr_accessor :client
|
5
|
+
|
6
|
+
def initialize(client)
|
7
|
+
@client = client
|
8
|
+
end
|
9
|
+
|
10
|
+
def get(project_id, query, options={})
|
11
|
+
raise ArgumentError, 'Valid query string required to search' unless query.is_a?(String)
|
12
|
+
|
13
|
+
options.key?(:body) ? options[:body][:query] = query : options[:body] = { query: query }
|
14
|
+
data = client.get("/projects/#{project_id}/search", options).body
|
15
|
+
|
16
|
+
raise Errors::UnexpectedData, 'Hash of search results expect' unless data.is_a? Hash
|
17
|
+
|
18
|
+
Resources::SearchResultContainer.new(data)
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
@@ -16,6 +16,10 @@ module TrackerApi
|
|
16
16
|
attribute :stories, [Story]
|
17
17
|
attribute :story_ids, [Integer]
|
18
18
|
attribute :team_strength, Float
|
19
|
+
attribute :velocity, Float
|
20
|
+
attribute :points, Integer
|
21
|
+
attribute :accepted_points, Integer
|
22
|
+
attribute :effective_points, Float
|
19
23
|
|
20
24
|
def stories=(data)
|
21
25
|
super.each { |s| s.client = client }
|
@@ -209,6 +209,16 @@ module TrackerApi
|
|
209
209
|
def delete_webhook(webhook_id)
|
210
210
|
Endpoints::Webhook.new(client).delete_from_project(id, webhook_id)
|
211
211
|
end
|
212
|
+
|
213
|
+
# Search for a term in the given project. This can be an arbitrary term or a specific search query.
|
214
|
+
# See https://www.pivotaltracker.com/help/articles/advanced_search/
|
215
|
+
#
|
216
|
+
# @param [String] query A versatile search query
|
217
|
+
# @param [Hash] params
|
218
|
+
# @return [SearchResultsContainer] An object composed of Epic(s) [EpicsSearchResult] and Story(s) [StoriesSearchResults]
|
219
|
+
def search(query, params={})
|
220
|
+
Endpoints::Search.new(client).get(id, query, params)
|
221
|
+
end
|
212
222
|
end
|
213
223
|
end
|
214
224
|
end
|
@@ -0,0 +1,12 @@
|
|
1
|
+
module TrackerApi
|
2
|
+
module Resources
|
3
|
+
class SearchResultContainer
|
4
|
+
include Shared::Base
|
5
|
+
|
6
|
+
attribute :query, String
|
7
|
+
attribute :stories, Resources::StoriesSearchResult
|
8
|
+
attribute :epics, Resources::EpicsSearchResult
|
9
|
+
attribute :kind, String
|
10
|
+
end
|
11
|
+
end
|
12
|
+
end
|
@@ -0,0 +1,14 @@
|
|
1
|
+
module TrackerApi
|
2
|
+
module Resources
|
3
|
+
class StoriesSearchResult
|
4
|
+
include Shared::Base
|
5
|
+
|
6
|
+
attribute :stories, Array[Resources::Story]
|
7
|
+
attribute :total_hits, Integer
|
8
|
+
attribute :total_hits_with_done, Integer
|
9
|
+
attribute :total_points, Float
|
10
|
+
attribute :total_points_completed, Float
|
11
|
+
attribute :kind, String
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
@@ -61,7 +61,10 @@ module TrackerApi
|
|
61
61
|
|
62
62
|
# @return [String] Comma separated list of labels.
|
63
63
|
def label_list
|
64
|
-
@label_list ||=
|
64
|
+
@label_list ||= begin
|
65
|
+
return if labels.nil?
|
66
|
+
labels.collect(&:name).join(',')
|
67
|
+
end
|
65
68
|
end
|
66
69
|
|
67
70
|
# Adds a new label to the story.
|
data/lib/tracker_api/version.rb
CHANGED
data/test/project_test.rb
CHANGED
@@ -92,6 +92,20 @@ describe TrackerApi::Resources::Project do
|
|
92
92
|
end
|
93
93
|
end
|
94
94
|
|
95
|
+
it 'can get iteration with non-default fields' do
|
96
|
+
VCR.use_cassette('get current iteration', record: :new_episodes) do
|
97
|
+
iterations = project.iterations(scope: :current, fields: ":default,velocity,points,accepted_points,effective_points")
|
98
|
+
|
99
|
+
iterations.wont_be_empty
|
100
|
+
|
101
|
+
current = iterations.first
|
102
|
+
current.velocity.must_equal 10.0
|
103
|
+
current.points.must_equal 10
|
104
|
+
current.accepted_points.must_equal 0
|
105
|
+
current.effective_points.must_equal 10.0
|
106
|
+
end
|
107
|
+
end
|
108
|
+
|
95
109
|
it 'can get an iteration by number' do
|
96
110
|
VCR.use_cassette('get iteration by number', record: :new_episodes) do
|
97
111
|
iterations = project.iterations(number: 2)
|
@@ -178,4 +192,21 @@ describe TrackerApi::Resources::Project do
|
|
178
192
|
end
|
179
193
|
end
|
180
194
|
end
|
195
|
+
|
196
|
+
describe '.search' do
|
197
|
+
let(:pt_user) { PT_USER_3 }
|
198
|
+
|
199
|
+
it 'can search a project' do
|
200
|
+
VCR.use_cassette('search project') do
|
201
|
+
project = client.project(pt_user[:project_id])
|
202
|
+
search_container = project.search('name:"story to test search"')
|
203
|
+
|
204
|
+
search_container.wont_be_nil
|
205
|
+
search_container.must_be_instance_of TrackerApi::Resources::SearchResultContainer
|
206
|
+
search_container.epics.must_be_instance_of TrackerApi::Resources::EpicsSearchResult
|
207
|
+
search_container.stories.must_be_instance_of TrackerApi::Resources::StoriesSearchResult
|
208
|
+
search_container.stories.stories.first[:id].must_equal 143444685
|
209
|
+
end
|
210
|
+
end
|
211
|
+
end
|
181
212
|
end
|
@@ -1 +1 @@
|
|
1
|
-
{"http_interactions":[{"request":{"method":"get","uri":"https://www.pivotaltracker.com/services/v5/projects/1027488/iterations?scope=current","body":{"encoding":"US-ASCII","string":""},"headers":{"User-Agent":["Ruby/2.2.3 (x86_64-darwin15; ruby) TrackerApi/0.2.12 Faraday/0.9.2"],"X-TrackerToken":["d55c3bc1f74346b843ca84ba340b29bf"]}},"response":{"status":{"code":200,"message":null},"headers":{"Content-Type":["application/json; charset=utf-8"],"Status":["200 OK"],"Cache-Control":["max-age=0, private, must-revalidate"],"Date":["Sat, 13 Feb 2016 23:35:29 GMT"],"X-Tracker-Project-Version":["107"],"X-Request-Id":["8954fd746372980b34bf44a1887b9c8c"],"X-UA-Compatible":["IE=Edge,chrome=1"],"ETag":["\"2925db9991e358d25cdba94fb0dd916a\""],"X-Runtime":["0.087395"],"X-Rack-Cache":["miss"],"X-Powered-By":["Phusion Passenger Enterprise"],"Server":["nginx + Phusion Passenger"],"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":"[{\"number\":105,\"project_id\":1027488,\"length\":1,\"team_strength\":1,\"stories\":[{\"kind\":\"story\",\"id\":66727998,\"created_at\":\"2014-02-17T00:00:00Z\",\"updated_at\":\"2014-03-02T07:11:05Z\",\"estimate\":2,\"story_type\":\"feature\",\"name\":\"Shopper should be able to view contents of shopping cart\",\"description\":\"Cart icon in top right corner, with a number indicating how many items in cart\",\"current_state\":\"delivered\",\"requested_by_id\":1266314,\"url\":\"https://www.pivotaltracker.com/story/show/66727998\",\"project_id\":1027488,\"owner_ids\":[],\"labels\":[{\"id\":7849086,\"project_id\":1027488,\"kind\":\"label\",\"name\":\"cart\",\"created_at\":\"2014-03-02T07:11:05Z\",\"updated_at\":\"2014-03-02T07:11:05Z\"},{\"id\":7849082,\"project_id\":1027488,\"kind\":\"label\",\"name\":\"shopping\",\"created_at\":\"2014-03-02T07:11:04Z\",\"updated_at\":\"2014-03-02T07:11:04Z\"}]},{\"kind\":\"story\",\"id\":66728000,\"created_at\":\"2014-02-17T00:00:00Z\",\"updated_at\":\"2014-03-02T07:11:05Z\",\"estimate\":1,\"story_type\":\"feature\",\"name\":\"Shopper should be able to remove product from shopping cart\",\"current_state\":\"delivered\",\"requested_by_id\":1266314,\"url\":\"https://www.pivotaltracker.com/story/show/66728000\",\"project_id\":1027488,\"owner_ids\":[],\"labels\":[{\"id\":7849086,\"project_id\":1027488,\"kind\":\"label\",\"name\":\"cart\",\"created_at\":\"2014-03-02T07:11:05Z\",\"updated_at\":\"2014-03-02T07:11:05Z\"},{\"id\":7849082,\"project_id\":1027488,\"kind\":\"label\",\"name\":\"shopping\",\"created_at\":\"2014-03-02T07:11:04Z\",\"updated_at\":\"2014-03-02T07:11:04Z\"}]},{\"kind\":\"story\",\"id\":66728002,\"created_at\":\"2014-02-17T00:00:00Z\",\"updated_at\":\"2014-03-02T07:11:05Z\",\"estimate\":1,\"story_type\":\"feature\",\"name\":\"Cart manipulation should be AJAXy\",\"current_state\":\"finished\",\"requested_by_id\":1266314,\"url\":\"https://www.pivotaltracker.com/story/show/66728002\",\"project_id\":1027488,\"owner_ids\":[],\"labels\":[{\"id\":7849086,\"project_id\":1027488,\"kind\":\"label\",\"name\":\"cart\",\"created_at\":\"2014-03-02T07:11:05Z\",\"updated_at\":\"2014-03-02T07:11:05Z\"},{\"id\":7849082,\"project_id\":1027488,\"kind\":\"label\",\"name\":\"shopping\",\"created_at\":\"2014-03-02T07:11:04Z\",\"updated_at\":\"2014-03-02T07:11:04Z\"}]},{\"kind\":\"story\",\"id\":66728004,\"created_at\":\"2014-02-17T00:00:00Z\",\"updated_at\":\"2016-02-12T23:45:31Z\",\"story_type\":\"bug\",\"name\":\"Some product photos not scaled properly when browsing products++++\",\"description\":\"+++++\",\"current_state\":\"started\",\"requested_by_id\":1266314,\"url\":\"https://www.pivotaltracker.com/story/show/66728004\",\"project_id\":1027488,\"owner_ids\":[1266314,1266316],\"labels\":[{\"id\":11049868,\"project_id\":1027488,\"kind\":\"label\",\"name\":\"label1\",\"created_at\":\"2015-03-07T12:51:39Z\",\"updated_at\":\"2015-03-07T12:51:39Z\"},{\"id\":11049870,\"project_id\":1027488,\"kind\":\"label\",\"name\":\"label2\",\"created_at\":\"2015-03-07T12:51:39Z\",\"updated_at\":\"2015-03-07T12:51:39Z\"},{\"id\":14060665,\"project_id\":1027488,\"kind\":\"label\",\"name\":\"super-special-label\",\"created_at\":\"2016-02-12T23:45:13Z\",\"updated_at\":\"2016-02-12T23:45:13Z\"}],\"owned_by_id\":1266314},{\"kind\":\"story\",\"id\":82330186,\"created_at\":\"2014-11-08T00:09:53Z\",\"updated_at\":\"2015-01-27T00:35:36Z\",\"estimate\":1,\"story_type\":\"feature\",\"name\":\"Test story\",\"current_state\":\"finished\",\"requested_by_id\":1266314,\"url\":\"https://www.pivotaltracker.com/story/show/82330186\",\"project_id\":1027488,\"owner_ids\":[1266314,1266316,1266318],\"labels\":[],\"owned_by_id\":1266314},{\"kind\":\"story\",\"id\":82330712,\"created_at\":\"2014-11-08T00:23:58Z\",\"updated_at\":\"2015-01-27T00:35:58Z\",\"estimate\":1,\"story_type\":\"feature\",\"name\":\"Test story\",\"current_state\":\"started\",\"requested_by_id\":1266314,\"url\":\"https://www.pivotaltracker.com/story/show/82330712\",\"project_id\":1027488,\"owner_ids\":[1266316,1266314],\"labels\":[],\"owned_by_id\":1266316},{\"kind\":\"story\",\"id\":66728006,\"created_at\":\"2014-02-17T00:00:00Z\",\"updated_at\":\"2014-03-02T07:11:05Z\",\"estimate\":1,\"story_type\":\"feature\",\"name\":\"Shopper should be able to recommend a product to a friend\",\"description\":\"Prompt for email address and personalized message, send email with product details and message\",\"current_state\":\"unstarted\",\"requested_by_id\":1266314,\"url\":\"https://www.pivotaltracker.com/story/show/66728006\",\"project_id\":1027488,\"owner_ids\":[],\"labels\":[{\"id\":7849082,\"project_id\":1027488,\"kind\":\"label\",\"name\":\"shopping\",\"created_at\":\"2014-03-02T07:11:04Z\",\"updated_at\":\"2014-03-02T07:11:04Z\"}]},{\"kind\":\"story\",\"id\":66728008,\"created_at\":\"2014-02-17T00:00:00Z\",\"updated_at\":\"2014-03-02T07:11:05Z\",\"story_type\":\"chore\",\"name\":\"configure solr for full text searching\",\"current_state\":\"unstarted\",\"requested_by_id\":1266314,\"url\":\"https://www.pivotaltracker.com/story/show/66728008\",\"project_id\":1027488,\"owner_ids\":[],\"labels\":[{\"id\":7849088,\"project_id\":1027488,\"kind\":\"label\",\"name\":\"search\",\"created_at\":\"2014-03-02T07:11:05Z\",\"updated_at\":\"2014-03-02T07:11:05Z\"}]},{\"kind\":\"story\",\"id\":66728010,\"created_at\":\"2014-02-17T00:00:00Z\",\"updated_at\":\"2014-03-02T07:11:05Z\",\"estimate\":3,\"story_type\":\"feature\",\"name\":\"Shopper should be able to search for product\",\"description\":\"One search field, search should look through product name, description, and SKU\",\"current_state\":\"unstarted\",\"requested_by_id\":1266314,\"url\":\"https://www.pivotaltracker.com/story/show/66728010\",\"project_id\":1027488,\"owner_ids\":[],\"labels\":[{\"id\":7849088,\"project_id\":1027488,\"kind\":\"label\",\"name\":\"search\",\"created_at\":\"2014-03-02T07:11:05Z\",\"updated_at\":\"2014-03-02T07:11:05Z\"},{\"id\":7849082,\"project_id\":1027488,\"kind\":\"label\",\"name\":\"shopping\",\"created_at\":\"2014-03-02T07:11:04Z\",\"updated_at\":\"2014-03-02T07:11:04Z\"}]},{\"kind\":\"story\",\"id\":66728012,\"created_at\":\"2014-02-17T00:00:00Z\",\"updated_at\":\"2014-03-02T07:11:05Z\",\"story_type\":\"release\",\"name\":\"Initial demo to investors\",\"current_state\":\"unstarted\",\"requested_by_id\":1266314,\"url\":\"https://www.pivotaltracker.com/story/show/66728012\",\"project_id\":1027488,\"owner_ids\":[],\"labels\":[]}],\"start\":\"2016-02-08T08:00:00Z\",\"finish\":\"2016-02-15T08:00:00Z\",\"kind\":\"iteration\"}]"},"http_version":null},"recorded_at":"Sat, 13 Feb 2016 23:35:29 GMT"}],"recorded_with":"VCR 2.9.3"}
|
1
|
+
{"http_interactions":[{"request":{"method":"get","uri":"https://www.pivotaltracker.com/services/v5/projects/1027488/iterations?scope=current","body":{"encoding":"US-ASCII","string":""},"headers":{"User-Agent":["Ruby/2.2.3 (x86_64-darwin15; ruby) TrackerApi/0.2.12 Faraday/0.9.2"],"X-TrackerToken":["d55c3bc1f74346b843ca84ba340b29bf"]}},"response":{"status":{"code":200,"message":null},"headers":{"Content-Type":["application/json; charset=utf-8"],"Status":["200 OK"],"Cache-Control":["max-age=0, private, must-revalidate"],"Date":["Sat, 13 Feb 2016 23:35:29 GMT"],"X-Tracker-Project-Version":["107"],"X-Request-Id":["8954fd746372980b34bf44a1887b9c8c"],"X-UA-Compatible":["IE=Edge,chrome=1"],"ETag":["\"2925db9991e358d25cdba94fb0dd916a\""],"X-Runtime":["0.087395"],"X-Rack-Cache":["miss"],"X-Powered-By":["Phusion Passenger Enterprise"],"Server":["nginx + Phusion Passenger"],"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":"[{\"number\":105,\"project_id\":1027488,\"length\":1,\"team_strength\":1,\"stories\":[{\"kind\":\"story\",\"id\":66727998,\"created_at\":\"2014-02-17T00:00:00Z\",\"updated_at\":\"2014-03-02T07:11:05Z\",\"estimate\":2,\"story_type\":\"feature\",\"name\":\"Shopper should be able to view contents of shopping cart\",\"description\":\"Cart icon in top right corner, with a number indicating how many items in cart\",\"current_state\":\"delivered\",\"requested_by_id\":1266314,\"url\":\"https://www.pivotaltracker.com/story/show/66727998\",\"project_id\":1027488,\"owner_ids\":[],\"labels\":[{\"id\":7849086,\"project_id\":1027488,\"kind\":\"label\",\"name\":\"cart\",\"created_at\":\"2014-03-02T07:11:05Z\",\"updated_at\":\"2014-03-02T07:11:05Z\"},{\"id\":7849082,\"project_id\":1027488,\"kind\":\"label\",\"name\":\"shopping\",\"created_at\":\"2014-03-02T07:11:04Z\",\"updated_at\":\"2014-03-02T07:11:04Z\"}]},{\"kind\":\"story\",\"id\":66728000,\"created_at\":\"2014-02-17T00:00:00Z\",\"updated_at\":\"2014-03-02T07:11:05Z\",\"estimate\":1,\"story_type\":\"feature\",\"name\":\"Shopper should be able to remove product from shopping cart\",\"current_state\":\"delivered\",\"requested_by_id\":1266314,\"url\":\"https://www.pivotaltracker.com/story/show/66728000\",\"project_id\":1027488,\"owner_ids\":[],\"labels\":[{\"id\":7849086,\"project_id\":1027488,\"kind\":\"label\",\"name\":\"cart\",\"created_at\":\"2014-03-02T07:11:05Z\",\"updated_at\":\"2014-03-02T07:11:05Z\"},{\"id\":7849082,\"project_id\":1027488,\"kind\":\"label\",\"name\":\"shopping\",\"created_at\":\"2014-03-02T07:11:04Z\",\"updated_at\":\"2014-03-02T07:11:04Z\"}]},{\"kind\":\"story\",\"id\":66728002,\"created_at\":\"2014-02-17T00:00:00Z\",\"updated_at\":\"2014-03-02T07:11:05Z\",\"estimate\":1,\"story_type\":\"feature\",\"name\":\"Cart manipulation should be AJAXy\",\"current_state\":\"finished\",\"requested_by_id\":1266314,\"url\":\"https://www.pivotaltracker.com/story/show/66728002\",\"project_id\":1027488,\"owner_ids\":[],\"labels\":[{\"id\":7849086,\"project_id\":1027488,\"kind\":\"label\",\"name\":\"cart\",\"created_at\":\"2014-03-02T07:11:05Z\",\"updated_at\":\"2014-03-02T07:11:05Z\"},{\"id\":7849082,\"project_id\":1027488,\"kind\":\"label\",\"name\":\"shopping\",\"created_at\":\"2014-03-02T07:11:04Z\",\"updated_at\":\"2014-03-02T07:11:04Z\"}]},{\"kind\":\"story\",\"id\":66728004,\"created_at\":\"2014-02-17T00:00:00Z\",\"updated_at\":\"2016-02-12T23:45:31Z\",\"story_type\":\"bug\",\"name\":\"Some product photos not scaled properly when browsing products++++\",\"description\":\"+++++\",\"current_state\":\"started\",\"requested_by_id\":1266314,\"url\":\"https://www.pivotaltracker.com/story/show/66728004\",\"project_id\":1027488,\"owner_ids\":[1266314,1266316],\"labels\":[{\"id\":11049868,\"project_id\":1027488,\"kind\":\"label\",\"name\":\"label1\",\"created_at\":\"2015-03-07T12:51:39Z\",\"updated_at\":\"2015-03-07T12:51:39Z\"},{\"id\":11049870,\"project_id\":1027488,\"kind\":\"label\",\"name\":\"label2\",\"created_at\":\"2015-03-07T12:51:39Z\",\"updated_at\":\"2015-03-07T12:51:39Z\"},{\"id\":14060665,\"project_id\":1027488,\"kind\":\"label\",\"name\":\"super-special-label\",\"created_at\":\"2016-02-12T23:45:13Z\",\"updated_at\":\"2016-02-12T23:45:13Z\"}],\"owned_by_id\":1266314},{\"kind\":\"story\",\"id\":82330186,\"created_at\":\"2014-11-08T00:09:53Z\",\"updated_at\":\"2015-01-27T00:35:36Z\",\"estimate\":1,\"story_type\":\"feature\",\"name\":\"Test story\",\"current_state\":\"finished\",\"requested_by_id\":1266314,\"url\":\"https://www.pivotaltracker.com/story/show/82330186\",\"project_id\":1027488,\"owner_ids\":[1266314,1266316,1266318],\"labels\":[],\"owned_by_id\":1266314},{\"kind\":\"story\",\"id\":82330712,\"created_at\":\"2014-11-08T00:23:58Z\",\"updated_at\":\"2015-01-27T00:35:58Z\",\"estimate\":1,\"story_type\":\"feature\",\"name\":\"Test story\",\"current_state\":\"started\",\"requested_by_id\":1266314,\"url\":\"https://www.pivotaltracker.com/story/show/82330712\",\"project_id\":1027488,\"owner_ids\":[1266316,1266314],\"labels\":[],\"owned_by_id\":1266316},{\"kind\":\"story\",\"id\":66728006,\"created_at\":\"2014-02-17T00:00:00Z\",\"updated_at\":\"2014-03-02T07:11:05Z\",\"estimate\":1,\"story_type\":\"feature\",\"name\":\"Shopper should be able to recommend a product to a friend\",\"description\":\"Prompt for email address and personalized message, send email with product details and message\",\"current_state\":\"unstarted\",\"requested_by_id\":1266314,\"url\":\"https://www.pivotaltracker.com/story/show/66728006\",\"project_id\":1027488,\"owner_ids\":[],\"labels\":[{\"id\":7849082,\"project_id\":1027488,\"kind\":\"label\",\"name\":\"shopping\",\"created_at\":\"2014-03-02T07:11:04Z\",\"updated_at\":\"2014-03-02T07:11:04Z\"}]},{\"kind\":\"story\",\"id\":66728008,\"created_at\":\"2014-02-17T00:00:00Z\",\"updated_at\":\"2014-03-02T07:11:05Z\",\"story_type\":\"chore\",\"name\":\"configure solr for full text searching\",\"current_state\":\"unstarted\",\"requested_by_id\":1266314,\"url\":\"https://www.pivotaltracker.com/story/show/66728008\",\"project_id\":1027488,\"owner_ids\":[],\"labels\":[{\"id\":7849088,\"project_id\":1027488,\"kind\":\"label\",\"name\":\"search\",\"created_at\":\"2014-03-02T07:11:05Z\",\"updated_at\":\"2014-03-02T07:11:05Z\"}]},{\"kind\":\"story\",\"id\":66728010,\"created_at\":\"2014-02-17T00:00:00Z\",\"updated_at\":\"2014-03-02T07:11:05Z\",\"estimate\":3,\"story_type\":\"feature\",\"name\":\"Shopper should be able to search for product\",\"description\":\"One search field, search should look through product name, description, and SKU\",\"current_state\":\"unstarted\",\"requested_by_id\":1266314,\"url\":\"https://www.pivotaltracker.com/story/show/66728010\",\"project_id\":1027488,\"owner_ids\":[],\"labels\":[{\"id\":7849088,\"project_id\":1027488,\"kind\":\"label\",\"name\":\"search\",\"created_at\":\"2014-03-02T07:11:05Z\",\"updated_at\":\"2014-03-02T07:11:05Z\"},{\"id\":7849082,\"project_id\":1027488,\"kind\":\"label\",\"name\":\"shopping\",\"created_at\":\"2014-03-02T07:11:04Z\",\"updated_at\":\"2014-03-02T07:11:04Z\"}]},{\"kind\":\"story\",\"id\":66728012,\"created_at\":\"2014-02-17T00:00:00Z\",\"updated_at\":\"2014-03-02T07:11:05Z\",\"story_type\":\"release\",\"name\":\"Initial demo to investors\",\"current_state\":\"unstarted\",\"requested_by_id\":1266314,\"url\":\"https://www.pivotaltracker.com/story/show/66728012\",\"project_id\":1027488,\"owner_ids\":[],\"labels\":[]}],\"start\":\"2016-02-08T08:00:00Z\",\"finish\":\"2016-02-15T08:00:00Z\",\"kind\":\"iteration\"}]"},"http_version":null},"recorded_at":"Sat, 13 Feb 2016 23:35:29 GMT"},{"request":{"method":"get","uri":"https://www.pivotaltracker.com/services/v5/projects/1027488/iterations?fields=%3Adefault%2Cvelocity%2Cpoints%2Caccepted_points%2Ceffective_points&scope=current","body":{"encoding":"US-ASCII","string":""},"headers":{"User-Agent":["Ruby/2.4.1 (x86_64-darwin15; ruby) TrackerApi/1.6.0 Faraday/0.9.2"],"X-TrackerToken":["d55c3bc1f74346b843ca84ba340b29bf"]}},"response":{"status":{"code":200,"message":null},"headers":{"Access-Control-Allow-Credentials":["false"],"Access-Control-Allow-Headers":["X-TrackerToken,DNT,X-Mx-ReqToken,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,X-Tracker-Warn-Unless-Project-Version-Is"],"Access-Control-Allow-Methods":["GET, POST, PUT, DELETE, OPTIONS"],"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=0, private, must-revalidate"],"Content-Type":["application/json; charset=utf-8"],"Date":["Mon, 24 Apr 2017 02:16:05 GMT"],"Etag":["\"7ddb47c381150f357a6f0658d69b979c\""],"Server":["nginx + Phusion Passenger"],"Status":["200 OK"],"Strict-Transport-Security":["max-age=31536000; includeSubDomains; preload"],"X-Content-Type-Options":["nosniff"],"X-Powered-By":["Phusion Passenger Enterprise"],"X-Rack-Cache":["miss"],"X-Request-Id":["cbffab7de879c4687c78bfbf25137a99"],"X-Runtime":["0.111236"],"X-Tracker-Client-Pinger-Interval":["20"],"X-Tracker-Project-Version":["162"],"X-Ua-Compatible":["IE=Edge,chrome=1"],"X-Vcap-Request-Id":["0bb5b126-d142-4214-58b1-38e28180671c"],"X-Xss-Protection":["1; mode=block"],"Content-Length":["6257"],"Connection":["keep-alive"]},"body":{"encoding":"ASCII-8BIT","string":"[{\"velocity\":10,\"points\":10,\"accepted_points\":0,\"effective_points\":10.0,\"number\":167,\"project_id\":1027488,\"length\":1,\"team_strength\":1,\"stories\":[{\"kind\":\"story\",\"id\":66728000,\"created_at\":\"2014-02-17T00:00:00Z\",\"updated_at\":\"2017-01-03T23:49:51Z\",\"estimate\":1,\"story_type\":\"feature\",\"name\":\"Shopper should be able to remove product from shopping cart\",\"current_state\":\"rejected\",\"requested_by_id\":1266314,\"url\":\"https://www.pivotaltracker.com/story/show/66728000\",\"project_id\":1027488,\"owner_ids\":[],\"labels\":[{\"id\":7849086,\"project_id\":1027488,\"kind\":\"label\",\"name\":\"cart\",\"created_at\":\"2014-03-02T07:11:05Z\",\"updated_at\":\"2014-03-02T07:11:05Z\"},{\"id\":7849082,\"project_id\":1027488,\"kind\":\"label\",\"name\":\"shopping\",\"created_at\":\"2014-03-02T07:11:04Z\",\"updated_at\":\"2014-03-02T07:11:04Z\"}]},{\"kind\":\"story\",\"id\":66727998,\"created_at\":\"2014-02-17T00:00:00Z\",\"updated_at\":\"2014-03-02T07:11:05Z\",\"estimate\":2,\"story_type\":\"feature\",\"name\":\"Shopper should be able to view contents of shopping cart\",\"description\":\"Cart icon in top right corner, with a number indicating how many items in cart\",\"current_state\":\"delivered\",\"requested_by_id\":1266314,\"url\":\"https://www.pivotaltracker.com/story/show/66727998\",\"project_id\":1027488,\"owner_ids\":[],\"labels\":[{\"id\":7849086,\"project_id\":1027488,\"kind\":\"label\",\"name\":\"cart\",\"created_at\":\"2014-03-02T07:11:05Z\",\"updated_at\":\"2014-03-02T07:11:05Z\"},{\"id\":7849082,\"project_id\":1027488,\"kind\":\"label\",\"name\":\"shopping\",\"created_at\":\"2014-03-02T07:11:04Z\",\"updated_at\":\"2014-03-02T07:11:04Z\"}]},{\"kind\":\"story\",\"id\":66728002,\"created_at\":\"2014-02-17T00:00:00Z\",\"updated_at\":\"2014-03-02T07:11:05Z\",\"estimate\":1,\"story_type\":\"feature\",\"name\":\"Cart manipulation should be AJAXy\",\"current_state\":\"finished\",\"requested_by_id\":1266314,\"url\":\"https://www.pivotaltracker.com/story/show/66728002\",\"project_id\":1027488,\"owner_ids\":[],\"labels\":[{\"id\":7849086,\"project_id\":1027488,\"kind\":\"label\",\"name\":\"cart\",\"created_at\":\"2014-03-02T07:11:05Z\",\"updated_at\":\"2014-03-02T07:11:05Z\"},{\"id\":7849082,\"project_id\":1027488,\"kind\":\"label\",\"name\":\"shopping\",\"created_at\":\"2014-03-02T07:11:04Z\",\"updated_at\":\"2014-03-02T07:11:04Z\"}]},{\"kind\":\"story\",\"id\":66728004,\"created_at\":\"2014-02-17T00:00:00Z\",\"updated_at\":\"2017-01-05T00:40:49Z\",\"story_type\":\"bug\",\"name\":\"Some product photos not scaled properly when browsing products+++++++\",\"description\":\"++++++++\",\"current_state\":\"started\",\"requested_by_id\":1266314,\"url\":\"https://www.pivotaltracker.com/story/show/66728004\",\"project_id\":1027488,\"owner_ids\":[1266314,1266316],\"labels\":[{\"id\":11049868,\"project_id\":1027488,\"kind\":\"label\",\"name\":\"label1\",\"created_at\":\"2015-03-07T12:51:39Z\",\"updated_at\":\"2015-03-07T12:51:39Z\"},{\"id\":11049870,\"project_id\":1027488,\"kind\":\"label\",\"name\":\"label2\",\"created_at\":\"2015-03-07T12:51:39Z\",\"updated_at\":\"2015-03-07T12:51:39Z\"},{\"id\":14060665,\"project_id\":1027488,\"kind\":\"label\",\"name\":\"super-special-label\",\"created_at\":\"2016-02-12T23:45:13Z\",\"updated_at\":\"2016-02-12T23:45:13Z\"}],\"owned_by_id\":1266314},{\"kind\":\"story\",\"id\":82330186,\"created_at\":\"2014-11-08T00:09:53Z\",\"updated_at\":\"2015-01-27T00:35:36Z\",\"estimate\":1,\"story_type\":\"feature\",\"name\":\"Test story\",\"current_state\":\"finished\",\"requested_by_id\":1266314,\"url\":\"https://www.pivotaltracker.com/story/show/82330186\",\"project_id\":1027488,\"owner_ids\":[1266314,1266316,1266318],\"labels\":[],\"owned_by_id\":1266314},{\"kind\":\"story\",\"id\":82330712,\"created_at\":\"2014-11-08T00:23:58Z\",\"updated_at\":\"2016-10-19T22:04:44Z\",\"estimate\":1,\"story_type\":\"feature\",\"name\":\"Test story\",\"current_state\":\"started\",\"requested_by_id\":1266314,\"url\":\"https://www.pivotaltracker.com/story/show/82330712\",\"project_id\":1027488,\"owner_ids\":[1266316,1266314],\"labels\":[],\"owned_by_id\":1266316},{\"kind\":\"story\",\"id\":124273751,\"created_at\":\"2016-07-01T21:03:44Z\",\"updated_at\":\"2016-07-01T23:15:51Z\",\"story_type\":\"feature\",\"name\":\"New Cool Name\",\"current_state\":\"unstarted\",\"requested_by_id\":1266314,\"url\":\"https://www.pivotaltracker.com/story/show/124273751\",\"project_id\":1027488,\"owner_ids\":[],\"labels\":[]},{\"kind\":\"story\",\"id\":66728006,\"created_at\":\"2014-02-17T00:00:00Z\",\"updated_at\":\"2014-03-02T07:11:05Z\",\"estimate\":1,\"story_type\":\"feature\",\"name\":\"Shopper should be able to recommend a product to a friend\",\"description\":\"Prompt for email address and personalized message, send email with product details and message\",\"current_state\":\"unstarted\",\"requested_by_id\":1266314,\"url\":\"https://www.pivotaltracker.com/story/show/66728006\",\"project_id\":1027488,\"owner_ids\":[],\"labels\":[{\"id\":7849082,\"project_id\":1027488,\"kind\":\"label\",\"name\":\"shopping\",\"created_at\":\"2014-03-02T07:11:04Z\",\"updated_at\":\"2014-03-02T07:11:04Z\"}]},{\"kind\":\"story\",\"id\":66728008,\"created_at\":\"2014-02-17T00:00:00Z\",\"updated_at\":\"2014-03-02T07:11:05Z\",\"story_type\":\"chore\",\"name\":\"configure solr for full text searching\",\"current_state\":\"unstarted\",\"requested_by_id\":1266314,\"url\":\"https://www.pivotaltracker.com/story/show/66728008\",\"project_id\":1027488,\"owner_ids\":[],\"labels\":[{\"id\":7849088,\"project_id\":1027488,\"kind\":\"label\",\"name\":\"search\",\"created_at\":\"2014-03-02T07:11:05Z\",\"updated_at\":\"2014-03-02T07:11:05Z\"}]},{\"kind\":\"story\",\"id\":66728010,\"created_at\":\"2014-02-17T00:00:00Z\",\"updated_at\":\"2014-03-02T07:11:05Z\",\"estimate\":3,\"story_type\":\"feature\",\"name\":\"Shopper should be able to search for product\",\"description\":\"One search field, search should look through product name, description, and SKU\",\"current_state\":\"unstarted\",\"requested_by_id\":1266314,\"url\":\"https://www.pivotaltracker.com/story/show/66728010\",\"project_id\":1027488,\"owner_ids\":[],\"labels\":[{\"id\":7849088,\"project_id\":1027488,\"kind\":\"label\",\"name\":\"search\",\"created_at\":\"2014-03-02T07:11:05Z\",\"updated_at\":\"2014-03-02T07:11:05Z\"},{\"id\":7849082,\"project_id\":1027488,\"kind\":\"label\",\"name\":\"shopping\",\"created_at\":\"2014-03-02T07:11:04Z\",\"updated_at\":\"2014-03-02T07:11:04Z\"}]},{\"kind\":\"story\",\"id\":66728012,\"created_at\":\"2014-02-17T00:00:00Z\",\"updated_at\":\"2014-03-02T07:11:05Z\",\"story_type\":\"release\",\"name\":\"Initial demo to investors\",\"current_state\":\"unstarted\",\"requested_by_id\":1266314,\"url\":\"https://www.pivotaltracker.com/story/show/66728012\",\"project_id\":1027488,\"owner_ids\":[],\"labels\":[]}],\"start\":\"2017-04-17T07:00:00Z\",\"finish\":\"2017-04-24T07:00:00Z\",\"kind\":\"iteration\"}]"},"http_version":null},"recorded_at":"Mon, 24 Apr 2017 02:16:05 GMT"}],"recorded_with":"VCR 3.0.3"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"http_interactions":[{"request":{"method":"get","uri":"https://www.pivotaltracker.com/services/v5/projects/1027494","body":{"encoding":"US-ASCII","string":""},"headers":{"User-Agent":["Ruby/2.2.4 (x86_64-darwin15; ruby) TrackerApi/1.6.0 Faraday/0.9.2"],"X-TrackerToken":["77f9b9a466c436e6456939208c84c973"]}},"response":{"status":{"code":200,"message":null},"headers":{"Access-Control-Allow-Credentials":["false"],"Access-Control-Allow-Headers":["X-TrackerToken,DNT,X-Mx-ReqToken,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,X-Tracker-Warn-Unless-Project-Version-Is"],"Access-Control-Allow-Methods":["GET, POST, PUT, DELETE, OPTIONS"],"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=0, private, must-revalidate"],"Content-Type":["application/json; charset=utf-8"],"Date":["Mon, 10 Apr 2017 18:34:56 GMT"],"Etag":["\"46471d209a7b433eba4710d6f9b001cb\""],"Server":["nginx + Phusion Passenger"],"Status":["200 OK"],"Strict-Transport-Security":["max-age=31536000; includeSubDomains; preload"],"X-Powered-By":["Phusion Passenger Enterprise"],"X-Rack-Cache":["miss"],"X-Request-Id":["480867069c44e12ed5491e58c5bf6542"],"X-Runtime":["0.057795"],"X-Tracker-Client-Pinger-Interval":["20"],"X-Tracker-Project-Version":["3"],"X-Ua-Compatible":["IE=Edge,chrome=1"],"X-Vcap-Request-Id":["ca69d9ea-1ecc-42af-7681-2957a99f14c1"],"Content-Length":["845"],"Connection":["keep-alive"]},"body":{"encoding":"ASCII-8BIT","string":"{\"id\":1027494,\"kind\":\"project\",\"name\":\"My Sample Project\",\"version\":3,\"iteration_length\":1,\"week_start_day\":\"Monday\",\"point_scale\":\"0,1,2,3\",\"point_scale_is_custom\":false,\"bugs_and_chores_are_estimatable\":false,\"automatic_planning\":true,\"enable_tasks\":true,\"time_zone\":{\"kind\":\"time_zone\",\"olson_name\":\"America/Los_Angeles\",\"offset\":\"-07:00\"},\"velocity_averaged_over\":3,\"number_of_done_iterations_to_show\":12,\"has_google_domain\":false,\"profile_content\":\"This is a demo project, created by Tracker, with example stories for a simple shopping web site.\",\"enable_incoming_emails\":true,\"initial_velocity\":10,\"public\":false,\"atom_enabled\":false,\"project_type\":\"demo\",\"start_time\":\"2014-02-10T08:00:00Z\",\"created_at\":\"2014-03-02T07:18:28Z\",\"updated_at\":\"2014-03-02T07:18:28Z\",\"account_id\":621388,\"current_iteration_number\":166,\"enable_following\":true}"},"http_version":null},"recorded_at":"Mon, 10 Apr 2017 18:34:56 GMT"},{"request":{"method":"get","uri":"https://www.pivotaltracker.com/services/v5/projects/1027494/search","body":{"encoding":"UTF-8","string":"{\"query\":\"name:\\\"story to test search\\\"\"}"},"headers":{"User-Agent":["Ruby/2.2.4 (x86_64-darwin15; ruby) TrackerApi/1.6.0 Faraday/0.9.2"],"X-TrackerToken":["77f9b9a466c436e6456939208c84c973"],"Content-Type":["application/json"]}},"response":{"status":{"code":200,"message":null},"headers":{"Access-Control-Allow-Credentials":["false"],"Access-Control-Allow-Headers":["X-TrackerToken,DNT,X-Mx-ReqToken,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,X-Tracker-Warn-Unless-Project-Version-Is"],"Access-Control-Allow-Methods":["GET, POST, PUT, DELETE, OPTIONS"],"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=0, private, must-revalidate"],"Content-Type":["application/json; charset=utf-8"],"Date":["Mon, 10 Apr 2017 18:34:57 GMT"],"Etag":["\"8a5f6bd57393dc3dcfc9ee0386be8575\""],"Server":["nginx + Phusion Passenger"],"Status":["200 OK"],"Strict-Transport-Security":["max-age=31536000; includeSubDomains; preload"],"X-Powered-By":["Phusion Passenger Enterprise"],"X-Rack-Cache":["miss"],"X-Request-Id":["0976a6e85fab21b3a8c6767650c4f4b8"],"X-Runtime":["0.509539"],"X-Tracker-Client-Pinger-Interval":["20"],"X-Tracker-Project-Version":["3"],"X-Ua-Compatible":["IE=Edge,chrome=1"],"X-Vcap-Request-Id":["331980c0-1e08-4e76-5707-302b5cae005d"],"Content-Length":["506"],"Connection":["keep-alive"]},"body":{"encoding":"ASCII-8BIT","string":"{\"stories\":{\"stories\":[{\"kind\":\"story\",\"id\":143444685,\"created_at\":\"2017-04-10T18:20:52Z\",\"updated_at\":\"2017-04-10T18:20:52Z\",\"story_type\":\"feature\",\"name\":\"story to test search\",\"current_state\":\"unscheduled\",\"requested_by_id\":1266318,\"url\":\"https://www.pivotaltracker.com/story/show/143444685\",\"project_id\":1027494,\"owner_ids\":[],\"labels\":[]}],\"total_points\":0,\"total_points_completed\":0,\"total_hits\":1,\"total_hits_with_done\":1},\"epics\":{\"epics\":[],\"total_hits\":0},\"query\":\"name:\\\"story to test search\\\"\"}"},"http_version":null},"recorded_at":"Mon, 10 Apr 2017 18:34:57 GMT"}],"recorded_with":"VCR 3.0.3"}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tracker_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Forest Carlisle
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-04-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -235,6 +235,7 @@ files:
|
|
235
235
|
- lib/tracker_api/endpoints/notifications.rb
|
236
236
|
- lib/tracker_api/endpoints/project.rb
|
237
237
|
- lib/tracker_api/endpoints/projects.rb
|
238
|
+
- lib/tracker_api/endpoints/search.rb
|
238
239
|
- lib/tracker_api/endpoints/stories.rb
|
239
240
|
- lib/tracker_api/endpoints/story.rb
|
240
241
|
- lib/tracker_api/endpoints/story_owners.rb
|
@@ -252,6 +253,7 @@ files:
|
|
252
253
|
- lib/tracker_api/resources/change.rb
|
253
254
|
- lib/tracker_api/resources/comment.rb
|
254
255
|
- lib/tracker_api/resources/epic.rb
|
256
|
+
- lib/tracker_api/resources/epics_search_result.rb
|
255
257
|
- lib/tracker_api/resources/iteration.rb
|
256
258
|
- lib/tracker_api/resources/label.rb
|
257
259
|
- lib/tracker_api/resources/me.rb
|
@@ -261,7 +263,9 @@ files:
|
|
261
263
|
- lib/tracker_api/resources/primary_resource.rb
|
262
264
|
- lib/tracker_api/resources/project.rb
|
263
265
|
- lib/tracker_api/resources/project_membership.rb
|
266
|
+
- lib/tracker_api/resources/search_result_container.rb
|
264
267
|
- lib/tracker_api/resources/shared/base.rb
|
268
|
+
- lib/tracker_api/resources/stories_search_result.rb
|
265
269
|
- lib/tracker_api/resources/story.rb
|
266
270
|
- lib/tracker_api/resources/story_transition.rb
|
267
271
|
- lib/tracker_api/resources/task.rb
|
@@ -327,6 +331,7 @@ files:
|
|
327
331
|
- test/vcr/cassettes/save_story_with_one_owner.json
|
328
332
|
- test/vcr/cassettes/save_story_with_two_owners.json
|
329
333
|
- test/vcr/cassettes/save_task.json
|
334
|
+
- test/vcr/cassettes/search_project.json
|
330
335
|
- test/vcr/cassettes/update_story_to_create_activity.json
|
331
336
|
- test/workspace_test.rb
|
332
337
|
- tracker_api.gemspec
|
@@ -410,5 +415,6 @@ test_files:
|
|
410
415
|
- test/vcr/cassettes/save_story_with_one_owner.json
|
411
416
|
- test/vcr/cassettes/save_story_with_two_owners.json
|
412
417
|
- test/vcr/cassettes/save_task.json
|
418
|
+
- test/vcr/cassettes/search_project.json
|
413
419
|
- test/vcr/cassettes/update_story_to_create_activity.json
|
414
420
|
- test/workspace_test.rb
|