gio2 2.1.0 → 2.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +26 -9
- data/ext/gio2/extconf.rb +38 -28
- data/ext/gio2/rb-gio2-pollable-source.c +59 -0
- data/ext/gio2/{rbgiofilteroutputstream.c → rb-gio2.c} +9 -5
- data/ext/gio2/{gio2.c → rb-gio2.h} +5 -10
- data/extconf.rb +22 -6
- data/lib/gio2.rb +38 -143
- data/lib/gio2/deprecated.rb +16 -0
- data/lib/gio2/inet-address.rb +33 -0
- data/lib/gio2/input-stream.rb +39 -0
- data/lib/gio2/loader.rb +244 -0
- data/lib/gio2/output-stream.rb +24 -0
- data/lib/gio2/pollable-input-stream.rb +51 -0
- data/lib/gio2/pollable-output-stream.rb +32 -0
- data/lib/gio2/resources.rb +62 -0
- data/test/fixture/content-type/x-content/unix-software/autorun.sh +1 -0
- data/test/fixture/resource/Rakefile +32 -0
- data/test/fixture/resource/logo.png +0 -0
- data/test/fixture/resource/ruby-gio2.gresource +0 -0
- data/test/fixture/resource/ruby-gio2.gresource.xml +6 -0
- data/test/gio2-test-utils.rb +21 -0
- data/test/gio2-test-utils/fixture.rb +24 -0
- data/test/gio2-test-utils/socket-client.rb +59 -0
- data/test/run-test.rb +45 -9
- data/test/test-buffered-input-stream.rb +23 -0
- data/test/test-charset-converter.rb +23 -0
- data/test/test-content-type.rb +31 -0
- data/test/test-data-input-stream.rb +21 -0
- data/test/test-file-enumerator.rb +26 -0
- data/test/test-file-monitor.rb +33 -0
- data/test/test-file.rb +28 -0
- data/test/test-inet-address.rb +34 -0
- data/test/test-input-stream.rb +36 -0
- data/test/test-output-stream.rb +39 -0
- data/test/test-pollable-input-stream.rb +54 -0
- data/test/test-pollable-output-stream.rb +53 -0
- data/test/test-resources.rb +58 -0
- metadata +49 -107
- data/README +0 -34
- data/ext/gio2/depend +0 -11
- data/ext/gio2/gio2.def +0 -2
- data/ext/gio2/gio2.h +0 -30
- data/ext/gio2/rbgio.c +0 -133
- data/ext/gio2/rbgio2.h +0 -158
- data/ext/gio2/rbgio2conversions.h +0 -154
- data/ext/gio2/rbgio2private.h +0 -148
- data/ext/gio2/rbgioappinfo.c +0 -317
- data/ext/gio2/rbgioapplaunchcontext.c +0 -81
- data/ext/gio2/rbgioasyncinitable.c +0 -246
- data/ext/gio2/rbgioasyncresult.c +0 -41
- data/ext/gio2/rbgiobufferedinputstream.c +0 -167
- data/ext/gio2/rbgiobufferedoutputstream.c +0 -50
- data/ext/gio2/rbgiocancellable.c +0 -180
- data/ext/gio2/rbgiocharsetconverter.c +0 -57
- data/ext/gio2/rbgiocontenttype.c +0 -131
- data/ext/gio2/rbgioconverter.c +0 -113
- data/ext/gio2/rbgioconverterinputstream.c +0 -43
- data/ext/gio2/rbgioconverteroutputstream.c +0 -43
- data/ext/gio2/rbgiodatainputstream.c +0 -309
- data/ext/gio2/rbgiodataoutputstream.c +0 -186
- data/ext/gio2/rbgiodesktopappinfo.c +0 -87
- data/ext/gio2/rbgiodrive.c +0 -266
- data/ext/gio2/rbgioemblem.c +0 -52
- data/ext/gio2/rbgioemblemedicon.c +0 -65
- data/ext/gio2/rbgiofile.c +0 -2045
- data/ext/gio2/rbgiofileattribute.c +0 -114
- data/ext/gio2/rbgiofileattributeinfo.c +0 -86
- data/ext/gio2/rbgiofileattributeinfolist.c +0 -108
- data/ext/gio2/rbgiofileattributematcher.c +0 -95
- data/ext/gio2/rbgiofiledescriptorbased.c +0 -45
- data/ext/gio2/rbgiofileenumerator.c +0 -166
- data/ext/gio2/rbgiofileicon.c +0 -41
- data/ext/gio2/rbgiofileinfo.c +0 -617
- data/ext/gio2/rbgiofileinputstream.c +0 -91
- data/ext/gio2/rbgiofileiostream.c +0 -98
- data/ext/gio2/rbgiofilemonitor.c +0 -46
- data/ext/gio2/rbgiofilenamecompleter.c +0 -73
- data/ext/gio2/rbgiofileoutputstream.c +0 -98
- data/ext/gio2/rbgiofilterinputstream.c +0 -28
- data/ext/gio2/rbgioicon.c +0 -69
- data/ext/gio2/rbgioinetaddress.c +0 -118
- data/ext/gio2/rbgioinetsocketaddress.c +0 -41
- data/ext/gio2/rbgioinitable.c +0 -199
- data/ext/gio2/rbgioinputstream.c +0 -341
- data/ext/gio2/rbgioio.c +0 -73
- data/ext/gio2/rbgioiomodule.c +0 -45
- data/ext/gio2/rbgioiomodules.c +0 -47
- data/ext/gio2/rbgioioscheduler.c +0 -102
- data/ext/gio2/rbgioioschedulerjob.c +0 -121
- data/ext/gio2/rbgioiostream.c +0 -107
- data/ext/gio2/rbgioloadableicon.c +0 -92
- data/ext/gio2/rbgiomemoryinputstream.c +0 -67
- data/ext/gio2/rbgiomemoryoutputstream.c +0 -44
- data/ext/gio2/rbgiomount.c +0 -286
- data/ext/gio2/rbgiomountoperation.c +0 -53
- data/ext/gio2/rbgionetworkaddress.c +0 -59
- data/ext/gio2/rbgionetworkservice.c +0 -45
- data/ext/gio2/rbgiooutputstream.c +0 -331
- data/ext/gio2/rbgioresolver.c +0 -230
- data/ext/gio2/rbgioseekable.c +0 -91
- data/ext/gio2/rbgiosimpleasyncresult.c +0 -152
- data/ext/gio2/rbgiosocket.c +0 -390
- data/ext/gio2/rbgiosocketaddress.c +0 -34
- data/ext/gio2/rbgiosocketaddressenumerator.c +0 -83
- data/ext/gio2/rbgiosocketclient.c +0 -207
- data/ext/gio2/rbgiosocketconnectable.c +0 -41
- data/ext/gio2/rbgiosocketconnection.c +0 -66
- data/ext/gio2/rbgiosocketconnectionfactory.c +0 -39
- data/ext/gio2/rbgiosocketcontrolmessage.c +0 -82
- data/ext/gio2/rbgiosocketlistener.c +0 -246
- data/ext/gio2/rbgiosocketservice.c +0 -66
- data/ext/gio2/rbgiosrvtarget.c +0 -76
- data/ext/gio2/rbgiotcpconnection.c +0 -28
- data/ext/gio2/rbgiothemedicon.c +0 -83
- data/ext/gio2/rbgiothreadedsocketservice.c +0 -43
- data/ext/gio2/rbgiotlscertificate.c +0 -89
- data/ext/gio2/rbgiounixconnection.c +0 -71
- data/ext/gio2/rbgiounixfdlist.c +0 -115
- data/ext/gio2/rbgiounixfdmessage.c +0 -74
- data/ext/gio2/rbgiounixinputstream.c +0 -51
- data/ext/gio2/rbgiounixmount.c +0 -164
- data/ext/gio2/rbgiounixmountmonitor.c +0 -65
- data/ext/gio2/rbgiounixmountpoint.c +0 -136
- data/ext/gio2/rbgiounixmountpoints.c +0 -58
- data/ext/gio2/rbgiounixmounts.c +0 -58
- data/ext/gio2/rbgiounixoutputstream.c +0 -51
- data/ext/gio2/rbgiounixsocketaddress.c +0 -69
- data/ext/gio2/rbgiovfs.c +0 -84
- data/ext/gio2/rbgiovolume.c +0 -193
- data/ext/gio2/rbgiovolumemonitor.c +0 -77
- data/ext/gio2/rbgiozlibcompressor.c +0 -52
- data/ext/gio2/rbgiozlibdecompressor.c +0 -45
- data/ext/gio2/util.c +0 -303
- data/test/test_bufferedinputstream.rb +0 -9
- data/test/test_charsetconverter.rb +0 -9
- data/test/test_datainputstream.rb +0 -7
- data/test/test_fileenumerator.rb +0 -8
- data/test/test_filemonitor.rb +0 -17
- data/test/test_inetaddress.rb +0 -8
data/test/test-file.rb
ADDED
@@ -0,0 +1,28 @@
|
|
1
|
+
# Copyright (C) 2014 Ruby-GNOME2 Project Team
|
2
|
+
#
|
3
|
+
# This library is free software; you can redistribute it and/or
|
4
|
+
# modify it under the terms of the GNU Lesser General Public
|
5
|
+
# License as published by the Free Software Foundation; either
|
6
|
+
# version 2.1 of the License, or (at your option) any later version.
|
7
|
+
#
|
8
|
+
# This library is distributed in the hope that it will be useful,
|
9
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
10
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
11
|
+
# Lesser General Public License for more details.
|
12
|
+
#
|
13
|
+
# You should have received a copy of the GNU Lesser General Public
|
14
|
+
# License along with this library; if not, write to the Free Software
|
15
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
16
|
+
|
17
|
+
class TestFile < Test::Unit::TestCase
|
18
|
+
include GioTestUtils::Fixture
|
19
|
+
|
20
|
+
class TestContentType < self
|
21
|
+
def test_guess_content_type
|
22
|
+
path = fixture_path("content-type", "x-content", "unix-software")
|
23
|
+
dir = Gio::File.path(path)
|
24
|
+
assert_equal(["x-content/unix-software"],
|
25
|
+
dir.guess_content_types.collect(&:to_s))
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
@@ -0,0 +1,34 @@
|
|
1
|
+
# Copyright (C) 2013-2014 Ruby-GNOME2 Project Team
|
2
|
+
#
|
3
|
+
# This library is free software; you can redistribute it and/or
|
4
|
+
# modify it under the terms of the GNU Lesser General Public
|
5
|
+
# License as published by the Free Software Foundation; either
|
6
|
+
# version 2.1 of the License, or (at your option) any later version.
|
7
|
+
#
|
8
|
+
# This library is distributed in the hope that it will be useful,
|
9
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
10
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
11
|
+
# Lesser General Public License for more details.
|
12
|
+
#
|
13
|
+
# You should have received a copy of the GNU Lesser General Public
|
14
|
+
# License along with this library; if not, write to the Free Software
|
15
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
16
|
+
|
17
|
+
class TestInetAddress < Test::Unit::TestCase
|
18
|
+
class TestConstructor < self
|
19
|
+
def test_string
|
20
|
+
address = Gio::InetAddress.new("127.0.0.1")
|
21
|
+
assert_equal("127.0.0.1", address.to_s)
|
22
|
+
end
|
23
|
+
|
24
|
+
def test_any
|
25
|
+
address = Gio::InetAddress.any(:ipv4)
|
26
|
+
assert_predicate(address, :any?)
|
27
|
+
end
|
28
|
+
|
29
|
+
def test_loopback
|
30
|
+
address = Gio::InetAddress.loopback(:ipv4)
|
31
|
+
assert_predicate(address, :loopback?)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
@@ -0,0 +1,36 @@
|
|
1
|
+
# Copyright (C) 2014 Ruby-GNOME2 Project Team
|
2
|
+
#
|
3
|
+
# This library is free software; you can redistribute it and/or
|
4
|
+
# modify it under the terms of the GNU Lesser General Public
|
5
|
+
# License as published by the Free Software Foundation; either
|
6
|
+
# version 2.1 of the License, or (at your option) any later version.
|
7
|
+
#
|
8
|
+
# This library is distributed in the hope that it will be useful,
|
9
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
10
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
11
|
+
# Lesser General Public License for more details.
|
12
|
+
#
|
13
|
+
# You should have received a copy of the GNU Lesser General Public
|
14
|
+
# License along with this library; if not, write to the Free Software
|
15
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
16
|
+
|
17
|
+
class TestInputStream < Test::Unit::TestCase
|
18
|
+
include GioTestUtils::SocketClient
|
19
|
+
|
20
|
+
def setup
|
21
|
+
setup_socket_client
|
22
|
+
@stream = @connection.input_stream
|
23
|
+
end
|
24
|
+
|
25
|
+
def teardown
|
26
|
+
teardown_socket_client
|
27
|
+
end
|
28
|
+
|
29
|
+
def test_read
|
30
|
+
data = "Hello\n"
|
31
|
+
client = @server.accept
|
32
|
+
client.write(data)
|
33
|
+
client.flush
|
34
|
+
assert_equal(data, @stream.read)
|
35
|
+
end
|
36
|
+
end
|
@@ -0,0 +1,39 @@
|
|
1
|
+
# Copyright (C) 2014 Ruby-GNOME2 Project Team
|
2
|
+
#
|
3
|
+
# This library is free software; you can redistribute it and/or
|
4
|
+
# modify it under the terms of the GNU Lesser General Public
|
5
|
+
# License as published by the Free Software Foundation; either
|
6
|
+
# version 2.1 of the License, or (at your option) any later version.
|
7
|
+
#
|
8
|
+
# This library is distributed in the hope that it will be useful,
|
9
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
10
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
11
|
+
# Lesser General Public License for more details.
|
12
|
+
#
|
13
|
+
# You should have received a copy of the GNU Lesser General Public
|
14
|
+
# License along with this library; if not, write to the Free Software
|
15
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
16
|
+
|
17
|
+
class TestOutputStream < Test::Unit::TestCase
|
18
|
+
include GioTestUtils::SocketClient
|
19
|
+
|
20
|
+
def setup
|
21
|
+
setup_socket_client
|
22
|
+
@stream = @connection.output_stream
|
23
|
+
end
|
24
|
+
|
25
|
+
def teardown
|
26
|
+
teardown_socket_client
|
27
|
+
end
|
28
|
+
|
29
|
+
def test_write
|
30
|
+
data = "Hello\n"
|
31
|
+
assert_equal(data.bytesize, @stream.write(data))
|
32
|
+
client = @server.accept
|
33
|
+
begin
|
34
|
+
assert_equal(data, client.gets)
|
35
|
+
ensure
|
36
|
+
client.close
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
@@ -0,0 +1,54 @@
|
|
1
|
+
# Copyright (C) 2014 Ruby-GNOME2 Project Team
|
2
|
+
#
|
3
|
+
# This library is free software; you can redistribute it and/or
|
4
|
+
# modify it under the terms of the GNU Lesser General Public
|
5
|
+
# License as published by the Free Software Foundation; either
|
6
|
+
# version 2.1 of the License, or (at your option) any later version.
|
7
|
+
#
|
8
|
+
# This library is distributed in the hope that it will be useful,
|
9
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
10
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
11
|
+
# Lesser General Public License for more details.
|
12
|
+
#
|
13
|
+
# You should have received a copy of the GNU Lesser General Public
|
14
|
+
# License along with this library; if not, write to the Free Software
|
15
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
16
|
+
|
17
|
+
class TestPollableInputStream < Test::Unit::TestCase
|
18
|
+
include GioTestUtils::SocketClient
|
19
|
+
|
20
|
+
def setup
|
21
|
+
setup_socket_client
|
22
|
+
@stream = @connection.input_stream
|
23
|
+
end
|
24
|
+
|
25
|
+
def teardown
|
26
|
+
teardown_socket_client
|
27
|
+
end
|
28
|
+
|
29
|
+
def test_create_socket
|
30
|
+
called = false
|
31
|
+
source = @stream.create_source do |stream|
|
32
|
+
called = true
|
33
|
+
false
|
34
|
+
end
|
35
|
+
source.attach
|
36
|
+
client = @server.accept
|
37
|
+
client.write("Hello\n")
|
38
|
+
client.flush
|
39
|
+
GLib::Idle.add do
|
40
|
+
client.close
|
41
|
+
@loop.quit
|
42
|
+
end
|
43
|
+
@loop.run
|
44
|
+
assert_true(called)
|
45
|
+
end
|
46
|
+
|
47
|
+
def test_read_nonblocking
|
48
|
+
data = "Hello\n"
|
49
|
+
client = @server.accept
|
50
|
+
client.write(data)
|
51
|
+
client.flush
|
52
|
+
assert_equal(data, @stream.read_nonblocking)
|
53
|
+
end
|
54
|
+
end
|
@@ -0,0 +1,53 @@
|
|
1
|
+
# Copyright (C) 2014 Ruby-GNOME2 Project Team
|
2
|
+
#
|
3
|
+
# This library is free software; you can redistribute it and/or
|
4
|
+
# modify it under the terms of the GNU Lesser General Public
|
5
|
+
# License as published by the Free Software Foundation; either
|
6
|
+
# version 2.1 of the License, or (at your option) any later version.
|
7
|
+
#
|
8
|
+
# This library is distributed in the hope that it will be useful,
|
9
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
10
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
11
|
+
# Lesser General Public License for more details.
|
12
|
+
#
|
13
|
+
# You should have received a copy of the GNU Lesser General Public
|
14
|
+
# License along with this library; if not, write to the Free Software
|
15
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
16
|
+
|
17
|
+
class TestPollableOutputStream < Test::Unit::TestCase
|
18
|
+
include GioTestUtils::SocketClient
|
19
|
+
|
20
|
+
def setup
|
21
|
+
setup_socket_client
|
22
|
+
@stream = @connection.output_stream
|
23
|
+
end
|
24
|
+
|
25
|
+
def teardown
|
26
|
+
teardown_socket_client
|
27
|
+
end
|
28
|
+
|
29
|
+
def test_create_socket
|
30
|
+
called = false
|
31
|
+
source = @stream.create_source do |stream|
|
32
|
+
called = true
|
33
|
+
false
|
34
|
+
end
|
35
|
+
source.attach
|
36
|
+
GLib::Idle.add do
|
37
|
+
@loop.quit
|
38
|
+
end
|
39
|
+
@loop.run
|
40
|
+
assert_true(called)
|
41
|
+
end
|
42
|
+
|
43
|
+
def test_write_nonblocking
|
44
|
+
data = "Hello\n"
|
45
|
+
assert_equal(data.bytesize, @stream.write_nonblocking(data))
|
46
|
+
client = @server.accept
|
47
|
+
begin
|
48
|
+
assert_equal(data, client.gets)
|
49
|
+
ensure
|
50
|
+
client.close
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
@@ -0,0 +1,58 @@
|
|
1
|
+
# Copyright (C) 2014 Ruby-GNOME2 Project Team
|
2
|
+
#
|
3
|
+
# This library is free software; you can redistribute it and/or
|
4
|
+
# modify it under the terms of the GNU Lesser General Public
|
5
|
+
# License as published by the Free Software Foundation; either
|
6
|
+
# version 2.1 of the License, or (at your option) any later version.
|
7
|
+
#
|
8
|
+
# This library is distributed in the hope that it will be useful,
|
9
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
10
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
11
|
+
# Lesser General Public License for more details.
|
12
|
+
#
|
13
|
+
# You should have received a copy of the GNU Lesser General Public
|
14
|
+
# License along with this library; if not, write to the Free Software
|
15
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
16
|
+
|
17
|
+
|
18
|
+
class TestResources < Test::Unit::TestCase
|
19
|
+
include GioTestUtils::Fixture
|
20
|
+
|
21
|
+
def fixture_path(*components)
|
22
|
+
super("resource", *components)
|
23
|
+
end
|
24
|
+
|
25
|
+
def setup
|
26
|
+
gresource = fixture_path("ruby-gio2.gresource")
|
27
|
+
@resource = Gio::Resource.load(gresource)
|
28
|
+
Gio::Resources.register(@resource)
|
29
|
+
end
|
30
|
+
|
31
|
+
def teardown
|
32
|
+
Gio::Resources.unregister(@resource)
|
33
|
+
end
|
34
|
+
|
35
|
+
def test_lookup_data
|
36
|
+
data = Gio::Resources.lookup_data("/org/ruby-gnome2/test/logo.png")
|
37
|
+
assert_equal(File.open(fixture_path("logo.png"), "rb", &:read),
|
38
|
+
data)
|
39
|
+
end
|
40
|
+
|
41
|
+
def test_open_stream
|
42
|
+
Gio::Resources.open_stream("/org/ruby-gnome2/test/logo.png") do |input|
|
43
|
+
assert_equal(File.open(fixture_path("logo.png"), "rb", &:read),
|
44
|
+
input.read)
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
def test_enumerate_children
|
49
|
+
assert_equal(["logo.png"],
|
50
|
+
Gio::Resources.enumerate_children("/org/ruby-gnome2/test"))
|
51
|
+
end
|
52
|
+
|
53
|
+
def test_get_info
|
54
|
+
data = File.open(fixture_path("logo.png"), "rb", &:read)
|
55
|
+
assert_equal([true, data.bytesize, 0],
|
56
|
+
Gio::Resources.get_info("/org/ruby-gnome2/test/logo.png"))
|
57
|
+
end
|
58
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gio2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- The Ruby-GNOME2 Project Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2014-03-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: glib2
|
@@ -16,14 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 2.
|
19
|
+
version: 2.2.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 2.
|
26
|
+
version: 2.2.0
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: gobject-introspection
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - '='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 2.2.0
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - '='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 2.2.0
|
27
41
|
description: Ruby/GIO2 is a Ruby binding of gio-2.x.
|
28
42
|
email: ruby-gnome2-devel-en@lists.sourceforge.net
|
29
43
|
executables: []
|
@@ -31,115 +45,43 @@ extensions:
|
|
31
45
|
- ext/gio2/extconf.rb
|
32
46
|
extra_rdoc_files: []
|
33
47
|
files:
|
34
|
-
- README
|
35
48
|
- Rakefile
|
36
49
|
- extconf.rb
|
37
50
|
- lib/gio2.rb
|
38
51
|
- lib/gio2/deprecated.rb
|
39
|
-
-
|
52
|
+
- lib/gio2/inet-address.rb
|
53
|
+
- lib/gio2/input-stream.rb
|
54
|
+
- lib/gio2/loader.rb
|
55
|
+
- lib/gio2/output-stream.rb
|
56
|
+
- lib/gio2/pollable-input-stream.rb
|
57
|
+
- lib/gio2/pollable-output-stream.rb
|
58
|
+
- lib/gio2/resources.rb
|
40
59
|
- ext/gio2/extconf.rb
|
41
|
-
- ext/gio2/gio2.c
|
42
|
-
- ext/gio2/gio2.
|
43
|
-
- ext/gio2/gio2.h
|
44
|
-
-
|
45
|
-
-
|
46
|
-
-
|
47
|
-
-
|
48
|
-
-
|
49
|
-
-
|
50
|
-
-
|
51
|
-
-
|
52
|
-
- ext/gio2/rbgiobufferedinputstream.c
|
53
|
-
- ext/gio2/rbgiobufferedoutputstream.c
|
54
|
-
- ext/gio2/rbgiocancellable.c
|
55
|
-
- ext/gio2/rbgiocharsetconverter.c
|
56
|
-
- ext/gio2/rbgiocontenttype.c
|
57
|
-
- ext/gio2/rbgioconverter.c
|
58
|
-
- ext/gio2/rbgioconverterinputstream.c
|
59
|
-
- ext/gio2/rbgioconverteroutputstream.c
|
60
|
-
- ext/gio2/rbgiodatainputstream.c
|
61
|
-
- ext/gio2/rbgiodataoutputstream.c
|
62
|
-
- ext/gio2/rbgiodesktopappinfo.c
|
63
|
-
- ext/gio2/rbgiodrive.c
|
64
|
-
- ext/gio2/rbgioemblem.c
|
65
|
-
- ext/gio2/rbgioemblemedicon.c
|
66
|
-
- ext/gio2/rbgiofile.c
|
67
|
-
- ext/gio2/rbgiofileattribute.c
|
68
|
-
- ext/gio2/rbgiofileattributeinfo.c
|
69
|
-
- ext/gio2/rbgiofileattributeinfolist.c
|
70
|
-
- ext/gio2/rbgiofileattributematcher.c
|
71
|
-
- ext/gio2/rbgiofiledescriptorbased.c
|
72
|
-
- ext/gio2/rbgiofileenumerator.c
|
73
|
-
- ext/gio2/rbgiofileicon.c
|
74
|
-
- ext/gio2/rbgiofileinfo.c
|
75
|
-
- ext/gio2/rbgiofileinputstream.c
|
76
|
-
- ext/gio2/rbgiofileiostream.c
|
77
|
-
- ext/gio2/rbgiofilemonitor.c
|
78
|
-
- ext/gio2/rbgiofilenamecompleter.c
|
79
|
-
- ext/gio2/rbgiofileoutputstream.c
|
80
|
-
- ext/gio2/rbgiofilterinputstream.c
|
81
|
-
- ext/gio2/rbgiofilteroutputstream.c
|
82
|
-
- ext/gio2/rbgioicon.c
|
83
|
-
- ext/gio2/rbgioinetaddress.c
|
84
|
-
- ext/gio2/rbgioinetsocketaddress.c
|
85
|
-
- ext/gio2/rbgioinitable.c
|
86
|
-
- ext/gio2/rbgioinputstream.c
|
87
|
-
- ext/gio2/rbgioio.c
|
88
|
-
- ext/gio2/rbgioiomodule.c
|
89
|
-
- ext/gio2/rbgioiomodules.c
|
90
|
-
- ext/gio2/rbgioioscheduler.c
|
91
|
-
- ext/gio2/rbgioioschedulerjob.c
|
92
|
-
- ext/gio2/rbgioiostream.c
|
93
|
-
- ext/gio2/rbgioloadableicon.c
|
94
|
-
- ext/gio2/rbgiomemoryinputstream.c
|
95
|
-
- ext/gio2/rbgiomemoryoutputstream.c
|
96
|
-
- ext/gio2/rbgiomount.c
|
97
|
-
- ext/gio2/rbgiomountoperation.c
|
98
|
-
- ext/gio2/rbgionetworkaddress.c
|
99
|
-
- ext/gio2/rbgionetworkservice.c
|
100
|
-
- ext/gio2/rbgiooutputstream.c
|
101
|
-
- ext/gio2/rbgioresolver.c
|
102
|
-
- ext/gio2/rbgioseekable.c
|
103
|
-
- ext/gio2/rbgiosimpleasyncresult.c
|
104
|
-
- ext/gio2/rbgiosocket.c
|
105
|
-
- ext/gio2/rbgiosocketaddress.c
|
106
|
-
- ext/gio2/rbgiosocketaddressenumerator.c
|
107
|
-
- ext/gio2/rbgiosocketclient.c
|
108
|
-
- ext/gio2/rbgiosocketconnectable.c
|
109
|
-
- ext/gio2/rbgiosocketconnection.c
|
110
|
-
- ext/gio2/rbgiosocketconnectionfactory.c
|
111
|
-
- ext/gio2/rbgiosocketcontrolmessage.c
|
112
|
-
- ext/gio2/rbgiosocketlistener.c
|
113
|
-
- ext/gio2/rbgiosocketservice.c
|
114
|
-
- ext/gio2/rbgiosrvtarget.c
|
115
|
-
- ext/gio2/rbgiotcpconnection.c
|
116
|
-
- ext/gio2/rbgiothemedicon.c
|
117
|
-
- ext/gio2/rbgiothreadedsocketservice.c
|
118
|
-
- ext/gio2/rbgiotlscertificate.c
|
119
|
-
- ext/gio2/rbgiounixconnection.c
|
120
|
-
- ext/gio2/rbgiounixfdlist.c
|
121
|
-
- ext/gio2/rbgiounixfdmessage.c
|
122
|
-
- ext/gio2/rbgiounixinputstream.c
|
123
|
-
- ext/gio2/rbgiounixmount.c
|
124
|
-
- ext/gio2/rbgiounixmountmonitor.c
|
125
|
-
- ext/gio2/rbgiounixmountpoint.c
|
126
|
-
- ext/gio2/rbgiounixmountpoints.c
|
127
|
-
- ext/gio2/rbgiounixmounts.c
|
128
|
-
- ext/gio2/rbgiounixoutputstream.c
|
129
|
-
- ext/gio2/rbgiounixsocketaddress.c
|
130
|
-
- ext/gio2/rbgiovfs.c
|
131
|
-
- ext/gio2/rbgiovolume.c
|
132
|
-
- ext/gio2/rbgiovolumemonitor.c
|
133
|
-
- ext/gio2/rbgiozlibcompressor.c
|
134
|
-
- ext/gio2/rbgiozlibdecompressor.c
|
135
|
-
- ext/gio2/util.c
|
60
|
+
- ext/gio2/rb-gio2-pollable-source.c
|
61
|
+
- ext/gio2/rb-gio2.c
|
62
|
+
- ext/gio2/rb-gio2.h
|
63
|
+
- test/fixture/content-type/x-content/unix-software/autorun.sh
|
64
|
+
- test/fixture/resource/Rakefile
|
65
|
+
- test/fixture/resource/logo.png
|
66
|
+
- test/fixture/resource/ruby-gio2.gresource
|
67
|
+
- test/fixture/resource/ruby-gio2.gresource.xml
|
68
|
+
- test/gio2-test-utils.rb
|
69
|
+
- test/gio2-test-utils/fixture.rb
|
70
|
+
- test/gio2-test-utils/socket-client.rb
|
136
71
|
- test/run-test.rb
|
137
|
-
- test/
|
138
|
-
- test/
|
139
|
-
- test/
|
140
|
-
- test/
|
141
|
-
- test/
|
142
|
-
- test/
|
72
|
+
- test/test-buffered-input-stream.rb
|
73
|
+
- test/test-charset-converter.rb
|
74
|
+
- test/test-content-type.rb
|
75
|
+
- test/test-data-input-stream.rb
|
76
|
+
- test/test-file-enumerator.rb
|
77
|
+
- test/test-file-monitor.rb
|
78
|
+
- test/test-file.rb
|
79
|
+
- test/test-inet-address.rb
|
80
|
+
- test/test-input-stream.rb
|
81
|
+
- test/test-output-stream.rb
|
82
|
+
- test/test-pollable-input-stream.rb
|
83
|
+
- test/test-pollable-output-stream.rb
|
84
|
+
- test/test-resources.rb
|
143
85
|
homepage: http://ruby-gnome2.sourceforge.jp/
|
144
86
|
licenses:
|
145
87
|
- LGPLv2.1 or later
|