utilrb 1.6.0 → 1.6.1
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +3 -0
- data/Manifest.txt +1 -0
- data/lib/utilrb/common.rb +1 -2
- data/lib/utilrb/kernel/load_dsl_file.rb +1 -0
- data/lib/utilrb/pkgconfig.rb +1 -1
- metadata +103 -96
data/History.txt
CHANGED
data/Manifest.txt
CHANGED
data/lib/utilrb/common.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
module Utilrb
|
2
2
|
unless defined? Utilrb::VERSION
|
3
|
-
VERSION = "1.6.
|
3
|
+
VERSION = "1.6.1"
|
4
4
|
RUBY_IS_19 = (RUBY_VERSION >= "1.9.2")
|
5
5
|
RUBY_IS_191 = (RUBY_VERSION >= "1.9") && (RUBY_VERSION < "1.9.2")
|
6
6
|
end
|
@@ -15,7 +15,6 @@ module Utilrb
|
|
15
15
|
UTILRB_EXT_MODE = true
|
16
16
|
STDERR.puts "Utilrb: loaded C extension" if ENV['UTILRB_EXT_MODE']
|
17
17
|
rescue LoadError => e
|
18
|
-
raise unless e.message =~ /no such file to load/
|
19
18
|
if ENV['UTILRB_EXT_MODE'] == 'yes'
|
20
19
|
raise LoadError, "unable to load Util.rb C extension: #{e.message}"
|
21
20
|
else
|
@@ -151,6 +151,7 @@ module Kernel
|
|
151
151
|
load_dsl_filter_backtrace(file, full_backtrace, *exceptions) do
|
152
152
|
sandbox = with_module(*context) do
|
153
153
|
Class.new do
|
154
|
+
def self.name; "" end
|
154
155
|
attr_accessor :main_object
|
155
156
|
def initialize(obj); @main_object = obj end
|
156
157
|
def method_missing(*m, &block)
|
data/lib/utilrb/pkgconfig.rb
CHANGED
@@ -233,7 +233,7 @@ module Utilrb
|
|
233
233
|
when /^(#{FIELD_NAME_RX}):\s*(.*)/
|
234
234
|
raw_fields[$1] = $2.strip
|
235
235
|
else
|
236
|
-
raise NotImplementedError, "cannot parse pkg-config line #{line.inspect}"
|
236
|
+
raise NotImplementedError, "#{path}: cannot parse pkg-config line #{line.inspect}"
|
237
237
|
end
|
238
238
|
end
|
239
239
|
|
metadata
CHANGED
@@ -1,102 +1,113 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: utilrb
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
6
|
-
segments:
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.6.1
|
5
|
+
segments:
|
7
6
|
- 1
|
8
7
|
- 6
|
9
|
-
-
|
10
|
-
|
8
|
+
- 1
|
9
|
+
prerelease: false
|
11
10
|
platform: ruby
|
12
|
-
authors:
|
11
|
+
authors:
|
13
12
|
- Sylvain Joyeux
|
14
|
-
autorequire:
|
13
|
+
autorequire: !!null
|
15
14
|
bindir: bin
|
16
15
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
dependencies:
|
20
|
-
- !ruby/object:Gem::Dependency
|
16
|
+
date: 2012-04-18 00:00:00.000000000 +02:00
|
17
|
+
default_executable: !!null
|
18
|
+
dependencies:
|
19
|
+
- !ruby/object:Gem::Dependency
|
21
20
|
name: facets
|
22
|
-
|
23
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
21
|
+
requirement: &21259320 !ruby/object:Gem::Requirement
|
24
22
|
none: false
|
25
|
-
requirements:
|
26
|
-
- -
|
27
|
-
- !ruby/object:Gem::Version
|
28
|
-
|
29
|
-
segments:
|
23
|
+
requirements:
|
24
|
+
- - ! '>='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 2.4.0
|
27
|
+
segments:
|
30
28
|
- 2
|
31
29
|
- 4
|
32
30
|
- 0
|
33
|
-
version: 2.4.0
|
34
31
|
type: :runtime
|
35
|
-
version_requirements: *id001
|
36
|
-
- !ruby/object:Gem::Dependency
|
37
|
-
name: rake
|
38
32
|
prerelease: false
|
39
|
-
|
33
|
+
version_requirements: *21259320
|
34
|
+
- !ruby/object:Gem::Dependency
|
35
|
+
name: rake
|
36
|
+
requirement: &21258520 !ruby/object:Gem::Requirement
|
40
37
|
none: false
|
41
|
-
requirements:
|
42
|
-
- -
|
43
|
-
- !ruby/object:Gem::Version
|
44
|
-
|
45
|
-
segments:
|
38
|
+
requirements:
|
39
|
+
- - ! '>='
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: '0'
|
42
|
+
segments:
|
46
43
|
- 0
|
47
|
-
version: "0"
|
48
44
|
type: :runtime
|
49
|
-
version_requirements: *id002
|
50
|
-
- !ruby/object:Gem::Dependency
|
51
|
-
name: flexmock
|
52
45
|
prerelease: false
|
53
|
-
|
46
|
+
version_requirements: *21258520
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: flexmock
|
49
|
+
requirement: &21257900 !ruby/object:Gem::Requirement
|
54
50
|
none: false
|
55
|
-
requirements:
|
56
|
-
- -
|
57
|
-
- !ruby/object:Gem::Version
|
58
|
-
|
59
|
-
segments:
|
51
|
+
requirements:
|
52
|
+
- - ! '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 0.8.6
|
55
|
+
segments:
|
60
56
|
- 0
|
61
57
|
- 8
|
62
58
|
- 6
|
63
|
-
version: 0.8.6
|
64
59
|
type: :development
|
65
|
-
version_requirements: *id003
|
66
|
-
- !ruby/object:Gem::Dependency
|
67
|
-
name: hoe
|
68
60
|
prerelease: false
|
69
|
-
|
61
|
+
version_requirements: *21257900
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: rdoc
|
64
|
+
requirement: &21256900 !ruby/object:Gem::Requirement
|
70
65
|
none: false
|
71
|
-
requirements:
|
66
|
+
requirements:
|
72
67
|
- - ~>
|
73
|
-
- !ruby/object:Gem::Version
|
74
|
-
|
75
|
-
segments:
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '3.10'
|
70
|
+
segments:
|
71
|
+
- 3
|
72
|
+
- 10
|
73
|
+
type: :development
|
74
|
+
prerelease: false
|
75
|
+
version_requirements: *21256900
|
76
|
+
- !ruby/object:Gem::Dependency
|
77
|
+
name: hoe
|
78
|
+
requirement: &21255780 !ruby/object:Gem::Requirement
|
79
|
+
none: false
|
80
|
+
requirements:
|
81
|
+
- - ~>
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: '2.16'
|
84
|
+
segments:
|
76
85
|
- 2
|
77
|
-
-
|
78
|
-
version: "2.12"
|
86
|
+
- 16
|
79
87
|
type: :development
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
88
|
+
prerelease: false
|
89
|
+
version_requirements: *21255780
|
90
|
+
description: ! 'This work is licensed under the BSD license. See License.txt for details
|
91
|
+
|
92
|
+
|
84
93
|
== What is Utilrb ?
|
85
|
-
|
94
|
+
|
95
|
+
|
86
96
|
Utilrb is yet another Ruby toolkit, in the spirit of facets. It includes all
|
87
|
-
|
88
|
-
|
97
|
+
|
98
|
+
the standard class extensions I use in other projects.'
|
99
|
+
email:
|
89
100
|
- sylvain.joyeux@m4x.org
|
90
101
|
executables: []
|
91
|
-
|
92
|
-
extensions:
|
102
|
+
extensions:
|
93
103
|
- ext/extconf.rb
|
94
|
-
extra_rdoc_files:
|
104
|
+
extra_rdoc_files:
|
95
105
|
- History.txt
|
96
106
|
- License.txt
|
97
107
|
- Manifest.txt
|
98
108
|
- README.txt
|
99
|
-
files:
|
109
|
+
files:
|
110
|
+
- .gemtest
|
100
111
|
- History.txt
|
101
112
|
- License.txt
|
102
113
|
- Manifest.txt
|
@@ -198,58 +209,54 @@ files:
|
|
198
209
|
- test/test_unbound_method.rb
|
199
210
|
- test/test_weakref.rb
|
200
211
|
- test/test_logger.rb
|
201
|
-
|
212
|
+
has_rdoc: true
|
202
213
|
homepage: http://utilrb.rubyforge.org
|
203
214
|
licenses: []
|
204
|
-
|
205
|
-
|
206
|
-
rdoc_options:
|
215
|
+
post_install_message: !!null
|
216
|
+
rdoc_options:
|
207
217
|
- --main
|
208
218
|
- README.txt
|
209
|
-
require_paths:
|
219
|
+
require_paths:
|
210
220
|
- lib
|
211
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
221
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
212
222
|
none: false
|
213
|
-
requirements:
|
214
|
-
- -
|
215
|
-
- !ruby/object:Gem::Version
|
216
|
-
|
217
|
-
segments:
|
223
|
+
requirements:
|
224
|
+
- - ! '>='
|
225
|
+
- !ruby/object:Gem::Version
|
226
|
+
version: '0'
|
227
|
+
segments:
|
218
228
|
- 0
|
219
|
-
|
220
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
229
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
221
230
|
none: false
|
222
|
-
requirements:
|
223
|
-
- -
|
224
|
-
- !ruby/object:Gem::Version
|
225
|
-
|
226
|
-
segments:
|
231
|
+
requirements:
|
232
|
+
- - ! '>='
|
233
|
+
- !ruby/object:Gem::Version
|
234
|
+
version: '0'
|
235
|
+
segments:
|
227
236
|
- 0
|
228
|
-
version: "0"
|
229
237
|
requirements: []
|
230
|
-
|
231
238
|
rubyforge_project: utilrb
|
232
|
-
rubygems_version: 1.
|
233
|
-
signing_key:
|
239
|
+
rubygems_version: 1.3.7
|
240
|
+
signing_key: !!null
|
234
241
|
specification_version: 3
|
235
242
|
summary: Yet another Ruby toolkit
|
236
|
-
test_files:
|
243
|
+
test_files:
|
244
|
+
- test/test_misc.rb
|
245
|
+
- test/test_array.rb
|
246
|
+
- test/test_gc.rb
|
247
|
+
- test/test_module.rb
|
237
248
|
- test/test_kernel.rb
|
249
|
+
- test/test_proc.rb
|
250
|
+
- test/test_weakref.rb
|
251
|
+
- test/test_exception.rb
|
238
252
|
- test/test_unbound_method.rb
|
239
253
|
- test/test_hash.rb
|
240
|
-
- test/test_exception.rb
|
241
254
|
- test/test_config.rb
|
242
|
-
- test/test_time.rb
|
243
255
|
- test/test_logger.rb
|
244
|
-
- test/
|
256
|
+
- test/test_set.rb
|
257
|
+
- test/test_dir.rb
|
245
258
|
- test/test_objectstats.rb
|
246
259
|
- test/test_enumerable.rb
|
247
|
-
- test/test_gc.rb
|
248
|
-
- test/test_misc.rb
|
249
|
-
- test/test_object.rb
|
250
|
-
- test/test_array.rb
|
251
|
-
- test/test_dir.rb
|
252
|
-
- test/test_weakref.rb
|
253
|
-
- test/test_proc.rb
|
254
|
-
- test/test_set.rb
|
255
260
|
- test/test_pkgconfig.rb
|
261
|
+
- test/test_object.rb
|
262
|
+
- test/test_time.rb
|