taskmapper-bugzilla 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.rbenv-gemsets +1 -0
- data/.rbenv-version +1 -0
- data/.rvmrc +1 -0
- data/.travis.yml +4 -0
- data/Gemfile +17 -0
- data/Gemfile.lock +56 -0
- data/LICENSE +22 -0
- data/README.md +80 -0
- data/Rakefile +41 -0
- data/VERSION +1 -0
- data/lib/provider/bugzilla.rb +46 -0
- data/lib/provider/comment.rb +69 -0
- data/lib/provider/project.rb +64 -0
- data/lib/provider/ticket.rb +118 -0
- data/lib/taskmapper-bugzilla.rb +35 -0
- data/spec/comments_spec.rb +32 -0
- data/spec/fixtures/vcr_cassettes/comments-all.yml +127 -0
- data/spec/fixtures/vcr_cassettes/comments-by-array.yml +124 -0
- data/spec/fixtures/vcr_cassettes/comments-by-id.yml +124 -0
- data/spec/fixtures/vcr_cassettes/create-a-ticket.yml +342 -0
- data/spec/fixtures/vcr_cassettes/init-tm-for-comments.yml +37 -0
- data/spec/fixtures/vcr_cassettes/load-all-projects.yml +256 -0
- data/spec/fixtures/vcr_cassettes/load-all-tickets.yml +271 -0
- data/spec/fixtures/vcr_cassettes/load-by-attributes.yml +271 -0
- data/spec/fixtures/vcr_cassettes/load-by-id.yml +89 -0
- data/spec/fixtures/vcr_cassettes/load-tickets-by-ids.yml +89 -0
- data/spec/fixtures/vcr_cassettes/loading-a-project.yml +38 -0
- data/spec/fixtures/vcr_cassettes/project-by-attributes.yml +256 -0
- data/spec/fixtures/vcr_cassettes/project-by-find-method.yml +42 -0
- data/spec/fixtures/vcr_cassettes/project-by-find-with-ids.yml +256 -0
- data/spec/fixtures/vcr_cassettes/project-for-comment.yml +38 -0
- data/spec/fixtures/vcr_cassettes/project-initialization.yml +37 -0
- data/spec/fixtures/vcr_cassettes/projects-by-id.yml +42 -0
- data/spec/fixtures/vcr_cassettes/projects-by-ids.yml +112 -0
- data/spec/fixtures/vcr_cassettes/taskmapper-instance.yml +37 -0
- data/spec/fixtures/vcr_cassettes/ticket-by-attribute.yml +35 -0
- data/spec/fixtures/vcr_cassettes/ticket-for-comment.yml +89 -0
- data/spec/fixtures/vcr_cassettes/ticketmaster-instance.yml +37 -0
- data/spec/fixtures/vcr_cassettes/tm-authentication.yml +37 -0
- data/spec/projects_spec.rb +40 -0
- data/spec/spec.opts +1 -0
- data/spec/spec_helper.rb +13 -0
- data/spec/taskmapper-bugzilla_spec.rb +18 -0
- data/spec/tickets_spec.rb +44 -0
- data/spec/vcr_setup.rb +7 -0
- data/taskmapper-bugzilla.gemspec +105 -0
- metadata +180 -0
@@ -0,0 +1,38 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :post
|
5
|
+
uri: https://landfill.bugzilla.org:443/bugzilla-3.6-branch/xmlrpc.cgi
|
6
|
+
body: !!null
|
7
|
+
headers:
|
8
|
+
user-agent:
|
9
|
+
- XMLRPC::Client (Ruby 1.9.2)
|
10
|
+
content-type:
|
11
|
+
- text/xml; charset=utf-8
|
12
|
+
content-length:
|
13
|
+
- '259'
|
14
|
+
connection:
|
15
|
+
- keep-alive
|
16
|
+
cookie:
|
17
|
+
- Bugzilla_login=40167; Bugzilla_logincookie=RUp9Emcl6n
|
18
|
+
response: !ruby/struct:VCR::Response
|
19
|
+
status: !ruby/struct:VCR::ResponseStatus
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
date:
|
24
|
+
- Mon, 14 May 2012 21:37:16 GMT
|
25
|
+
server:
|
26
|
+
- Apache/2.2.3 (CentOS)
|
27
|
+
soapserver:
|
28
|
+
- SOAP::Lite/Perl/0.712
|
29
|
+
content-length:
|
30
|
+
- '1307'
|
31
|
+
content-type:
|
32
|
+
- text/xml
|
33
|
+
body: <?xml version="1.0" encoding="UTF-8"?><methodResponse><params><param><value><struct><member><name>products</name><value><array><data><value><struct><member><name>internals</name><value><struct><member><name>defaultmilestone</name><value><string>---</string></value></member><member><name>allows_unconfirmed</name><value><int>0</int></value></member><member><name>votesperuser</name><value><int>0</int></value></member><member><name>name</name><value><string>LJL
|
34
|
+
Test Product</string></value></member><member><name>maxvotesperbug</name><value><int>10000</int></value></member><member><name>classification_id</name><value><int>1</int></value></member><member><name>description</name><value><string>Test
|
35
|
+
product description</string></value></member><member><name>votestoconfirm</name><value><int>0</int></value></member><member><name>isactive</name><value><int>1</int></value></member><member><name>id</name><value><int>20</int></value></member></struct></value></member><member><name>name</name><value><string>LJL
|
36
|
+
Test Product</string></value></member><member><name>id</name><value><int>20</int></value></member><member><name>description</name><value><string>Test
|
37
|
+
product description</string></value></member></struct></value></data></array></value></member></struct></value></param></params></methodResponse>
|
38
|
+
http_version: '1.1'
|
@@ -0,0 +1,37 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :post
|
5
|
+
uri: https://landfill.bugzilla.org:443/bugzilla-3.6-branch/xmlrpc.cgi
|
6
|
+
body: !!null
|
7
|
+
headers:
|
8
|
+
user-agent:
|
9
|
+
- XMLRPC::Client (Ruby 1.9.2)
|
10
|
+
content-type:
|
11
|
+
- text/xml; charset=utf-8
|
12
|
+
content-length:
|
13
|
+
- '376'
|
14
|
+
connection:
|
15
|
+
- keep-alive
|
16
|
+
response: !ruby/struct:VCR::Response
|
17
|
+
status: !ruby/struct:VCR::ResponseStatus
|
18
|
+
code: 200
|
19
|
+
message: OK
|
20
|
+
headers:
|
21
|
+
date:
|
22
|
+
- Mon, 14 May 2012 21:37:42 GMT
|
23
|
+
server:
|
24
|
+
- Apache/2.2.3 (CentOS)
|
25
|
+
soapserver:
|
26
|
+
- SOAP::Lite/Perl/0.712
|
27
|
+
set-cookie:
|
28
|
+
- Bugzilla_login=40167; path=/bugzilla-3.6-branch/; expires=Fri, 01-Jan-2038
|
29
|
+
00:00:00 GMT; secure; HttpOnly
|
30
|
+
- Bugzilla_logincookie=NFFudkd9GW; path=/bugzilla-3.6-branch/; expires=Fri,
|
31
|
+
01-Jan-2038 00:00:00 GMT; secure; HttpOnly
|
32
|
+
content-length:
|
33
|
+
- '198'
|
34
|
+
content-type:
|
35
|
+
- text/xml
|
36
|
+
body: <?xml version="1.0" encoding="UTF-8"?><methodResponse><params><param><value><struct><member><name>id</name><value><int>40167</int></value></member></struct></value></param></params></methodResponse>
|
37
|
+
http_version: '1.1'
|
@@ -0,0 +1,42 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :post
|
5
|
+
uri: https://landfill.bugzilla.org:443/bugzilla-3.6-branch/xmlrpc.cgi
|
6
|
+
body: !!null
|
7
|
+
headers:
|
8
|
+
user-agent:
|
9
|
+
- XMLRPC::Client (Ruby 1.9.2)
|
10
|
+
content-type:
|
11
|
+
- text/xml; charset=utf-8
|
12
|
+
content-length:
|
13
|
+
- '258'
|
14
|
+
connection:
|
15
|
+
- keep-alive
|
16
|
+
cookie:
|
17
|
+
- Bugzilla_login=40167; Bugzilla_logincookie=RVVYqPdq5x
|
18
|
+
response: !ruby/struct:VCR::Response
|
19
|
+
status: !ruby/struct:VCR::ResponseStatus
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
date:
|
24
|
+
- Mon, 14 May 2012 21:37:40 GMT
|
25
|
+
server:
|
26
|
+
- Apache/2.2.3 (CentOS)
|
27
|
+
soapserver:
|
28
|
+
- SOAP::Lite/Perl/0.712
|
29
|
+
content-length:
|
30
|
+
- '1644'
|
31
|
+
content-type:
|
32
|
+
- text/xml
|
33
|
+
body: ! '<?xml version="1.0" encoding="UTF-8"?><methodResponse><params><param><value><struct><member><name>products</name><value><array><data><value><struct><member><name>internals</name><value><struct><member><name>defaultmilestone</name><value><string>---</string></value></member><member><name>allows_unconfirmed</name><value><int>0</int></value></member><member><name>votesperuser</name><value><int>1000</int></value></member><member><name>name</name><value><string>WorldControl</string></value></member><member><name>maxvotesperbug</name><value><int>1</int></value></member><member><name>classification_id</name><value><int>2</int></value></member><member><name>description</name><value><string>A
|
34
|
+
small little program for controlling the world. Can be used
|
35
|
+
|
36
|
+
for good or for evil. Sub-components can be created using the WorldControl API
|
37
|
+
to extend control into almost any aspect of reality.</string></value></member><member><name>votestoconfirm</name><value><int>0</int></value></member><member><name>isactive</name><value><int>1</int></value></member><member><name>id</name><value><int>1</int></value></member></struct></value></member><member><name>name</name><value><string>WorldControl</string></value></member><member><name>id</name><value><int>1</int></value></member><member><name>description</name><value><string>A
|
38
|
+
small little program for controlling the world. Can be used
|
39
|
+
|
40
|
+
for good or for evil. Sub-components can be created using the WorldControl API
|
41
|
+
to extend control into almost any aspect of reality.</string></value></member></struct></value></data></array></value></member></struct></value></param></params></methodResponse>'
|
42
|
+
http_version: '1.1'
|
@@ -0,0 +1,112 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :post
|
5
|
+
uri: https://landfill.bugzilla.org:443/bugzilla-3.6-branch/xmlrpc.cgi
|
6
|
+
body: !!null
|
7
|
+
headers:
|
8
|
+
user-agent:
|
9
|
+
- XMLRPC::Client (Ruby 1.9.2)
|
10
|
+
content-type:
|
11
|
+
- text/xml; charset=utf-8
|
12
|
+
content-length:
|
13
|
+
- '258'
|
14
|
+
connection:
|
15
|
+
- keep-alive
|
16
|
+
cookie:
|
17
|
+
- Bugzilla_login=40167; Bugzilla_logincookie=QvtsNynLdt
|
18
|
+
response: !ruby/struct:VCR::Response
|
19
|
+
status: !ruby/struct:VCR::ResponseStatus
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
date:
|
24
|
+
- Mon, 14 May 2012 21:37:35 GMT
|
25
|
+
server:
|
26
|
+
- Apache/2.2.3 (CentOS)
|
27
|
+
soapserver:
|
28
|
+
- SOAP::Lite/Perl/0.712
|
29
|
+
content-length:
|
30
|
+
- '1644'
|
31
|
+
content-type:
|
32
|
+
- text/xml
|
33
|
+
body: ! '<?xml version="1.0" encoding="UTF-8"?><methodResponse><params><param><value><struct><member><name>products</name><value><array><data><value><struct><member><name>internals</name><value><struct><member><name>defaultmilestone</name><value><string>---</string></value></member><member><name>allows_unconfirmed</name><value><int>0</int></value></member><member><name>votesperuser</name><value><int>1000</int></value></member><member><name>name</name><value><string>WorldControl</string></value></member><member><name>maxvotesperbug</name><value><int>1</int></value></member><member><name>classification_id</name><value><int>2</int></value></member><member><name>description</name><value><string>A
|
34
|
+
small little program for controlling the world. Can be used
|
35
|
+
|
36
|
+
for good or for evil. Sub-components can be created using the WorldControl API
|
37
|
+
to extend control into almost any aspect of reality.</string></value></member><member><name>votestoconfirm</name><value><int>0</int></value></member><member><name>isactive</name><value><int>1</int></value></member><member><name>id</name><value><int>1</int></value></member></struct></value></member><member><name>name</name><value><string>WorldControl</string></value></member><member><name>id</name><value><int>1</int></value></member><member><name>description</name><value><string>A
|
38
|
+
small little program for controlling the world. Can be used
|
39
|
+
|
40
|
+
for good or for evil. Sub-components can be created using the WorldControl API
|
41
|
+
to extend control into almost any aspect of reality.</string></value></member></struct></value></data></array></value></member></struct></value></param></params></methodResponse>'
|
42
|
+
http_version: '1.1'
|
43
|
+
- !ruby/struct:VCR::HTTPInteraction
|
44
|
+
request: !ruby/struct:VCR::Request
|
45
|
+
method: :post
|
46
|
+
uri: https://landfill.bugzilla.org:443/bugzilla-3.6-branch/xmlrpc.cgi
|
47
|
+
body: !!null
|
48
|
+
headers:
|
49
|
+
user-agent:
|
50
|
+
- XMLRPC::Client (Ruby 1.9.2)
|
51
|
+
content-type:
|
52
|
+
- text/xml; charset=utf-8
|
53
|
+
content-length:
|
54
|
+
- '258'
|
55
|
+
connection:
|
56
|
+
- keep-alive
|
57
|
+
cookie:
|
58
|
+
- Bugzilla_login=40167; Bugzilla_logincookie=QvtsNynLdt
|
59
|
+
response: !ruby/struct:VCR::Response
|
60
|
+
status: !ruby/struct:VCR::ResponseStatus
|
61
|
+
code: 200
|
62
|
+
message: OK
|
63
|
+
headers:
|
64
|
+
date:
|
65
|
+
- Mon, 14 May 2012 21:37:36 GMT
|
66
|
+
server:
|
67
|
+
- Apache/2.2.3 (CentOS)
|
68
|
+
soapserver:
|
69
|
+
- SOAP::Lite/Perl/0.712
|
70
|
+
content-length:
|
71
|
+
- '1451'
|
72
|
+
content-type:
|
73
|
+
- text/xml
|
74
|
+
body: <?xml version="1.0" encoding="UTF-8"?><methodResponse><params><param><value><struct><member><name>products</name><value><array><data><value><struct><member><name>internals</name><value><struct><member><name>defaultmilestone</name><value><string>---</string></value></member><member><name>allows_unconfirmed</name><value><int>1</int></value></member><member><name>votesperuser</name><value><int>5</int></value></member><member><name>name</name><value><string>FoodReplicator</string></value></member><member><name>maxvotesperbug</name><value><int>999</int></value></member><member><name>classification_id</name><value><int>1</int></value></member><member><name>description</name><value><string>Software
|
75
|
+
that controls a piece of hardware that will create any food item through a voice
|
76
|
+
interface.</string></value></member><member><name>votestoconfirm</name><value><int>2</int></value></member><member><name>isactive</name><value><int>1</int></value></member><member><name>id</name><value><int>2</int></value></member></struct></value></member><member><name>name</name><value><string>FoodReplicator</string></value></member><member><name>id</name><value><int>2</int></value></member><member><name>description</name><value><string>Software
|
77
|
+
that controls a piece of hardware that will create any food item through a voice
|
78
|
+
interface.</string></value></member></struct></value></data></array></value></member></struct></value></param></params></methodResponse>
|
79
|
+
http_version: '1.1'
|
80
|
+
- !ruby/struct:VCR::HTTPInteraction
|
81
|
+
request: !ruby/struct:VCR::Request
|
82
|
+
method: :post
|
83
|
+
uri: https://landfill.bugzilla.org:443/bugzilla-3.6-branch/xmlrpc.cgi
|
84
|
+
body: !!null
|
85
|
+
headers:
|
86
|
+
user-agent:
|
87
|
+
- XMLRPC::Client (Ruby 1.9.2)
|
88
|
+
content-type:
|
89
|
+
- text/xml; charset=utf-8
|
90
|
+
content-length:
|
91
|
+
- '258'
|
92
|
+
connection:
|
93
|
+
- keep-alive
|
94
|
+
cookie:
|
95
|
+
- Bugzilla_login=40167; Bugzilla_logincookie=QvtsNynLdt
|
96
|
+
response: !ruby/struct:VCR::Response
|
97
|
+
status: !ruby/struct:VCR::ResponseStatus
|
98
|
+
code: 200
|
99
|
+
message: OK
|
100
|
+
headers:
|
101
|
+
date:
|
102
|
+
- Mon, 14 May 2012 21:37:38 GMT
|
103
|
+
server:
|
104
|
+
- Apache/2.2.3 (CentOS)
|
105
|
+
soapserver:
|
106
|
+
- SOAP::Lite/Perl/0.712
|
107
|
+
content-length:
|
108
|
+
- '1257'
|
109
|
+
content-type:
|
110
|
+
- text/xml
|
111
|
+
body: <?xml version="1.0" encoding="UTF-8"?><methodResponse><params><param><value><struct><member><name>products</name><value><array><data><value><struct><member><name>internals</name><value><struct><member><name>defaultmilestone</name><value><string>---</string></value></member><member><name>allows_unconfirmed</name><value><int>0</int></value></member><member><name>votesperuser</name><value><int>0</int></value></member><member><name>name</name><value><string>MyOwnBadSelf</string></value></member><member><name>maxvotesperbug</name><value><int>10000</int></value></member><member><name>classification_id</name><value><int>2</int></value></member><member><name>description</name><value><string>feh.</string></value></member><member><name>votestoconfirm</name><value><int>0</int></value></member><member><name>isactive</name><value><int>1</int></value></member><member><name>id</name><value><int>3</int></value></member></struct></value></member><member><name>name</name><value><string>MyOwnBadSelf</string></value></member><member><name>id</name><value><int>3</int></value></member><member><name>description</name><value><string>feh.</string></value></member></struct></value></data></array></value></member></struct></value></param></params></methodResponse>
|
112
|
+
http_version: '1.1'
|
@@ -0,0 +1,37 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :post
|
5
|
+
uri: https://landfill.bugzilla.org:443/bugzilla-3.6-branch/xmlrpc.cgi
|
6
|
+
body: !!null
|
7
|
+
headers:
|
8
|
+
user-agent:
|
9
|
+
- XMLRPC::Client (Ruby 1.9.2)
|
10
|
+
content-type:
|
11
|
+
- text/xml; charset=utf-8
|
12
|
+
content-length:
|
13
|
+
- '376'
|
14
|
+
connection:
|
15
|
+
- keep-alive
|
16
|
+
response: !ruby/struct:VCR::Response
|
17
|
+
status: !ruby/struct:VCR::ResponseStatus
|
18
|
+
code: 200
|
19
|
+
message: OK
|
20
|
+
headers:
|
21
|
+
date:
|
22
|
+
- Mon, 14 May 2012 21:36:37 GMT
|
23
|
+
server:
|
24
|
+
- Apache/2.2.3 (CentOS)
|
25
|
+
soapserver:
|
26
|
+
- SOAP::Lite/Perl/0.712
|
27
|
+
set-cookie:
|
28
|
+
- Bugzilla_login=40167; path=/bugzilla-3.6-branch/; expires=Fri, 01-Jan-2038
|
29
|
+
00:00:00 GMT; secure; HttpOnly
|
30
|
+
- Bugzilla_logincookie=5N2uarMmYI; path=/bugzilla-3.6-branch/; expires=Fri,
|
31
|
+
01-Jan-2038 00:00:00 GMT; secure; HttpOnly
|
32
|
+
content-length:
|
33
|
+
- '198'
|
34
|
+
content-type:
|
35
|
+
- text/xml
|
36
|
+
body: <?xml version="1.0" encoding="UTF-8"?><methodResponse><params><param><value><struct><member><name>id</name><value><int>40167</int></value></member></struct></value></param></params></methodResponse>
|
37
|
+
http_version: '1.1'
|
@@ -0,0 +1,35 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :post
|
5
|
+
uri: https://landfill.bugzilla.org:443/bugzilla-3.6-branch/xmlrpc.cgi
|
6
|
+
body:
|
7
|
+
headers:
|
8
|
+
user-agent:
|
9
|
+
- XMLRPC::Client (Ruby 1.9.3)
|
10
|
+
content-type:
|
11
|
+
- text/xml; charset=utf-8
|
12
|
+
content-length:
|
13
|
+
- '323'
|
14
|
+
connection:
|
15
|
+
- keep-alive
|
16
|
+
cookie:
|
17
|
+
- Bugzilla_login=40167; Bugzilla_logincookie=7ptWpBTrQn
|
18
|
+
response: !ruby/struct:VCR::Response
|
19
|
+
status: !ruby/struct:VCR::ResponseStatus
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
date:
|
24
|
+
- Tue, 07 Feb 2012 00:43:35 GMT
|
25
|
+
server:
|
26
|
+
- Apache/2.2.3 (CentOS)
|
27
|
+
soapserver:
|
28
|
+
- SOAP::Lite/Perl/0.712
|
29
|
+
content-length:
|
30
|
+
- '317'
|
31
|
+
content-type:
|
32
|
+
- text/xml
|
33
|
+
body: <?xml version="1.0" encoding="UTF-8"?><methodResponse><fault><value><struct><member><name>faultString</name><value><string>Bad
|
34
|
+
argument param sent to Bugzilla::Bug::new function.</string></value></member><member><name>faultCode</name><value><int>-32000</int></value></member></struct></value></fault></methodResponse>
|
35
|
+
http_version: '1.1'
|
@@ -0,0 +1,89 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :post
|
5
|
+
uri: https://landfill.bugzilla.org:443/bugzilla-3.6-branch/xmlrpc.cgi
|
6
|
+
body: !!null
|
7
|
+
headers:
|
8
|
+
user-agent:
|
9
|
+
- XMLRPC::Client (Ruby 1.9.2)
|
10
|
+
content-type:
|
11
|
+
- text/xml; charset=utf-8
|
12
|
+
content-length:
|
13
|
+
- '253'
|
14
|
+
connection:
|
15
|
+
- keep-alive
|
16
|
+
cookie:
|
17
|
+
- Bugzilla_login=40167; Bugzilla_logincookie=RUp9Emcl6n
|
18
|
+
response: !ruby/struct:VCR::Response
|
19
|
+
status: !ruby/struct:VCR::ResponseStatus
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
date:
|
24
|
+
- Mon, 14 May 2012 21:37:18 GMT
|
25
|
+
server:
|
26
|
+
- Apache/2.2.3 (CentOS)
|
27
|
+
soapserver:
|
28
|
+
- SOAP::Lite/Perl/0.712
|
29
|
+
content-length:
|
30
|
+
- '4764'
|
31
|
+
content-type:
|
32
|
+
- text/xml
|
33
|
+
body: <?xml version="1.0" encoding="UTF-8"?><methodResponse><params><param><value><struct><member><name>faults</name><value><array><data
|
34
|
+
/></array></value></member><member><name>bugs</name><value><array><data><value><struct><member><name>priority</name><value><string>P1</string></value></member><member><name>status</name><value><string>NEW</string></value></member><member><name>last_change_time</name><value><dateTime.iso8601>20100202T07:25:13</dateTime.iso8601></value></member><member><name>component</name><value><string>EconomicControl</string></value></member><member><name>summary</name><value><string>Test
|
35
|
+
case for iTest</string></value></member><member><name>internals</name><value><struct><member><name>priority</name><value><string>P1</string></value></member><member><name>bug_id</name><value><int>7039</int></value></member><member><name>cclist_accessible</name><value><int>1</int></value></member><member><name>cf_drop_down</name><value><string>Option
|
36
|
+
1</string></value></member><member><name>assigned_to</name><value><int>32864</int></value></member><member><name>short_desc</name><value><string>Test
|
37
|
+
case for iTest</string></value></member><member><name>everconfirmed</name><value><int>1</int></value></member><member><name>bug_severity</name><value><string>critical</string></value></member><member><name>reporter_id</name><value><int>32952</int></value></member><member><name>estimated_time</name><value><double>0.00</double></value></member><member><name>remaining_time</name><value><double>0.00</double></value></member><member><name>cf_large_text</name><value><string
|
38
|
+
/></value></member><member><name>cf_free_text</name><value><string /></value></member><member><name>resolution</name><value><string
|
39
|
+
/></value></member><member><name>reporter_accessible</name><value><int>1</int></value></member><member><name>op_sys</name><value><string>Windows
|
40
|
+
XP</string></value></member><member><name>status</name><value><struct><member><name>sortkey</name><value><int>200</int></value></member><member><name>value</name><value><string>NEW</string></value></member><member><name>is_open</name><value><int>1</int></value></member><member><name>isactive</name><value><int>1</int></value></member><member><name>id</name><value><int>2</int></value></member></struct></value></member><member><name>_multi_selects</name><value><array><data><value><struct><member><name>mailhead</name><value><int>1</int></value></member><member><name>sortkey</name><value><int>551</int></value></member><member><name>custom</name><value><int>1</int></value></member><member><name>name</name><value><string>cf_mulitple_select</string></value></member><member><name>description</name><value><string>A
|
41
|
+
multiple-select box</string></value></member><member><name>buglist</name><value><int>0</int></value></member><member><name>obsolete</name><value><int>0</int></value></member><member><name>enter_bug</name><value><int>1</int></value></member><member><name>id</name><value><int>61</int></value></member><member><name>type</name><value><int>3</int></value></member></struct></value></data></array></value></member><member><name>bug_file_loc</name><value><string
|
42
|
+
/></value></member><member><name>product_id</name><value><int>1</int></value></member><member><name>rep_platform</name><value><string>PC</string></value></member><member><name>creation_ts</name><value><string>2008.09.29
|
43
|
+
13:33</string></value></member><member><name>status_whiteboard</name><value><string
|
44
|
+
/></value></member><member><name>bug_status</name><value><string>NEW</string></value></member><member><name>delta_ts</name><value><string>2010-02-01
|
45
|
+
23:25:13</string></value></member><member><name>version</name><value><double>1.0</double></value></member><member><name>component_id</name><value><int>2</int></value></member><member><name>component</name><value><string>EconomicControl</string></value></member><member><name>target_milestone</name><value><string>---</string></value></member><member><name>product</name><value><string>WorldControl</string></value></member></struct></value></member><member><name>is_open</name><value><boolean>1</boolean></value></member><member><name>assigned_to</name><value><string>bugzilla@cristilio.com</string></value></member><member><name>resolution</name><value><string
|
46
|
+
/></value></member><member><name>product</name><value><string>WorldControl</string></value></member><member><name>creation_time</name><value><dateTime.iso8601>20080929T20:33:00</dateTime.iso8601></value></member><member><name>id</name><value><int>7039</int></value></member><member><name>alias</name><value><string
|
47
|
+
/></value></member><member><name>severity</name><value><string>critical</string></value></member></struct></value></data></array></value></member></struct></value></param></params></methodResponse>
|
48
|
+
http_version: '1.1'
|
49
|
+
- !ruby/struct:VCR::HTTPInteraction
|
50
|
+
request: !ruby/struct:VCR::Request
|
51
|
+
method: :post
|
52
|
+
uri: https://landfill.bugzilla.org:443/bugzilla-3.6-branch/xmlrpc.cgi
|
53
|
+
body: !!null
|
54
|
+
headers:
|
55
|
+
user-agent:
|
56
|
+
- XMLRPC::Client (Ruby 1.9.2)
|
57
|
+
content-type:
|
58
|
+
- text/xml; charset=utf-8
|
59
|
+
content-length:
|
60
|
+
- '258'
|
61
|
+
connection:
|
62
|
+
- keep-alive
|
63
|
+
cookie:
|
64
|
+
- Bugzilla_login=40167; Bugzilla_logincookie=RUp9Emcl6n
|
65
|
+
response: !ruby/struct:VCR::Response
|
66
|
+
status: !ruby/struct:VCR::ResponseStatus
|
67
|
+
code: 200
|
68
|
+
message: OK
|
69
|
+
headers:
|
70
|
+
date:
|
71
|
+
- Mon, 14 May 2012 21:37:19 GMT
|
72
|
+
server:
|
73
|
+
- Apache/2.2.3 (CentOS)
|
74
|
+
soapserver:
|
75
|
+
- SOAP::Lite/Perl/0.712
|
76
|
+
content-length:
|
77
|
+
- '1644'
|
78
|
+
content-type:
|
79
|
+
- text/xml
|
80
|
+
body: ! '<?xml version="1.0" encoding="UTF-8"?><methodResponse><params><param><value><struct><member><name>products</name><value><array><data><value><struct><member><name>internals</name><value><struct><member><name>defaultmilestone</name><value><string>---</string></value></member><member><name>allows_unconfirmed</name><value><int>0</int></value></member><member><name>votesperuser</name><value><int>1000</int></value></member><member><name>name</name><value><string>WorldControl</string></value></member><member><name>maxvotesperbug</name><value><int>1</int></value></member><member><name>classification_id</name><value><int>2</int></value></member><member><name>description</name><value><string>A
|
81
|
+
small little program for controlling the world. Can be used
|
82
|
+
|
83
|
+
for good or for evil. Sub-components can be created using the WorldControl API
|
84
|
+
to extend control into almost any aspect of reality.</string></value></member><member><name>votestoconfirm</name><value><int>0</int></value></member><member><name>isactive</name><value><int>1</int></value></member><member><name>id</name><value><int>1</int></value></member></struct></value></member><member><name>name</name><value><string>WorldControl</string></value></member><member><name>id</name><value><int>1</int></value></member><member><name>description</name><value><string>A
|
85
|
+
small little program for controlling the world. Can be used
|
86
|
+
|
87
|
+
for good or for evil. Sub-components can be created using the WorldControl API
|
88
|
+
to extend control into almost any aspect of reality.</string></value></member></struct></value></data></array></value></member></struct></value></param></params></methodResponse>'
|
89
|
+
http_version: '1.1'
|
@@ -0,0 +1,37 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :post
|
5
|
+
uri: https://landfill.bugzilla.org:443/bugzilla-3.6-branch/xmlrpc.cgi
|
6
|
+
body:
|
7
|
+
headers:
|
8
|
+
user-agent:
|
9
|
+
- XMLRPC::Client (Ruby 1.9.3)
|
10
|
+
content-type:
|
11
|
+
- text/xml; charset=utf-8
|
12
|
+
content-length:
|
13
|
+
- '376'
|
14
|
+
connection:
|
15
|
+
- keep-alive
|
16
|
+
response: !ruby/struct:VCR::Response
|
17
|
+
status: !ruby/struct:VCR::ResponseStatus
|
18
|
+
code: 200
|
19
|
+
message: OK
|
20
|
+
headers:
|
21
|
+
date:
|
22
|
+
- Tue, 07 Feb 2012 00:19:48 GMT
|
23
|
+
server:
|
24
|
+
- Apache/2.2.3 (CentOS)
|
25
|
+
soapserver:
|
26
|
+
- SOAP::Lite/Perl/0.712
|
27
|
+
set-cookie:
|
28
|
+
- Bugzilla_login=40167; path=/bugzilla-3.6-branch/; expires=Fri, 01-Jan-2038
|
29
|
+
00:00:00 GMT; secure; HttpOnly
|
30
|
+
- Bugzilla_logincookie=7ptWpBTrQn; path=/bugzilla-3.6-branch/; expires=Fri,
|
31
|
+
01-Jan-2038 00:00:00 GMT; secure; HttpOnly
|
32
|
+
content-length:
|
33
|
+
- '198'
|
34
|
+
content-type:
|
35
|
+
- text/xml
|
36
|
+
body: <?xml version="1.0" encoding="UTF-8"?><methodResponse><params><param><value><struct><member><name>id</name><value><int>40167</int></value></member></struct></value></param></params></methodResponse>
|
37
|
+
http_version: '1.1'
|
@@ -0,0 +1,37 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :post
|
5
|
+
uri: https://landfill.bugzilla.org:443/bugzilla-3.6-branch/xmlrpc.cgi
|
6
|
+
body: !!null
|
7
|
+
headers:
|
8
|
+
user-agent:
|
9
|
+
- XMLRPC::Client (Ruby 1.9.2)
|
10
|
+
content-type:
|
11
|
+
- text/xml; charset=utf-8
|
12
|
+
content-length:
|
13
|
+
- '376'
|
14
|
+
connection:
|
15
|
+
- keep-alive
|
16
|
+
response: !ruby/struct:VCR::Response
|
17
|
+
status: !ruby/struct:VCR::ResponseStatus
|
18
|
+
code: 200
|
19
|
+
message: OK
|
20
|
+
headers:
|
21
|
+
date:
|
22
|
+
- Mon, 14 May 2012 21:36:56 GMT
|
23
|
+
server:
|
24
|
+
- Apache/2.2.3 (CentOS)
|
25
|
+
soapserver:
|
26
|
+
- SOAP::Lite/Perl/0.712
|
27
|
+
set-cookie:
|
28
|
+
- Bugzilla_login=40167; path=/bugzilla-3.6-branch/; expires=Fri, 01-Jan-2038
|
29
|
+
00:00:00 GMT; secure; HttpOnly
|
30
|
+
- Bugzilla_logincookie=Ggy52ws0qx; path=/bugzilla-3.6-branch/; expires=Fri,
|
31
|
+
01-Jan-2038 00:00:00 GMT; secure; HttpOnly
|
32
|
+
content-length:
|
33
|
+
- '198'
|
34
|
+
content-type:
|
35
|
+
- text/xml
|
36
|
+
body: <?xml version="1.0" encoding="UTF-8"?><methodResponse><params><param><value><struct><member><name>id</name><value><int>40167</int></value></member></struct></value></param></params></methodResponse>
|
37
|
+
http_version: '1.1'
|