gio2 1.1.5 → 1.1.6
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/ext/gio2/rbgiosocket.c +3 -3
- metadata +52 -32
data/ext/gio2/rbgiosocket.c
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
|
2
2
|
/*
|
3
|
-
* Copyright (C) 2011 Ruby-GNOME2 Project Team
|
3
|
+
* Copyright (C) 2011-2012 Ruby-GNOME2 Project Team
|
4
4
|
* Copyright (C) 2008-2009 Ruby-GNOME2 Project Team
|
5
5
|
*
|
6
6
|
* This library is free software; you can redistribute it and/or
|
@@ -266,7 +266,7 @@ rg_connected_p(VALUE self)
|
|
266
266
|
static gboolean
|
267
267
|
source_func(GSocket *socket, GIOCondition condition, gpointer user_data)
|
268
268
|
{
|
269
|
-
VALUE callback =
|
269
|
+
VALUE callback = (VALUE)user_data;
|
270
270
|
return RVAL2CBOOL(rb_funcall(callback, id_call, 2,
|
271
271
|
GOBJ2RVAL(socket),
|
272
272
|
GIOCONDITION2RVAL(condition)));
|
@@ -286,7 +286,7 @@ rg_create_source(int argc, VALUE *argv, VALUE self)
|
|
286
286
|
G_RELATIVE(self, callback);
|
287
287
|
g_source_set_callback(source,
|
288
288
|
(GSourceFunc)source_func,
|
289
|
-
|
289
|
+
(gpointer)callback,
|
290
290
|
NULL);
|
291
291
|
return GSOURCE2RVAL(source);
|
292
292
|
}
|
metadata
CHANGED
@@ -1,39 +1,47 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: gio2
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 31
|
5
5
|
prerelease:
|
6
|
+
segments:
|
7
|
+
- 1
|
8
|
+
- 1
|
9
|
+
- 6
|
10
|
+
version: 1.1.6
|
6
11
|
platform: ruby
|
7
|
-
authors:
|
12
|
+
authors:
|
8
13
|
- The Ruby-GNOME2 Project Team
|
9
14
|
autorequire:
|
10
15
|
bindir: bin
|
11
16
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
17
|
+
|
18
|
+
date: 2012-12-02 00:00:00 Z
|
19
|
+
dependencies:
|
20
|
+
- !ruby/object:Gem::Dependency
|
15
21
|
name: glib2
|
16
|
-
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
|
-
requirements:
|
19
|
-
- - ! '>='
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
version: 1.1.5
|
22
|
-
type: :runtime
|
23
22
|
prerelease: false
|
24
|
-
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
25
24
|
none: false
|
26
|
-
requirements:
|
27
|
-
- -
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
|
25
|
+
requirements:
|
26
|
+
- - ">="
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
hash: 31
|
29
|
+
segments:
|
30
|
+
- 1
|
31
|
+
- 1
|
32
|
+
- 6
|
33
|
+
version: 1.1.6
|
34
|
+
type: :runtime
|
35
|
+
version_requirements: *id001
|
30
36
|
description: Ruby/GIO2 is a Ruby binding of gio-2.x.
|
31
37
|
email: ruby-gnome2-devel-en@lists.sourceforge.net
|
32
38
|
executables: []
|
33
|
-
|
39
|
+
|
40
|
+
extensions:
|
34
41
|
- ext/gio2/extconf.rb
|
35
42
|
extra_rdoc_files: []
|
36
|
-
|
43
|
+
|
44
|
+
files:
|
37
45
|
- README
|
38
46
|
- Rakefile
|
39
47
|
- extconf.rb
|
@@ -145,26 +153,38 @@ files:
|
|
145
153
|
- test/load-test.rb
|
146
154
|
homepage: http://ruby-gnome2.sourceforge.jp/
|
147
155
|
licenses: []
|
156
|
+
|
148
157
|
post_install_message: This library is experimental.
|
149
158
|
rdoc_options: []
|
150
|
-
|
159
|
+
|
160
|
+
require_paths:
|
151
161
|
- lib
|
152
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
162
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
153
163
|
none: false
|
154
|
-
requirements:
|
155
|
-
- -
|
156
|
-
- !ruby/object:Gem::Version
|
164
|
+
requirements:
|
165
|
+
- - ">="
|
166
|
+
- !ruby/object:Gem::Version
|
167
|
+
hash: 61
|
168
|
+
segments:
|
169
|
+
- 1
|
170
|
+
- 8
|
171
|
+
- 5
|
157
172
|
version: 1.8.5
|
158
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
173
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
159
174
|
none: false
|
160
|
-
requirements:
|
161
|
-
- -
|
162
|
-
- !ruby/object:Gem::Version
|
163
|
-
|
175
|
+
requirements:
|
176
|
+
- - ">="
|
177
|
+
- !ruby/object:Gem::Version
|
178
|
+
hash: 3
|
179
|
+
segments:
|
180
|
+
- 0
|
181
|
+
version: "0"
|
164
182
|
requirements: []
|
183
|
+
|
165
184
|
rubyforge_project:
|
166
|
-
rubygems_version: 1.8.
|
185
|
+
rubygems_version: 1.8.24
|
167
186
|
signing_key:
|
168
187
|
specification_version: 3
|
169
188
|
summary: Ruby/GIO2 is a Ruby binding of gio-2.x.
|
170
189
|
test_files: []
|
190
|
+
|