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
@@ -3,98 +3,98 @@
|
|
3
3
|
- memberships:
|
4
4
|
file: 'memberships.xml'
|
5
5
|
update_interval: 2.weeks
|
6
|
-
check_against: http://www.pivotaltracker.com/services/v3/projects/
|
6
|
+
check_against: http://www.pivotaltracker.com/services/v3/projects/102622/memberships
|
7
7
|
request_type: GET
|
8
8
|
update_method: StaleFishFixtures.update_memberships_fixture
|
9
|
-
last_updated_at: 2010-
|
9
|
+
last_updated_at: 2010-07-29T13:15:09-06:00
|
10
10
|
- projects:
|
11
11
|
file: 'projects.xml'
|
12
12
|
update_interval: 2.weeks
|
13
13
|
check_against: http://www.pivotaltracker.com/services/v3/projects
|
14
14
|
request_type: GET
|
15
15
|
update_method: StaleFishFixtures.update_projects_fixture
|
16
|
-
last_updated_at: 2010-
|
16
|
+
last_updated_at: 2010-07-29T13:15:09-06:00
|
17
17
|
- tasks:
|
18
18
|
file: 'tasks.xml'
|
19
19
|
update_interval: 2.weeks
|
20
|
-
check_against: http://www.pivotaltracker.com/services/v3/projects/
|
20
|
+
check_against: http://www.pivotaltracker.com/services/v3/projects/102622/stories/4459994/tasks
|
21
21
|
request_type: GET
|
22
22
|
update_method: StaleFishFixtures.update_tasks_fixture
|
23
|
-
last_updated_at: 2010-
|
23
|
+
last_updated_at: 2010-07-29T13:15:10-06:00
|
24
24
|
- project:
|
25
25
|
file: 'project.xml'
|
26
26
|
update_interval: 2.weeks
|
27
|
-
check_against: http://www.pivotaltracker.com/services/v3/projects/
|
27
|
+
check_against: http://www.pivotaltracker.com/services/v3/projects/102622
|
28
28
|
request_type: GET
|
29
29
|
update_method: StaleFishFixtures.update_project_fixture
|
30
|
-
last_updated_at: 2010-
|
30
|
+
last_updated_at: 2010-07-29T13:15:11-06:00
|
31
31
|
- activity:
|
32
32
|
file: 'activity.xml'
|
33
33
|
update_interval: 2.weeks
|
34
34
|
check_against: http://www.pivotaltracker.com/services/v3/activities
|
35
35
|
request_type: GET
|
36
36
|
update_method: StaleFishFixtures.update_activity_fixture
|
37
|
-
last_updated_at: 2010-
|
37
|
+
last_updated_at: 2010-07-29T13:15:11-06:00
|
38
38
|
- stories:
|
39
39
|
file: 'stories.xml'
|
40
40
|
update_interval: 2.weeks
|
41
|
-
check_against: http://www.pivotaltracker.com/services/v3/projects/
|
41
|
+
check_against: http://www.pivotaltracker.com/services/v3/projects/102622/stories
|
42
42
|
request_type: GET
|
43
43
|
update_method: StaleFishFixtures.update_stories_fixture
|
44
|
-
last_updated_at: 2010-
|
44
|
+
last_updated_at: 2010-07-29T13:15:12-06:00
|
45
45
|
- project_activity:
|
46
46
|
file: 'project_activity.xml'
|
47
47
|
update_interval: 2.weeks
|
48
|
-
check_against: http://www.pivotaltracker.com/services/v3/projects/
|
48
|
+
check_against: http://www.pivotaltracker.com/services/v3/projects/102622/activities
|
49
49
|
request_type: GET
|
50
50
|
update_method: StaleFishFixtures.update_project_activity_fixture
|
51
|
-
last_updated_at: 2010-
|
51
|
+
last_updated_at: 2010-07-29T13:15:13-06:00
|
52
52
|
- create_story:
|
53
53
|
file: 'created_story.xml'
|
54
54
|
update_interval: 2.weeks
|
55
|
-
check_against: http://www.pivotaltracker.com/services/v3/projects/
|
55
|
+
check_against: http://www.pivotaltracker.com/services/v3/projects/102622/stories
|
56
56
|
request_type: POST
|
57
57
|
update_method: StaleFishFixtures.create_new_story
|
58
|
-
last_updated_at: 2010-
|
58
|
+
last_updated_at: 2010-07-29T13:15:14-06:00
|
59
59
|
- iterations_current:
|
60
60
|
file: 'iterations_current.xml'
|
61
61
|
update_interval: 2.weeks
|
62
|
-
check_against: http://www.pivotaltracker.com/services/v3/projects/
|
62
|
+
check_against: http://www.pivotaltracker.com/services/v3/projects/102622/iterations/current
|
63
63
|
request_type: GET
|
64
64
|
update_method: StaleFishFixtures.update_iterations_current_fixture
|
65
|
-
last_updated_at: 2010-
|
65
|
+
last_updated_at: 2010-07-29T13:15:14-06:00
|
66
66
|
- iterations_done:
|
67
67
|
file: 'iterations_done.xml'
|
68
68
|
update_interval: 2.weeks
|
69
|
-
check_against: http://www.pivotaltracker.com/services/v3/projects/
|
69
|
+
check_against: http://www.pivotaltracker.com/services/v3/projects/102622/iterations/done
|
70
70
|
request_type: GET
|
71
71
|
update_method: StaleFishFixtures.update_iterations_done_fixture
|
72
|
-
last_updated_at: 2010-
|
72
|
+
last_updated_at: 2010-07-29T13:15:14-06:00
|
73
73
|
- iterations_backlog:
|
74
74
|
file: 'iterations_backlog.xml'
|
75
75
|
update_interval: 2.weeks
|
76
|
-
check_against: http://www.pivotaltracker.com/services/v3/projects/
|
76
|
+
check_against: http://www.pivotaltracker.com/services/v3/projects/102622/iterations/backlog
|
77
77
|
request_type: GET
|
78
78
|
update_method: StaleFishFixtures.update_iterations_backlog_fixture
|
79
|
-
last_updated_at: 2010-
|
79
|
+
last_updated_at: 2010-07-29T13:15:15-06:00
|
80
80
|
- iterations_all:
|
81
81
|
file: 'iterations_all.xml'
|
82
82
|
update_interval: 2.weeks
|
83
|
-
check_against: http://www.pivotaltracker.com/services/v3/projects/
|
83
|
+
check_against: http://www.pivotaltracker.com/services/v3/projects/102622/iterations
|
84
84
|
request_type: GET
|
85
85
|
update_method: StaleFishFixtures.update_iterations_all_fixture
|
86
|
-
last_updated_at: 2010-
|
86
|
+
last_updated_at: 2010-07-29T13:15:16-06:00
|
87
87
|
- notes:
|
88
88
|
file: 'notes.xml'
|
89
89
|
update_interval: 2.weeks
|
90
|
-
check_against: http://www.pivotaltracker.com/services/v3/projects/
|
90
|
+
check_against: http://www.pivotaltracker.com/services/v3/projects/102622/stories/4460038/notes
|
91
91
|
request_type: GET
|
92
92
|
update_method: StaleFishFixtures.update_notes_fixture
|
93
|
-
last_updated_at: 2010-
|
93
|
+
last_updated_at: 2010-07-29T13:15:16-06:00
|
94
94
|
- create_note:
|
95
95
|
file: 'created_note.xml'
|
96
96
|
update_interval: 2.weeks
|
97
|
-
check_against: http://www.pivotaltracker.com/services/v3/projects/
|
97
|
+
check_against: http://www.pivotaltracker.com/services/v3/projects/102622/stories/4460038/notes
|
98
98
|
request_type: POST
|
99
99
|
update_method: StaleFishFixtures.create_new_story
|
100
|
-
last_updated_at: 2010-
|
100
|
+
last_updated_at: 2010-07-29T13:15:17-06:00
|
data/spec/fixtures/stories.xml
CHANGED
@@ -1,227 +1,293 @@
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<stories type="array" count="
|
2
|
+
<stories type="array" count="14" limit="20" total="14">
|
3
3
|
<story>
|
4
|
-
<id type="integer">
|
5
|
-
<project_id type="integer">
|
4
|
+
<id type="integer">4460116</id>
|
5
|
+
<project_id type="integer">102622</project_id>
|
6
6
|
<story_type>feature</story_type>
|
7
|
-
<url>http://www.pivotaltracker.com/story/show/
|
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>
|
8
22
|
<estimate type="integer">2</estimate>
|
9
23
|
<current_state>unstarted</current_state>
|
10
|
-
<description>
|
24
|
+
<description>Generic description</description>
|
11
25
|
<name>Tasks Test</name>
|
12
|
-
<requested_by>
|
13
|
-
<
|
14
|
-
<
|
15
|
-
<updated_at type="datetime">2010/02/25 11:55:30 MST</updated_at>
|
16
|
-
<labels>test_dependent</labels>
|
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>
|
17
29
|
<tasks type="array">
|
18
30
|
<task>
|
19
|
-
<id type="integer">
|
31
|
+
<id type="integer">468113</id>
|
20
32
|
<description>Task number 1</description>
|
21
33
|
<position>1</position>
|
22
34
|
<complete>false</complete>
|
23
|
-
<created_at type="datetime">2010/
|
35
|
+
<created_at type="datetime">2010/07/27 21:51:28 UTC</created_at>
|
24
36
|
</task>
|
25
37
|
<task>
|
26
|
-
<id type="integer">
|
38
|
+
<id type="integer">468114</id>
|
27
39
|
<description>Number 2 Task</description>
|
28
40
|
<position>2</position>
|
29
41
|
<complete>false</complete>
|
30
|
-
<created_at type="datetime">2010/
|
42
|
+
<created_at type="datetime">2010/07/27 21:51:32 UTC</created_at>
|
31
43
|
</task>
|
32
44
|
<task>
|
33
|
-
<id type="integer">
|
45
|
+
<id type="integer">468117</id>
|
34
46
|
<description>3rd task is a charm</description>
|
35
47
|
<position>3</position>
|
36
48
|
<complete>true</complete>
|
37
|
-
<created_at type="datetime">2010/
|
49
|
+
<created_at type="datetime">2010/07/27 21:51:42 UTC</created_at>
|
38
50
|
</task>
|
39
51
|
</tasks>
|
40
52
|
</story>
|
41
53
|
<story>
|
42
|
-
<id type="integer">
|
43
|
-
<project_id type="integer">
|
54
|
+
<id type="integer">4460038</id>
|
55
|
+
<project_id type="integer">102622</project_id>
|
44
56
|
<story_type>feature</story_type>
|
45
|
-
<url>http://www.pivotaltracker.com/story/show/
|
46
|
-
<estimate type="integer">
|
57
|
+
<url>http://www.pivotaltracker.com/story/show/4460038</url>
|
58
|
+
<estimate type="integer">1</estimate>
|
47
59
|
<current_state>unstarted</current_state>
|
48
|
-
<description
|
49
|
-
<name>
|
50
|
-
<requested_by>
|
51
|
-
<created_at type="datetime">2010/
|
52
|
-
<updated_at type="datetime">2010/
|
53
|
-
<
|
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>
|
54
97
|
</story>
|
55
98
|
<story>
|
56
|
-
<id type="integer">
|
57
|
-
<project_id type="integer">
|
99
|
+
<id type="integer">4460598</id>
|
100
|
+
<project_id type="integer">102622</project_id>
|
58
101
|
<story_type>feature</story_type>
|
59
|
-
<url>http://www.pivotaltracker.com/story/show/
|
60
|
-
<estimate type="integer">
|
102
|
+
<url>http://www.pivotaltracker.com/story/show/4460598</url>
|
103
|
+
<estimate type="integer">3</estimate>
|
61
104
|
<current_state>unstarted</current_state>
|
62
|
-
<description
|
63
|
-
<name>
|
64
|
-
<requested_by>
|
65
|
-
<created_at type="datetime">2010/
|
66
|
-
<updated_at type="datetime">2010/
|
67
|
-
<
|
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>
|
68
128
|
</story>
|
69
129
|
<story>
|
70
|
-
<id type="integer">
|
71
|
-
<project_id type="integer">
|
130
|
+
<id type="integer">4473735</id>
|
131
|
+
<project_id type="integer">102622</project_id>
|
72
132
|
<story_type>feature</story_type>
|
73
|
-
<url>http://www.pivotaltracker.com/story/show/
|
74
|
-
<estimate type="integer">
|
133
|
+
<url>http://www.pivotaltracker.com/story/show/4473735</url>
|
134
|
+
<estimate type="integer">1</estimate>
|
75
135
|
<current_state>unstarted</current_state>
|
76
|
-
<description>This is just some description.</description>
|
77
|
-
<name>Tasks Test</name>
|
78
|
-
<requested_by>Justin Smestad</requested_by>
|
79
|
-
<owned_by>Terence Lee</owned_by>
|
80
|
-
<created_at type="datetime">2010/03/01 15:51:05 MST</created_at>
|
81
|
-
<updated_at type="datetime">2010/03/01 15:51:05 MST</updated_at>
|
82
|
-
<labels>test_dependent</labels>
|
83
|
-
</story>
|
84
|
-
<story>
|
85
|
-
<id type="integer">3256963</id>
|
86
|
-
<project_id type="integer">59022</project_id>
|
87
|
-
<story_type>feature</story_type>
|
88
|
-
<url>http://www.pivotaltracker.com/story/show/3256963</url>
|
89
|
-
<estimate type="integer">-1</estimate>
|
90
|
-
<current_state>unscheduled</current_state>
|
91
136
|
<description></description>
|
92
|
-
<name>
|
93
|
-
<requested_by>
|
94
|
-
<created_at type="datetime">2010/
|
95
|
-
<updated_at type="datetime">2010/
|
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>
|
96
175
|
</story>
|
97
176
|
<story>
|
98
|
-
<id type="integer">
|
99
|
-
<project_id type="integer">
|
177
|
+
<id type="integer">4490874</id>
|
178
|
+
<project_id type="integer">102622</project_id>
|
100
179
|
<story_type>feature</story_type>
|
101
|
-
<url>http://www.pivotaltracker.com/story/show/
|
102
|
-
<estimate type="integer"
|
103
|
-
<current_state>
|
104
|
-
<description></description>
|
105
|
-
<name>Create stuff</name>
|
106
|
-
<requested_by>Justin Smestad</requested_by>
|
107
|
-
<created_at type="datetime">2010/04/22 11:55:50 MDT</created_at>
|
108
|
-
<updated_at type="datetime">2010/04/22 11:55:50 MDT</updated_at>
|
109
|
-
</story>
|
110
|
-
<story>
|
111
|
-
<id type="integer">3256865</id>
|
112
|
-
<project_id type="integer">59022</project_id>
|
113
|
-
<story_type>feature</story_type>
|
114
|
-
<url>http://www.pivotaltracker.com/story/show/3256865</url>
|
115
|
-
<estimate type="integer">-1</estimate>
|
116
|
-
<current_state>unscheduled</current_state>
|
180
|
+
<url>http://www.pivotaltracker.com/story/show/4490874</url>
|
181
|
+
<estimate type="integer">0</estimate>
|
182
|
+
<current_state>unstarted</current_state>
|
117
183
|
<description></description>
|
118
|
-
<name>
|
119
|
-
<requested_by>
|
120
|
-
<created_at type="datetime">2010/
|
121
|
-
<updated_at type="datetime">2010/
|
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>
|
122
188
|
</story>
|
123
189
|
<story>
|
124
|
-
<id type="integer">
|
125
|
-
<project_id type="integer">
|
190
|
+
<id type="integer">4492080</id>
|
191
|
+
<project_id type="integer">102622</project_id>
|
126
192
|
<story_type>feature</story_type>
|
127
|
-
<url>http://www.pivotaltracker.com/story/show/
|
193
|
+
<url>http://www.pivotaltracker.com/story/show/4492080</url>
|
128
194
|
<estimate type="integer">-1</estimate>
|
129
195
|
<current_state>unscheduled</current_state>
|
130
196
|
<description></description>
|
131
197
|
<name>Create stuff</name>
|
132
|
-
<requested_by>
|
133
|
-
<created_at type="datetime">2010/
|
134
|
-
<updated_at type="datetime">2010/
|
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>
|
135
201
|
</story>
|
136
202
|
<story>
|
137
|
-
<id type="integer">
|
138
|
-
<project_id type="integer">
|
203
|
+
<id type="integer">4492078</id>
|
204
|
+
<project_id type="integer">102622</project_id>
|
139
205
|
<story_type>feature</story_type>
|
140
|
-
<url>http://www.pivotaltracker.com/story/show/
|
206
|
+
<url>http://www.pivotaltracker.com/story/show/4492078</url>
|
141
207
|
<estimate type="integer">-1</estimate>
|
142
208
|
<current_state>unscheduled</current_state>
|
143
209
|
<description></description>
|
144
210
|
<name>Create stuff</name>
|
145
|
-
<requested_by>
|
146
|
-
<created_at type="datetime">2010/
|
147
|
-
<updated_at type="datetime">2010/
|
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>
|
148
214
|
</story>
|
149
215
|
<story>
|
150
|
-
<id type="integer">
|
151
|
-
<project_id type="integer">
|
216
|
+
<id type="integer">4492060</id>
|
217
|
+
<project_id type="integer">102622</project_id>
|
152
218
|
<story_type>feature</story_type>
|
153
|
-
<url>http://www.pivotaltracker.com/story/show/
|
219
|
+
<url>http://www.pivotaltracker.com/story/show/4492060</url>
|
154
220
|
<estimate type="integer">-1</estimate>
|
155
221
|
<current_state>unscheduled</current_state>
|
156
222
|
<description></description>
|
157
223
|
<name>Create stuff</name>
|
158
|
-
<requested_by>
|
159
|
-
<created_at type="datetime">2010/
|
160
|
-
<updated_at type="datetime">2010/
|
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>
|
161
227
|
</story>
|
162
228
|
<story>
|
163
|
-
<id type="integer">
|
164
|
-
<project_id type="integer">
|
229
|
+
<id type="integer">4492059</id>
|
230
|
+
<project_id type="integer">102622</project_id>
|
165
231
|
<story_type>feature</story_type>
|
166
|
-
<url>http://www.pivotaltracker.com/story/show/
|
232
|
+
<url>http://www.pivotaltracker.com/story/show/4492059</url>
|
167
233
|
<estimate type="integer">-1</estimate>
|
168
234
|
<current_state>unscheduled</current_state>
|
169
235
|
<description></description>
|
170
236
|
<name>Create stuff</name>
|
171
|
-
<requested_by>
|
172
|
-
<created_at type="datetime">2010/
|
173
|
-
<updated_at type="datetime">2010/
|
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>
|
174
240
|
</story>
|
175
241
|
<story>
|
176
|
-
<id type="integer">
|
177
|
-
<project_id type="integer">
|
242
|
+
<id type="integer">4491973</id>
|
243
|
+
<project_id type="integer">102622</project_id>
|
178
244
|
<story_type>feature</story_type>
|
179
|
-
<url>http://www.pivotaltracker.com/story/show/
|
245
|
+
<url>http://www.pivotaltracker.com/story/show/4491973</url>
|
180
246
|
<estimate type="integer">-1</estimate>
|
181
247
|
<current_state>unscheduled</current_state>
|
182
248
|
<description></description>
|
183
249
|
<name>Create stuff</name>
|
184
|
-
<requested_by>
|
185
|
-
<created_at type="datetime">2010/
|
186
|
-
<updated_at type="datetime">2010/
|
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>
|
187
253
|
</story>
|
188
254
|
<story>
|
189
|
-
<id type="integer">
|
190
|
-
<project_id type="integer">
|
255
|
+
<id type="integer">4491971</id>
|
256
|
+
<project_id type="integer">102622</project_id>
|
191
257
|
<story_type>feature</story_type>
|
192
|
-
<url>http://www.pivotaltracker.com/story/show/
|
258
|
+
<url>http://www.pivotaltracker.com/story/show/4491971</url>
|
193
259
|
<estimate type="integer">-1</estimate>
|
194
260
|
<current_state>unscheduled</current_state>
|
195
261
|
<description></description>
|
196
262
|
<name>Create stuff</name>
|
197
|
-
<requested_by>
|
198
|
-
<created_at type="datetime">2010/
|
199
|
-
<updated_at type="datetime">2010/
|
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>
|
200
266
|
</story>
|
201
267
|
<story>
|
202
|
-
<id type="integer">
|
203
|
-
<project_id type="integer">
|
268
|
+
<id type="integer">4491741</id>
|
269
|
+
<project_id type="integer">102622</project_id>
|
204
270
|
<story_type>feature</story_type>
|
205
|
-
<url>http://www.pivotaltracker.com/story/show/
|
271
|
+
<url>http://www.pivotaltracker.com/story/show/4491741</url>
|
206
272
|
<estimate type="integer">-1</estimate>
|
207
273
|
<current_state>unscheduled</current_state>
|
208
274
|
<description></description>
|
209
|
-
<name>
|
210
|
-
<requested_by>
|
211
|
-
<created_at type="datetime">2010/
|
212
|
-
<updated_at type="datetime">2010/
|
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>
|
213
279
|
</story>
|
214
280
|
<story>
|
215
|
-
<id type="integer">
|
216
|
-
<project_id type="integer">
|
281
|
+
<id type="integer">4490944</id>
|
282
|
+
<project_id type="integer">102622</project_id>
|
217
283
|
<story_type>feature</story_type>
|
218
|
-
<url>http://www.pivotaltracker.com/story/show/
|
284
|
+
<url>http://www.pivotaltracker.com/story/show/4490944</url>
|
219
285
|
<estimate type="integer">-1</estimate>
|
220
286
|
<current_state>unscheduled</current_state>
|
221
287
|
<description></description>
|
222
|
-
<name>
|
223
|
-
<requested_by>
|
224
|
-
<created_at type="datetime">2010/
|
225
|
-
<updated_at type="datetime">2010/
|
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>
|
226
292
|
</story>
|
227
293
|
</stories>
|
data/spec/fixtures/tasks.xml
CHANGED
@@ -1,24 +1,24 @@
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
2
2
|
<tasks type="array">
|
3
3
|
<task>
|
4
|
-
<id type="integer">
|
4
|
+
<id type="integer">468113</id>
|
5
5
|
<description>Task number 1</description>
|
6
6
|
<position>1</position>
|
7
7
|
<complete>false</complete>
|
8
|
-
<created_at type="datetime">2010/
|
8
|
+
<created_at type="datetime">2010/07/27 21:51:28 UTC</created_at>
|
9
9
|
</task>
|
10
10
|
<task>
|
11
|
-
<id type="integer">
|
11
|
+
<id type="integer">468114</id>
|
12
12
|
<description>Number 2 Task</description>
|
13
13
|
<position>2</position>
|
14
14
|
<complete>false</complete>
|
15
|
-
<created_at type="datetime">2010/
|
15
|
+
<created_at type="datetime">2010/07/27 21:51:32 UTC</created_at>
|
16
16
|
</task>
|
17
17
|
<task>
|
18
|
-
<id type="integer">
|
18
|
+
<id type="integer">468117</id>
|
19
19
|
<description>3rd task is a charm</description>
|
20
20
|
<position>3</position>
|
21
21
|
<complete>true</complete>
|
22
|
-
<created_at type="datetime">2010/
|
22
|
+
<created_at type="datetime">2010/07/27 21:51:42 UTC</created_at>
|
23
23
|
</task>
|
24
24
|
</tasks>
|
data/spec/spec_helper.rb
CHANGED
@@ -10,8 +10,10 @@ require 'pivotal-tracker'
|
|
10
10
|
require 'spec'
|
11
11
|
require 'spec/autorun'
|
12
12
|
|
13
|
-
PROJECT_ID = ENV['PROJECT_ID'] || "
|
14
|
-
TOKEN = '
|
13
|
+
PROJECT_ID = ENV['PROJECT_ID'] || "102622"
|
14
|
+
TOKEN = '8358666c5a593a3c82cda728c8a62b63'
|
15
|
+
|
16
|
+
PivotalTracker::Client.token = TOKEN
|
15
17
|
|
16
18
|
# Requires supporting files with custom matchers and macros, etc,
|
17
19
|
# in ./support/ and its subdirectories.
|