gio2 2.1.0-x86-mingw32 → 2.2.0-x86-mingw32

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.
Files changed (143) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +26 -9
  3. data/ext/gio2/extconf.rb +38 -28
  4. data/ext/gio2/rb-gio2-pollable-source.c +59 -0
  5. data/ext/gio2/{rbgiofilteroutputstream.c → rb-gio2.c} +9 -5
  6. data/ext/gio2/{gio2.c → rb-gio2.h} +5 -10
  7. data/extconf.rb +22 -6
  8. data/lib/1.9/gio2.so +0 -0
  9. data/lib/2.0/gio2.so +0 -0
  10. data/lib/2.1/gio2.so +0 -0
  11. data/lib/gio2/deprecated.rb +16 -0
  12. data/lib/gio2/inet-address.rb +33 -0
  13. data/lib/gio2/input-stream.rb +39 -0
  14. data/lib/gio2/loader.rb +244 -0
  15. data/lib/gio2/output-stream.rb +24 -0
  16. data/lib/gio2/pollable-input-stream.rb +51 -0
  17. data/lib/gio2/pollable-output-stream.rb +32 -0
  18. data/lib/gio2/resources.rb +62 -0
  19. data/lib/gio2.rb +38 -143
  20. data/test/fixture/content-type/x-content/unix-software/autorun.sh +1 -0
  21. data/test/fixture/resource/Rakefile +32 -0
  22. data/test/fixture/resource/logo.png +0 -0
  23. data/test/fixture/resource/ruby-gio2.gresource +0 -0
  24. data/test/fixture/resource/ruby-gio2.gresource.xml +6 -0
  25. data/test/gio2-test-utils/fixture.rb +24 -0
  26. data/test/gio2-test-utils/socket-client.rb +59 -0
  27. data/test/gio2-test-utils.rb +21 -0
  28. data/test/run-test.rb +45 -9
  29. data/test/test-buffered-input-stream.rb +23 -0
  30. data/test/test-charset-converter.rb +23 -0
  31. data/test/test-content-type.rb +31 -0
  32. data/test/test-data-input-stream.rb +21 -0
  33. data/test/test-file-enumerator.rb +26 -0
  34. data/test/test-file-monitor.rb +33 -0
  35. data/test/test-file.rb +28 -0
  36. data/test/test-inet-address.rb +34 -0
  37. data/test/test-input-stream.rb +36 -0
  38. data/test/test-output-stream.rb +39 -0
  39. data/test/test-pollable-input-stream.rb +54 -0
  40. data/test/test-pollable-output-stream.rb +53 -0
  41. data/test/test-resources.rb +58 -0
  42. metadata +49 -107
  43. data/README +0 -34
  44. data/ext/gio2/depend +0 -11
  45. data/ext/gio2/gio2.def +0 -2
  46. data/ext/gio2/gio2.h +0 -30
  47. data/ext/gio2/rbgio.c +0 -133
  48. data/ext/gio2/rbgio2.h +0 -158
  49. data/ext/gio2/rbgio2conversions.h +0 -154
  50. data/ext/gio2/rbgio2private.h +0 -148
  51. data/ext/gio2/rbgioappinfo.c +0 -317
  52. data/ext/gio2/rbgioapplaunchcontext.c +0 -81
  53. data/ext/gio2/rbgioasyncinitable.c +0 -246
  54. data/ext/gio2/rbgioasyncresult.c +0 -41
  55. data/ext/gio2/rbgiobufferedinputstream.c +0 -167
  56. data/ext/gio2/rbgiobufferedoutputstream.c +0 -50
  57. data/ext/gio2/rbgiocancellable.c +0 -180
  58. data/ext/gio2/rbgiocharsetconverter.c +0 -57
  59. data/ext/gio2/rbgiocontenttype.c +0 -131
  60. data/ext/gio2/rbgioconverter.c +0 -113
  61. data/ext/gio2/rbgioconverterinputstream.c +0 -43
  62. data/ext/gio2/rbgioconverteroutputstream.c +0 -43
  63. data/ext/gio2/rbgiodatainputstream.c +0 -309
  64. data/ext/gio2/rbgiodataoutputstream.c +0 -186
  65. data/ext/gio2/rbgiodesktopappinfo.c +0 -87
  66. data/ext/gio2/rbgiodrive.c +0 -266
  67. data/ext/gio2/rbgioemblem.c +0 -52
  68. data/ext/gio2/rbgioemblemedicon.c +0 -65
  69. data/ext/gio2/rbgiofile.c +0 -2045
  70. data/ext/gio2/rbgiofileattribute.c +0 -114
  71. data/ext/gio2/rbgiofileattributeinfo.c +0 -86
  72. data/ext/gio2/rbgiofileattributeinfolist.c +0 -108
  73. data/ext/gio2/rbgiofileattributematcher.c +0 -95
  74. data/ext/gio2/rbgiofiledescriptorbased.c +0 -45
  75. data/ext/gio2/rbgiofileenumerator.c +0 -166
  76. data/ext/gio2/rbgiofileicon.c +0 -41
  77. data/ext/gio2/rbgiofileinfo.c +0 -617
  78. data/ext/gio2/rbgiofileinputstream.c +0 -91
  79. data/ext/gio2/rbgiofileiostream.c +0 -98
  80. data/ext/gio2/rbgiofilemonitor.c +0 -46
  81. data/ext/gio2/rbgiofilenamecompleter.c +0 -73
  82. data/ext/gio2/rbgiofileoutputstream.c +0 -98
  83. data/ext/gio2/rbgiofilterinputstream.c +0 -28
  84. data/ext/gio2/rbgioicon.c +0 -69
  85. data/ext/gio2/rbgioinetaddress.c +0 -118
  86. data/ext/gio2/rbgioinetsocketaddress.c +0 -41
  87. data/ext/gio2/rbgioinitable.c +0 -199
  88. data/ext/gio2/rbgioinputstream.c +0 -341
  89. data/ext/gio2/rbgioio.c +0 -73
  90. data/ext/gio2/rbgioiomodule.c +0 -45
  91. data/ext/gio2/rbgioiomodules.c +0 -47
  92. data/ext/gio2/rbgioioscheduler.c +0 -102
  93. data/ext/gio2/rbgioioschedulerjob.c +0 -121
  94. data/ext/gio2/rbgioiostream.c +0 -107
  95. data/ext/gio2/rbgioloadableicon.c +0 -92
  96. data/ext/gio2/rbgiomemoryinputstream.c +0 -67
  97. data/ext/gio2/rbgiomemoryoutputstream.c +0 -44
  98. data/ext/gio2/rbgiomount.c +0 -286
  99. data/ext/gio2/rbgiomountoperation.c +0 -53
  100. data/ext/gio2/rbgionetworkaddress.c +0 -59
  101. data/ext/gio2/rbgionetworkservice.c +0 -45
  102. data/ext/gio2/rbgiooutputstream.c +0 -331
  103. data/ext/gio2/rbgioresolver.c +0 -230
  104. data/ext/gio2/rbgioseekable.c +0 -91
  105. data/ext/gio2/rbgiosimpleasyncresult.c +0 -152
  106. data/ext/gio2/rbgiosocket.c +0 -390
  107. data/ext/gio2/rbgiosocketaddress.c +0 -34
  108. data/ext/gio2/rbgiosocketaddressenumerator.c +0 -83
  109. data/ext/gio2/rbgiosocketclient.c +0 -207
  110. data/ext/gio2/rbgiosocketconnectable.c +0 -41
  111. data/ext/gio2/rbgiosocketconnection.c +0 -66
  112. data/ext/gio2/rbgiosocketconnectionfactory.c +0 -39
  113. data/ext/gio2/rbgiosocketcontrolmessage.c +0 -82
  114. data/ext/gio2/rbgiosocketlistener.c +0 -246
  115. data/ext/gio2/rbgiosocketservice.c +0 -66
  116. data/ext/gio2/rbgiosrvtarget.c +0 -76
  117. data/ext/gio2/rbgiotcpconnection.c +0 -28
  118. data/ext/gio2/rbgiothemedicon.c +0 -83
  119. data/ext/gio2/rbgiothreadedsocketservice.c +0 -43
  120. data/ext/gio2/rbgiotlscertificate.c +0 -89
  121. data/ext/gio2/rbgiounixconnection.c +0 -71
  122. data/ext/gio2/rbgiounixfdlist.c +0 -115
  123. data/ext/gio2/rbgiounixfdmessage.c +0 -74
  124. data/ext/gio2/rbgiounixinputstream.c +0 -51
  125. data/ext/gio2/rbgiounixmount.c +0 -164
  126. data/ext/gio2/rbgiounixmountmonitor.c +0 -65
  127. data/ext/gio2/rbgiounixmountpoint.c +0 -136
  128. data/ext/gio2/rbgiounixmountpoints.c +0 -58
  129. data/ext/gio2/rbgiounixmounts.c +0 -58
  130. data/ext/gio2/rbgiounixoutputstream.c +0 -51
  131. data/ext/gio2/rbgiounixsocketaddress.c +0 -69
  132. data/ext/gio2/rbgiovfs.c +0 -84
  133. data/ext/gio2/rbgiovolume.c +0 -193
  134. data/ext/gio2/rbgiovolumemonitor.c +0 -77
  135. data/ext/gio2/rbgiozlibcompressor.c +0 -52
  136. data/ext/gio2/rbgiozlibdecompressor.c +0 -45
  137. data/ext/gio2/util.c +0 -303
  138. data/test/test_bufferedinputstream.rb +0 -9
  139. data/test/test_charsetconverter.rb +0 -9
  140. data/test/test_datainputstream.rb +0 -7
  141. data/test/test_fileenumerator.rb +0 -8
  142. data/test/test_filemonitor.rb +0 -17
  143. data/test/test_inetaddress.rb +0 -8
@@ -0,0 +1,26 @@
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 TestFileEnumerator < Test::Unit::TestCase
18
+ include GioTestUtils::Fixture
19
+
20
+ def test_container
21
+ path = File.dirname(__FILE__)
22
+ dir = Gio::File.path(path)
23
+ enumerator = dir.enumerate_children("*", :none)
24
+ assert_equal(path, enumerator.container.path)
25
+ end
26
+ end
@@ -0,0 +1,33 @@
1
+ # Copyright (C) 2013 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 TestFileMonitor < Test::Unit::TestCase
18
+ class Flags < self
19
+ def test_file_monitor_flags
20
+ assert_nothing_raised do
21
+ Gio::FileMonitorFlags.new(Gio::FileMonitorFlags::SEND_MOVED)
22
+ end
23
+ end
24
+ end
25
+
26
+ class Event < self
27
+ def test_file_monitor_event
28
+ assert_nothing_raised do
29
+ Gio::FileMonitorEvent.new(Gio::FileMonitorEvent::CHANGED)
30
+ end
31
+ end
32
+ end
33
+ end
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.1.0
4
+ version: 2.2.0
5
5
  platform: x86-mingw32
6
6
  authors:
7
7
  - The Ruby-GNOME2 Project Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-29 00:00:00.000000000 Z
11
+ date: 2014-03-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: glib2
@@ -16,129 +16,71 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 2.1.0
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.1.0
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: []
30
44
  extensions: []
31
45
  extra_rdoc_files: []
32
46
  files:
33
- - README
34
47
  - Rakefile
35
48
  - extconf.rb
36
49
  - lib/gio2.rb
37
50
  - lib/gio2/deprecated.rb
38
- - ext/gio2/depend
51
+ - lib/gio2/inet-address.rb
52
+ - lib/gio2/input-stream.rb
53
+ - lib/gio2/loader.rb
54
+ - lib/gio2/output-stream.rb
55
+ - lib/gio2/pollable-input-stream.rb
56
+ - lib/gio2/pollable-output-stream.rb
57
+ - lib/gio2/resources.rb
39
58
  - ext/gio2/extconf.rb
40
- - ext/gio2/gio2.c
41
- - ext/gio2/gio2.def
42
- - ext/gio2/gio2.h
43
- - ext/gio2/rbgio.c
44
- - ext/gio2/rbgio2.h
45
- - ext/gio2/rbgio2conversions.h
46
- - ext/gio2/rbgio2private.h
47
- - ext/gio2/rbgioappinfo.c
48
- - ext/gio2/rbgioapplaunchcontext.c
49
- - ext/gio2/rbgioasyncinitable.c
50
- - ext/gio2/rbgioasyncresult.c
51
- - ext/gio2/rbgiobufferedinputstream.c
52
- - ext/gio2/rbgiobufferedoutputstream.c
53
- - ext/gio2/rbgiocancellable.c
54
- - ext/gio2/rbgiocharsetconverter.c
55
- - ext/gio2/rbgiocontenttype.c
56
- - ext/gio2/rbgioconverter.c
57
- - ext/gio2/rbgioconverterinputstream.c
58
- - ext/gio2/rbgioconverteroutputstream.c
59
- - ext/gio2/rbgiodatainputstream.c
60
- - ext/gio2/rbgiodataoutputstream.c
61
- - ext/gio2/rbgiodesktopappinfo.c
62
- - ext/gio2/rbgiodrive.c
63
- - ext/gio2/rbgioemblem.c
64
- - ext/gio2/rbgioemblemedicon.c
65
- - ext/gio2/rbgiofile.c
66
- - ext/gio2/rbgiofileattribute.c
67
- - ext/gio2/rbgiofileattributeinfo.c
68
- - ext/gio2/rbgiofileattributeinfolist.c
69
- - ext/gio2/rbgiofileattributematcher.c
70
- - ext/gio2/rbgiofiledescriptorbased.c
71
- - ext/gio2/rbgiofileenumerator.c
72
- - ext/gio2/rbgiofileicon.c
73
- - ext/gio2/rbgiofileinfo.c
74
- - ext/gio2/rbgiofileinputstream.c
75
- - ext/gio2/rbgiofileiostream.c
76
- - ext/gio2/rbgiofilemonitor.c
77
- - ext/gio2/rbgiofilenamecompleter.c
78
- - ext/gio2/rbgiofileoutputstream.c
79
- - ext/gio2/rbgiofilterinputstream.c
80
- - ext/gio2/rbgiofilteroutputstream.c
81
- - ext/gio2/rbgioicon.c
82
- - ext/gio2/rbgioinetaddress.c
83
- - ext/gio2/rbgioinetsocketaddress.c
84
- - ext/gio2/rbgioinitable.c
85
- - ext/gio2/rbgioinputstream.c
86
- - ext/gio2/rbgioio.c
87
- - ext/gio2/rbgioiomodule.c
88
- - ext/gio2/rbgioiomodules.c
89
- - ext/gio2/rbgioioscheduler.c
90
- - ext/gio2/rbgioioschedulerjob.c
91
- - ext/gio2/rbgioiostream.c
92
- - ext/gio2/rbgioloadableicon.c
93
- - ext/gio2/rbgiomemoryinputstream.c
94
- - ext/gio2/rbgiomemoryoutputstream.c
95
- - ext/gio2/rbgiomount.c
96
- - ext/gio2/rbgiomountoperation.c
97
- - ext/gio2/rbgionetworkaddress.c
98
- - ext/gio2/rbgionetworkservice.c
99
- - ext/gio2/rbgiooutputstream.c
100
- - ext/gio2/rbgioresolver.c
101
- - ext/gio2/rbgioseekable.c
102
- - ext/gio2/rbgiosimpleasyncresult.c
103
- - ext/gio2/rbgiosocket.c
104
- - ext/gio2/rbgiosocketaddress.c
105
- - ext/gio2/rbgiosocketaddressenumerator.c
106
- - ext/gio2/rbgiosocketclient.c
107
- - ext/gio2/rbgiosocketconnectable.c
108
- - ext/gio2/rbgiosocketconnection.c
109
- - ext/gio2/rbgiosocketconnectionfactory.c
110
- - ext/gio2/rbgiosocketcontrolmessage.c
111
- - ext/gio2/rbgiosocketlistener.c
112
- - ext/gio2/rbgiosocketservice.c
113
- - ext/gio2/rbgiosrvtarget.c
114
- - ext/gio2/rbgiotcpconnection.c
115
- - ext/gio2/rbgiothemedicon.c
116
- - ext/gio2/rbgiothreadedsocketservice.c
117
- - ext/gio2/rbgiotlscertificate.c
118
- - ext/gio2/rbgiounixconnection.c
119
- - ext/gio2/rbgiounixfdlist.c
120
- - ext/gio2/rbgiounixfdmessage.c
121
- - ext/gio2/rbgiounixinputstream.c
122
- - ext/gio2/rbgiounixmount.c
123
- - ext/gio2/rbgiounixmountmonitor.c
124
- - ext/gio2/rbgiounixmountpoint.c
125
- - ext/gio2/rbgiounixmountpoints.c
126
- - ext/gio2/rbgiounixmounts.c
127
- - ext/gio2/rbgiounixoutputstream.c
128
- - ext/gio2/rbgiounixsocketaddress.c
129
- - ext/gio2/rbgiovfs.c
130
- - ext/gio2/rbgiovolume.c
131
- - ext/gio2/rbgiovolumemonitor.c
132
- - ext/gio2/rbgiozlibcompressor.c
133
- - ext/gio2/rbgiozlibdecompressor.c
134
- - ext/gio2/util.c
59
+ - ext/gio2/rb-gio2-pollable-source.c
60
+ - ext/gio2/rb-gio2.c
61
+ - ext/gio2/rb-gio2.h
62
+ - test/fixture/content-type/x-content/unix-software/autorun.sh
63
+ - test/fixture/resource/Rakefile
64
+ - test/fixture/resource/logo.png
65
+ - test/fixture/resource/ruby-gio2.gresource
66
+ - test/fixture/resource/ruby-gio2.gresource.xml
67
+ - test/gio2-test-utils.rb
68
+ - test/gio2-test-utils/fixture.rb
69
+ - test/gio2-test-utils/socket-client.rb
135
70
  - test/run-test.rb
136
- - test/test_bufferedinputstream.rb
137
- - test/test_charsetconverter.rb
138
- - test/test_datainputstream.rb
139
- - test/test_fileenumerator.rb
140
- - test/test_filemonitor.rb
141
- - test/test_inetaddress.rb
71
+ - test/test-buffered-input-stream.rb
72
+ - test/test-charset-converter.rb
73
+ - test/test-content-type.rb
74
+ - test/test-data-input-stream.rb
75
+ - test/test-file-enumerator.rb
76
+ - test/test-file-monitor.rb
77
+ - test/test-file.rb
78
+ - test/test-inet-address.rb
79
+ - test/test-input-stream.rb
80
+ - test/test-output-stream.rb
81
+ - test/test-pollable-input-stream.rb
82
+ - test/test-pollable-output-stream.rb
83
+ - test/test-resources.rb
142
84
  - lib/1.9/gio2.so
143
85
  - lib/2.0/gio2.so
144
86
  - lib/2.1/gio2.so
data/README DELETED
@@ -1,34 +0,0 @@
1
- Ruby/GIO2
2
- =========
3
-
4
-
5
- Ruby/GIO2 is a Ruby binding of gio-2.0.x.
6
-
7
- Requirements
8
- ------------
9
-
10
- Ruby: http://www.ruby-lang.org/
11
- GIO: http://library.gnome.org/devel/gio/stable
12
-
13
- Install
14
- -------
15
-
16
- 0. install Ruby and GLib.
17
- 1. ruby extconf.rb
18
- 2. make
19
- 3. su
20
- 4. make install
21
-
22
- Copying
23
- -------
24
-
25
- Copyright (c) 2008-2010 Ruby-GNOME2 Project Team
26
-
27
- This program is free software.
28
- You can distribute/modify this program under the terms of
29
- the GNU LESSER GENERAL PUBLIC LICENSE Version 2.1.
30
-
31
- Project Website
32
- ---------------
33
-
34
- http://ruby-gnome2.sourceforge.jp/
data/ext/gio2/depend DELETED
@@ -1,11 +0,0 @@
1
- install-so: install-headers
2
- install-headers:
3
- $(INSTALL_DATA) $(srcdir)/rbgio2.h $(RUBYARCHDIR)
4
- $(INSTALL_DATA) $(srcdir)/rbgio2conversions.h $(RUBYARCHDIR)
5
-
6
- install: install-pc
7
- install-pc:
8
- if test -n "$(pkgconfigdir)"; then \
9
- $(MAKEDIRS) $(pkgconfigdir); \
10
- $(INSTALL_DATA) ruby-gio2.pc $(pkgconfigdir); \
11
- fi
data/ext/gio2/gio2.def DELETED
@@ -1,2 +0,0 @@
1
- EXPORTS
2
- Init_gio2
data/ext/gio2/gio2.h DELETED
@@ -1,30 +0,0 @@
1
- /* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
2
- /*
3
- * Copyright (C) 2011 Ruby-GNOME2 Project Team
4
- *
5
- * This library is free software; you can redistribute it and/or
6
- * modify it under the terms of the GNU Lesser General Public
7
- * License as published by the Free Software Foundation; either
8
- * version 2.1 of the License, or (at your option) any later version.
9
- *
10
- * This library is distributed in the hope that it will be useful,
11
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
- * Lesser General Public License for more details.
14
- *
15
- * You should have received a copy of the GNU Lesser General Public
16
- * License along with this library; if not, write to the Free Software
17
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
18
- * MA 02110-1301 USA
19
- */
20
-
21
- #ifndef __GIO2_H__
22
- #define __GIO2_H__
23
-
24
- #ifdef __GNUC__
25
- #warning "<gio2.h> has been deprecated. Use <rbgio2.h> instead."
26
- #endif
27
-
28
- #include "rbgio2.h"
29
-
30
- #endif /* __GIO2_H__ */