pivotal-tracker 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +3 -1
- data/Gemfile +4 -5
- data/Gemfile.lock +40 -0
- data/LICENSE +1 -1
- data/README.rdoc +28 -16
- data/Rakefile +9 -6
- data/VERSION +1 -1
- data/lib/pivotal-tracker/attachment.rb +16 -0
- data/lib/pivotal-tracker/project.rb +11 -0
- data/lib/pivotal-tracker/story.rb +39 -6
- data/lib/pivotal-tracker.rb +1 -0
- data/pivotal-tracker.gemspec +29 -13
- data/spec/fixtures/activity.xml +107 -148
- data/spec/fixtures/created_note.xml +6 -6
- data/spec/fixtures/created_story.xml +6 -6
- data/spec/fixtures/iterations_all.xml +191 -46
- data/spec/fixtures/iterations_backlog.xml +136 -67
- data/spec/fixtures/iterations_current.xml +17 -62
- data/spec/fixtures/iterations_done.xml +20 -29
- data/spec/fixtures/memberships.xml +25 -12
- data/spec/fixtures/notes.xml +26 -10
- data/spec/fixtures/project.xml +26 -17
- data/spec/fixtures/project_activity.xml +85 -89
- data/spec/fixtures/projects.xml +37 -632
- data/spec/fixtures/stale_fish.yml +26 -26
- data/spec/fixtures/stories.xml +197 -131
- data/spec/fixtures/tasks.xml +6 -6
- data/spec/spec_helper.rb +4 -2
- data/spec/support/stale_fish_fixtures.rb +17 -13
- data/spec/unit/pivotal-tracker/attachment_spec.rb +62 -0
- data/spec/unit/pivotal-tracker/membership_spec.rb +2 -2
- data/spec/unit/pivotal-tracker/note_spec.rb +11 -11
- data/spec/unit/pivotal-tracker/project_spec.rb +11 -3
- data/spec/unit/pivotal-tracker/story_spec.rb +73 -24
- data/spec/unit/pivotal-tracker/task_spec.rb +3 -3
- metadata +103 -25
data/spec/fixtures/activity.xml
CHANGED
@@ -1,217 +1,176 @@
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
2
2
|
<activities type="array">
|
3
3
|
<activity>
|
4
|
-
<id type="integer">
|
5
|
-
<version type="integer">
|
4
|
+
<id type="integer">24492385</id>
|
5
|
+
<version type="integer">206</version>
|
6
6
|
<event_type>story_create</event_type>
|
7
|
-
<occurred_at type="datetime">2010/
|
8
|
-
<author>
|
9
|
-
<project_id type="integer">
|
10
|
-
<description>
|
7
|
+
<occurred_at type="datetime">2010/07/29 19:13:04 UTC</occurred_at>
|
8
|
+
<author>Test Suite Access</author>
|
9
|
+
<project_id type="integer">102622</project_id>
|
10
|
+
<description>Test Suite Access added "Create stuff"</description>
|
11
11
|
<stories>
|
12
12
|
<story>
|
13
|
-
<id type="integer">
|
14
|
-
<url>http://www.pivotaltracker.com/services/v3/projects/
|
15
|
-
<name>
|
13
|
+
<id type="integer">4492080</id>
|
14
|
+
<url>http://www.pivotaltracker.com/services/v3/projects/102622/stories/4492080</url>
|
15
|
+
<name>Create stuff</name>
|
16
16
|
<story_type>feature</story_type>
|
17
|
-
<description>Speedway has shown 16 vehicles for the past several days, although the IL file shows 23 Audi made VINs.</description>
|
18
17
|
<current_state>unscheduled</current_state>
|
19
18
|
</story>
|
20
19
|
</stories>
|
21
20
|
</activity>
|
22
21
|
<activity>
|
23
|
-
<id type="integer">
|
24
|
-
<version type="integer">
|
25
|
-
<event_type>
|
26
|
-
<occurred_at type="datetime">2010/
|
27
|
-
<author>
|
28
|
-
<project_id type="integer">
|
29
|
-
<description>
|
30
|
-
file delivered for Audi of Haw..."</description>
|
22
|
+
<id type="integer">24492375</id>
|
23
|
+
<version type="integer">205</version>
|
24
|
+
<event_type>story_create</event_type>
|
25
|
+
<occurred_at type="datetime">2010/07/29 19:13:01 UTC</occurred_at>
|
26
|
+
<author>Test Suite Access</author>
|
27
|
+
<project_id type="integer">102622</project_id>
|
28
|
+
<description>Test Suite Access added "Create stuff"</description>
|
31
29
|
<stories>
|
32
30
|
<story>
|
33
|
-
<id type="integer">
|
34
|
-
<url>http://www.pivotaltracker.com/services/v3/projects/
|
35
|
-
<
|
36
|
-
|
37
|
-
|
38
|
-
<text>Sean - We have identified 2 items of interest in regards to the imagelist
|
39
|
-
file delivered for Audi of Hawaii - CC146936. Please note that the image
|
40
|
-
sequence value in the 5th field appear to reflect a "0" value on many of the
|
41
|
-
records (see attached file delivered today, 27th). We attempted to process
|
42
|
-
the feed while ignoring the sequence value on the records, however we found
|
43
|
-
many records returning 404 errors for the image URLs (most recent process
|
44
|
-
details listed below).
|
45
|
-
|
46
|
-
The sequence value is optional for the imagelist records, and you may choose
|
47
|
-
to drop this from the feed. In the absence of this value we will process the
|
48
|
-
images in the sequence they are presented in the file.
|
49
|
-
|
50
|
-
We will continue to monitor the next file deliveries for continued URL
|
51
|
-
errors. Please let us know if you need any further details.
|
52
|
-
|
53
|
-
|
54
|
-
Thanks,
|
55
|
-
Bryan Ward
|
56
|
-
Operations Project Manager
|
57
|
-
Cars.com Inventory support
|
58
|
-
Product Inventory Team
|
59
|
-
ProductInventoryTeam@cars.com
|
60
|
-
support@cars.com</text>
|
61
|
-
</note>
|
62
|
-
</notes>
|
31
|
+
<id type="integer">4492078</id>
|
32
|
+
<url>http://www.pivotaltracker.com/services/v3/projects/102622/stories/4492078</url>
|
33
|
+
<name>Create stuff</name>
|
34
|
+
<story_type>feature</story_type>
|
35
|
+
<current_state>unscheduled</current_state>
|
63
36
|
</story>
|
64
37
|
</stories>
|
65
38
|
</activity>
|
66
39
|
<activity>
|
67
|
-
<id type="integer">
|
68
|
-
<version type="integer">
|
69
|
-
<event_type>
|
70
|
-
<occurred_at type="datetime">2010/
|
71
|
-
<author>
|
72
|
-
<project_id type="integer">
|
73
|
-
<description>
|
74
|
-
|
75
|
-
Hi Sean,
|
76
|
-
|
77
|
-
My apologies that it’s taken a while to get back to ..."</description>
|
40
|
+
<id type="integer">24492239</id>
|
41
|
+
<version type="integer">200</version>
|
42
|
+
<event_type>story_create</event_type>
|
43
|
+
<occurred_at type="datetime">2010/07/29 19:11:43 UTC</occurred_at>
|
44
|
+
<author>Test Suite Access</author>
|
45
|
+
<project_id type="integer">102622</project_id>
|
46
|
+
<description>Test Suite Access added "Create stuff"</description>
|
78
47
|
<stories>
|
79
48
|
<story>
|
80
|
-
<id type="integer">
|
81
|
-
<url>http://www.pivotaltracker.com/services/v3/projects/
|
82
|
-
<
|
83
|
-
|
84
|
-
|
85
|
-
<text>Received the following from Cars.com:
|
86
|
-
|
87
|
-
Hi Sean,
|
88
|
-
|
89
|
-
My apologies that it’s taken a while to get back to you. Bryan Ward within our dealer inventory group, or a member of his team, should be reaching out to you shortly to discuss the issue. Apparently, we have been receiving 404 errors when attempting to pull images.
|
90
|
-
|
91
|
-
If there’s anything else we can help with, don’t hesitate to let me know.
|
92
|
-
|
93
|
-
Thank you,
|
94
|
-
Emera</text>
|
95
|
-
</note>
|
96
|
-
</notes>
|
49
|
+
<id type="integer">4492060</id>
|
50
|
+
<url>http://www.pivotaltracker.com/services/v3/projects/102622/stories/4492060</url>
|
51
|
+
<name>Create stuff</name>
|
52
|
+
<story_type>feature</story_type>
|
53
|
+
<current_state>unscheduled</current_state>
|
97
54
|
</story>
|
98
55
|
</stories>
|
99
56
|
</activity>
|
100
57
|
<activity>
|
101
|
-
<id type="integer">
|
102
|
-
<version type="integer">
|
103
|
-
<event_type>
|
104
|
-
<occurred_at type="datetime">2010/
|
105
|
-
<author>
|
106
|
-
<project_id type="integer">
|
107
|
-
<description>
|
58
|
+
<id type="integer">24492220</id>
|
59
|
+
<version type="integer">199</version>
|
60
|
+
<event_type>story_create</event_type>
|
61
|
+
<occurred_at type="datetime">2010/07/29 19:11:38 UTC</occurred_at>
|
62
|
+
<author>Test Suite Access</author>
|
63
|
+
<project_id type="integer">102622</project_id>
|
64
|
+
<description>Test Suite Access added "Create stuff"</description>
|
108
65
|
<stories>
|
109
66
|
<story>
|
110
|
-
<id type="integer">
|
111
|
-
<url>http://www.pivotaltracker.com/services/v3/projects/
|
112
|
-
<
|
67
|
+
<id type="integer">4492059</id>
|
68
|
+
<url>http://www.pivotaltracker.com/services/v3/projects/102622/stories/4492059</url>
|
69
|
+
<name>Create stuff</name>
|
70
|
+
<story_type>feature</story_type>
|
71
|
+
<current_state>unscheduled</current_state>
|
113
72
|
</story>
|
114
73
|
</stories>
|
115
74
|
</activity>
|
116
75
|
<activity>
|
117
|
-
<id type="integer">
|
118
|
-
<version type="integer">
|
119
|
-
<event_type>
|
120
|
-
<occurred_at type="datetime">2010/
|
121
|
-
<author>
|
122
|
-
<project_id type="integer">
|
123
|
-
<description>
|
76
|
+
<id type="integer">24491968</id>
|
77
|
+
<version type="integer">194</version>
|
78
|
+
<event_type>story_create</event_type>
|
79
|
+
<occurred_at type="datetime">2010/07/29 19:09:26 UTC</occurred_at>
|
80
|
+
<author>Test Suite Access</author>
|
81
|
+
<project_id type="integer">102622</project_id>
|
82
|
+
<description>Test Suite Access added "Create stuff"</description>
|
124
83
|
<stories>
|
125
84
|
<story>
|
126
|
-
<id type="integer">
|
127
|
-
<url>http://www.pivotaltracker.com/services/v3/projects/
|
128
|
-
<
|
85
|
+
<id type="integer">4491973</id>
|
86
|
+
<url>http://www.pivotaltracker.com/services/v3/projects/102622/stories/4491973</url>
|
87
|
+
<name>Create stuff</name>
|
88
|
+
<story_type>feature</story_type>
|
89
|
+
<current_state>unscheduled</current_state>
|
129
90
|
</story>
|
130
91
|
</stories>
|
131
92
|
</activity>
|
132
93
|
<activity>
|
133
|
-
<id type="integer">
|
134
|
-
<version type="integer">
|
94
|
+
<id type="integer">24491959</id>
|
95
|
+
<version type="integer">193</version>
|
135
96
|
<event_type>story_create</event_type>
|
136
|
-
<occurred_at type="datetime">2010/
|
137
|
-
<author>
|
138
|
-
<project_id type="integer">
|
139
|
-
<description>
|
97
|
+
<occurred_at type="datetime">2010/07/29 19:09:24 UTC</occurred_at>
|
98
|
+
<author>Test Suite Access</author>
|
99
|
+
<project_id type="integer">102622</project_id>
|
100
|
+
<description>Test Suite Access added "Create stuff"</description>
|
140
101
|
<stories>
|
141
102
|
<story>
|
142
|
-
<id type="integer">
|
143
|
-
<url>http://www.pivotaltracker.com/services/v3/projects/
|
144
|
-
<name>
|
145
|
-
<story_type>
|
146
|
-
<description>Don't use transactions, instead clean DB before/after (maybe check out database_cleaner).</description>
|
103
|
+
<id type="integer">4491971</id>
|
104
|
+
<url>http://www.pivotaltracker.com/services/v3/projects/102622/stories/4491971</url>
|
105
|
+
<name>Create stuff</name>
|
106
|
+
<story_type>feature</story_type>
|
147
107
|
<current_state>unscheduled</current_state>
|
148
108
|
</story>
|
149
109
|
</stories>
|
150
110
|
</activity>
|
151
111
|
<activity>
|
152
|
-
<id type="integer">
|
153
|
-
<version type="integer">
|
112
|
+
<id type="integer">24491880</id>
|
113
|
+
<version type="integer">192</version>
|
154
114
|
<event_type>story_update</event_type>
|
155
|
-
<occurred_at type="datetime">2010/
|
156
|
-
<author>
|
157
|
-
<project_id type="integer">
|
158
|
-
<description>
|
115
|
+
<occurred_at type="datetime">2010/07/29 19:08:43 UTC</occurred_at>
|
116
|
+
<author>Jon</author>
|
117
|
+
<project_id type="integer">102622</project_id>
|
118
|
+
<description>Jon edited "Movable Story"</description>
|
159
119
|
<stories>
|
160
120
|
<story>
|
161
|
-
<id type="integer">
|
162
|
-
<url>http://www.pivotaltracker.com/services/v3/projects/
|
163
|
-
<
|
121
|
+
<id type="integer">4490874</id>
|
122
|
+
<url>http://www.pivotaltracker.com/services/v3/projects/102622/stories/4490874</url>
|
123
|
+
<estimate type="integer">0</estimate>
|
164
124
|
</story>
|
165
125
|
</stories>
|
166
126
|
</activity>
|
167
127
|
<activity>
|
168
|
-
<id type="integer">
|
169
|
-
<version type="integer">
|
170
|
-
<event_type>
|
171
|
-
<occurred_at type="datetime">2010/
|
172
|
-
<author>
|
173
|
-
<project_id type="integer">
|
174
|
-
<description>
|
128
|
+
<id type="integer">24491859</id>
|
129
|
+
<version type="integer">191</version>
|
130
|
+
<event_type>story_update</event_type>
|
131
|
+
<occurred_at type="datetime">2010/07/29 19:08:36 UTC</occurred_at>
|
132
|
+
<author>Jon</author>
|
133
|
+
<project_id type="integer">102622</project_id>
|
134
|
+
<description>Jon edited "Movable Story"</description>
|
175
135
|
<stories>
|
176
136
|
<story>
|
177
|
-
<id type="integer">
|
178
|
-
<url>http://www.pivotaltracker.com/services/v3/projects/
|
179
|
-
<
|
180
|
-
<story_type>feature</story_type>
|
181
|
-
<description>Change these tests to test positive/negative cases where a method is called and the collection returned by that method is tested for existence or absences of an object based on the objects state.</description>
|
182
|
-
<current_state>unscheduled</current_state>
|
137
|
+
<id type="integer">4490874</id>
|
138
|
+
<url>http://www.pivotaltracker.com/services/v3/projects/102622/stories/4490874</url>
|
139
|
+
<current_state>unstarted</current_state>
|
183
140
|
</story>
|
184
141
|
</stories>
|
185
142
|
</activity>
|
186
143
|
<activity>
|
187
|
-
<id type="integer">
|
188
|
-
<version type="integer">
|
144
|
+
<id type="integer">24491236</id>
|
145
|
+
<version type="integer">158</version>
|
189
146
|
<event_type>story_update</event_type>
|
190
|
-
<occurred_at type="datetime">2010/
|
191
|
-
<author>
|
192
|
-
<project_id type="integer">
|
193
|
-
<description>
|
147
|
+
<occurred_at type="datetime">2010/07/29 19:04:29 UTC</occurred_at>
|
148
|
+
<author>Jon</author>
|
149
|
+
<project_id type="integer">102622</project_id>
|
150
|
+
<description>Jon edited "Movable Story"</description>
|
194
151
|
<stories>
|
195
152
|
<story>
|
196
|
-
<id type="integer">
|
197
|
-
<url>http://www.pivotaltracker.com/services/v3/projects/
|
198
|
-
<
|
153
|
+
<id type="integer">4490874</id>
|
154
|
+
<url>http://www.pivotaltracker.com/services/v3/projects/102622/stories/4490874</url>
|
155
|
+
<name>Movable Story</name>
|
199
156
|
</story>
|
200
157
|
</stories>
|
201
158
|
</activity>
|
202
159
|
<activity>
|
203
|
-
<id type="integer">
|
204
|
-
<version type="integer">
|
205
|
-
<event_type>
|
206
|
-
<occurred_at type="datetime">2010/
|
207
|
-
<author>
|
208
|
-
<project_id type="integer">
|
209
|
-
<description>
|
160
|
+
<id type="integer">24490623</id>
|
161
|
+
<version type="integer">153</version>
|
162
|
+
<event_type>story_create</event_type>
|
163
|
+
<occurred_at type="datetime">2010/07/29 18:58:45 UTC</occurred_at>
|
164
|
+
<author>Test Suite Access</author>
|
165
|
+
<project_id type="integer">102622</project_id>
|
166
|
+
<description>Test Suite Access added "Create stuff"</description>
|
210
167
|
<stories>
|
211
168
|
<story>
|
212
|
-
<id type="integer">
|
213
|
-
<url>http://www.pivotaltracker.com/services/v3/projects/
|
214
|
-
<
|
169
|
+
<id type="integer">4491800</id>
|
170
|
+
<url>http://www.pivotaltracker.com/services/v3/projects/102622/stories/4491800</url>
|
171
|
+
<name>Create stuff</name>
|
172
|
+
<story_type>feature</story_type>
|
173
|
+
<current_state>unscheduled</current_state>
|
215
174
|
</story>
|
216
175
|
</stories>
|
217
176
|
</activity>
|
@@ -1,14 +1,14 @@
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
2
2
|
<story>
|
3
|
-
<id type="integer">
|
4
|
-
<project_id type="integer">
|
3
|
+
<id type="integer">4492112</id>
|
4
|
+
<project_id type="integer">102622</project_id>
|
5
5
|
<story_type>feature</story_type>
|
6
|
-
<url>http://www.pivotaltracker.com/story/show/
|
6
|
+
<url>http://www.pivotaltracker.com/story/show/4492112</url>
|
7
7
|
<estimate type="integer">-1</estimate>
|
8
8
|
<current_state>unscheduled</current_state>
|
9
9
|
<description></description>
|
10
10
|
<name>Create stuff</name>
|
11
|
-
<requested_by>
|
12
|
-
<created_at type="datetime">2010/
|
13
|
-
<updated_at type="datetime">2010/
|
11
|
+
<requested_by>Test Suite Access</requested_by>
|
12
|
+
<created_at type="datetime">2010/07/29 19:15:16 UTC</created_at>
|
13
|
+
<updated_at type="datetime">2010/07/29 19:15:16 UTC</updated_at>
|
14
14
|
</story>
|
@@ -1,14 +1,14 @@
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
2
2
|
<story>
|
3
|
-
<id type="integer">
|
4
|
-
<project_id type="integer">
|
3
|
+
<id type="integer">4492111</id>
|
4
|
+
<project_id type="integer">102622</project_id>
|
5
5
|
<story_type>feature</story_type>
|
6
|
-
<url>http://www.pivotaltracker.com/story/show/
|
6
|
+
<url>http://www.pivotaltracker.com/story/show/4492111</url>
|
7
7
|
<estimate type="integer">-1</estimate>
|
8
8
|
<current_state>unscheduled</current_state>
|
9
9
|
<description></description>
|
10
10
|
<name>Create stuff</name>
|
11
|
-
<requested_by>
|
12
|
-
<created_at type="datetime">2010/
|
13
|
-
<updated_at type="datetime">2010/
|
11
|
+
<requested_by>Test Suite Access</requested_by>
|
12
|
+
<created_at type="datetime">2010/07/29 19:15:13 UTC</created_at>
|
13
|
+
<updated_at type="datetime">2010/07/29 19:15:13 UTC</updated_at>
|
14
14
|
</story>
|