gio2 2.0.2 → 2.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 60ac6d626eeab207444edbd90a39fe0852fbef63
4
+ data.tar.gz: cf1a38c0fef8cb608af5ea7c4994e0d2ff78b1de
5
+ SHA512:
6
+ metadata.gz: 80f5c808bcefeac5d134418bc0751bfdf2d57e6d75f3dc9d85b81e6be5842849b427fc6bee8b95739f593f60eba711070af09d3bce256c021cc6693a4d5529bc
7
+ data.tar.gz: c1966f2fcc6efd8963e2c638e95dcb57de4ecc9a3acd9af0df67102db52a98355d026ee65bd09ba373abe77cfa1764bf1fbf9a6d395bea315ad11a3e0bf77f0e
@@ -1,3 +1,4 @@
1
+ #!/usr/bin/env ruby
1
2
  # -*- coding: utf-8 -*-
2
3
 
3
4
  base = File.dirname(File.expand_path(__FILE__))
@@ -1,2 +1,9 @@
1
1
  # -*- coding: utf-8 -*-
2
2
 
3
+ class TestBufferedInputStream < Test::Unit::TestCase
4
+ def test_buffered_input_stream
5
+ assert_nothing_raised do
6
+ Gio::BufferedInputStream.new(Gio::FileInputStream.new)
7
+ end
8
+ end
9
+ end
@@ -1,2 +1,9 @@
1
1
  # -*- coding: utf-8 -*-
2
2
 
3
+ class TestCharsetConverter < Test::Unit::TestCase
4
+ def test_converter
5
+ assert_nothing_raised do
6
+ Gio::CharsetConverter.new("UTF-8", "ASCII")
7
+ end
8
+ end
9
+ end
@@ -2,6 +2,6 @@
2
2
 
3
3
  class TestDataInputStream < Test::Unit::TestCase
4
4
  def test_byte_order_property
5
- assert_equal GLib::DATA_STREAM_BYTE_ORDER_BIG_ENDIAN, GLib::DataInputStream.new(GLib::MemoryInputStream.new).byte_order
5
+ assert_equal Gio::DataStreamByteOrder::BIG_ENDIAN, Gio::DataInputStream.new(Gio::MemoryInputStream.new).byte_order
6
6
  end
7
7
  end
@@ -2,7 +2,7 @@
2
2
 
3
3
  class TestFileEnumerator < Test::Unit::TestCase
4
4
  def test_responds_to_properties
5
- a = GLib::File.new_for_path('/').enumerate_children
5
+ a = Gio::File.new_for_path('/').enumerate_children
6
6
  assert a.respond_to?(:container)
7
7
  end
8
8
  end
@@ -1,2 +1,17 @@
1
1
  # -*- coding: utf-8 -*-
2
2
 
3
+ class TestFileMonitor < Test::Unit::TestCase
4
+ class Flags < self
5
+ def test_file_monitor_flags
6
+ assert_nothing_raised do
7
+ Gio::FileMonitor::Flags.new(Gio::FileMonitor::Flags::SEND_MOVED)
8
+ end
9
+ end
10
+
11
+ def test_file_monitor_event
12
+ assert_nothing_raised do
13
+ Gio::FileMonitor::Event.new(Gio::FileMonitor::Event::CREATED)
14
+ end
15
+ end
16
+ end
17
+ end
@@ -2,7 +2,7 @@
2
2
 
3
3
  class TestInetAddress < Test::Unit::TestCase
4
4
  def test_responds_to_properties
5
- a = GLib::InetAddress.new_any(GLib::Socket::FAMILY_IPV4)
5
+ a = Gio::InetAddress.new_any(Gio::Socket::FAMILY_IPV4)
6
6
  assert a.respond_to?(:any?)
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,32 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gio2
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
5
- prerelease:
4
+ version: 2.0.3
6
5
  platform: ruby
7
6
  authors:
8
7
  - The Ruby-GNOME2 Project Team
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-05-26 00:00:00.000000000 Z
11
+ date: 2013-12-28 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: glib2
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
17
  - - '='
20
18
  - !ruby/object:Gem::Version
21
- version: 2.0.2
19
+ version: 2.0.3
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
24
  - - '='
28
25
  - !ruby/object:Gem::Version
29
- version: 2.0.2
26
+ version: 2.0.3
30
27
  description: Ruby/GIO2 is a Ruby binding of gio-2.x.
31
28
  email: ruby-gnome2-devel-en@lists.sourceforge.net
32
29
  executables: []
@@ -136,7 +133,7 @@ files:
136
133
  - ext/gio2/rbgiozlibcompressor.c
137
134
  - ext/gio2/rbgiozlibdecompressor.c
138
135
  - ext/gio2/util.c
139
- - test/load-test.rb
136
+ - test/run-test.rb
140
137
  - test/test_bufferedinputstream.rb
141
138
  - test/test_charsetconverter.rb
142
139
  - test/test_datainputstream.rb
@@ -145,26 +142,25 @@ files:
145
142
  - test/test_inetaddress.rb
146
143
  homepage: http://ruby-gnome2.sourceforge.jp/
147
144
  licenses: []
145
+ metadata: {}
148
146
  post_install_message:
149
147
  rdoc_options: []
150
148
  require_paths:
151
149
  - lib
152
150
  required_ruby_version: !ruby/object:Gem::Requirement
153
- none: false
154
151
  requirements:
155
- - - ! '>='
152
+ - - '>='
156
153
  - !ruby/object:Gem::Version
157
- version: 1.8.5
154
+ version: 1.9.3
158
155
  required_rubygems_version: !ruby/object:Gem::Requirement
159
- none: false
160
156
  requirements:
161
- - - ! '>='
157
+ - - '>='
162
158
  - !ruby/object:Gem::Version
163
159
  version: '0'
164
160
  requirements: []
165
161
  rubyforge_project:
166
- rubygems_version: 1.8.23
162
+ rubygems_version: 2.0.14
167
163
  signing_key:
168
- specification_version: 3
164
+ specification_version: 4
169
165
  summary: Ruby/GIO2 is a Ruby binding of gio-2.x.
170
166
  test_files: []