gio2 3.0.5-x86-mingw32 → 3.0.6-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 612383b3a1dfc1c555f6b6d91e7349d279555449
4
- data.tar.gz: bcf3c75843335e938e511808270242ffd8f20950
3
+ metadata.gz: a68831fa0bef92eb3b4d8c857478debf9d3840d7
4
+ data.tar.gz: cd43928a6566ce5542bf629d99f1272e2c27b529
5
5
  SHA512:
6
- metadata.gz: 1af43d2b1bc28e391404a03865291eefb332d0eeab0f6e17dde43f4f99d38089cf6ab00ed9bbbf8ed740e7f7be2cf5ace46b5b2c3383870fb63216f3f1eb63fe
7
- data.tar.gz: cb6a2af3018b351c89ba09e0c0c6fc9b902b2e1f3cf0ea09af892a74c5b537fc06736f845723d7a1269e17e03b5e8281e84c62c32e4f9e2b4815f1c5291b9cd9
6
+ metadata.gz: 95362da27d199c1941e7983434c321ca79f7c936ff9604f5bdc585da02f516cd0168bc579f3e4865be08cc39c3d93610d9ade994818db6884f9de5e5aa75042f
7
+ data.tar.gz: 6ad030a0f87b6d565e9a47ef6c8dcaa0dc38ea25f43ce5742af65f0518024886a5668f5f9b700c9fdab0bab268392827cce24a80b6190cd5291428d3d68d4c73
Binary file
Binary file
Binary file
@@ -30,6 +30,8 @@ module Gio
30
30
  LOG_DOMAIN = "Gio"
31
31
  GLib::Log.set_log_domain(LOG_DOMAIN)
32
32
 
33
+ Version = GLib::Version
34
+
33
35
  class Error < StandardError
34
36
  end
35
37
 
@@ -0,0 +1,24 @@
1
+ # Copyright (C) 2015 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
+ module Gio
18
+ class ApplicationCommandLine
19
+ alias_method :arguments_raw, :arguments
20
+ def arguments
21
+ arguments_raw[0]
22
+ end
23
+ end
24
+ end
@@ -52,6 +52,7 @@ module Gio
52
52
  def require_libraries
53
53
  require "gio2/action"
54
54
  require "gio2/action-map"
55
+ require "gio2/application-command-line"
55
56
  require "gio2/inet-address"
56
57
  require "gio2/input-stream"
57
58
  require "gio2/pollable-input-stream"
@@ -19,5 +19,9 @@ module GioTestUtils
19
19
  def omit_on_os_x
20
20
  omit("Skip this test on OS X") if RUBY_PLATFORM =~ /darwin/
21
21
  end
22
+
23
+ def omit_on_travis_ci
24
+ omit("Skip this test on Travis CI") if ENV["CI"]
25
+ end
22
26
  end
23
27
  end
@@ -25,9 +25,9 @@ module GioTestUtils
25
25
  end
26
26
 
27
27
  def teardown_socket_client
28
- teardown_loop
29
- teardown_client
30
- teardown_server
28
+ teardown_loop
29
+ teardown_client
30
+ teardown_server
31
31
  end
32
32
 
33
33
  def setup_server
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
  #
3
- # Copyright (C) 2013-2014 Ruby-GNOME2 Project Team
3
+ # Copyright (C) 2013-2015 Ruby-GNOME2 Project Team
4
4
  #
5
5
  # This library is free software; you can redistribute it and/or
6
6
  # modify it under the terms of the GNU Lesser General Public
@@ -50,4 +50,4 @@ require "gio2-test-utils"
50
50
 
51
51
  require "gio2"
52
52
 
53
- exit Test::Unit::AutoRunner.run(true)
53
+ exit Test::Unit::AutoRunner.run(true, File.join(gio2_base, "test"))
@@ -0,0 +1,27 @@
1
+ # Copyright (C) 2015 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 TestApplicationCommandLine < Test::Unit::TestCase
18
+ include GioTestUtils::Omissions
19
+ def setup
20
+ @command_line = Gio::ApplicationCommandLine.new
21
+ end
22
+
23
+ test "#arguments" do
24
+ omit_on_travis_ci
25
+ assert_equal([], @command_line.arguments)
26
+ end
27
+ end
@@ -0,0 +1,47 @@
1
+ # Copyright (C) 2015 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 TestGioVersion < Test::Unit::TestCase
18
+ include GioTestUtils
19
+
20
+ test "STRING" do
21
+ major = Gio::Version::MAJOR
22
+ minor = Gio::Version::MINOR
23
+ micro = Gio::Version::MICRO
24
+ assert_equal([major, minor, micro].join("."),
25
+ Gio::Version::STRING)
26
+ end
27
+
28
+ sub_test_case("#or_later?") do
29
+ test "same" do
30
+ assert_true(Gio::Version.or_later?(Gio::Version::MAJOR,
31
+ Gio::Version::MINOR,
32
+ Gio::Version::MICRO))
33
+ end
34
+
35
+ test "later" do
36
+ assert_true(Gio::Version.or_later?(Gio::Version::MAJOR,
37
+ Gio::Version::MINOR - 1,
38
+ Gio::Version::MICRO))
39
+ end
40
+
41
+ test "earlier" do
42
+ assert_false(Gio::Version.or_later?(Gio::Version::MAJOR,
43
+ Gio::Version::MINOR + 1,
44
+ Gio::Version::MICRO))
45
+ end
46
+ end
47
+ 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: 3.0.5
4
+ version: 3.0.6
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: 2015-09-22 00:00:00.000000000 Z
11
+ date: 2015-10-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: glib2
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 3.0.5
19
+ version: 3.0.6
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: 3.0.5
26
+ version: 3.0.6
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: gobject-introspection
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 3.0.5
33
+ version: 3.0.6
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 3.0.5
40
+ version: 3.0.6
41
41
  description: Ruby/GIO2 is a Ruby binding of gio-2.x.
42
42
  email: ruby-gnome2-devel-en@lists.sourceforge.net
43
43
  executables: []
@@ -58,6 +58,7 @@ files:
58
58
  - lib/gio2.rb
59
59
  - lib/gio2/action-map.rb
60
60
  - lib/gio2/action.rb
61
+ - lib/gio2/application-command-line.rb
61
62
  - lib/gio2/deprecated.rb
62
63
  - lib/gio2/inet-address.rb
63
64
  - lib/gio2/input-stream.rb
@@ -76,6 +77,7 @@ files:
76
77
  - test/gio2-test-utils/socket-client.rb
77
78
  - test/run-test.rb
78
79
  - test/test-action-map.rb
80
+ - test/test-application-command-line.rb
79
81
  - test/test-buffered-input-stream.rb
80
82
  - test/test-charset-converter.rb
81
83
  - test/test-content-type.rb
@@ -94,6 +96,7 @@ files:
94
96
  - test/test-pollable-output-stream.rb
95
97
  - test/test-resources.rb
96
98
  - test/test-simple-action.rb
99
+ - test/test-version.rb
97
100
  homepage: http://ruby-gnome2.sourceforge.jp/
98
101
  licenses:
99
102
  - LGPLv2.1 or later