bicho 0.0.16 → 0.0.17

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: bb372f4ac0c629553949dbaf069a71f93d25159e
4
- data.tar.gz: d2e3100a6f30d0abd3076ffb7151192652bc9872
2
+ SHA256:
3
+ metadata.gz: a39452db1de9982c467632c0281411f7eba7cca7c12e16df8dd1e72bc85013ec
4
+ data.tar.gz: 727d92d8a6d8c01e2f063fe33289df527fdefd23eaa4243aeb852724bf5e1c8e
5
5
  SHA512:
6
- metadata.gz: 8f6614f01dcfe9abaf45186af15377c6ad022609faaa2319015b4776e956cae8ecea2f6ad52c47b7ac7e6499e23035c9888a1a5ebe8e316730533b494f47b297
7
- data.tar.gz: 346f30e9951d4c16d068a54ecb712a6e84d81e206dcf892e402c7c57a607310cd4bb9592f0e308afb66762c2b731b6000ea300227021dfad7e2ededeb3c91c94
6
+ metadata.gz: 860b3b7817b544b8e519deae0c359c42892b30726ae1f0bc1e51cdf79a9e5ff35c8afb67da810beace1e483929e0cbe86721f11a344cc760c493a40f444ec7f8
7
+ data.tar.gz: 2559b837eb36217d52477db9c9808292510cd967cb298046024e1550769e32462401a5e6dfedb1b302318e5bec2d8c0d92bb301020c5b025c48f4671a65728fa
@@ -1,45 +1 @@
1
- Metrics/AbcSize:
2
- Enabled: false
3
- Max: 41
4
-
5
- Metrics/ClassLength:
6
- Enabled: false
7
- Max: 182
8
-
9
- Metrics/CyclomaticComplexity:
10
- Enabled: false
11
- Max: 11
12
-
13
- # Offense count: 49
14
- # Configuration parameters: AllowHeredoc, AllowURI, URISchemes.
15
- # URISchemes: http, https
16
- Metrics/LineLength:
17
- Max: 356
18
-
19
- Metrics/MethodLength:
20
- Enabled: false
21
-
22
- Metrics/PerceivedComplexity:
23
- Enabled: false
24
-
25
- Style/ClassAndModuleChildren:
26
- Exclude:
27
- # CLI plugins
28
- - 'lib/bicho/cli/commands/*.rb'
29
- - 'lib/bicho/client.rb'
30
-
31
- Style/GuardClause:
32
- Exclude:
33
- - 'lib/bicho/client.rb'
34
-
35
- # Configuration parameters: EnforcedStyle, SupportedStyles.
36
- # SupportedStyles: snake_case, camelCase
37
- Style/MethodName:
38
- Exclude:
39
- # L3 method
40
- - 'lib/bicho/query.rb'
41
-
42
- # Offense count: 3
43
- # Cop supports --auto-correct.
44
- Style/NumericLiterals:
45
- MinDigits: 7
1
+ inherit_from: .rubocop_todo.yml
@@ -0,0 +1,170 @@
1
+ # This configuration was generated by
2
+ # `rubocop --auto-gen-config`
3
+ # on 2018-10-23 14:23:33 +0200 using RuboCop version 0.59.2.
4
+ # The point is for the user to remove these configuration records
5
+ # one by one as the offenses are removed from the code base.
6
+ # Note that changes in the inspected code, or installation of new
7
+ # versions of RuboCop, may require this file to be generated again.
8
+
9
+ # Offense count: 1
10
+ # Configuration parameters: Include.
11
+ # Include: **/*.gemspec
12
+ Gemspec/RequiredRubyVersion:
13
+ Exclude:
14
+ - 'bicho.gemspec'
15
+
16
+ # Offense count: 1
17
+ # Cop supports --auto-correct.
18
+ Layout/ClosingHeredocIndentation:
19
+ Exclude:
20
+ - 'bin/bicho'
21
+
22
+ # Offense count: 9
23
+ # Cop supports --auto-correct.
24
+ Layout/EmptyLineAfterGuardClause:
25
+ Exclude:
26
+ - 'lib/bicho/bug.rb'
27
+ - 'lib/bicho/cli/commands/search.rb'
28
+ - 'lib/bicho/client.rb'
29
+ - 'lib/bicho/history.rb'
30
+ - 'lib/bicho/plugins/novell.rb'
31
+ - 'lib/bicho/query.rb'
32
+ - 'test/test_attachments.rb'
33
+
34
+ # Offense count: 2
35
+ # Cop supports --auto-correct.
36
+ # Configuration parameters: EnforcedStyle.
37
+ # SupportedStyles: auto_detection, squiggly, active_support, powerpack, unindent
38
+ Layout/IndentHeredoc:
39
+ Exclude:
40
+ - 'test/test_novell_plugin.rb'
41
+ - 'test/test_user_plugin.rb'
42
+
43
+ # Offense count: 1
44
+ # Cop supports --auto-correct.
45
+ Layout/RescueEnsureAlignment:
46
+ Exclude:
47
+ - 'lib/bicho/ext/logger_colors.rb'
48
+
49
+ # Offense count: 1
50
+ Lint/UriEscapeUnescape:
51
+ Exclude:
52
+ - 'lib/bicho/client.rb'
53
+
54
+ # Offense count: 14
55
+ Metrics/AbcSize:
56
+ Max: 43
57
+
58
+ # Offense count: 1
59
+ # Configuration parameters: CountComments.
60
+ Metrics/ClassLength:
61
+ Max: 200
62
+
63
+ # Offense count: 1
64
+ Metrics/CyclomaticComplexity:
65
+ Max: 12
66
+
67
+ # Offense count: 15
68
+ # Configuration parameters: CountComments, ExcludedMethods.
69
+ Metrics/MethodLength:
70
+ Max: 38
71
+
72
+ # Offense count: 1
73
+ Metrics/PerceivedComplexity:
74
+ Max: 12
75
+
76
+ # Offense count: 3
77
+ # Configuration parameters: Blacklist.
78
+ # Blacklist: (?-mix:(^|\s)(EO[A-Z]{1}|END)(\s|$))
79
+ Naming/HeredocDelimiterNaming:
80
+ Exclude:
81
+ - 'bin/bicho'
82
+ - 'test/test_novell_plugin.rb'
83
+ - 'test/test_user_plugin.rb'
84
+
85
+ # Offense count: 1
86
+ # Configuration parameters: .
87
+ # SupportedStyles: snake_case, camelCase
88
+ Naming/MethodName:
89
+ EnforcedStyle: snake_case
90
+
91
+ # Offense count: 1
92
+ # Cop supports --auto-correct.
93
+ # Configuration parameters: AutoCorrect.
94
+ Security/JSONLoad:
95
+ Exclude:
96
+ - 'test/test_export.rb'
97
+
98
+ # Offense count: 7
99
+ # Cop supports --auto-correct.
100
+ # Configuration parameters: AutoCorrect, EnforcedStyle.
101
+ # SupportedStyles: nested, compact
102
+ Style/ClassAndModuleChildren:
103
+ Exclude:
104
+ - 'lib/bicho/cli/commands/attachments.rb'
105
+ - 'lib/bicho/cli/commands/history.rb'
106
+ - 'lib/bicho/cli/commands/search.rb'
107
+ - 'lib/bicho/cli/commands/show.rb'
108
+ - 'lib/bicho/cli/commands/version.rb'
109
+ - 'lib/bicho/client.rb'
110
+
111
+ # Offense count: 3
112
+ # Configuration parameters: .
113
+ # SupportedStyles: annotated, template, unannotated
114
+ Style/FormatStringToken:
115
+ EnforcedStyle: template
116
+
117
+ # Offense count: 3
118
+ # Configuration parameters: MinBodyLength.
119
+ Style/GuardClause:
120
+ Exclude:
121
+ - 'lib/bicho/client.rb'
122
+
123
+ # Offense count: 5
124
+ # Cop supports --auto-correct.
125
+ Style/IfUnlessModifier:
126
+ Exclude:
127
+ - 'bin/bicho'
128
+ - 'lib/bicho/client.rb'
129
+
130
+ # Offense count: 6
131
+ # Cop supports --auto-correct.
132
+ # Configuration parameters: Strict.
133
+ Style/NumericLiterals:
134
+ MinDigits: 7
135
+
136
+ # Offense count: 1
137
+ # Cop supports --auto-correct.
138
+ Style/OrAssignment:
139
+ Exclude:
140
+ - 'lib/bicho/history.rb'
141
+
142
+ # Offense count: 5
143
+ # Cop supports --auto-correct.
144
+ # Configuration parameters: PreferredDelimiters.
145
+ Style/PercentLiteralDelimiters:
146
+ Exclude:
147
+ - 'lib/bicho/ext/logger_colors.rb'
148
+ - 'test/test_novell_plugin.rb'
149
+ - 'test/test_query.rb'
150
+
151
+ # Offense count: 1
152
+ # Cop supports --auto-correct.
153
+ # Configuration parameters: EnforcedStyle.
154
+ # SupportedStyles: implicit, explicit
155
+ Style/RescueStandardError:
156
+ Exclude:
157
+ - 'bin/bicho'
158
+
159
+ # Offense count: 2
160
+ # Cop supports --auto-correct.
161
+ # Configuration parameters: MinSize.
162
+ # SupportedStyles: percent, brackets
163
+ Style/SymbolArray:
164
+ EnforcedStyle: brackets
165
+
166
+ # Offense count: 66
167
+ # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
168
+ # URISchemes: http, https
169
+ Metrics/LineLength:
170
+ Max: 356
@@ -1,7 +1,9 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.4.2
4
- - 2.3.5
3
+ - 2.6
4
+ - 2.5
5
+ - 2.4
6
+ - 2.3
5
7
  script:
6
8
  - bundle exec rake test
7
9
  - bundle exec rubocop
data/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  * http://github.com/dmacvicar/bicho
4
4
 
5
5
  ![stable](https://img.shields.io/badge/stability-stable-green.svg)
6
- ![maintained](https://img.shields.io/maintenance/yes/2017.svg)
6
+ ![maintained](https://img.shields.io/maintenance/yes/2018.svg)
7
7
  [![Build Status](https://travis-ci.org/dmacvicar/bicho.svg?branch=master)](https://travis-ci.org/dmacvicar/bicho)
8
8
 
9
9
  ## Introduction
@@ -1,5 +1,4 @@
1
- # -*- encoding: utf-8 -*-
2
- $LOAD_PATH.push File.expand_path('../lib', __FILE__)
1
+ $LOAD_PATH.push File.expand_path('lib', __dir__)
3
2
  require 'bicho/version'
4
3
 
5
4
  Gem::Specification.new do |s|
@@ -12,16 +11,18 @@ Gem::Specification.new do |s|
12
11
  s.description = 'Library to access bugzilla'
13
12
  s.licenses = ['MIT']
14
13
 
14
+ s.add_dependency('highline', ['~> 2.0.0'])
15
15
  s.add_dependency('inifile', ['~> 3.0.0'])
16
- s.add_dependency('trollop', ['~> 2.1.2'])
17
- s.add_dependency('highline', ['~> 1.7.8'])
18
- s.add_dependency('nokogiri', ['~> 1.8.1'])
16
+ s.add_dependency('nokogiri', ['~> 1.8.5'])
17
+ s.add_dependency('optimist', ['~> 3.0.0'])
19
18
  s.add_dependency('xmlrpc', ['~> 0.3.0'])
20
19
 
21
- s.add_development_dependency('rake')
22
20
  s.add_development_dependency('minitest')
23
21
  s.add_development_dependency('minitest-reporters')
24
- s.add_development_dependency('rubocop', '= 0.41.2')
22
+ s.add_development_dependency('rake')
23
+ s.add_development_dependency('rubocop', '~> 0.59.0')
24
+ s.add_development_dependency('vcr')
25
+ s.add_development_dependency('webmock')
25
26
 
26
27
  s.rubyforge_project = 'bicho'
27
28
 
data/bin/bicho CHANGED
@@ -60,7 +60,7 @@ begin
60
60
  # symbols in BzConsole module
61
61
  SUB_COMMANDS = Bicho::CLI::Commands.constants.sort.map(&:to_s).map(&:downcase)
62
62
 
63
- global_opts = Trollop.options do
63
+ global_opts = Optimist.options do
64
64
  banner <<-EOS
65
65
  Usage: #{File.basename(__FILE__)} [global options] <command> ...
66
66
 
@@ -82,7 +82,7 @@ EOS
82
82
  end
83
83
 
84
84
  if !cmd || !SUB_COMMANDS.include?(cmd)
85
- Trollop.die "available subcommands: #{SUB_COMMANDS.join(' ')}"
85
+ Optimist.die "available subcommands: #{SUB_COMMANDS.join(' ')}"
86
86
  end
87
87
 
88
88
  # Create an instance for the command
@@ -23,7 +23,7 @@
23
23
  # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
24
24
  #++
25
25
 
26
- require 'trollop'
26
+ require 'optimist'
27
27
  require 'highline'
28
28
 
29
29
  module Bicho
@@ -33,7 +33,7 @@ module Bicho
33
33
  #
34
34
  # In order to create a command, add a class under
35
35
  # Bicho::CLI::Commands. Then you need to:
36
- # * Add options, using a Trollop syntax
36
+ # * Add options, using a Optimist syntax
37
37
  # * Implement do(global_opts, options, args)
38
38
  #
39
39
  # You can use t.say to talk to the terminal
@@ -63,9 +63,9 @@ module Bicho
63
63
  @t = HighLine.new
64
64
  end
65
65
 
66
- # Gateway to Trollop
66
+ # Gateway to Optimist
67
67
  def self.opt(*args)
68
- self.parser = Trollop::Parser.new unless parser
68
+ self.parser = Optimist::Parser.new unless parser
69
69
  parser.opt(*args)
70
70
  end
71
71
 
@@ -77,8 +77,8 @@ module Bicho
77
77
  # Called by the cli to get the options
78
78
  # with current ARGV
79
79
  def parse_options
80
- self.class.parser = Trollop::Parser.new unless self.class.parser
81
- Trollop.with_standard_exception_handling(self.class.parser) do
80
+ self.class.parser = Optimist::Parser.new unless self.class.parser
81
+ Optimist.with_standard_exception_handling(self.class.parser) do
82
82
  self.class.parser.parse ARGV
83
83
  end
84
84
  end
@@ -237,6 +237,21 @@ module Bicho
237
237
  fetch_named_query_url(url, 5)
238
238
  end
239
239
 
240
+ # normalize bug ids
241
+ # @param ids - array of bug numbers (Integer) or bug aliases (String)
242
+ # @returns Array of bug numbers (Integer)
243
+ #
244
+ # @private
245
+ def normalize_ids(ids)
246
+ ids.collect(&:to_s).map do |what|
247
+ if what =~ /^[0-9]+$/
248
+ next what.to_i
249
+ else
250
+ next expand_named_query(what)
251
+ end
252
+ end.flatten
253
+ end
254
+
240
255
  # Fetches a named query by its full url
241
256
  # @private
242
257
  # @returns [Array<String>] list of bugs
@@ -286,13 +301,7 @@ module Bicho
286
301
  # @return [Array<Bug>] a list of bugs
287
302
  def get_bugs(*ids)
288
303
  params = {}
289
- params[:ids] = ids.collect(&:to_s).map do |what|
290
- if what =~ /^[0-9]+$/
291
- next what.to_i
292
- else
293
- next expand_named_query(what)
294
- end
295
- end.flatten
304
+ params[:ids] = normalize_ids ids
296
305
 
297
306
  bugs = []
298
307
  ret = @client.call('Bug.get', params)
@@ -306,13 +315,7 @@ module Bicho
306
315
  # @return [Array<History>] the history of the given bugs
307
316
  def get_history(*ids)
308
317
  params = {}
309
- params[:ids] = ids.collect(&:to_s).map do |what|
310
- if what =~ /^[0-9]+$/
311
- next what.to_i
312
- else
313
- next expand_named_query(what)
314
- end
315
- end.flatten
318
+ params[:ids] = normalize_ids ids
316
319
 
317
320
  histories = []
318
321
  ret = @client.call('Bug.history', params)
@@ -329,13 +332,7 @@ module Bicho
329
332
  # Payload is lazy-loaded
330
333
  def get_attachments(*ids)
331
334
  params = {}
332
- params[:ids] = ids.collect(&:to_s).map do |what|
333
- if what =~ /^[0-9]+$/
334
- next what.to_i
335
- else
336
- next expand_named_query(what)
337
- end
338
- end.flatten
335
+ params[:ids] = normalize_ids ids
339
336
 
340
337
  ret = @client.call('Bug.attachments',
341
338
  params.merge(exclude_fields: ['data']))
@@ -83,7 +83,7 @@ module Bicho
83
83
 
84
84
  # Shortcut, equivalent to
85
85
  # :summary => "L3"
86
- def L3
86
+ def L3 # rubocop:disable Naming/MethodName
87
87
  append_query('summary', 'L3')
88
88
  self
89
89
  end
@@ -1,3 +1,3 @@
1
1
  module Bicho
2
- VERSION = '0.0.16'.freeze
2
+ VERSION = '0.0.17'.freeze
3
3
  end
@@ -0,0 +1 @@
1
+ {"priority":"Normal","blocks":[],"creator":"kekun.plazas@laposte.net","last_change_time":"2017-02-22 20:48:43 UTC","is_cc_accessible":true,"keywords":[],"cc":["kekun.plazas@laposte.net","mcatanzaro@gnome.org"],"url":"","assigned_to":"gnome-games-maint@gnome.bugs","groups":[],"see_also":[],"id":777777,"creation_time":"2017-01-26 08:46:00 UTC","whiteboard":"","qa_contact":"gnome-games-maint@gnome.bugs","depends_on":[],"resolution":"FIXED","classification":"Core","op_sys":"Linux","status":"RESOLVED","cf_gnome_target":"---","cf_gnome_version":"---","summary":"Game Boy games not detected","is_open":false,"platform":"Other","severity":"normal","flags":[],"version":"unspecified","component":"general","is_creator_accessible":true,"product":"gnome-games","is_confirmed":true,"target_milestone":"---","history":[{"who":"kekun.plazas@laposte.net","timestamp":"2017-01-26 09:03:10 UTC","changes":[{"removed":"","added":"kekun.plazas@laposte.net","field_name":"cc"}]},{"who":"kekun.plazas@laposte.net","timestamp":"2017-01-26 09:05:34 UTC","changes":[{"attachment_id":344292,"removed":"0","added":"1","field_name":"attachments.isobsolete"}]},{"who":"kekun.plazas@laposte.net","timestamp":"2017-01-26 09:06:09 UTC","changes":[{"removed":"NEW","added":"RESOLVED","field_name":"status"},{"removed":"","added":"FIXED","field_name":"resolution"}]},{"who":"kekun.plazas@laposte.net","timestamp":"2017-01-26 09:06:13 UTC","changes":[{"attachment_id":344293,"removed":"none","added":"committed","field_name":"attachments.gnome_attachment_status"}]},{"who":"kekun.plazas@laposte.net","timestamp":"2017-01-26 09:06:16 UTC","changes":[{"attachment_id":344294,"removed":"none","added":"committed","field_name":"attachments.gnome_attachment_status"}]},{"who":"kekun.plazas@laposte.net","timestamp":"2017-01-26 11:06:35 UTC","changes":[{"attachment_id":344303,"removed":"none","added":"committed","field_name":"attachments.gnome_attachment_status"}]},{"who":"mcatanzaro@gnome.org","timestamp":"2017-02-22 20:40:19 UTC","changes":[{"removed":"","added":"mcatanzaro@gnome.org","field_name":"cc"}]}],"resolution_time":"2017-01-26 09:06:09 UTC"}
@@ -0,0 +1,185 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://bugzilla.gnome.org/xmlrpc.cgi
6
+ body:
7
+ encoding: UTF-8
8
+ string: '<?xml version="1.0" ?><methodCall><methodName>Bug.get</methodName><params><param><value><struct><member><name>ids</name><value><array><data><value><i4>312619</i4></value></data></array></value></member></struct></value></param></params></methodCall>
9
+
10
+ '
11
+ headers:
12
+ User-Agent:
13
+ - XMLRPC::Client (Ruby 2.5.0)
14
+ Content-Type:
15
+ - text/xml; charset=utf-8
16
+ Content-Length:
17
+ - '250'
18
+ Connection:
19
+ - keep-alive
20
+ Accept-Encoding:
21
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
22
+ Accept:
23
+ - "*/*"
24
+ response:
25
+ status:
26
+ code: 200
27
+ message: OK
28
+ headers:
29
+ Date:
30
+ - Tue, 23 Oct 2018 10:53:59 GMT
31
+ Server:
32
+ - Apache/2.4.6 (Red Hat Enterprise Linux)
33
+ X-Xss-Protection:
34
+ - 1; mode=block
35
+ X-Frame-Options:
36
+ - SAMEORIGIN
37
+ X-Content-Type-Options:
38
+ - nosniff
39
+ Set-Cookie:
40
+ - Bugzilla_login_request_cookie=3NhILz4YdV; path=/; secure; HttpOnly
41
+ Content-Length:
42
+ - '3051'
43
+ Content-Type:
44
+ - text/xml
45
+ Soapserver:
46
+ - SOAP::Lite/Perl/1.1
47
+ Strict-Transport-Security:
48
+ - max-age=31536000; includeSubDomains; preload
49
+ Access-Control-Allow-Origin:
50
+ - https://bugzilla.gnome.org
51
+ Connection:
52
+ - close
53
+ body:
54
+ encoding: UTF-8
55
+ string: <?xml version="1.0" encoding="UTF-8"?><methodResponse><params><param><value><struct><member><name>faults</name><value><array><data
56
+ /></array></value></member><member><name>bugs</name><value><array><data><value><struct><member><name>priority</name><value><string>Normal</string></value></member><member><name>blocks</name><value><array><data
57
+ /></array></value></member><member><name>creator</name><value><string>cbarton@metavr.com</string></value></member><member><name>last_change_time</name><value><dateTime.iso8601>20060411T19:22:41</dateTime.iso8601></value></member><member><name>is_cc_accessible</name><value><boolean>1</boolean></value></member><member><name>keywords</name><value><array><data
58
+ /></array></value></member><member><name>cc</name><value><array><data><value><string>ploum@ploum.net</string></value></data></array></value></member><member><name>url</name><value><string
59
+ /></value></member><member><name>assigned_to</name><value><string>epiphany-maint@gnome.bugs</string></value></member><member><name>groups</name><value><array><data
60
+ /></array></value></member><member><name>see_also</name><value><array><data
61
+ /></array></value></member><member><name>id</name><value><int>312619</int></value></member><member><name>creation_time</name><value><dateTime.iso8601>20050804T22:31:00</dateTime.iso8601></value></member><member><name>whiteboard</name><value><string
62
+ /></value></member><member><name>qa_contact</name><value><string>mpgritti@gmail.com</string></value></member><member><name>depends_on</name><value><array><data
63
+ /></array></value></member><member><name>resolution</name><value><string>INCOMPLETE</string></value></member><member><name>classification</name><value><string>Core</string></value></member><member><name>op_sys</name><value><string>Linux</string></value></member><member><name>status</name><value><string>RESOLVED</string></value></member><member><name>cf_gnome_target</name><value><string>---</string></value></member><member><name>cf_gnome_version</name><value><string>2.9/2.10</string></value></member><member><name>summary</name><value><string>no
64
+ input boxes display in epiphany after screem crash</string></value></member><member><name>is_open</name><value><boolean>0</boolean></value></member><member><name>platform</name><value><string>Other</string></value></member><member><name>severity</name><value><string>normal</string></value></member><member><name>flags</name><value><array><data
65
+ /></array></value></member><member><name>version</name><value><string>1.6.x</string></value></member><member><name>component</name><value><string>[obsolete]
66
+ Backend:Mozilla</string></value></member><member><name>is_creator_accessible</name><value><boolean>1</boolean></value></member><member><name>product</name><value><string>epiphany</string></value></member><member><name>is_confirmed</name><value><boolean>0</boolean></value></member><member><name>target_milestone</name><value><string>---</string></value></member></struct></value></data></array></value></member></struct></value></param></params></methodResponse>
67
+ http_version:
68
+ recorded_at: Tue, 23 Oct 2018 10:54:00 GMT
69
+ - request:
70
+ method: post
71
+ uri: https://bugzilla.gnome.org/xmlrpc.cgi
72
+ body:
73
+ encoding: UTF-8
74
+ string: '<?xml version="1.0" ?><methodCall><methodName>Bug.history</methodName><params><param><value><struct><member><name>ids</name><value><array><data><value><i4>312619</i4></value></data></array></value></member></struct></value></param></params></methodCall>
75
+
76
+ '
77
+ headers:
78
+ User-Agent:
79
+ - XMLRPC::Client (Ruby 2.5.0)
80
+ Content-Type:
81
+ - text/xml; charset=utf-8
82
+ Content-Length:
83
+ - '254'
84
+ Connection:
85
+ - keep-alive
86
+ Cookie:
87
+ - Bugzilla_login_request_cookie=3NhILz4YdV
88
+ Accept-Encoding:
89
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
90
+ Accept:
91
+ - "*/*"
92
+ response:
93
+ status:
94
+ code: 200
95
+ message: OK
96
+ headers:
97
+ Date:
98
+ - Tue, 23 Oct 2018 10:54:00 GMT
99
+ Server:
100
+ - Apache/2.4.6 (Red Hat Enterprise Linux)
101
+ X-Xss-Protection:
102
+ - 1; mode=block
103
+ X-Frame-Options:
104
+ - SAMEORIGIN
105
+ X-Content-Type-Options:
106
+ - nosniff
107
+ Content-Length:
108
+ - '2612'
109
+ Content-Type:
110
+ - text/xml
111
+ Soapserver:
112
+ - SOAP::Lite/Perl/1.1
113
+ Strict-Transport-Security:
114
+ - max-age=31536000; includeSubDomains; preload
115
+ Access-Control-Allow-Origin:
116
+ - https://bugzilla.gnome.org
117
+ Connection:
118
+ - close
119
+ body:
120
+ encoding: UTF-8
121
+ string: <?xml version="1.0" encoding="UTF-8"?><methodResponse><params><param><value><struct><member><name>bugs</name><value><array><data><value><struct><member><name>history</name><value><array><data><value><struct><member><name>when</name><value><dateTime.iso8601>20050808T12:24:08</dateTime.iso8601></value></member><member><name>changes</name><value><array><data><value><struct><member><name>removed</name><value><string>epiphany</string></value></member><member><name>added</name><value><string>no
122
+ input boxes display in epiphany after screem crash</string></value></member><member><name>field_name</name><value><string>summary</string></value></member></struct></value></data></array></value></member><member><name>who</name><value><string>ploum@ploum.net</string></value></member></struct></value><value><struct><member><name>when</name><value><dateTime.iso8601>20051231T21:56:36</dateTime.iso8601></value></member><member><name>changes</name><value><array><data><value><struct><member><name>removed</name><value><string>UNCONFIRMED</string></value></member><member><name>added</name><value><string>NEEDINFO</string></value></member><member><name>field_name</name><value><string>status</string></value></member></struct></value></data></array></value></member><member><name>who</name><value><string>chpe@gnome.org</string></value></member></struct></value><value><struct><member><name>when</name><value><dateTime.iso8601>20060411T19:22:41</dateTime.iso8601></value></member><member><name>changes</name><value><array><data><value><struct><member><name>removed</name><value><string
123
+ /></value></member><member><name>added</name><value><string>ploum@fritalk.com</string></value></member><member><name>field_name</name><value><string>cc</string></value></member></struct></value><value><struct><member><name>removed</name><value><string>NEEDINFO</string></value></member><member><name>added</name><value><string>RESOLVED</string></value></member><member><name>field_name</name><value><string>status</string></value></member></struct></value><value><struct><member><name>removed</name><value><string
124
+ /></value></member><member><name>added</name><value><string>INCOMPLETE</string></value></member><member><name>field_name</name><value><string>resolution</string></value></member></struct></value></data></array></value></member><member><name>who</name><value><string>ploum@ploum.net</string></value></member></struct></value></data></array></value></member><member><name>id</name><value><int>312619</int></value></member></struct></value></data></array></value></member></struct></value></param></params></methodResponse>
125
+ http_version:
126
+ recorded_at: Tue, 23 Oct 2018 10:54:01 GMT
127
+ - request:
128
+ method: post
129
+ uri: https://bugzilla.gnome.org/xmlrpc.cgi
130
+ body:
131
+ encoding: UTF-8
132
+ string: '<?xml version="1.0" ?><methodCall><methodName>Bug.history</methodName><params><param><value><struct><member><name>ids</name><value><array><data><value><i4>312619</i4></value></data></array></value></member></struct></value></param></params></methodCall>
133
+
134
+ '
135
+ headers:
136
+ User-Agent:
137
+ - XMLRPC::Client (Ruby 2.5.0)
138
+ Content-Type:
139
+ - text/xml; charset=utf-8
140
+ Content-Length:
141
+ - '254'
142
+ Connection:
143
+ - keep-alive
144
+ Cookie:
145
+ - Bugzilla_login_request_cookie=3NhILz4YdV
146
+ Accept-Encoding:
147
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
148
+ Accept:
149
+ - "*/*"
150
+ response:
151
+ status:
152
+ code: 200
153
+ message: OK
154
+ headers:
155
+ Date:
156
+ - Tue, 23 Oct 2018 10:54:01 GMT
157
+ Server:
158
+ - Apache/2.4.6 (Red Hat Enterprise Linux)
159
+ X-Xss-Protection:
160
+ - 1; mode=block
161
+ X-Frame-Options:
162
+ - SAMEORIGIN
163
+ X-Content-Type-Options:
164
+ - nosniff
165
+ Content-Length:
166
+ - '2612'
167
+ Content-Type:
168
+ - text/xml
169
+ Soapserver:
170
+ - SOAP::Lite/Perl/1.1
171
+ Strict-Transport-Security:
172
+ - max-age=31536000; includeSubDomains; preload
173
+ Access-Control-Allow-Origin:
174
+ - https://bugzilla.gnome.org
175
+ Connection:
176
+ - close
177
+ body:
178
+ encoding: UTF-8
179
+ string: <?xml version="1.0" encoding="UTF-8"?><methodResponse><params><param><value><struct><member><name>bugs</name><value><array><data><value><struct><member><name>history</name><value><array><data><value><struct><member><name>when</name><value><dateTime.iso8601>20050808T12:24:08</dateTime.iso8601></value></member><member><name>changes</name><value><array><data><value><struct><member><name>removed</name><value><string>epiphany</string></value></member><member><name>added</name><value><string>no
180
+ input boxes display in epiphany after screem crash</string></value></member><member><name>field_name</name><value><string>summary</string></value></member></struct></value></data></array></value></member><member><name>who</name><value><string>ploum@ploum.net</string></value></member></struct></value><value><struct><member><name>when</name><value><dateTime.iso8601>20051231T21:56:36</dateTime.iso8601></value></member><member><name>changes</name><value><array><data><value><struct><member><name>removed</name><value><string>UNCONFIRMED</string></value></member><member><name>added</name><value><string>NEEDINFO</string></value></member><member><name>field_name</name><value><string>status</string></value></member></struct></value></data></array></value></member><member><name>who</name><value><string>chpe@gnome.org</string></value></member></struct></value><value><struct><member><name>when</name><value><dateTime.iso8601>20060411T19:22:41</dateTime.iso8601></value></member><member><name>changes</name><value><array><data><value><struct><member><name>removed</name><value><string
181
+ /></value></member><member><name>added</name><value><string>ploum@fritalk.com</string></value></member><member><name>field_name</name><value><string>cc</string></value></member></struct></value><value><struct><member><name>removed</name><value><string>NEEDINFO</string></value></member><member><name>added</name><value><string>RESOLVED</string></value></member><member><name>field_name</name><value><string>status</string></value></member></struct></value><value><struct><member><name>removed</name><value><string
182
+ /></value></member><member><name>added</name><value><string>INCOMPLETE</string></value></member><member><name>field_name</name><value><string>resolution</string></value></member></struct></value></data></array></value></member><member><name>who</name><value><string>ploum@ploum.net</string></value></member></struct></value></data></array></value></member><member><name>id</name><value><int>312619</int></value></member></struct></value></data></array></value></member></struct></value></param></params></methodResponse>
183
+ http_version:
184
+ recorded_at: Tue, 23 Oct 2018 10:54:02 GMT
185
+ recorded_with: VCR 4.0.0