taskmapper-fogbugz 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.document +5 -0
- data/.gitignore +44 -0
- data/.rbenv-gemsets +1 -0
- data/.rbenv-version +1 -0
- data/.rvmrc +1 -0
- data/.travis.yml +4 -0
- data/Gemfile +13 -0
- data/Gemfile.lock +55 -0
- data/LICENSE.txt +20 -0
- data/README.rdoc +19 -0
- data/Rakefile +26 -0
- data/lib/provider/comment.rb +14 -0
- data/lib/provider/fogbugz.rb +59 -0
- data/lib/provider/project.rb +93 -0
- data/lib/provider/ticket.rb +159 -0
- data/lib/taskmapper-fogbugz.rb +6 -0
- data/lib/version.rb +5 -0
- data/spec/fixtures/vcr_cassettes/all-fogbugz-projects.yml +36 -0
- data/spec/fixtures/vcr_cassettes/create-ticket.yml +36 -0
- data/spec/fixtures/vcr_cassettes/fogbugz-projects.yml +36 -0
- data/spec/fixtures/vcr_cassettes/fogbugz-single-ticket.yml +36 -0
- data/spec/fixtures/vcr_cassettes/fogbugz-tickets-by-attributes.yml +36 -0
- data/spec/fixtures/vcr_cassettes/fogbugz-tickets-by-ids.yml +36 -0
- data/spec/fixtures/vcr_cassettes/fogbugz-tickets.yml +36 -0
- data/spec/fixtures/vcr_cassettes/fogbugz.yml +40 -0
- data/spec/fixtures/vcr_cassettes/load-project-by-id.yml +36 -0
- data/spec/fixtures/vcr_cassettes/load-projects-attributes.yml +36 -0
- data/spec/fixtures/vcr_cassettes/load-projects-by-ids.yml +36 -0
- data/spec/fixtures/vcr_cassettes/update-ticket.yml +36 -0
- data/spec/projects_spec.rb +38 -0
- data/spec/spec_helper.rb +12 -0
- data/spec/tickets_spec.rb +62 -0
- data/spec/vcr_setup.rb +7 -0
- data/taskmapper-fogbugz.gemspec +30 -0
- metadata +218 -0
data/lib/version.rb
ADDED
@@ -0,0 +1,36 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :get
|
5
|
+
uri: https://ticketrb.fogbugz.com:443/api.asp?cmd=listProjects&token=26jgegikmofn27rcd6ql676fso9r22
|
6
|
+
body:
|
7
|
+
headers:
|
8
|
+
content-type:
|
9
|
+
- text/xml
|
10
|
+
response: !ruby/struct:VCR::Response
|
11
|
+
status: !ruby/struct:VCR::ResponseStatus
|
12
|
+
code: 200
|
13
|
+
message: OK
|
14
|
+
headers:
|
15
|
+
etag:
|
16
|
+
- ""
|
17
|
+
x-aspnet-version:
|
18
|
+
- 2.0.50727
|
19
|
+
transfer-encoding:
|
20
|
+
- chunked
|
21
|
+
cache-control:
|
22
|
+
- private
|
23
|
+
content-type:
|
24
|
+
- text/xml;charset=utf-8
|
25
|
+
x-powered-by:
|
26
|
+
- ASP.NET
|
27
|
+
expires:
|
28
|
+
- Tue, 05 Sep 2000 09:00:00 GMT
|
29
|
+
date:
|
30
|
+
- Wed, 21 Mar 2012 22:02:32 GMT
|
31
|
+
set-cookie:
|
32
|
+
- sUniqueID=20120321220232-201.229.129.45-cnor0d19mp; expires=Tue, 22-Mar-2022 02:02:32 GMT; path=/; secure; HttpOnly
|
33
|
+
server:
|
34
|
+
- Microsoft-IIS/6.0
|
35
|
+
body: <?xml version="1.0" encoding="UTF-8"?><response><projects><project><ixProject>2</ixProject><sProject><![CDATA[Inbox]]></sProject><ixPersonOwner>2</ixPersonOwner><sPersonOwner><![CDATA[Ramon Martinez]]></sPersonOwner><sEmail><![CDATA[rafael@hybridgroup.com]]></sEmail><sPhone></sPhone><fInbox>true</fInbox><ixWorkflow>1</ixWorkflow><fDeleted>false</fDeleted></project><project><ixProject>1</ixProject><sProject><![CDATA[Sample Project]]></sProject><ixPersonOwner>2</ixPersonOwner><sPersonOwner><![CDATA[Ramon Martinez]]></sPersonOwner><sEmail><![CDATA[rafael@hybridgroup.com]]></sEmail><sPhone></sPhone><fInbox>false</fInbox><ixWorkflow>1</ixWorkflow><fDeleted>false</fDeleted></project></projects></response>
|
36
|
+
http_version: "1.1"
|
@@ -0,0 +1,36 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :get
|
5
|
+
uri: https://ticketrb.fogbugz.com:443/api.asp?cmd=new&sTitle=Should+be+able+to+create+ticket&ixPriority=2&ixPersonAssignedTo=taskmapper&token=26jgegikmofn27rcd6ql676fso9r22&ixProject=2
|
6
|
+
body:
|
7
|
+
headers:
|
8
|
+
content-type:
|
9
|
+
- text/xml
|
10
|
+
response: !ruby/struct:VCR::Response
|
11
|
+
status: !ruby/struct:VCR::ResponseStatus
|
12
|
+
code: 200
|
13
|
+
message: OK
|
14
|
+
headers:
|
15
|
+
content-type:
|
16
|
+
- text/xml;charset=utf-8
|
17
|
+
cache-control:
|
18
|
+
- private
|
19
|
+
etag:
|
20
|
+
- ""
|
21
|
+
server:
|
22
|
+
- Microsoft-IIS/6.0
|
23
|
+
x-powered-by:
|
24
|
+
- ASP.NET
|
25
|
+
date:
|
26
|
+
- Thu, 12 Apr 2012 21:00:39 GMT
|
27
|
+
expires:
|
28
|
+
- Tue, 05 Sep 2000 09:00:00 GMT
|
29
|
+
x-aspnet-version:
|
30
|
+
- 2.0.50727
|
31
|
+
transfer-encoding:
|
32
|
+
- chunked
|
33
|
+
set-cookie:
|
34
|
+
- sUniqueID=20120412210038-190.80.182.182-t0jq6j8938; expires=Wed, 13-Apr-2022 01:00:38 GMT; path=/; secure; HttpOnly
|
35
|
+
body: <?xml version="1.0" encoding="UTF-8"?><response><case ixBug="4" operations="edit,assign,resolve,email,remind"></case></response>
|
36
|
+
http_version: "1.1"
|
@@ -0,0 +1,36 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :get
|
5
|
+
uri: https://ticketrb.fogbugz.com:443/api.asp?cmd=listProjects&token=26jgegikmofn27rcd6ql676fso9r22
|
6
|
+
body:
|
7
|
+
headers:
|
8
|
+
content-type:
|
9
|
+
- text/xml
|
10
|
+
response: !ruby/struct:VCR::Response
|
11
|
+
status: !ruby/struct:VCR::ResponseStatus
|
12
|
+
code: 200
|
13
|
+
message: OK
|
14
|
+
headers:
|
15
|
+
expires:
|
16
|
+
- Tue, 05 Sep 2000 09:00:00 GMT
|
17
|
+
etag:
|
18
|
+
- ""
|
19
|
+
cache-control:
|
20
|
+
- private
|
21
|
+
date:
|
22
|
+
- Wed, 21 Mar 2012 22:04:39 GMT
|
23
|
+
server:
|
24
|
+
- Microsoft-IIS/6.0
|
25
|
+
set-cookie:
|
26
|
+
- sUniqueID=20120321220439-201.229.129.45-v1kcn2ti8b; expires=Tue, 22-Mar-2022 02:04:39 GMT; path=/; secure; HttpOnly
|
27
|
+
transfer-encoding:
|
28
|
+
- chunked
|
29
|
+
content-type:
|
30
|
+
- text/xml;charset=utf-8
|
31
|
+
x-aspnet-version:
|
32
|
+
- 2.0.50727
|
33
|
+
x-powered-by:
|
34
|
+
- ASP.NET
|
35
|
+
body: <?xml version="1.0" encoding="UTF-8"?><response><projects><project><ixProject>2</ixProject><sProject><![CDATA[Inbox]]></sProject><ixPersonOwner>2</ixPersonOwner><sPersonOwner><![CDATA[Ramon Martinez]]></sPersonOwner><sEmail><![CDATA[rafael@hybridgroup.com]]></sEmail><sPhone></sPhone><fInbox>true</fInbox><ixWorkflow>1</ixWorkflow><fDeleted>false</fDeleted></project><project><ixProject>1</ixProject><sProject><![CDATA[Sample Project]]></sProject><ixPersonOwner>2</ixPersonOwner><sPersonOwner><![CDATA[Ramon Martinez]]></sPersonOwner><sEmail><![CDATA[rafael@hybridgroup.com]]></sEmail><sPhone></sPhone><fInbox>false</fInbox><ixWorkflow>1</ixWorkflow><fDeleted>false</fDeleted></project></projects></response>
|
36
|
+
http_version: "1.1"
|
@@ -0,0 +1,36 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :get
|
5
|
+
uri: https://ticketrb.fogbugz.com:443/api.asp?cmd=search&q=project%3A%3D2&cols=dtLastUpdated%2CixBug%2CsStatus%2CsTitle%2CsLatestTextSummary%2CixProject%2CsProject%2CsPersonAssignedTo%2CsPriority&token=26jgegikmofn27rcd6ql676fso9r22
|
6
|
+
body:
|
7
|
+
headers:
|
8
|
+
content-type:
|
9
|
+
- text/xml
|
10
|
+
response: !ruby/struct:VCR::Response
|
11
|
+
status: !ruby/struct:VCR::ResponseStatus
|
12
|
+
code: 200
|
13
|
+
message: OK
|
14
|
+
headers:
|
15
|
+
set-cookie:
|
16
|
+
- sUniqueID=20120412185552-190.80.182.182-q1b9qu3lcg; expires=Tue, 12-Apr-2022 22:55:52 GMT; path=/; secure; HttpOnly
|
17
|
+
expires:
|
18
|
+
- Tue, 05 Sep 2000 09:00:00 GMT
|
19
|
+
x-powered-by:
|
20
|
+
- ASP.NET
|
21
|
+
etag:
|
22
|
+
- ""
|
23
|
+
server:
|
24
|
+
- Microsoft-IIS/6.0
|
25
|
+
date:
|
26
|
+
- Thu, 12 Apr 2012 18:56:20 GMT
|
27
|
+
cache-control:
|
28
|
+
- private
|
29
|
+
x-aspnet-version:
|
30
|
+
- 2.0.50727
|
31
|
+
content-type:
|
32
|
+
- text/xml;charset=utf-8
|
33
|
+
transfer-encoding:
|
34
|
+
- chunked
|
35
|
+
body: <?xml version="1.0" encoding="UTF-8"?><response><cases count="1"><case ixBug="1" operations="edit,assign,resolve,email,remind"><ixBug>1</ixBug><sStatus><![CDATA[Active]]></sStatus><sTitle><![CDATA["Welcome to FogBugz" Sample Case]]></sTitle><sLatestTextSummary></sLatestTextSummary><ixProject>2</ixProject><sProject><![CDATA[Inbox]]></sProject><sPersonAssignedTo><![CDATA[Ramon Martinez]]></sPersonAssignedTo><sPriority><![CDATA[Must Fix]]></sPriority><dtLastUpdated>2012-03-21T21:27:33Z</dtLastUpdated></case></cases></response>
|
36
|
+
http_version: "1.1"
|
@@ -0,0 +1,36 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :get
|
5
|
+
uri: https://ticketrb.fogbugz.com:443/api.asp?cmd=search&cols=dtLastUpdated%2CixBug%2CsStatus%2CsTitle%2CsLatestTextSummary%2CixProject%2CsProject%2CsPersonAssignedTo%2CsPriority&token=26jgegikmofn27rcd6ql676fso9r22&q=project%3A%3D2
|
6
|
+
body:
|
7
|
+
headers:
|
8
|
+
content-type:
|
9
|
+
- text/xml
|
10
|
+
response: !ruby/struct:VCR::Response
|
11
|
+
status: !ruby/struct:VCR::ResponseStatus
|
12
|
+
code: 200
|
13
|
+
message: OK
|
14
|
+
headers:
|
15
|
+
expires:
|
16
|
+
- Tue, 05 Sep 2000 09:00:00 GMT
|
17
|
+
etag:
|
18
|
+
- ""
|
19
|
+
content-type:
|
20
|
+
- text/xml;charset=utf-8
|
21
|
+
cache-control:
|
22
|
+
- private
|
23
|
+
x-powered-by:
|
24
|
+
- ASP.NET
|
25
|
+
date:
|
26
|
+
- Wed, 21 Mar 2012 22:26:16 GMT
|
27
|
+
transfer-encoding:
|
28
|
+
- chunked
|
29
|
+
x-aspnet-version:
|
30
|
+
- 2.0.50727
|
31
|
+
server:
|
32
|
+
- Microsoft-IIS/6.0
|
33
|
+
set-cookie:
|
34
|
+
- sUniqueID=20120321222616-201.229.129.45-bfc6m9f1qb; expires=Tue, 22-Mar-2022 02:26:16 GMT; path=/; secure; HttpOnly
|
35
|
+
body: <?xml version="1.0" encoding="UTF-8"?><response><cases count="1"><case ixBug="1" operations="edit,assign,resolve,email,remind"><ixBug>1</ixBug><sStatus><![CDATA[Active]]></sStatus><sTitle><![CDATA["Welcome to FogBugz" Sample Case]]></sTitle><sLatestTextSummary></sLatestTextSummary><ixProject>2</ixProject><sProject><![CDATA[Inbox]]></sProject><sPersonAssignedTo><![CDATA[Ramon Martinez]]></sPersonAssignedTo><sPriority><![CDATA[Must Fix]]></sPriority><dtLastUpdated>2012-03-21T21:27:33Z</dtLastUpdated></case></cases></response>
|
36
|
+
http_version: "1.1"
|
@@ -0,0 +1,36 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :get
|
5
|
+
uri: https://ticketrb.fogbugz.com:443/api.asp?cmd=search&cols=dtLastUpdated%2CixBug%2CsStatus%2CsTitle%2CsLatestTextSummary%2CixProject%2CsProject%2CsPersonAssignedTo%2CsPriority&token=26jgegikmofn27rcd6ql676fso9r22&q=project%3A%3D2
|
6
|
+
body:
|
7
|
+
headers:
|
8
|
+
content-type:
|
9
|
+
- text/xml
|
10
|
+
response: !ruby/struct:VCR::Response
|
11
|
+
status: !ruby/struct:VCR::ResponseStatus
|
12
|
+
code: 200
|
13
|
+
message: OK
|
14
|
+
headers:
|
15
|
+
expires:
|
16
|
+
- Tue, 05 Sep 2000 09:00:00 GMT
|
17
|
+
etag:
|
18
|
+
- ""
|
19
|
+
content-type:
|
20
|
+
- text/xml;charset=utf-8
|
21
|
+
cache-control:
|
22
|
+
- private
|
23
|
+
x-powered-by:
|
24
|
+
- ASP.NET
|
25
|
+
date:
|
26
|
+
- Wed, 21 Mar 2012 22:25:46 GMT
|
27
|
+
transfer-encoding:
|
28
|
+
- chunked
|
29
|
+
x-aspnet-version:
|
30
|
+
- 2.0.50727
|
31
|
+
server:
|
32
|
+
- Microsoft-IIS/6.0
|
33
|
+
set-cookie:
|
34
|
+
- sUniqueID=20120321222546-201.229.129.45-dh6dnqjemp; expires=Tue, 22-Mar-2022 02:25:46 GMT; path=/; secure; HttpOnly
|
35
|
+
body: <?xml version="1.0" encoding="UTF-8"?><response><cases count="1"><case ixBug="1" operations="edit,assign,resolve,email,remind"><ixBug>1</ixBug><sStatus><![CDATA[Active]]></sStatus><sTitle><![CDATA["Welcome to FogBugz" Sample Case]]></sTitle><sLatestTextSummary></sLatestTextSummary><ixProject>2</ixProject><sProject><![CDATA[Inbox]]></sProject><sPersonAssignedTo><![CDATA[Ramon Martinez]]></sPersonAssignedTo><sPriority><![CDATA[Must Fix]]></sPriority><dtLastUpdated>2012-03-21T21:27:33Z</dtLastUpdated></case></cases></response>
|
36
|
+
http_version: "1.1"
|
@@ -0,0 +1,36 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :get
|
5
|
+
uri: https://ticketrb.fogbugz.com:443/api.asp?cmd=search&cols=dtLastUpdated%2CixBug%2CsStatus%2CsTitle%2CsLatestTextSummary%2CixProject%2CsProject%2CsPersonAssignedTo%2CsPriority&token=26jgegikmofn27rcd6ql676fso9r22&q=project%3A%3D2
|
6
|
+
body:
|
7
|
+
headers:
|
8
|
+
content-type:
|
9
|
+
- text/xml
|
10
|
+
response: !ruby/struct:VCR::Response
|
11
|
+
status: !ruby/struct:VCR::ResponseStatus
|
12
|
+
code: 200
|
13
|
+
message: OK
|
14
|
+
headers:
|
15
|
+
transfer-encoding:
|
16
|
+
- chunked
|
17
|
+
x-powered-by:
|
18
|
+
- ASP.NET
|
19
|
+
expires:
|
20
|
+
- Tue, 05 Sep 2000 09:00:00 GMT
|
21
|
+
x-aspnet-version:
|
22
|
+
- 2.0.50727
|
23
|
+
content-type:
|
24
|
+
- text/xml;charset=utf-8
|
25
|
+
etag:
|
26
|
+
- ""
|
27
|
+
server:
|
28
|
+
- Microsoft-IIS/6.0
|
29
|
+
set-cookie:
|
30
|
+
- sUniqueID=20120321222959-201.229.129.45-pmf49gkh0j; expires=Tue, 22-Mar-2022 02:29:59 GMT; path=/; secure; HttpOnly
|
31
|
+
cache-control:
|
32
|
+
- private
|
33
|
+
date:
|
34
|
+
- Wed, 21 Mar 2012 22:29:59 GMT
|
35
|
+
body: <?xml version="1.0" encoding="UTF-8"?><response><cases count="1"><case ixBug="1" operations="edit,assign,resolve,email,remind"><ixBug>1</ixBug><sStatus><![CDATA[Active]]></sStatus><sTitle><![CDATA["Welcome to FogBugz" Sample Case]]></sTitle><sLatestTextSummary></sLatestTextSummary><ixProject>2</ixProject><sProject><![CDATA[Inbox]]></sProject><sPersonAssignedTo><![CDATA[Ramon Martinez]]></sPersonAssignedTo><sPriority><![CDATA[Must Fix]]></sPriority><dtLastUpdated>2012-03-21T21:27:33Z</dtLastUpdated></case></cases></response>
|
36
|
+
http_version: "1.1"
|
@@ -0,0 +1,40 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :get
|
5
|
+
uri: https://ticketrb.fogbugz.com:443/api.asp?cmd=logon&password=1234567&email=rafael%40hybridgroup.com
|
6
|
+
body:
|
7
|
+
headers:
|
8
|
+
content-type:
|
9
|
+
- text/xml
|
10
|
+
response: !ruby/struct:VCR::Response
|
11
|
+
status: !ruby/struct:VCR::ResponseStatus
|
12
|
+
code: 200
|
13
|
+
message: OK
|
14
|
+
headers:
|
15
|
+
etag:
|
16
|
+
- ""
|
17
|
+
x-aspnet-version:
|
18
|
+
- 2.0.50727
|
19
|
+
transfer-encoding:
|
20
|
+
- chunked
|
21
|
+
cache-control:
|
22
|
+
- private
|
23
|
+
content-type:
|
24
|
+
- text/xml;charset=utf-8
|
25
|
+
x-powered-by:
|
26
|
+
- ASP.NET
|
27
|
+
expires:
|
28
|
+
- Tue, 05 Sep 2000 09:00:00 GMT
|
29
|
+
date:
|
30
|
+
- Wed, 21 Mar 2012 22:02:31 GMT
|
31
|
+
set-cookie:
|
32
|
+
- sUniqueID=20120321220231-201.229.129.45-en0597j86h; expires=Tue, 22-Mar-2022 02:02:31 GMT; path=/; secure; HttpOnly
|
33
|
+
- ixPerson=; expires=Tue, 20-Mar-2012 22:02:31 GMT; path=/; secure; HttpOnly
|
34
|
+
- DBID=; expires=Tue, 20-Mar-2012 22:02:31 GMT; path=/; secure; HttpOnly
|
35
|
+
- 0xbeef=; expires=Tue, 20-Mar-2012 22:02:31 GMT; path=/; secure; HttpOnly
|
36
|
+
- fbToken=; expires=Tue, 20-Mar-2012 22:02:31 GMT; path=/; secure; HttpOnly
|
37
|
+
server:
|
38
|
+
- Microsoft-IIS/6.0
|
39
|
+
body: <?xml version="1.0" encoding="UTF-8"?><response><token><![CDATA[26jgegikmofn27rcd6ql676fso9r22]]></token></response>
|
40
|
+
http_version: "1.1"
|
@@ -0,0 +1,36 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :get
|
5
|
+
uri: https://ticketrb.fogbugz.com:443/api.asp?cmd=listProjects&token=26jgegikmofn27rcd6ql676fso9r22
|
6
|
+
body:
|
7
|
+
headers:
|
8
|
+
content-type:
|
9
|
+
- text/xml
|
10
|
+
response: !ruby/struct:VCR::Response
|
11
|
+
status: !ruby/struct:VCR::ResponseStatus
|
12
|
+
code: 200
|
13
|
+
message: OK
|
14
|
+
headers:
|
15
|
+
etag:
|
16
|
+
- ""
|
17
|
+
x-aspnet-version:
|
18
|
+
- 2.0.50727
|
19
|
+
transfer-encoding:
|
20
|
+
- chunked
|
21
|
+
cache-control:
|
22
|
+
- private
|
23
|
+
content-type:
|
24
|
+
- text/xml;charset=utf-8
|
25
|
+
x-powered-by:
|
26
|
+
- ASP.NET
|
27
|
+
expires:
|
28
|
+
- Tue, 05 Sep 2000 09:00:00 GMT
|
29
|
+
date:
|
30
|
+
- Wed, 21 Mar 2012 22:02:35 GMT
|
31
|
+
set-cookie:
|
32
|
+
- sUniqueID=20120321220235-201.229.129.45-mfpv2250vb; expires=Tue, 22-Mar-2022 02:02:35 GMT; path=/; secure; HttpOnly
|
33
|
+
server:
|
34
|
+
- Microsoft-IIS/6.0
|
35
|
+
body: <?xml version="1.0" encoding="UTF-8"?><response><projects><project><ixProject>2</ixProject><sProject><![CDATA[Inbox]]></sProject><ixPersonOwner>2</ixPersonOwner><sPersonOwner><![CDATA[Ramon Martinez]]></sPersonOwner><sEmail><![CDATA[rafael@hybridgroup.com]]></sEmail><sPhone></sPhone><fInbox>true</fInbox><ixWorkflow>1</ixWorkflow><fDeleted>false</fDeleted></project><project><ixProject>1</ixProject><sProject><![CDATA[Sample Project]]></sProject><ixPersonOwner>2</ixPersonOwner><sPersonOwner><![CDATA[Ramon Martinez]]></sPersonOwner><sEmail><![CDATA[rafael@hybridgroup.com]]></sEmail><sPhone></sPhone><fInbox>false</fInbox><ixWorkflow>1</ixWorkflow><fDeleted>false</fDeleted></project></projects></response>
|
36
|
+
http_version: "1.1"
|
@@ -0,0 +1,36 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :get
|
5
|
+
uri: https://ticketrb.fogbugz.com:443/api.asp?cmd=listProjects&token=26jgegikmofn27rcd6ql676fso9r22
|
6
|
+
body:
|
7
|
+
headers:
|
8
|
+
content-type:
|
9
|
+
- text/xml
|
10
|
+
response: !ruby/struct:VCR::Response
|
11
|
+
status: !ruby/struct:VCR::ResponseStatus
|
12
|
+
code: 200
|
13
|
+
message: OK
|
14
|
+
headers:
|
15
|
+
etag:
|
16
|
+
- ""
|
17
|
+
x-aspnet-version:
|
18
|
+
- 2.0.50727
|
19
|
+
transfer-encoding:
|
20
|
+
- chunked
|
21
|
+
cache-control:
|
22
|
+
- private
|
23
|
+
content-type:
|
24
|
+
- text/xml;charset=utf-8
|
25
|
+
x-powered-by:
|
26
|
+
- ASP.NET
|
27
|
+
expires:
|
28
|
+
- Tue, 05 Sep 2000 09:00:00 GMT
|
29
|
+
date:
|
30
|
+
- Wed, 21 Mar 2012 22:02:34 GMT
|
31
|
+
set-cookie:
|
32
|
+
- sUniqueID=20120321220234-201.229.129.45-hob3dtbrcd; expires=Tue, 22-Mar-2022 02:02:34 GMT; path=/; secure; HttpOnly
|
33
|
+
server:
|
34
|
+
- Microsoft-IIS/6.0
|
35
|
+
body: <?xml version="1.0" encoding="UTF-8"?><response><projects><project><ixProject>2</ixProject><sProject><![CDATA[Inbox]]></sProject><ixPersonOwner>2</ixPersonOwner><sPersonOwner><![CDATA[Ramon Martinez]]></sPersonOwner><sEmail><![CDATA[rafael@hybridgroup.com]]></sEmail><sPhone></sPhone><fInbox>true</fInbox><ixWorkflow>1</ixWorkflow><fDeleted>false</fDeleted></project><project><ixProject>1</ixProject><sProject><![CDATA[Sample Project]]></sProject><ixPersonOwner>2</ixPersonOwner><sPersonOwner><![CDATA[Ramon Martinez]]></sPersonOwner><sEmail><![CDATA[rafael@hybridgroup.com]]></sEmail><sPhone></sPhone><fInbox>false</fInbox><ixWorkflow>1</ixWorkflow><fDeleted>false</fDeleted></project></projects></response>
|
36
|
+
http_version: "1.1"
|
@@ -0,0 +1,36 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :get
|
5
|
+
uri: https://ticketrb.fogbugz.com:443/api.asp?cmd=listProjects&token=26jgegikmofn27rcd6ql676fso9r22
|
6
|
+
body:
|
7
|
+
headers:
|
8
|
+
content-type:
|
9
|
+
- text/xml
|
10
|
+
response: !ruby/struct:VCR::Response
|
11
|
+
status: !ruby/struct:VCR::ResponseStatus
|
12
|
+
code: 200
|
13
|
+
message: OK
|
14
|
+
headers:
|
15
|
+
etag:
|
16
|
+
- ""
|
17
|
+
x-aspnet-version:
|
18
|
+
- 2.0.50727
|
19
|
+
transfer-encoding:
|
20
|
+
- chunked
|
21
|
+
cache-control:
|
22
|
+
- private
|
23
|
+
content-type:
|
24
|
+
- text/xml;charset=utf-8
|
25
|
+
x-powered-by:
|
26
|
+
- ASP.NET
|
27
|
+
expires:
|
28
|
+
- Tue, 05 Sep 2000 09:00:00 GMT
|
29
|
+
date:
|
30
|
+
- Wed, 21 Mar 2012 22:02:33 GMT
|
31
|
+
set-cookie:
|
32
|
+
- sUniqueID=20120321220233-201.229.129.45-i8uhndb41c; expires=Tue, 22-Mar-2022 02:02:33 GMT; path=/; secure; HttpOnly
|
33
|
+
server:
|
34
|
+
- Microsoft-IIS/6.0
|
35
|
+
body: <?xml version="1.0" encoding="UTF-8"?><response><projects><project><ixProject>2</ixProject><sProject><![CDATA[Inbox]]></sProject><ixPersonOwner>2</ixPersonOwner><sPersonOwner><![CDATA[Ramon Martinez]]></sPersonOwner><sEmail><![CDATA[rafael@hybridgroup.com]]></sEmail><sPhone></sPhone><fInbox>true</fInbox><ixWorkflow>1</ixWorkflow><fDeleted>false</fDeleted></project><project><ixProject>1</ixProject><sProject><![CDATA[Sample Project]]></sProject><ixPersonOwner>2</ixPersonOwner><sPersonOwner><![CDATA[Ramon Martinez]]></sPersonOwner><sEmail><![CDATA[rafael@hybridgroup.com]]></sEmail><sPhone></sPhone><fInbox>false</fInbox><ixWorkflow>1</ixWorkflow><fDeleted>false</fDeleted></project></projects></response>
|
36
|
+
http_version: "1.1"
|
@@ -0,0 +1,36 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :get
|
5
|
+
uri: https://ticketrb.fogbugz.com:443/api.asp?cmd=edit&ixBug=1&sTitle=updated&token=26jgegikmofn27rcd6ql676fso9r22
|
6
|
+
body:
|
7
|
+
headers:
|
8
|
+
content-type:
|
9
|
+
- text/xml
|
10
|
+
response: !ruby/struct:VCR::Response
|
11
|
+
status: !ruby/struct:VCR::ResponseStatus
|
12
|
+
code: 200
|
13
|
+
message: OK
|
14
|
+
headers:
|
15
|
+
set-cookie:
|
16
|
+
- sUniqueID=20120419154527-190.166.7.121-73sn3rn18n; expires=Tue, 19-Apr-2022 19:45:27 GMT; path=/; secure; HttpOnly
|
17
|
+
expires:
|
18
|
+
- Tue, 05 Sep 2000 09:00:00 GMT
|
19
|
+
server:
|
20
|
+
- Microsoft-IIS/6.0
|
21
|
+
cache-control:
|
22
|
+
- private
|
23
|
+
content-type:
|
24
|
+
- text/xml;charset=utf-8
|
25
|
+
etag:
|
26
|
+
- ""
|
27
|
+
transfer-encoding:
|
28
|
+
- chunked
|
29
|
+
x-aspnet-version:
|
30
|
+
- 2.0.50727
|
31
|
+
date:
|
32
|
+
- Thu, 19 Apr 2012 15:45:27 GMT
|
33
|
+
x-powered-by:
|
34
|
+
- ASP.NET
|
35
|
+
body: <?xml version="1.0" encoding="UTF-8"?><response><case ixBug="1" operations="edit,assign,resolve,email,remind"></case></response>
|
36
|
+
http_version: "1.1"
|