glib2 0.90.8 → 0.90.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/ChangeLog +44 -0
- data/Rakefile +1 -0
- data/ext/glib2/rbglib.h +1 -1
- data/ext/glib2/rbglib_iochannel.c +15 -6
- data/ext/glib2/rbgobj_signal.c +1 -1
- data/ext/glib2/rbgobject.h +1 -1
- data/lib/gnome2-raketask.rb +4 -2
- data/lib/mkmf-gnome2.rb +47 -23
- data/test/glib-test-init.rb +1 -3
- metadata +20 -121
- data/test-unit/COPYING +0 -56
- data/test-unit/GPL +0 -340
- data/test-unit/History.txt +0 -279
- data/test-unit/Manifest.txt +0 -110
- data/test-unit/PSFL +0 -271
- data/test-unit/README.txt +0 -75
- data/test-unit/Rakefile +0 -53
- data/test-unit/TODO +0 -5
- data/test-unit/bin/testrb +0 -5
- data/test-unit/html/bar.png +0 -0
- data/test-unit/html/bar.svg +0 -153
- data/test-unit/html/developer.png +0 -0
- data/test-unit/html/developer.svg +0 -469
- data/test-unit/html/famfamfam-logo.png +0 -0
- data/test-unit/html/favicon.ico +0 -0
- data/test-unit/html/favicon.png +0 -0
- data/test-unit/html/favicon.svg +0 -82
- data/test-unit/html/heading-mark.png +0 -0
- data/test-unit/html/heading-mark.svg +0 -393
- data/test-unit/html/index.html +0 -285
- data/test-unit/html/index.html.ja +0 -299
- data/test-unit/html/install.png +0 -0
- data/test-unit/html/install.svg +0 -636
- data/test-unit/html/jp.png +0 -0
- data/test-unit/html/kinotan-failure.png +0 -0
- data/test-unit/html/kinotan-pass.png +0 -0
- data/test-unit/html/logo.png +0 -0
- data/test-unit/html/logo.svg +0 -483
- data/test-unit/html/reference.png +0 -0
- data/test-unit/html/rubyforge.png +0 -0
- data/test-unit/html/tango-logo.png +0 -0
- data/test-unit/html/test-unit.css +0 -339
- data/test-unit/html/tutorial.png +0 -0
- data/test-unit/html/tutorial.svg +0 -559
- data/test-unit/html/us.png +0 -0
- data/test-unit/images/color-diff.png +0 -0
- data/test-unit/lib/test/unit.rb +0 -328
- data/test-unit/lib/test/unit/assertionfailederror.rb +0 -25
- data/test-unit/lib/test/unit/assertions.rb +0 -1792
- data/test-unit/lib/test/unit/attribute.rb +0 -125
- data/test-unit/lib/test/unit/autorunner.rb +0 -415
- data/test-unit/lib/test/unit/collector.rb +0 -38
- data/test-unit/lib/test/unit/collector/descendant.rb +0 -23
- data/test-unit/lib/test/unit/collector/dir.rb +0 -108
- data/test-unit/lib/test/unit/collector/load.rb +0 -187
- data/test-unit/lib/test/unit/collector/objectspace.rb +0 -34
- data/test-unit/lib/test/unit/collector/xml.rb +0 -250
- data/test-unit/lib/test/unit/color-scheme.rb +0 -106
- data/test-unit/lib/test/unit/color.rb +0 -96
- data/test-unit/lib/test/unit/diff.rb +0 -740
- data/test-unit/lib/test/unit/error.rb +0 -131
- data/test-unit/lib/test/unit/exceptionhandler.rb +0 -39
- data/test-unit/lib/test/unit/failure.rb +0 -136
- data/test-unit/lib/test/unit/fixture.rb +0 -185
- data/test-unit/lib/test/unit/notification.rb +0 -129
- data/test-unit/lib/test/unit/omission.rb +0 -191
- data/test-unit/lib/test/unit/pending.rb +0 -150
- data/test-unit/lib/test/unit/priority.rb +0 -180
- data/test-unit/lib/test/unit/runner/console.rb +0 -52
- data/test-unit/lib/test/unit/runner/emacs.rb +0 -8
- data/test-unit/lib/test/unit/runner/tap.rb +0 -8
- data/test-unit/lib/test/unit/runner/xml.rb +0 -15
- data/test-unit/lib/test/unit/testcase.rb +0 -515
- data/test-unit/lib/test/unit/testresult.rb +0 -125
- data/test-unit/lib/test/unit/testsuite.rb +0 -134
- data/test-unit/lib/test/unit/ui/console/outputlevel.rb +0 -14
- data/test-unit/lib/test/unit/ui/console/testrunner.rb +0 -467
- data/test-unit/lib/test/unit/ui/emacs/testrunner.rb +0 -63
- data/test-unit/lib/test/unit/ui/tap/testrunner.rb +0 -82
- data/test-unit/lib/test/unit/ui/testrunner.rb +0 -53
- data/test-unit/lib/test/unit/ui/testrunnermediator.rb +0 -86
- data/test-unit/lib/test/unit/ui/testrunnerutilities.rb +0 -41
- data/test-unit/lib/test/unit/ui/xml/testrunner.rb +0 -224
- data/test-unit/lib/test/unit/util/backtracefilter.rb +0 -42
- data/test-unit/lib/test/unit/util/method-owner-finder.rb +0 -28
- data/test-unit/lib/test/unit/util/observable.rb +0 -90
- data/test-unit/lib/test/unit/util/output.rb +0 -31
- data/test-unit/lib/test/unit/util/procwrapper.rb +0 -48
- data/test-unit/lib/test/unit/version.rb +0 -7
- data/test-unit/sample/adder.rb +0 -13
- data/test-unit/sample/subtracter.rb +0 -12
- data/test-unit/sample/test_adder.rb +0 -20
- data/test-unit/sample/test_subtracter.rb +0 -20
- data/test-unit/sample/test_user.rb +0 -23
- data/test-unit/test/collector/test-descendant.rb +0 -133
- data/test-unit/test/collector/test-load.rb +0 -442
- data/test-unit/test/collector/test_dir.rb +0 -406
- data/test-unit/test/collector/test_objectspace.rb +0 -100
- data/test-unit/test/run-test.rb +0 -22
- data/test-unit/test/test-assertions.rb +0 -1849
- data/test-unit/test/test-attribute.rb +0 -86
- data/test-unit/test/test-color-scheme.rb +0 -69
- data/test-unit/test/test-color.rb +0 -47
- data/test-unit/test/test-diff.rb +0 -518
- data/test-unit/test/test-emacs-runner.rb +0 -60
- data/test-unit/test/test-fixture.rb +0 -324
- data/test-unit/test/test-notification.rb +0 -33
- data/test-unit/test/test-omission.rb +0 -81
- data/test-unit/test/test-pending.rb +0 -70
- data/test-unit/test/test-priority.rb +0 -119
- data/test-unit/test/test-testcase.rb +0 -569
- data/test-unit/test/test_error.rb +0 -26
- data/test-unit/test/test_failure.rb +0 -33
- data/test-unit/test/test_testresult.rb +0 -113
- data/test-unit/test/test_testsuite.rb +0 -137
- data/test-unit/test/testunit-test-util.rb +0 -14
- data/test-unit/test/ui/test_tap.rb +0 -33
- data/test-unit/test/ui/test_testrunmediator.rb +0 -20
- data/test-unit/test/util/test-method-owner-finder.rb +0 -38
- data/test-unit/test/util/test-output.rb +0 -11
- data/test-unit/test/util/test_backtracefilter.rb +0 -41
- data/test-unit/test/util/test_observable.rb +0 -102
- data/test-unit/test/util/test_procwrapper.rb +0 -36
data/ChangeLog
CHANGED
|
@@ -1,5 +1,49 @@
|
|
|
1
|
+
2011-06-11 Kouhei Sutou <kou@cozmixng.org>
|
|
2
|
+
|
|
3
|
+
* Rakefile, test/: use test-unit 2 gem. don't bundle it.
|
|
4
|
+
|
|
5
|
+
2011-06-04 Kouhei Sutou <kou@cozmixng.org>
|
|
6
|
+
|
|
7
|
+
* lib/mkmf-gnome2.rb (add_depend_package): don't require parent
|
|
8
|
+
directory for target_srcdir. target_srcdir can be relative path
|
|
9
|
+
from target package root directory.
|
|
10
|
+
|
|
11
|
+
e.g.:
|
|
12
|
+
add_depend_package("glib2", "ext/glib2",
|
|
13
|
+
"/path/to/ruby-gnome2-root-dir"))
|
|
14
|
+
before: NG
|
|
15
|
+
after: OK
|
|
16
|
+
|
|
17
|
+
add_depend_package("glib2", "glib2/ext/glib2",
|
|
18
|
+
"/path/to/ruby-gnome2-root-dir"))
|
|
19
|
+
before: OK
|
|
20
|
+
after: OK
|
|
21
|
+
|
|
22
|
+
* lib/mkmf-gnome2.rb (add_depend_package): support gem installed
|
|
23
|
+
depend package.
|
|
24
|
+
|
|
25
|
+
* ext/glib2/rbglib_iochannel.c: [backward incompatible]
|
|
26
|
+
GLib::IOChannel#write returns written byte not self.
|
|
27
|
+
|
|
28
|
+
2011-06-03 Kouhei Sutou <kou@cozmixng.org>
|
|
29
|
+
|
|
30
|
+
* ext/glib2/rbglib_iochannel.c: support GLib::IOChannel.new(fd)
|
|
31
|
+
and GLib::IOChannel#fd on Windows.
|
|
32
|
+
|
|
33
|
+
2011-05-27 Kouhei Sutou <kou@clear-code.com>
|
|
34
|
+
|
|
35
|
+
* ext/glib2/rbgobject.h, ext/glib2/rbgobj_signal.c
|
|
36
|
+
(rbgobj_set_signal_func): add missing "const".
|
|
37
|
+
|
|
38
|
+
2011-03-03 Vincent Carmona
|
|
39
|
+
|
|
40
|
+
* glib2/lib/mkmf-gnome2.rb: Fix a bug in make_version_header.
|
|
41
|
+
[ruby-gnome2-devel-en] reported by Grant Schoep. Thanks!!!
|
|
42
|
+
|
|
1
43
|
2011-03-04 Kouhei Sutou <kou@cozmixng.org>
|
|
2
44
|
|
|
45
|
+
* ext/glib2/rbglib.h: 0.90.7 -> 0.90.8.
|
|
46
|
+
|
|
3
47
|
* ext/glib2/rbglib_win32.c
|
|
4
48
|
(rbglib_m_win32_locale_filename_from_utf8_deprecated): add missing
|
|
5
49
|
argument.
|
data/Rakefile
CHANGED
|
@@ -6,6 +6,7 @@ package = GNOME2Package.new do |_package|
|
|
|
6
6
|
_package.summary = "Ruby/GLib2 is a Ruby binding of GLib-2.x."
|
|
7
7
|
_package.description = "Ruby/GLib2 is a Ruby binding of GLib-2.x."
|
|
8
8
|
_package.dependency.gem.runtime = [["pkg-config", ">= 0"]]
|
|
9
|
+
_package.dependency.gem.development = [["test-unit", ">= 2"]]
|
|
9
10
|
_package.win32.packages = ["glib"]
|
|
10
11
|
_package.win32.dependencies = ["gettext-runtime"]
|
|
11
12
|
end
|
data/ext/glib2/rbglib.h
CHANGED
|
@@ -41,12 +41,16 @@ ioc_initialize(gint argc, VALUE *argv, VALUE self)
|
|
|
41
41
|
rb_scan_args(argc, argv, "11", &arg1, &arg2);
|
|
42
42
|
|
|
43
43
|
if (TYPE(arg1) != T_STRING){
|
|
44
|
-
|
|
44
|
+
gint fd;
|
|
45
45
|
if (TYPE(arg1) == T_FIXNUM){
|
|
46
|
-
|
|
46
|
+
fd = NUM2INT(arg1);
|
|
47
47
|
} else {
|
|
48
|
-
|
|
48
|
+
fd = NUM2INT(rb_funcall(arg1, rb_intern("to_i"), 0));
|
|
49
49
|
}
|
|
50
|
+
#ifdef G_OS_UNIX
|
|
51
|
+
io = g_io_channel_unix_new(fd);
|
|
52
|
+
#elif defined(G_OS_WIN32)
|
|
53
|
+
io = g_io_channel_win32_new_fd(fd);
|
|
50
54
|
#else
|
|
51
55
|
rb_raise(rb_eRuntimeError, "GLib::IOChannel.new(fd) is supported on UNIX environment only");
|
|
52
56
|
#endif
|
|
@@ -86,7 +90,9 @@ ioc_s_open(gint argc, VALUE *argv, VALUE self)
|
|
|
86
90
|
#ifdef G_OS_UNIX
|
|
87
91
|
io = g_io_channel_unix_new(NUM2INT(arg1));
|
|
88
92
|
#else
|
|
89
|
-
rb_raise(rb_eRuntimeError,
|
|
93
|
+
rb_raise(rb_eRuntimeError,
|
|
94
|
+
"GLib::IOChannel.new(fd) is supported on "
|
|
95
|
+
"UNIX and Windows environment only");
|
|
90
96
|
#endif
|
|
91
97
|
} else {
|
|
92
98
|
GError* err = NULL;
|
|
@@ -109,8 +115,11 @@ ioc_get_fd(VALUE self)
|
|
|
109
115
|
{
|
|
110
116
|
#ifdef G_OS_UNIX
|
|
111
117
|
return INT2NUM(g_io_channel_unix_get_fd(_SELF(self)));
|
|
118
|
+
#elif defined(G_OS_WIN32)
|
|
119
|
+
return INT2NUM(g_io_channel_win32_get_fd(_SELF(self)));
|
|
112
120
|
#else
|
|
113
|
-
rb_warn("GLib::IOChannel#fd is supported on
|
|
121
|
+
rb_warn("GLib::IOChannel#fd is supported on "
|
|
122
|
+
"UNIX and Windows environment only.");
|
|
114
123
|
return Qnil;
|
|
115
124
|
#endif
|
|
116
125
|
}
|
|
@@ -404,7 +413,7 @@ ioc_write_chars(VALUE self, VALUE buf)
|
|
|
404
413
|
status = g_io_channel_write_chars(_SELF(self), RVAL2CSTR(buf), count, &bytes_written, &err);
|
|
405
414
|
|
|
406
415
|
ioc_error(status, err);
|
|
407
|
-
return
|
|
416
|
+
return UINT2NUM(bytes_written);
|
|
408
417
|
}
|
|
409
418
|
|
|
410
419
|
static ID id_unpack;
|
data/ext/glib2/rbgobj_signal.c
CHANGED
|
@@ -24,7 +24,7 @@ VALUE rbgobj_signal_wrap(guint sig_id);
|
|
|
24
24
|
static VALUE signal_func_table;
|
|
25
25
|
|
|
26
26
|
void
|
|
27
|
-
rbgobj_set_signal_func(VALUE klass, gchar *sig_name, GValToRValSignalFunc func)
|
|
27
|
+
rbgobj_set_signal_func(VALUE klass, const gchar *sig_name, GValToRValSignalFunc func)
|
|
28
28
|
{
|
|
29
29
|
VALUE obj = Data_Wrap_Struct(rb_cData, NULL, NULL, func);
|
|
30
30
|
guint signal_id = g_signal_lookup(sig_name, CLASS2GTYPE(klass));
|
data/ext/glib2/rbgobject.h
CHANGED
|
@@ -175,7 +175,7 @@ extern GType rbgobj_gtype_get(VALUE obj);
|
|
|
175
175
|
|
|
176
176
|
/* rbgobj_signal.c */
|
|
177
177
|
typedef VALUE (*GValToRValSignalFunc)(guint num,const GValue* values);
|
|
178
|
-
extern void rbgobj_set_signal_func(VALUE klass, gchar*
|
|
178
|
+
extern void rbgobj_set_signal_func(VALUE klass, const gchar *sig_name, GValToRValSignalFunc func);
|
|
179
179
|
extern GValToRValSignalFunc rbgobj_get_signal_func(guint signal_id);
|
|
180
180
|
extern VALUE rbgobj_signal_wrap(guint sig_id);
|
|
181
181
|
|
data/lib/gnome2-raketask.rb
CHANGED
|
@@ -10,6 +10,8 @@ require 'rubygems'
|
|
|
10
10
|
require 'rake/extensiontask'
|
|
11
11
|
|
|
12
12
|
class GNOME2Package
|
|
13
|
+
include Rake::DSL
|
|
14
|
+
|
|
13
15
|
attr_accessor :name, :summary, :description, :author, :email, :homepage, :post_install_message
|
|
14
16
|
def initialize
|
|
15
17
|
initialize_variables
|
|
@@ -86,11 +88,11 @@ class GNOME2Package
|
|
|
86
88
|
"ChangeLog", "README", "Rakefile", "extconf.rb",
|
|
87
89
|
"lib/**/*.rb", "{ext,sample,test,test-unit}/**/*"]
|
|
88
90
|
s.post_install_message = @post_install_message
|
|
89
|
-
s.has_rdoc = false
|
|
90
91
|
@dependency_configuration.apply(s)
|
|
91
92
|
end
|
|
92
93
|
|
|
93
|
-
|
|
94
|
+
Gem::PackageTask.new(@spec) do |pkg|
|
|
95
|
+
pkg.need_tar = true
|
|
94
96
|
end
|
|
95
97
|
end
|
|
96
98
|
|
data/lib/mkmf-gnome2.rb
CHANGED
|
@@ -77,12 +77,25 @@ end
|
|
|
77
77
|
|
|
78
78
|
#add_depend_package("glib2", "ext/glib2", "/...../ruby-gnome2")
|
|
79
79
|
def add_depend_package(target_name, target_srcdir, top_srcdir, options={})
|
|
80
|
-
|
|
80
|
+
begin
|
|
81
|
+
require 'rubygems'
|
|
82
|
+
gem_spec = Gem.source_index.find_name(target_name).last
|
|
83
|
+
if gem_spec
|
|
84
|
+
target_source_dir = File.join(gem_spec.full_gem_path, "ext/#{target_name}")
|
|
85
|
+
target_build_dir = target_source_dir
|
|
86
|
+
add_depend_package_path(target_name,
|
|
87
|
+
target_source_dir,
|
|
88
|
+
target_build_dir)
|
|
89
|
+
end
|
|
90
|
+
rescue LoadError
|
|
91
|
+
end
|
|
92
|
+
|
|
93
|
+
[top_srcdir,
|
|
94
|
+
File.join(top_srcdir, target_name),
|
|
95
|
+
$configure_args['--topdir'],
|
|
96
|
+
File.join($configure_args['--topdir'], target_name)].each do |topdir|
|
|
81
97
|
topdir = File.expand_path(topdir)
|
|
82
98
|
target_source_dir_full_path = File.join(topdir, target_srcdir)
|
|
83
|
-
if File.exist?(target_source_dir_full_path)
|
|
84
|
-
$INCFLAGS = "-I#{target_source_dir_full_path} #{$INCFLAGS}"
|
|
85
|
-
end
|
|
86
99
|
|
|
87
100
|
top_build_dir = options[:top_build_dir] || topdir
|
|
88
101
|
target_build_dir = options[:target_build_dir] || target_srcdir
|
|
@@ -96,26 +109,38 @@ def add_depend_package(target_name, target_srcdir, top_srcdir, options={})
|
|
|
96
109
|
unless File.exist?(target_build_dir_full_path)
|
|
97
110
|
target_build_dir_full_path = File.join(topdir, target_srcdir)
|
|
98
111
|
end
|
|
99
|
-
|
|
100
|
-
|
|
112
|
+
add_depend_package_path(target_name,
|
|
113
|
+
target_source_dir_full_path,
|
|
114
|
+
target_build_dir_full_path)
|
|
115
|
+
end
|
|
116
|
+
end
|
|
117
|
+
|
|
118
|
+
def add_depend_package_path(target_name, target_source_dir, target_build_dir)
|
|
119
|
+
if File.exist?(target_source_dir)
|
|
120
|
+
$INCFLAGS = "-I#{target_source_dir} #{$INCFLAGS}"
|
|
121
|
+
end
|
|
122
|
+
|
|
123
|
+
return unless File.exist?(target_build_dir)
|
|
124
|
+
if target_source_dir != target_build_dir
|
|
125
|
+
$INCFLAGS = "-I#{target_build_dir} #{$INCFLAGS}"
|
|
126
|
+
end
|
|
101
127
|
|
|
128
|
+
case RUBY_PLATFORM
|
|
129
|
+
when /cygwin|mingw|mswin32/
|
|
102
130
|
case RUBY_PLATFORM
|
|
103
|
-
when /cygwin|mingw
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
target_pkg_config_dir = target_binary_base_dir + "lib" + "pkgconfig"
|
|
117
|
-
PKGConfig.add_path(target_pkg_config_dir.to_s)
|
|
118
|
-
end
|
|
131
|
+
when /cygwin|mingw/
|
|
132
|
+
$LDFLAGS << " -L#{target_build_dir}"
|
|
133
|
+
$libs << " -lruby-#{target_name}"
|
|
134
|
+
when /mswin32/
|
|
135
|
+
$DLDFLAGS << " /libpath:#{target_build_dir}"
|
|
136
|
+
$libs << " libruby-#{target_name}.lib"
|
|
137
|
+
end
|
|
138
|
+
target_base_dir = Pathname.new(target_source_dir).parent.parent
|
|
139
|
+
target_binary_base_dir = target_base_dir + "vendor" + "local"
|
|
140
|
+
if target_binary_base_dir.exist?
|
|
141
|
+
$INCFLAGS = "-I#{target_binary_base_dir}/include #{$INCFLAGS}"
|
|
142
|
+
target_pkg_config_dir = target_binary_base_dir + "lib" + "pkgconfig"
|
|
143
|
+
PKGConfig.add_path(target_pkg_config_dir.to_s)
|
|
119
144
|
end
|
|
120
145
|
end
|
|
121
146
|
end
|
|
@@ -258,7 +283,6 @@ end
|
|
|
258
283
|
# This is used for the library which doesn't support version info.
|
|
259
284
|
def make_version_header(app_name, pkgname, dir = "src")
|
|
260
285
|
version = PKGConfig.modversion(pkgname).split(/\./)
|
|
261
|
-
version = "2.0b7".split(/\./)
|
|
262
286
|
(0..2).each do |v|
|
|
263
287
|
version[v] = "0" unless version[v]
|
|
264
288
|
if /\A(\d+)/ =~ version[v]
|
data/test/glib-test-init.rb
CHANGED
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: glib2
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
5
|
-
prerelease:
|
|
4
|
+
hash: 357
|
|
5
|
+
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 90
|
|
9
|
-
-
|
|
10
|
-
version: 0.90.
|
|
9
|
+
- 9
|
|
10
|
+
version: 0.90.9
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- The Ruby-GNOME2 Proejct Team
|
|
@@ -15,8 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2011-
|
|
19
|
-
default_executable:
|
|
18
|
+
date: 2011-06-11 00:00:00 Z
|
|
20
19
|
dependencies:
|
|
21
20
|
- !ruby/object:Gem::Dependency
|
|
22
21
|
name: pkg-config
|
|
@@ -32,6 +31,20 @@ dependencies:
|
|
|
32
31
|
version: "0"
|
|
33
32
|
type: :runtime
|
|
34
33
|
version_requirements: *id001
|
|
34
|
+
- !ruby/object:Gem::Dependency
|
|
35
|
+
name: test-unit
|
|
36
|
+
prerelease: false
|
|
37
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
|
38
|
+
none: false
|
|
39
|
+
requirements:
|
|
40
|
+
- - ">="
|
|
41
|
+
- !ruby/object:Gem::Version
|
|
42
|
+
hash: 7
|
|
43
|
+
segments:
|
|
44
|
+
- 2
|
|
45
|
+
version: "2"
|
|
46
|
+
type: :development
|
|
47
|
+
version_requirements: *id002
|
|
35
48
|
description: Ruby/GLib2 is a Ruby binding of GLib-2.x.
|
|
36
49
|
email: ruby-gnome2-devel-en@lists.sourceforge.net
|
|
37
50
|
executables: []
|
|
@@ -128,120 +141,6 @@ files:
|
|
|
128
141
|
- test/test_unicode.rb
|
|
129
142
|
- test/test_iochannel.rb
|
|
130
143
|
- test/glib-test-init.rb
|
|
131
|
-
- test-unit/Manifest.txt
|
|
132
|
-
- test-unit/TODO
|
|
133
|
-
- test-unit/html/rubyforge.png
|
|
134
|
-
- test-unit/html/test-unit.css
|
|
135
|
-
- test-unit/html/reference.png
|
|
136
|
-
- test-unit/html/tutorial.svg
|
|
137
|
-
- test-unit/html/jp.png
|
|
138
|
-
- test-unit/html/tango-logo.png
|
|
139
|
-
- test-unit/html/install.svg
|
|
140
|
-
- test-unit/html/heading-mark.png
|
|
141
|
-
- test-unit/html/developer.svg
|
|
142
|
-
- test-unit/html/kinotan-failure.png
|
|
143
|
-
- test-unit/html/developer.png
|
|
144
|
-
- test-unit/html/heading-mark.svg
|
|
145
|
-
- test-unit/html/logo.png
|
|
146
|
-
- test-unit/html/tutorial.png
|
|
147
|
-
- test-unit/html/us.png
|
|
148
|
-
- test-unit/html/bar.svg
|
|
149
|
-
- test-unit/html/index.html
|
|
150
|
-
- test-unit/html/index.html.ja
|
|
151
|
-
- test-unit/html/bar.png
|
|
152
|
-
- test-unit/html/favicon.svg
|
|
153
|
-
- test-unit/html/favicon.png
|
|
154
|
-
- test-unit/html/favicon.ico
|
|
155
|
-
- test-unit/html/install.png
|
|
156
|
-
- test-unit/html/kinotan-pass.png
|
|
157
|
-
- test-unit/html/logo.svg
|
|
158
|
-
- test-unit/html/famfamfam-logo.png
|
|
159
|
-
- test-unit/History.txt
|
|
160
|
-
- test-unit/README.txt
|
|
161
|
-
- test-unit/images/color-diff.png
|
|
162
|
-
- test-unit/COPYING
|
|
163
|
-
- test-unit/lib/test/unit.rb
|
|
164
|
-
- test-unit/lib/test/unit/attribute.rb
|
|
165
|
-
- test-unit/lib/test/unit/color.rb
|
|
166
|
-
- test-unit/lib/test/unit/version.rb
|
|
167
|
-
- test-unit/lib/test/unit/runner/emacs.rb
|
|
168
|
-
- test-unit/lib/test/unit/runner/console.rb
|
|
169
|
-
- test-unit/lib/test/unit/runner/tap.rb
|
|
170
|
-
- test-unit/lib/test/unit/runner/xml.rb
|
|
171
|
-
- test-unit/lib/test/unit/ui/testrunnerutilities.rb
|
|
172
|
-
- test-unit/lib/test/unit/ui/emacs/testrunner.rb
|
|
173
|
-
- test-unit/lib/test/unit/ui/testrunner.rb
|
|
174
|
-
- test-unit/lib/test/unit/ui/tap/testrunner.rb
|
|
175
|
-
- test-unit/lib/test/unit/ui/xml/testrunner.rb
|
|
176
|
-
- test-unit/lib/test/unit/ui/console/outputlevel.rb
|
|
177
|
-
- test-unit/lib/test/unit/ui/console/testrunner.rb
|
|
178
|
-
- test-unit/lib/test/unit/ui/testrunnermediator.rb
|
|
179
|
-
- test-unit/lib/test/unit/assertionfailederror.rb
|
|
180
|
-
- test-unit/lib/test/unit/failure.rb
|
|
181
|
-
- test-unit/lib/test/unit/autorunner.rb
|
|
182
|
-
- test-unit/lib/test/unit/exceptionhandler.rb
|
|
183
|
-
- test-unit/lib/test/unit/assertions.rb
|
|
184
|
-
- test-unit/lib/test/unit/error.rb
|
|
185
|
-
- test-unit/lib/test/unit/omission.rb
|
|
186
|
-
- test-unit/lib/test/unit/fixture.rb
|
|
187
|
-
- test-unit/lib/test/unit/collector/descendant.rb
|
|
188
|
-
- test-unit/lib/test/unit/collector/load.rb
|
|
189
|
-
- test-unit/lib/test/unit/collector/xml.rb
|
|
190
|
-
- test-unit/lib/test/unit/collector/dir.rb
|
|
191
|
-
- test-unit/lib/test/unit/collector/objectspace.rb
|
|
192
|
-
- test-unit/lib/test/unit/color-scheme.rb
|
|
193
|
-
- test-unit/lib/test/unit/testcase.rb
|
|
194
|
-
- test-unit/lib/test/unit/util/method-owner-finder.rb
|
|
195
|
-
- test-unit/lib/test/unit/util/output.rb
|
|
196
|
-
- test-unit/lib/test/unit/util/procwrapper.rb
|
|
197
|
-
- test-unit/lib/test/unit/util/observable.rb
|
|
198
|
-
- test-unit/lib/test/unit/util/backtracefilter.rb
|
|
199
|
-
- test-unit/lib/test/unit/pending.rb
|
|
200
|
-
- test-unit/lib/test/unit/testresult.rb
|
|
201
|
-
- test-unit/lib/test/unit/collector.rb
|
|
202
|
-
- test-unit/lib/test/unit/diff.rb
|
|
203
|
-
- test-unit/lib/test/unit/priority.rb
|
|
204
|
-
- test-unit/lib/test/unit/notification.rb
|
|
205
|
-
- test-unit/lib/test/unit/testsuite.rb
|
|
206
|
-
- test-unit/bin/testrb
|
|
207
|
-
- test-unit/sample/test_subtracter.rb
|
|
208
|
-
- test-unit/sample/subtracter.rb
|
|
209
|
-
- test-unit/sample/test_user.rb
|
|
210
|
-
- test-unit/sample/test_adder.rb
|
|
211
|
-
- test-unit/sample/adder.rb
|
|
212
|
-
- test-unit/Rakefile
|
|
213
|
-
- test-unit/PSFL
|
|
214
|
-
- test-unit/GPL
|
|
215
|
-
- test-unit/test/testunit-test-util.rb
|
|
216
|
-
- test-unit/test/test-testcase.rb
|
|
217
|
-
- test-unit/test/ui/test_testrunmediator.rb
|
|
218
|
-
- test-unit/test/ui/test_tap.rb
|
|
219
|
-
- test-unit/test/test_testresult.rb
|
|
220
|
-
- test-unit/test/test-pending.rb
|
|
221
|
-
- test-unit/test/test-emacs-runner.rb
|
|
222
|
-
- test-unit/test/test-fixture.rb
|
|
223
|
-
- test-unit/test/test-attribute.rb
|
|
224
|
-
- test-unit/test/test_failure.rb
|
|
225
|
-
- test-unit/test/test_testsuite.rb
|
|
226
|
-
- test-unit/test/collector/test_objectspace.rb
|
|
227
|
-
- test-unit/test/collector/test-descendant.rb
|
|
228
|
-
- test-unit/test/collector/test_dir.rb
|
|
229
|
-
- test-unit/test/collector/test-load.rb
|
|
230
|
-
- test-unit/test/run-test.rb
|
|
231
|
-
- test-unit/test/test-assertions.rb
|
|
232
|
-
- test-unit/test/test-priority.rb
|
|
233
|
-
- test-unit/test/util/test_backtracefilter.rb
|
|
234
|
-
- test-unit/test/util/test_observable.rb
|
|
235
|
-
- test-unit/test/util/test_procwrapper.rb
|
|
236
|
-
- test-unit/test/util/test-method-owner-finder.rb
|
|
237
|
-
- test-unit/test/util/test-output.rb
|
|
238
|
-
- test-unit/test/test_error.rb
|
|
239
|
-
- test-unit/test/test-diff.rb
|
|
240
|
-
- test-unit/test/test-notification.rb
|
|
241
|
-
- test-unit/test/test-color-scheme.rb
|
|
242
|
-
- test-unit/test/test-omission.rb
|
|
243
|
-
- test-unit/test/test-color.rb
|
|
244
|
-
has_rdoc: true
|
|
245
144
|
homepage: http://ruby-gnome2.sourceforge.jp/
|
|
246
145
|
licenses: []
|
|
247
146
|
|
|
@@ -273,7 +172,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
273
172
|
requirements: []
|
|
274
173
|
|
|
275
174
|
rubyforge_project:
|
|
276
|
-
rubygems_version: 1.
|
|
175
|
+
rubygems_version: 1.7.2
|
|
277
176
|
signing_key:
|
|
278
177
|
specification_version: 3
|
|
279
178
|
summary: Ruby/GLib2 is a Ruby binding of GLib-2.x.
|
data/test-unit/COPYING
DELETED
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
Ruby is copyrighted free software by Yukihiro Matsumoto <matz@netlab.jp>.
|
|
2
|
-
You can redistribute it and/or modify it under either the terms of the GPL
|
|
3
|
-
version 2 (see the file GPL), or the conditions below:
|
|
4
|
-
|
|
5
|
-
1. You may make and give away verbatim copies of the source form of the
|
|
6
|
-
software without restriction, provided that you duplicate all of the
|
|
7
|
-
original copyright notices and associated disclaimers.
|
|
8
|
-
|
|
9
|
-
2. You may modify your copy of the software in any way, provided that
|
|
10
|
-
you do at least ONE of the following:
|
|
11
|
-
|
|
12
|
-
a) place your modifications in the Public Domain or otherwise
|
|
13
|
-
make them Freely Available, such as by posting said
|
|
14
|
-
modifications to Usenet or an equivalent medium, or by allowing
|
|
15
|
-
the author to include your modifications in the software.
|
|
16
|
-
|
|
17
|
-
b) use the modified software only within your corporation or
|
|
18
|
-
organization.
|
|
19
|
-
|
|
20
|
-
c) give non-standard binaries non-standard names, with
|
|
21
|
-
instructions on where to get the original software distribution.
|
|
22
|
-
|
|
23
|
-
d) make other distribution arrangements with the author.
|
|
24
|
-
|
|
25
|
-
3. You may distribute the software in object code or binary form,
|
|
26
|
-
provided that you do at least ONE of the following:
|
|
27
|
-
|
|
28
|
-
a) distribute the binaries and library files of the software,
|
|
29
|
-
together with instructions (in the manual page or equivalent)
|
|
30
|
-
on where to get the original distribution.
|
|
31
|
-
|
|
32
|
-
b) accompany the distribution with the machine-readable source of
|
|
33
|
-
the software.
|
|
34
|
-
|
|
35
|
-
c) give non-standard binaries non-standard names, with
|
|
36
|
-
instructions on where to get the original software distribution.
|
|
37
|
-
|
|
38
|
-
d) make other distribution arrangements with the author.
|
|
39
|
-
|
|
40
|
-
4. You may modify and include the part of the software into any other
|
|
41
|
-
software (possibly commercial). But some files in the distribution
|
|
42
|
-
are not written by the author, so that they are not under these terms.
|
|
43
|
-
|
|
44
|
-
For the list of those files and their copying conditions, see the
|
|
45
|
-
file LEGAL.
|
|
46
|
-
|
|
47
|
-
5. The scripts and library files supplied as input to or produced as
|
|
48
|
-
output from the software do not automatically fall under the
|
|
49
|
-
copyright of the software, but belong to whomever generated them,
|
|
50
|
-
and may be sold commercially, and may be aggregated with this
|
|
51
|
-
software.
|
|
52
|
-
|
|
53
|
-
6. THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
|
|
54
|
-
IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
|
|
55
|
-
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
|
56
|
-
PURPOSE.
|