taskmapper-bugzilla 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. data/.rbenv-gemsets +1 -0
  2. data/.rbenv-version +1 -0
  3. data/.rvmrc +1 -0
  4. data/.travis.yml +4 -0
  5. data/Gemfile +17 -0
  6. data/Gemfile.lock +56 -0
  7. data/LICENSE +22 -0
  8. data/README.md +80 -0
  9. data/Rakefile +41 -0
  10. data/VERSION +1 -0
  11. data/lib/provider/bugzilla.rb +46 -0
  12. data/lib/provider/comment.rb +69 -0
  13. data/lib/provider/project.rb +64 -0
  14. data/lib/provider/ticket.rb +118 -0
  15. data/lib/taskmapper-bugzilla.rb +35 -0
  16. data/spec/comments_spec.rb +32 -0
  17. data/spec/fixtures/vcr_cassettes/comments-all.yml +127 -0
  18. data/spec/fixtures/vcr_cassettes/comments-by-array.yml +124 -0
  19. data/spec/fixtures/vcr_cassettes/comments-by-id.yml +124 -0
  20. data/spec/fixtures/vcr_cassettes/create-a-ticket.yml +342 -0
  21. data/spec/fixtures/vcr_cassettes/init-tm-for-comments.yml +37 -0
  22. data/spec/fixtures/vcr_cassettes/load-all-projects.yml +256 -0
  23. data/spec/fixtures/vcr_cassettes/load-all-tickets.yml +271 -0
  24. data/spec/fixtures/vcr_cassettes/load-by-attributes.yml +271 -0
  25. data/spec/fixtures/vcr_cassettes/load-by-id.yml +89 -0
  26. data/spec/fixtures/vcr_cassettes/load-tickets-by-ids.yml +89 -0
  27. data/spec/fixtures/vcr_cassettes/loading-a-project.yml +38 -0
  28. data/spec/fixtures/vcr_cassettes/project-by-attributes.yml +256 -0
  29. data/spec/fixtures/vcr_cassettes/project-by-find-method.yml +42 -0
  30. data/spec/fixtures/vcr_cassettes/project-by-find-with-ids.yml +256 -0
  31. data/spec/fixtures/vcr_cassettes/project-for-comment.yml +38 -0
  32. data/spec/fixtures/vcr_cassettes/project-initialization.yml +37 -0
  33. data/spec/fixtures/vcr_cassettes/projects-by-id.yml +42 -0
  34. data/spec/fixtures/vcr_cassettes/projects-by-ids.yml +112 -0
  35. data/spec/fixtures/vcr_cassettes/taskmapper-instance.yml +37 -0
  36. data/spec/fixtures/vcr_cassettes/ticket-by-attribute.yml +35 -0
  37. data/spec/fixtures/vcr_cassettes/ticket-for-comment.yml +89 -0
  38. data/spec/fixtures/vcr_cassettes/ticketmaster-instance.yml +37 -0
  39. data/spec/fixtures/vcr_cassettes/tm-authentication.yml +37 -0
  40. data/spec/projects_spec.rb +40 -0
  41. data/spec/spec.opts +1 -0
  42. data/spec/spec_helper.rb +13 -0
  43. data/spec/taskmapper-bugzilla_spec.rb +18 -0
  44. data/spec/tickets_spec.rb +44 -0
  45. data/spec/vcr_setup.rb +7 -0
  46. data/taskmapper-bugzilla.gemspec +105 -0
  47. metadata +180 -0
@@ -0,0 +1,271 @@
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=4vP1bzAWnq
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:36:25 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'
39
+ - !ruby/struct:VCR::HTTPInteraction
40
+ request: !ruby/struct:VCR::Request
41
+ method: :post
42
+ uri: https://landfill.bugzilla.org:443/bugzilla-3.6-branch/xmlrpc.cgi
43
+ body: !!null
44
+ headers:
45
+ user-agent:
46
+ - XMLRPC::Client (Ruby 1.9.2)
47
+ content-type:
48
+ - text/xml; charset=utf-8
49
+ content-length:
50
+ - '409'
51
+ connection:
52
+ - keep-alive
53
+ cookie:
54
+ - Bugzilla_login=40167; Bugzilla_logincookie=4vP1bzAWnq
55
+ response: !ruby/struct:VCR::Response
56
+ status: !ruby/struct:VCR::ResponseStatus
57
+ code: 200
58
+ message: OK
59
+ headers:
60
+ date:
61
+ - Mon, 14 May 2012 21:36:27 GMT
62
+ server:
63
+ - Apache/2.2.3 (CentOS)
64
+ soapserver:
65
+ - SOAP::Lite/Perl/0.712
66
+ content-length:
67
+ - '9199'
68
+ content-type:
69
+ - text/xml
70
+ body: <?xml version="1.0" encoding="UTF-8"?><methodResponse><params><param><value><struct><member><name>bugs</name><value><array><data><value><struct><member><name>priority</name><value><string>P3</string></value></member><member><name>status</name><value><string>RESOLVED</string></value></member><member><name>last_change_time</name><value><dateTime.iso8601>20120418T14:55:28</dateTime.iso8601></value></member><member><name>component</name><value><string>Component
71
+ 1</string></value></member><member><name>summary</name><value><string>this is
72
+ a test bug</string></value></member><member><name>internals</name><value><struct><member><name>priority</name><value><string>P3</string></value></member><member><name>bug_id</name><value><int>11912</int></value></member><member><name>cclist_accessible</name><value><int>1</int></value></member><member><name>cf_drop_down</name><value><string>---</string></value></member><member><name>assigned_to</name><value><int>36544</int></value></member><member><name>short_desc</name><value><string>this
73
+ is a test bug</string></value></member><member><name>everconfirmed</name><value><int>1</int></value></member><member><name>bug_severity</name><value><string>normal</string></value></member><member><name>reporter_id</name><value><int>40837</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
74
+ /></value></member><member><name>cf_free_text</name><value><string /></value></member><member><name>resolution</name><value><string>FIXED</string></value></member><member><name>reporter_accessible</name><value><int>1</int></value></member><member><name>op_sys</name><value><string>Mac
75
+ OS X 10.0</string></value></member><member><name>status</name><value><struct><member><name>sortkey</name><value><int>500</int></value></member><member><name>value</name><value><string>RESOLVED</string></value></member><member><name>is_open</name><value><int>0</int></value></member><member><name>isactive</name><value><int>1</int></value></member><member><name>id</name><value><int>5</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
76
+ 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
77
+ /></value></member><member><name>product_id</name><value><int>20</int></value></member><member><name>rep_platform</name><value><string>PC</string></value></member><member><name>creation_ts</name><value><string>2012.04.18
78
+ 07:53</string></value></member><member><name>status_whiteboard</name><value><string
79
+ /></value></member><member><name>bug_status</name><value><string>RESOLVED</string></value></member><member><name>delta_ts</name><value><string>2012-04-18
80
+ 07:55:28</string></value></member><member><name>version</name><value><double>1.0</double></value></member><member><name>component_id</name><value><int>28</int></value></member><member><name>component</name><value><string>Component
81
+ 1</string></value></member><member><name>target_milestone</name><value><string>---</string></value></member><member><name>product</name><value><string>LJL
82
+ Test Product</string></value></member></struct></value></member><member><name>is_open</name><value><boolean>0</boolean></value></member><member><name>assigned_to</name><value><string>tests.lisa@gmail.com</string></value></member><member><name>resolution</name><value><string>FIXED</string></value></member><member><name>product</name><value><string>LJL
83
+ Test Product</string></value></member><member><name>creation_time</name><value><dateTime.iso8601>20120418T14:53:00</dateTime.iso8601></value></member><member><name>id</name><value><int>11912</int></value></member><member><name>alias</name><value><string
84
+ /></value></member><member><name>severity</name><value><string>normal</string></value></member></struct></value><value><struct><member><name>priority</name><value><string>P3</string></value></member><member><name>status</name><value><string>ASSIGNED</string></value></member><member><name>last_change_time</name><value><dateTime.iso8601>20120502T07:03:52</dateTime.iso8601></value></member><member><name>component</name><value><string>Component
85
+ 1</string></value></member><member><name>summary</name><value><string>This a
86
+ new bug</string></value></member><member><name>internals</name><value><struct><member><name>priority</name><value><string>P3</string></value></member><member><name>bug_id</name><value><int>11929</int></value></member><member><name>cclist_accessible</name><value><int>1</int></value></member><member><name>cf_drop_down</name><value><string>---</string></value></member><member><name>assigned_to</name><value><int>36544</int></value></member><member><name>short_desc</name><value><string>This
87
+ a new bug</string></value></member><member><name>everconfirmed</name><value><int>1</int></value></member><member><name>bug_severity</name><value><string>normal</string></value></member><member><name>reporter_id</name><value><int>40856</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
88
+ /></value></member><member><name>cf_free_text</name><value><string /></value></member><member><name>resolution</name><value><string
89
+ /></value></member><member><name>reporter_accessible</name><value><int>1</int></value></member><member><name>op_sys</name><value><string>Windows
90
+ NT</string></value></member><member><name>status</name><value><struct><member><name>sortkey</name><value><int>300</int></value></member><member><name>value</name><value><string>ASSIGNED</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>3</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
91
+ 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
92
+ /></value></member><member><name>product_id</name><value><int>20</int></value></member><member><name>rep_platform</name><value><string>PC</string></value></member><member><name>creation_ts</name><value><string>2012.05.02
93
+ 00:02</string></value></member><member><name>status_whiteboard</name><value><string
94
+ /></value></member><member><name>bug_status</name><value><string>ASSIGNED</string></value></member><member><name>delta_ts</name><value><string>2012-05-02
95
+ 00:03:52</string></value></member><member><name>version</name><value><double>1.0</double></value></member><member><name>component_id</name><value><int>28</int></value></member><member><name>component</name><value><string>Component
96
+ 1</string></value></member><member><name>target_milestone</name><value><string>---</string></value></member><member><name>product</name><value><string>LJL
97
+ Test Product</string></value></member></struct></value></member><member><name>is_open</name><value><boolean>1</boolean></value></member><member><name>assigned_to</name><value><string>tests.lisa@gmail.com</string></value></member><member><name>resolution</name><value><string
98
+ /></value></member><member><name>product</name><value><string>LJL Test Product</string></value></member><member><name>creation_time</name><value><dateTime.iso8601>20120502T07:02:00</dateTime.iso8601></value></member><member><name>id</name><value><int>11929</int></value></member><member><name>alias</name><value><string
99
+ /></value></member><member><name>severity</name><value><string>normal</string></value></member></struct></value></data></array></value></member></struct></value></param></params></methodResponse>
100
+ http_version: '1.1'
101
+ - !ruby/struct:VCR::HTTPInteraction
102
+ request: !ruby/struct:VCR::Request
103
+ method: :post
104
+ uri: https://landfill.bugzilla.org:443/bugzilla-3.6-branch/xmlrpc.cgi
105
+ body: !!null
106
+ headers:
107
+ user-agent:
108
+ - XMLRPC::Client (Ruby 1.9.2)
109
+ content-type:
110
+ - text/xml; charset=utf-8
111
+ content-length:
112
+ - '254'
113
+ connection:
114
+ - keep-alive
115
+ cookie:
116
+ - Bugzilla_login=40167; Bugzilla_logincookie=4vP1bzAWnq
117
+ response: !ruby/struct:VCR::Response
118
+ status: !ruby/struct:VCR::ResponseStatus
119
+ code: 200
120
+ message: OK
121
+ headers:
122
+ date:
123
+ - Mon, 14 May 2012 21:36:28 GMT
124
+ server:
125
+ - Apache/2.2.3 (CentOS)
126
+ soapserver:
127
+ - SOAP::Lite/Perl/0.712
128
+ content-length:
129
+ - '4797'
130
+ content-type:
131
+ - text/xml
132
+ body: <?xml version="1.0" encoding="UTF-8"?><methodResponse><params><param><value><struct><member><name>faults</name><value><array><data
133
+ /></array></value></member><member><name>bugs</name><value><array><data><value><struct><member><name>priority</name><value><string>P3</string></value></member><member><name>status</name><value><string>RESOLVED</string></value></member><member><name>last_change_time</name><value><dateTime.iso8601>20120418T14:55:28</dateTime.iso8601></value></member><member><name>component</name><value><string>Component
134
+ 1</string></value></member><member><name>summary</name><value><string>this is
135
+ a test bug</string></value></member><member><name>internals</name><value><struct><member><name>priority</name><value><string>P3</string></value></member><member><name>bug_id</name><value><int>11912</int></value></member><member><name>cclist_accessible</name><value><int>1</int></value></member><member><name>cf_drop_down</name><value><string>---</string></value></member><member><name>assigned_to</name><value><int>36544</int></value></member><member><name>short_desc</name><value><string>this
136
+ is a test bug</string></value></member><member><name>everconfirmed</name><value><int>1</int></value></member><member><name>bug_severity</name><value><string>normal</string></value></member><member><name>reporter_id</name><value><int>40837</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
137
+ /></value></member><member><name>cf_free_text</name><value><string /></value></member><member><name>resolution</name><value><string>FIXED</string></value></member><member><name>reporter_accessible</name><value><int>1</int></value></member><member><name>op_sys</name><value><string>Mac
138
+ OS X 10.0</string></value></member><member><name>status</name><value><struct><member><name>sortkey</name><value><int>500</int></value></member><member><name>value</name><value><string>RESOLVED</string></value></member><member><name>is_open</name><value><int>0</int></value></member><member><name>isactive</name><value><int>1</int></value></member><member><name>id</name><value><int>5</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
139
+ 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
140
+ /></value></member><member><name>product_id</name><value><int>20</int></value></member><member><name>rep_platform</name><value><string>PC</string></value></member><member><name>creation_ts</name><value><string>2012.04.18
141
+ 07:53</string></value></member><member><name>status_whiteboard</name><value><string
142
+ /></value></member><member><name>bug_status</name><value><string>RESOLVED</string></value></member><member><name>delta_ts</name><value><string>2012-04-18
143
+ 07:55:28</string></value></member><member><name>version</name><value><double>1.0</double></value></member><member><name>component_id</name><value><int>28</int></value></member><member><name>component</name><value><string>Component
144
+ 1</string></value></member><member><name>target_milestone</name><value><string>---</string></value></member><member><name>product</name><value><string>LJL
145
+ Test Product</string></value></member></struct></value></member><member><name>is_open</name><value><boolean>0</boolean></value></member><member><name>assigned_to</name><value><string>tests.lisa@gmail.com</string></value></member><member><name>resolution</name><value><string>FIXED</string></value></member><member><name>product</name><value><string>LJL
146
+ Test Product</string></value></member><member><name>creation_time</name><value><dateTime.iso8601>20120418T14:53:00</dateTime.iso8601></value></member><member><name>id</name><value><int>11912</int></value></member><member><name>alias</name><value><string
147
+ /></value></member><member><name>severity</name><value><string>normal</string></value></member></struct></value></data></array></value></member></struct></value></param></params></methodResponse>
148
+ http_version: '1.1'
149
+ - !ruby/struct:VCR::HTTPInteraction
150
+ request: !ruby/struct:VCR::Request
151
+ method: :post
152
+ uri: https://landfill.bugzilla.org:443/bugzilla-3.6-branch/xmlrpc.cgi
153
+ body: !!null
154
+ headers:
155
+ user-agent:
156
+ - XMLRPC::Client (Ruby 1.9.2)
157
+ content-type:
158
+ - text/xml; charset=utf-8
159
+ content-length:
160
+ - '259'
161
+ connection:
162
+ - keep-alive
163
+ cookie:
164
+ - Bugzilla_login=40167; Bugzilla_logincookie=4vP1bzAWnq
165
+ response: !ruby/struct:VCR::Response
166
+ status: !ruby/struct:VCR::ResponseStatus
167
+ code: 200
168
+ message: OK
169
+ headers:
170
+ date:
171
+ - Mon, 14 May 2012 21:36:29 GMT
172
+ server:
173
+ - Apache/2.2.3 (CentOS)
174
+ soapserver:
175
+ - SOAP::Lite/Perl/0.712
176
+ content-length:
177
+ - '1307'
178
+ content-type:
179
+ - text/xml
180
+ 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
181
+ 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
182
+ 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
183
+ Test Product</string></value></member><member><name>id</name><value><int>20</int></value></member><member><name>description</name><value><string>Test
184
+ product description</string></value></member></struct></value></data></array></value></member></struct></value></param></params></methodResponse>
185
+ http_version: '1.1'
186
+ - !ruby/struct:VCR::HTTPInteraction
187
+ request: !ruby/struct:VCR::Request
188
+ method: :post
189
+ uri: https://landfill.bugzilla.org:443/bugzilla-3.6-branch/xmlrpc.cgi
190
+ body: !!null
191
+ headers:
192
+ user-agent:
193
+ - XMLRPC::Client (Ruby 1.9.2)
194
+ content-type:
195
+ - text/xml; charset=utf-8
196
+ content-length:
197
+ - '254'
198
+ connection:
199
+ - keep-alive
200
+ cookie:
201
+ - Bugzilla_login=40167; Bugzilla_logincookie=4vP1bzAWnq
202
+ response: !ruby/struct:VCR::Response
203
+ status: !ruby/struct:VCR::ResponseStatus
204
+ code: 200
205
+ message: OK
206
+ headers:
207
+ date:
208
+ - Mon, 14 May 2012 21:36:30 GMT
209
+ server:
210
+ - Apache/2.2.3 (CentOS)
211
+ soapserver:
212
+ - SOAP::Lite/Perl/0.712
213
+ content-length:
214
+ - '4762'
215
+ content-type:
216
+ - text/xml
217
+ body: <?xml version="1.0" encoding="UTF-8"?><methodResponse><params><param><value><struct><member><name>faults</name><value><array><data
218
+ /></array></value></member><member><name>bugs</name><value><array><data><value><struct><member><name>priority</name><value><string>P3</string></value></member><member><name>status</name><value><string>ASSIGNED</string></value></member><member><name>last_change_time</name><value><dateTime.iso8601>20120502T07:03:52</dateTime.iso8601></value></member><member><name>component</name><value><string>Component
219
+ 1</string></value></member><member><name>summary</name><value><string>This a
220
+ new bug</string></value></member><member><name>internals</name><value><struct><member><name>priority</name><value><string>P3</string></value></member><member><name>bug_id</name><value><int>11929</int></value></member><member><name>cclist_accessible</name><value><int>1</int></value></member><member><name>cf_drop_down</name><value><string>---</string></value></member><member><name>assigned_to</name><value><int>36544</int></value></member><member><name>short_desc</name><value><string>This
221
+ a new bug</string></value></member><member><name>everconfirmed</name><value><int>1</int></value></member><member><name>bug_severity</name><value><string>normal</string></value></member><member><name>reporter_id</name><value><int>40856</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
222
+ /></value></member><member><name>cf_free_text</name><value><string /></value></member><member><name>resolution</name><value><string
223
+ /></value></member><member><name>reporter_accessible</name><value><int>1</int></value></member><member><name>op_sys</name><value><string>Windows
224
+ NT</string></value></member><member><name>status</name><value><struct><member><name>sortkey</name><value><int>300</int></value></member><member><name>value</name><value><string>ASSIGNED</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>3</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
225
+ 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
226
+ /></value></member><member><name>product_id</name><value><int>20</int></value></member><member><name>rep_platform</name><value><string>PC</string></value></member><member><name>creation_ts</name><value><string>2012.05.02
227
+ 00:02</string></value></member><member><name>status_whiteboard</name><value><string
228
+ /></value></member><member><name>bug_status</name><value><string>ASSIGNED</string></value></member><member><name>delta_ts</name><value><string>2012-05-02
229
+ 00:03:52</string></value></member><member><name>version</name><value><double>1.0</double></value></member><member><name>component_id</name><value><int>28</int></value></member><member><name>component</name><value><string>Component
230
+ 1</string></value></member><member><name>target_milestone</name><value><string>---</string></value></member><member><name>product</name><value><string>LJL
231
+ Test Product</string></value></member></struct></value></member><member><name>is_open</name><value><boolean>1</boolean></value></member><member><name>assigned_to</name><value><string>tests.lisa@gmail.com</string></value></member><member><name>resolution</name><value><string
232
+ /></value></member><member><name>product</name><value><string>LJL Test Product</string></value></member><member><name>creation_time</name><value><dateTime.iso8601>20120502T07:02:00</dateTime.iso8601></value></member><member><name>id</name><value><int>11929</int></value></member><member><name>alias</name><value><string
233
+ /></value></member><member><name>severity</name><value><string>normal</string></value></member></struct></value></data></array></value></member></struct></value></param></params></methodResponse>
234
+ http_version: '1.1'
235
+ - !ruby/struct:VCR::HTTPInteraction
236
+ request: !ruby/struct:VCR::Request
237
+ method: :post
238
+ uri: https://landfill.bugzilla.org:443/bugzilla-3.6-branch/xmlrpc.cgi
239
+ body: !!null
240
+ headers:
241
+ user-agent:
242
+ - XMLRPC::Client (Ruby 1.9.2)
243
+ content-type:
244
+ - text/xml; charset=utf-8
245
+ content-length:
246
+ - '259'
247
+ connection:
248
+ - keep-alive
249
+ cookie:
250
+ - Bugzilla_login=40167; Bugzilla_logincookie=4vP1bzAWnq
251
+ response: !ruby/struct:VCR::Response
252
+ status: !ruby/struct:VCR::ResponseStatus
253
+ code: 200
254
+ message: OK
255
+ headers:
256
+ date:
257
+ - Mon, 14 May 2012 21:36:31 GMT
258
+ server:
259
+ - Apache/2.2.3 (CentOS)
260
+ soapserver:
261
+ - SOAP::Lite/Perl/0.712
262
+ content-length:
263
+ - '1307'
264
+ content-type:
265
+ - text/xml
266
+ 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
267
+ 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
268
+ 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
269
+ Test Product</string></value></member><member><name>id</name><value><int>20</int></value></member><member><name>description</name><value><string>Test
270
+ product description</string></value></member></struct></value></data></array></value></member></struct></value></param></params></methodResponse>
271
+ 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=O2MoYqnGlQ
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:36:35 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=O2MoYqnGlQ
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:36:36 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&#xd;
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&#xd;
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,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=rDLcVS2PDL
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:36:19 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=rDLcVS2PDL
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:36:21 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&#xd;
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&#xd;
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'