bicho 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +5 -5
- data/lib/bicho/plugins/novell.rb +0 -1
- data/lib/bicho/version.rb +1 -1
- metadata +71 -86
data/README.rdoc
CHANGED
@@ -14,7 +14,7 @@ that exposes its features.
|
|
14
14
|
Main use case is report generation, therefore only the following
|
15
15
|
features are implemented right now:
|
16
16
|
|
17
|
-
* get
|
17
|
+
* get bugs
|
18
18
|
* search bugs
|
19
19
|
|
20
20
|
Plugins can be written to deal with specific bugzilla installations.
|
@@ -26,16 +26,16 @@ Plugins can be written to deal with specific bugzilla installations.
|
|
26
26
|
require 'bicho'
|
27
27
|
|
28
28
|
server = Bicho::Client.new('http://bugzilla.gnome.org')
|
29
|
-
server.
|
29
|
+
server.get_bugs(127043).each do |bug|
|
30
30
|
puts bug.summary
|
31
31
|
puts bug.url
|
32
32
|
end
|
33
33
|
|
34
34
|
You can give more than one bug or a named query, or both:
|
35
35
|
|
36
|
-
server.
|
37
|
-
server.
|
38
|
-
server.
|
36
|
+
server.get_bugs(127043, 432423) => [....]
|
37
|
+
server.get_bugs("Named list") => [....]
|
38
|
+
server.get_bugs("Named list", 4423443) => [....]
|
39
39
|
|
40
40
|
=== ActiveRecord-like API
|
41
41
|
|
data/lib/bicho/plugins/novell.rb
CHANGED
@@ -80,7 +80,6 @@ module Bicho
|
|
80
80
|
url.user = auth[:user]
|
81
81
|
url.password = auth[:password]
|
82
82
|
url.host = url.host.gsub(/bugzilla\.novell.com/, 'apibugzilla.novell.com')
|
83
|
-
url.path = url.path.gsub(/xmlrpc\.cgi/, 'tr_xmlrpc.cgi')
|
84
83
|
|
85
84
|
logger.debug("#{self} : Rewrote url to '#{url.to_s.gsub(/#{url.user}:#{url.password}/, "USER:PASS")}'")
|
86
85
|
return url
|
data/lib/bicho/version.rb
CHANGED
metadata
CHANGED
@@ -1,94 +1,88 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: bicho
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.7
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 0
|
9
|
-
- 6
|
10
|
-
version: 0.0.6
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Duncan Mac-Vicar P.
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
dependencies:
|
21
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2014-11-24 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
22
15
|
name: inifile
|
23
|
-
|
24
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
25
17
|
none: false
|
26
|
-
requirements:
|
18
|
+
requirements:
|
27
19
|
- - ~>
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
hash: 13
|
30
|
-
segments:
|
31
|
-
- 0
|
32
|
-
- 4
|
33
|
-
- 1
|
20
|
+
- !ruby/object:Gem::Version
|
34
21
|
version: 0.4.1
|
35
22
|
type: :runtime
|
36
|
-
version_requirements: *id001
|
37
|
-
- !ruby/object:Gem::Dependency
|
38
|
-
name: trollop
|
39
23
|
prerelease: false
|
40
|
-
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ~>
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 0.4.1
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: trollop
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
41
33
|
none: false
|
42
|
-
requirements:
|
43
|
-
- -
|
44
|
-
- !ruby/object:Gem::Version
|
45
|
-
|
46
|
-
segments:
|
47
|
-
- 1
|
48
|
-
- 16
|
49
|
-
version: "1.16"
|
34
|
+
requirements:
|
35
|
+
- - ! '>='
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '1.16'
|
50
38
|
type: :runtime
|
51
|
-
version_requirements: *id002
|
52
|
-
- !ruby/object:Gem::Dependency
|
53
|
-
name: highline
|
54
39
|
prerelease: false
|
55
|
-
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '1.16'
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: highline
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
56
49
|
none: false
|
57
|
-
requirements:
|
50
|
+
requirements:
|
58
51
|
- - ~>
|
59
|
-
- !ruby/object:Gem::Version
|
60
|
-
hash: 11
|
61
|
-
segments:
|
62
|
-
- 1
|
63
|
-
- 6
|
64
|
-
- 2
|
52
|
+
- !ruby/object:Gem::Version
|
65
53
|
version: 1.6.2
|
66
54
|
type: :runtime
|
67
|
-
version_requirements: *id003
|
68
|
-
- !ruby/object:Gem::Dependency
|
69
|
-
name: nokogiri
|
70
55
|
prerelease: false
|
71
|
-
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ~>
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 1.6.2
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: nokogiri
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
72
65
|
none: false
|
73
|
-
requirements:
|
74
|
-
- -
|
75
|
-
- !ruby/object:Gem::Version
|
76
|
-
|
77
|
-
segments:
|
78
|
-
- 0
|
79
|
-
version: "0"
|
66
|
+
requirements:
|
67
|
+
- - ! '>='
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0'
|
80
70
|
type: :runtime
|
81
|
-
|
71
|
+
prerelease: false
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ! '>='
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0'
|
82
78
|
description: Library to access bugzilla
|
83
|
-
email:
|
79
|
+
email:
|
84
80
|
- dmacvicar@suse.de
|
85
|
-
executables:
|
81
|
+
executables:
|
86
82
|
- bicho
|
87
83
|
extensions: []
|
88
|
-
|
89
84
|
extra_rdoc_files: []
|
90
|
-
|
91
|
-
files:
|
85
|
+
files:
|
92
86
|
- .gitignore
|
93
87
|
- Gemfile
|
94
88
|
- MIT-LICENSE
|
@@ -111,41 +105,32 @@ files:
|
|
111
105
|
- test/helper.rb
|
112
106
|
- test/test_novell_plugin.rb
|
113
107
|
- test/test_query.rb
|
114
|
-
has_rdoc: true
|
115
108
|
homepage: http://github.com/dmacvicar/bicho
|
116
109
|
licenses: []
|
117
|
-
|
118
110
|
post_install_message:
|
119
111
|
rdoc_options: []
|
120
|
-
|
121
|
-
require_paths:
|
112
|
+
require_paths:
|
122
113
|
- lib
|
123
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
114
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
124
115
|
none: false
|
125
|
-
requirements:
|
126
|
-
- -
|
127
|
-
- !ruby/object:Gem::Version
|
128
|
-
|
129
|
-
|
130
|
-
- 0
|
131
|
-
version: "0"
|
132
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
116
|
+
requirements:
|
117
|
+
- - ! '>='
|
118
|
+
- !ruby/object:Gem::Version
|
119
|
+
version: '0'
|
120
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
133
121
|
none: false
|
134
|
-
requirements:
|
135
|
-
- -
|
136
|
-
- !ruby/object:Gem::Version
|
137
|
-
|
138
|
-
segments:
|
139
|
-
- 0
|
140
|
-
version: "0"
|
122
|
+
requirements:
|
123
|
+
- - ! '>='
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: '0'
|
141
126
|
requirements: []
|
142
|
-
|
143
127
|
rubyforge_project: bicho
|
144
|
-
rubygems_version: 1.
|
128
|
+
rubygems_version: 1.8.23.2
|
145
129
|
signing_key:
|
146
130
|
specification_version: 3
|
147
131
|
summary: Library to access bugzilla
|
148
|
-
test_files:
|
132
|
+
test_files:
|
149
133
|
- test/helper.rb
|
150
134
|
- test/test_novell_plugin.rb
|
151
135
|
- test/test_query.rb
|
136
|
+
has_rdoc:
|