topprospect-pivotal-tracker 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +9 -0
- data/Gemfile +15 -0
- data/Gemfile.lock +40 -0
- data/LICENSE +20 -0
- data/README.rdoc +77 -0
- data/Rakefile +49 -0
- data/VERSION +1 -0
- data/lib/pivotal-tracker.rb +38 -0
- data/lib/pivotal-tracker/activity.rb +45 -0
- data/lib/pivotal-tracker/attachment.rb +16 -0
- data/lib/pivotal-tracker/client.rb +35 -0
- data/lib/pivotal-tracker/extensions.rb +11 -0
- data/lib/pivotal-tracker/iteration.rb +34 -0
- data/lib/pivotal-tracker/membership.rb +20 -0
- data/lib/pivotal-tracker/note.rb +58 -0
- data/lib/pivotal-tracker/project.rb +58 -0
- data/lib/pivotal-tracker/proxy.rb +66 -0
- data/lib/pivotal-tracker/story.rb +149 -0
- data/lib/pivotal-tracker/task.rb +53 -0
- data/lib/pivotal-tracker/validation.rb +68 -0
- data/lib/pivotal_tracker.rb +2 -0
- data/pivotal-tracker.gemspec +120 -0
- data/spec/fixtures/activity.xml +177 -0
- data/spec/fixtures/created_note.xml +14 -0
- data/spec/fixtures/created_story.xml +14 -0
- data/spec/fixtures/iterations_all.xml +237 -0
- data/spec/fixtures/iterations_backlog.xml +163 -0
- data/spec/fixtures/iterations_current.xml +47 -0
- data/spec/fixtures/iterations_done.xml +33 -0
- data/spec/fixtures/memberships.xml +42 -0
- data/spec/fixtures/notes.xml +33 -0
- data/spec/fixtures/project.xml +51 -0
- data/spec/fixtures/project_activity.xml +177 -0
- data/spec/fixtures/projects.xml +103 -0
- data/spec/fixtures/stale_fish.yml +100 -0
- data/spec/fixtures/stories.xml +293 -0
- data/spec/fixtures/tasks.xml +24 -0
- data/spec/spec.opts +1 -0
- data/spec/spec_helper.rb +31 -0
- data/spec/support/stale_fish_fixtures.rb +67 -0
- data/spec/unit/pivotal-tracker/activity_spec.rb +23 -0
- data/spec/unit/pivotal-tracker/attachment_spec.rb +62 -0
- data/spec/unit/pivotal-tracker/iteration_spec.rb +52 -0
- data/spec/unit/pivotal-tracker/membership_spec.rb +20 -0
- data/spec/unit/pivotal-tracker/note_spec.rb +61 -0
- data/spec/unit/pivotal-tracker/project_spec.rb +55 -0
- data/spec/unit/pivotal-tracker/story_spec.rb +185 -0
- data/spec/unit/pivotal-tracker/task_spec.rb +21 -0
- metadata +246 -0
@@ -0,0 +1,100 @@
|
|
1
|
+
--- !omap
|
2
|
+
- stale:
|
3
|
+
- memberships:
|
4
|
+
file: 'memberships.xml'
|
5
|
+
update_interval: 2.weeks
|
6
|
+
check_against: http://www.pivotaltracker.com/services/v3/projects/102622/memberships
|
7
|
+
request_type: GET
|
8
|
+
update_method: StaleFishFixtures.update_memberships_fixture
|
9
|
+
last_updated_at: 2010-07-29T20:15:09+01:00
|
10
|
+
- projects:
|
11
|
+
file: 'projects.xml'
|
12
|
+
update_interval: 2.weeks
|
13
|
+
check_against: http://www.pivotaltracker.com/services/v3/projects
|
14
|
+
request_type: GET
|
15
|
+
update_method: StaleFishFixtures.update_projects_fixture
|
16
|
+
last_updated_at: 2010-07-29T20:15:09+01:00
|
17
|
+
- tasks:
|
18
|
+
file: 'tasks.xml'
|
19
|
+
update_interval: 2.weeks
|
20
|
+
check_against: http://www.pivotaltracker.com/services/v3/projects/102622/stories/4459994/tasks
|
21
|
+
request_type: GET
|
22
|
+
update_method: StaleFishFixtures.update_tasks_fixture
|
23
|
+
last_updated_at: 2010-07-29T20:15:10+01:00
|
24
|
+
- project:
|
25
|
+
file: 'project.xml'
|
26
|
+
update_interval: 2.weeks
|
27
|
+
check_against: http://www.pivotaltracker.com/services/v3/projects/102622
|
28
|
+
request_type: GET
|
29
|
+
update_method: StaleFishFixtures.update_project_fixture
|
30
|
+
last_updated_at: 2010-07-29T20:15:11+01:00
|
31
|
+
- activity:
|
32
|
+
file: 'activity.xml'
|
33
|
+
update_interval: 2.weeks
|
34
|
+
check_against: http://www.pivotaltracker.com/services/v3/activities
|
35
|
+
request_type: GET
|
36
|
+
update_method: StaleFishFixtures.update_activity_fixture
|
37
|
+
last_updated_at: 2010-07-29T20:15:11+01:00
|
38
|
+
- stories:
|
39
|
+
file: 'stories.xml'
|
40
|
+
update_interval: 2.weeks
|
41
|
+
check_against: http://www.pivotaltracker.com/services/v3/projects/102622/stories
|
42
|
+
request_type: GET
|
43
|
+
update_method: StaleFishFixtures.update_stories_fixture
|
44
|
+
last_updated_at: 2010-07-29T20:15:12+01:00
|
45
|
+
- project_activity:
|
46
|
+
file: 'project_activity.xml'
|
47
|
+
update_interval: 2.weeks
|
48
|
+
check_against: http://www.pivotaltracker.com/services/v3/projects/102622/activities
|
49
|
+
request_type: GET
|
50
|
+
update_method: StaleFishFixtures.update_project_activity_fixture
|
51
|
+
last_updated_at: 2010-07-29T20:15:13+01:00
|
52
|
+
- create_story:
|
53
|
+
file: 'created_story.xml'
|
54
|
+
update_interval: 2.weeks
|
55
|
+
check_against: http://www.pivotaltracker.com/services/v3/projects/102622/stories
|
56
|
+
request_type: POST
|
57
|
+
update_method: StaleFishFixtures.create_new_story
|
58
|
+
last_updated_at: 2010-07-29T20:15:14+01:00
|
59
|
+
- iterations_current:
|
60
|
+
file: 'iterations_current.xml'
|
61
|
+
update_interval: 2.weeks
|
62
|
+
check_against: http://www.pivotaltracker.com/services/v3/projects/102622/iterations/current
|
63
|
+
request_type: GET
|
64
|
+
update_method: StaleFishFixtures.update_iterations_current_fixture
|
65
|
+
last_updated_at: 2010-07-29T20:15:14+01:00
|
66
|
+
- iterations_done:
|
67
|
+
file: 'iterations_done.xml'
|
68
|
+
update_interval: 2.weeks
|
69
|
+
check_against: http://www.pivotaltracker.com/services/v3/projects/102622/iterations/done
|
70
|
+
request_type: GET
|
71
|
+
update_method: StaleFishFixtures.update_iterations_done_fixture
|
72
|
+
last_updated_at: 2010-07-29T20:15:14+01:00
|
73
|
+
- iterations_backlog:
|
74
|
+
file: 'iterations_backlog.xml'
|
75
|
+
update_interval: 2.weeks
|
76
|
+
check_against: http://www.pivotaltracker.com/services/v3/projects/102622/iterations/backlog
|
77
|
+
request_type: GET
|
78
|
+
update_method: StaleFishFixtures.update_iterations_backlog_fixture
|
79
|
+
last_updated_at: 2010-07-29T20:15:15+01:00
|
80
|
+
- iterations_all:
|
81
|
+
file: 'iterations_all.xml'
|
82
|
+
update_interval: 2.weeks
|
83
|
+
check_against: http://www.pivotaltracker.com/services/v3/projects/102622/iterations
|
84
|
+
request_type: GET
|
85
|
+
update_method: StaleFishFixtures.update_iterations_all_fixture
|
86
|
+
last_updated_at: 2010-07-29T20:15:16+01:00
|
87
|
+
- notes:
|
88
|
+
file: 'notes.xml'
|
89
|
+
update_interval: 2.weeks
|
90
|
+
check_against: http://www.pivotaltracker.com/services/v3/projects/102622/stories/4460038/notes
|
91
|
+
request_type: GET
|
92
|
+
update_method: StaleFishFixtures.update_notes_fixture
|
93
|
+
last_updated_at: 2010-07-29T20:15:16+01:00
|
94
|
+
- create_note:
|
95
|
+
file: 'created_note.xml'
|
96
|
+
update_interval: 2.weeks
|
97
|
+
check_against: http://www.pivotaltracker.com/services/v3/projects/102622/stories/4460038/notes
|
98
|
+
request_type: POST
|
99
|
+
update_method: StaleFishFixtures.create_new_story
|
100
|
+
last_updated_at: 2010-07-29T20:15:17+01:00
|
@@ -0,0 +1,293 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<stories type="array" count="14" limit="20" total="14">
|
3
|
+
<story>
|
4
|
+
<id type="integer">4460116</id>
|
5
|
+
<project_id type="integer">102622</project_id>
|
6
|
+
<story_type>feature</story_type>
|
7
|
+
<url>http://www.pivotaltracker.com/story/show/4460116</url>
|
8
|
+
<estimate type="integer">0</estimate>
|
9
|
+
<current_state>accepted</current_state>
|
10
|
+
<description>This is a story that's finished.</description>
|
11
|
+
<name>Old, accepted story</name>
|
12
|
+
<requested_by>Jon Mischo</requested_by>
|
13
|
+
<created_at type="datetime">2010/07/27 21:58:28 UTC</created_at>
|
14
|
+
<updated_at type="datetime">2010/07/27 22:21:17 UTC</updated_at>
|
15
|
+
<accepted_at type="datetime">2010/07/18 17:00:00 UTC</accepted_at>
|
16
|
+
</story>
|
17
|
+
<story>
|
18
|
+
<id type="integer">4459994</id>
|
19
|
+
<project_id type="integer">102622</project_id>
|
20
|
+
<story_type>feature</story_type>
|
21
|
+
<url>http://www.pivotaltracker.com/story/show/4459994</url>
|
22
|
+
<estimate type="integer">2</estimate>
|
23
|
+
<current_state>unstarted</current_state>
|
24
|
+
<description>Generic description</description>
|
25
|
+
<name>Tasks Test</name>
|
26
|
+
<requested_by>Jon Mischo</requested_by>
|
27
|
+
<created_at type="datetime">2010/07/27 21:51:01 UTC</created_at>
|
28
|
+
<updated_at type="datetime">2010/07/27 22:20:46 UTC</updated_at>
|
29
|
+
<tasks type="array">
|
30
|
+
<task>
|
31
|
+
<id type="integer">468113</id>
|
32
|
+
<description>Task number 1</description>
|
33
|
+
<position>1</position>
|
34
|
+
<complete>false</complete>
|
35
|
+
<created_at type="datetime">2010/07/27 21:51:28 UTC</created_at>
|
36
|
+
</task>
|
37
|
+
<task>
|
38
|
+
<id type="integer">468114</id>
|
39
|
+
<description>Number 2 Task</description>
|
40
|
+
<position>2</position>
|
41
|
+
<complete>false</complete>
|
42
|
+
<created_at type="datetime">2010/07/27 21:51:32 UTC</created_at>
|
43
|
+
</task>
|
44
|
+
<task>
|
45
|
+
<id type="integer">468117</id>
|
46
|
+
<description>3rd task is a charm</description>
|
47
|
+
<position>3</position>
|
48
|
+
<complete>true</complete>
|
49
|
+
<created_at type="datetime">2010/07/27 21:51:42 UTC</created_at>
|
50
|
+
</task>
|
51
|
+
</tasks>
|
52
|
+
</story>
|
53
|
+
<story>
|
54
|
+
<id type="integer">4460038</id>
|
55
|
+
<project_id type="integer">102622</project_id>
|
56
|
+
<story_type>feature</story_type>
|
57
|
+
<url>http://www.pivotaltracker.com/story/show/4460038</url>
|
58
|
+
<estimate type="integer">1</estimate>
|
59
|
+
<current_state>unstarted</current_state>
|
60
|
+
<description>This is a story that has comments.</description>
|
61
|
+
<name>This is for comments</name>
|
62
|
+
<requested_by>Jon Mischo</requested_by>
|
63
|
+
<created_at type="datetime">2010/07/27 21:53:16 UTC</created_at>
|
64
|
+
<updated_at type="datetime">2010/07/27 22:20:48 UTC</updated_at>
|
65
|
+
<notes type="array">
|
66
|
+
<note>
|
67
|
+
<id type="integer">2111593</id>
|
68
|
+
<text>This is a comment...whee!</text>
|
69
|
+
<author>Jon</author>
|
70
|
+
<noted_at type="datetime">2010/07/27 22:15:48 UTC</noted_at>
|
71
|
+
</note>
|
72
|
+
<note>
|
73
|
+
<id type="integer">2128955</id>
|
74
|
+
<text>Test note</text>
|
75
|
+
<author>Test Suite Access</author>
|
76
|
+
<noted_at type="datetime">2010/07/29 18:15:09 UTC</noted_at>
|
77
|
+
</note>
|
78
|
+
<note>
|
79
|
+
<id type="integer">2128959</id>
|
80
|
+
<text>Test note</text>
|
81
|
+
<author>Test Suite Access</author>
|
82
|
+
<noted_at type="datetime">2010/07/29 18:16:12 UTC</noted_at>
|
83
|
+
</note>
|
84
|
+
<note>
|
85
|
+
<id type="integer">2129077</id>
|
86
|
+
<text>Test note</text>
|
87
|
+
<author>Test Suite Access</author>
|
88
|
+
<noted_at type="datetime">2010/07/29 18:22:26 UTC</noted_at>
|
89
|
+
</note>
|
90
|
+
<note>
|
91
|
+
<id type="integer">2129374</id>
|
92
|
+
<text>Test note</text>
|
93
|
+
<author>Test Suite Access</author>
|
94
|
+
<noted_at type="datetime">2010/07/29 18:55:44 UTC</noted_at>
|
95
|
+
</note>
|
96
|
+
</notes>
|
97
|
+
</story>
|
98
|
+
<story>
|
99
|
+
<id type="integer">4460598</id>
|
100
|
+
<project_id type="integer">102622</project_id>
|
101
|
+
<story_type>feature</story_type>
|
102
|
+
<url>http://www.pivotaltracker.com/story/show/4460598</url>
|
103
|
+
<estimate type="integer">3</estimate>
|
104
|
+
<current_state>unstarted</current_state>
|
105
|
+
<description>This story has attachments.</description>
|
106
|
+
<name>Story with attachments</name>
|
107
|
+
<requested_by>Jon Mischo</requested_by>
|
108
|
+
<created_at type="datetime">2010/07/27 22:33:13 UTC</created_at>
|
109
|
+
<updated_at type="datetime">2010/07/27 22:33:28 UTC</updated_at>
|
110
|
+
<attachments type="array">
|
111
|
+
<attachment>
|
112
|
+
<id type="integer">491576</id>
|
113
|
+
<filename>LICENSE</filename>
|
114
|
+
<description></description>
|
115
|
+
<uploaded_by>Jon</uploaded_by>
|
116
|
+
<uploaded_at type="datetime">2010/07/27 22:34:23 UTC</uploaded_at>
|
117
|
+
<url>http://www.pivotaltracker.com/resource/download/491576</url>
|
118
|
+
</attachment>
|
119
|
+
<attachment>
|
120
|
+
<id type="integer">493019</id>
|
121
|
+
<filename>README.rdoc</filename>
|
122
|
+
<description>README file from api gem</description>
|
123
|
+
<uploaded_by>Jon</uploaded_by>
|
124
|
+
<uploaded_at type="datetime">2010/07/28 15:16:18 UTC</uploaded_at>
|
125
|
+
<url>http://www.pivotaltracker.com/resource/download/493019</url>
|
126
|
+
</attachment>
|
127
|
+
</attachments>
|
128
|
+
</story>
|
129
|
+
<story>
|
130
|
+
<id type="integer">4473735</id>
|
131
|
+
<project_id type="integer">102622</project_id>
|
132
|
+
<story_type>feature</story_type>
|
133
|
+
<url>http://www.pivotaltracker.com/story/show/4473735</url>
|
134
|
+
<estimate type="integer">1</estimate>
|
135
|
+
<current_state>unstarted</current_state>
|
136
|
+
<description></description>
|
137
|
+
<name>Attachment upload test story</name>
|
138
|
+
<requested_by>Jon</requested_by>
|
139
|
+
<created_at type="datetime">2010/07/28 18:17:33 UTC</created_at>
|
140
|
+
<updated_at type="datetime">2010/07/28 18:17:44 UTC</updated_at>
|
141
|
+
<attachments type="array">
|
142
|
+
<attachment>
|
143
|
+
<id type="integer">495851</id>
|
144
|
+
<filename>LICENSE</filename>
|
145
|
+
<description></description>
|
146
|
+
<uploaded_by>Test Suite Access</uploaded_by>
|
147
|
+
<uploaded_at type="datetime">2010/07/29 19:07:19 UTC</uploaded_at>
|
148
|
+
<url>http://www.pivotaltracker.com/resource/download/495851</url>
|
149
|
+
</attachment>
|
150
|
+
<attachment>
|
151
|
+
<id type="integer">495856</id>
|
152
|
+
<filename>LICENSE</filename>
|
153
|
+
<description></description>
|
154
|
+
<uploaded_by>Test Suite Access</uploaded_by>
|
155
|
+
<uploaded_at type="datetime">2010/07/29 19:09:27 UTC</uploaded_at>
|
156
|
+
<url>http://www.pivotaltracker.com/resource/download/495856</url>
|
157
|
+
</attachment>
|
158
|
+
<attachment>
|
159
|
+
<id type="integer">495858</id>
|
160
|
+
<filename>LICENSE</filename>
|
161
|
+
<description></description>
|
162
|
+
<uploaded_by>Test Suite Access</uploaded_by>
|
163
|
+
<uploaded_at type="datetime">2010/07/29 19:11:44 UTC</uploaded_at>
|
164
|
+
<url>http://www.pivotaltracker.com/resource/download/495858</url>
|
165
|
+
</attachment>
|
166
|
+
<attachment>
|
167
|
+
<id type="integer">495863</id>
|
168
|
+
<filename>LICENSE</filename>
|
169
|
+
<description></description>
|
170
|
+
<uploaded_by>Test Suite Access</uploaded_by>
|
171
|
+
<uploaded_at type="datetime">2010/07/29 19:13:06 UTC</uploaded_at>
|
172
|
+
<url>http://www.pivotaltracker.com/resource/download/495863</url>
|
173
|
+
</attachment>
|
174
|
+
</attachments>
|
175
|
+
</story>
|
176
|
+
<story>
|
177
|
+
<id type="integer">4490874</id>
|
178
|
+
<project_id type="integer">102622</project_id>
|
179
|
+
<story_type>feature</story_type>
|
180
|
+
<url>http://www.pivotaltracker.com/story/show/4490874</url>
|
181
|
+
<estimate type="integer">0</estimate>
|
182
|
+
<current_state>unstarted</current_state>
|
183
|
+
<description></description>
|
184
|
+
<name>Movable Story</name>
|
185
|
+
<requested_by>Test Suite Access</requested_by>
|
186
|
+
<created_at type="datetime">2010/07/29 18:12:31 UTC</created_at>
|
187
|
+
<updated_at type="datetime">2010/07/29 19:13:12 UTC</updated_at>
|
188
|
+
</story>
|
189
|
+
<story>
|
190
|
+
<id type="integer">4492080</id>
|
191
|
+
<project_id type="integer">102622</project_id>
|
192
|
+
<story_type>feature</story_type>
|
193
|
+
<url>http://www.pivotaltracker.com/story/show/4492080</url>
|
194
|
+
<estimate type="integer">-1</estimate>
|
195
|
+
<current_state>unscheduled</current_state>
|
196
|
+
<description></description>
|
197
|
+
<name>Create stuff</name>
|
198
|
+
<requested_by>Test Suite Access</requested_by>
|
199
|
+
<created_at type="datetime">2010/07/29 19:13:04 UTC</created_at>
|
200
|
+
<updated_at type="datetime">2010/07/29 19:13:04 UTC</updated_at>
|
201
|
+
</story>
|
202
|
+
<story>
|
203
|
+
<id type="integer">4492078</id>
|
204
|
+
<project_id type="integer">102622</project_id>
|
205
|
+
<story_type>feature</story_type>
|
206
|
+
<url>http://www.pivotaltracker.com/story/show/4492078</url>
|
207
|
+
<estimate type="integer">-1</estimate>
|
208
|
+
<current_state>unscheduled</current_state>
|
209
|
+
<description></description>
|
210
|
+
<name>Create stuff</name>
|
211
|
+
<requested_by>Test Suite Access</requested_by>
|
212
|
+
<created_at type="datetime">2010/07/29 19:13:01 UTC</created_at>
|
213
|
+
<updated_at type="datetime">2010/07/29 19:13:01 UTC</updated_at>
|
214
|
+
</story>
|
215
|
+
<story>
|
216
|
+
<id type="integer">4492060</id>
|
217
|
+
<project_id type="integer">102622</project_id>
|
218
|
+
<story_type>feature</story_type>
|
219
|
+
<url>http://www.pivotaltracker.com/story/show/4492060</url>
|
220
|
+
<estimate type="integer">-1</estimate>
|
221
|
+
<current_state>unscheduled</current_state>
|
222
|
+
<description></description>
|
223
|
+
<name>Create stuff</name>
|
224
|
+
<requested_by>Test Suite Access</requested_by>
|
225
|
+
<created_at type="datetime">2010/07/29 19:11:43 UTC</created_at>
|
226
|
+
<updated_at type="datetime">2010/07/29 19:11:43 UTC</updated_at>
|
227
|
+
</story>
|
228
|
+
<story>
|
229
|
+
<id type="integer">4492059</id>
|
230
|
+
<project_id type="integer">102622</project_id>
|
231
|
+
<story_type>feature</story_type>
|
232
|
+
<url>http://www.pivotaltracker.com/story/show/4492059</url>
|
233
|
+
<estimate type="integer">-1</estimate>
|
234
|
+
<current_state>unscheduled</current_state>
|
235
|
+
<description></description>
|
236
|
+
<name>Create stuff</name>
|
237
|
+
<requested_by>Test Suite Access</requested_by>
|
238
|
+
<created_at type="datetime">2010/07/29 19:11:38 UTC</created_at>
|
239
|
+
<updated_at type="datetime">2010/07/29 19:11:38 UTC</updated_at>
|
240
|
+
</story>
|
241
|
+
<story>
|
242
|
+
<id type="integer">4491973</id>
|
243
|
+
<project_id type="integer">102622</project_id>
|
244
|
+
<story_type>feature</story_type>
|
245
|
+
<url>http://www.pivotaltracker.com/story/show/4491973</url>
|
246
|
+
<estimate type="integer">-1</estimate>
|
247
|
+
<current_state>unscheduled</current_state>
|
248
|
+
<description></description>
|
249
|
+
<name>Create stuff</name>
|
250
|
+
<requested_by>Test Suite Access</requested_by>
|
251
|
+
<created_at type="datetime">2010/07/29 19:09:26 UTC</created_at>
|
252
|
+
<updated_at type="datetime">2010/07/29 19:09:26 UTC</updated_at>
|
253
|
+
</story>
|
254
|
+
<story>
|
255
|
+
<id type="integer">4491971</id>
|
256
|
+
<project_id type="integer">102622</project_id>
|
257
|
+
<story_type>feature</story_type>
|
258
|
+
<url>http://www.pivotaltracker.com/story/show/4491971</url>
|
259
|
+
<estimate type="integer">-1</estimate>
|
260
|
+
<current_state>unscheduled</current_state>
|
261
|
+
<description></description>
|
262
|
+
<name>Create stuff</name>
|
263
|
+
<requested_by>Test Suite Access</requested_by>
|
264
|
+
<created_at type="datetime">2010/07/29 19:09:24 UTC</created_at>
|
265
|
+
<updated_at type="datetime">2010/07/29 19:09:24 UTC</updated_at>
|
266
|
+
</story>
|
267
|
+
<story>
|
268
|
+
<id type="integer">4491741</id>
|
269
|
+
<project_id type="integer">102622</project_id>
|
270
|
+
<story_type>feature</story_type>
|
271
|
+
<url>http://www.pivotaltracker.com/story/show/4491741</url>
|
272
|
+
<estimate type="integer">-1</estimate>
|
273
|
+
<current_state>unscheduled</current_state>
|
274
|
+
<description></description>
|
275
|
+
<name>Create Stuff</name>
|
276
|
+
<requested_by>Test Suite Access</requested_by>
|
277
|
+
<created_at type="datetime">2010/07/29 18:56:02 UTC</created_at>
|
278
|
+
<updated_at type="datetime">2010/07/29 18:56:02 UTC</updated_at>
|
279
|
+
</story>
|
280
|
+
<story>
|
281
|
+
<id type="integer">4490944</id>
|
282
|
+
<project_id type="integer">102622</project_id>
|
283
|
+
<story_type>feature</story_type>
|
284
|
+
<url>http://www.pivotaltracker.com/story/show/4490944</url>
|
285
|
+
<estimate type="integer">-1</estimate>
|
286
|
+
<current_state>unscheduled</current_state>
|
287
|
+
<description></description>
|
288
|
+
<name>Create Stuff</name>
|
289
|
+
<requested_by>Test Suite Access</requested_by>
|
290
|
+
<created_at type="datetime">2010/07/29 18:17:23 UTC</created_at>
|
291
|
+
<updated_at type="datetime">2010/07/29 18:17:23 UTC</updated_at>
|
292
|
+
</story>
|
293
|
+
</stories>
|
@@ -0,0 +1,24 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<tasks type="array">
|
3
|
+
<task>
|
4
|
+
<id type="integer">468113</id>
|
5
|
+
<description>Task number 1</description>
|
6
|
+
<position>1</position>
|
7
|
+
<complete>false</complete>
|
8
|
+
<created_at type="datetime">2010/07/27 21:51:28 UTC</created_at>
|
9
|
+
</task>
|
10
|
+
<task>
|
11
|
+
<id type="integer">468114</id>
|
12
|
+
<description>Number 2 Task</description>
|
13
|
+
<position>2</position>
|
14
|
+
<complete>false</complete>
|
15
|
+
<created_at type="datetime">2010/07/27 21:51:32 UTC</created_at>
|
16
|
+
</task>
|
17
|
+
<task>
|
18
|
+
<id type="integer">468117</id>
|
19
|
+
<description>3rd task is a charm</description>
|
20
|
+
<position>3</position>
|
21
|
+
<complete>true</complete>
|
22
|
+
<created_at type="datetime">2010/07/27 21:51:42 UTC</created_at>
|
23
|
+
</task>
|
24
|
+
</tasks>
|
data/spec/spec.opts
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
--color
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
require 'rubygems'
|
2
|
+
require 'bundler'
|
3
|
+
require 'stale_fish'
|
4
|
+
|
5
|
+
Bundler.require(:default, :runtime, :test)
|
6
|
+
$LOAD_PATH.unshift(File.dirname(__FILE__))
|
7
|
+
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
8
|
+
|
9
|
+
require 'pivotal-tracker'
|
10
|
+
require 'spec'
|
11
|
+
require 'spec/autorun'
|
12
|
+
|
13
|
+
PROJECT_ID = ENV['PROJECT_ID'] || "102622"
|
14
|
+
TOKEN = '8358666c5a593a3c82cda728c8a62b63'
|
15
|
+
|
16
|
+
PivotalTracker::Client.token = TOKEN
|
17
|
+
|
18
|
+
# Requires supporting files with custom matchers and macros, etc,
|
19
|
+
# in ./support/ and its subdirectories.
|
20
|
+
Dir[File.expand_path(File.join(File.dirname(__FILE__),'support','**','*.rb'))].each {|f| require f}
|
21
|
+
|
22
|
+
StaleFish.setup(File.join(File.dirname(__FILE__), 'fixtures', 'stale_fish.yml'))
|
23
|
+
|
24
|
+
Spec::Runner.configure do |config|
|
25
|
+
# config.include(Rack::Test::Methods)
|
26
|
+
|
27
|
+
config.before :suite do
|
28
|
+
StaleFish.update_stale
|
29
|
+
end
|
30
|
+
|
31
|
+
end
|