gio2 3.0.5-x64-mingw32 → 3.0.6-x64-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: 3a4939a4c9ea6823e6ff86a3ef513f994afad841
4
- data.tar.gz: fa7a1af2bf55b8700c8e09f420abb3fc4445250d
3
+ metadata.gz: ae05c6bded2d6aeaa6ff8913cc14ce377e945d54
4
+ data.tar.gz: 0526036a0c6c9b14e2177d394ae0cf3c54a03779
5
5
  SHA512:
6
- metadata.gz: adde87879bb4f1f6fe3e376dfc2c196f92846603016bceee517dda88e35de339bfaa15addec059c4f49b72ca6fd6337b0960f11a10a031f161415127a54c3a83
7
- data.tar.gz: ae2d731277358821799d89269bc856b738cc0361a8332e0f42a554b0cad35d63211bd3c454df7ca07d347c1de578679cfb1e14bcfa2c3062fb8eb404e41fb924
6
+ metadata.gz: cbbf17f6251c5aaca76c4cbe2335551bbdb05bd797c7e832a4a4d35d7a7b0bfb696b4f35fa6ddcab1c058566440beb8ae8793e33218a648a822298a6a03ce25c
7
+ data.tar.gz: 5d4f25bfd5491418f93a3916f77ddf7b867e3dd07e6ab64eac8295de094ba385f7c2bceb65b8679d5400b1b089f42e44d90031256655b367217fdbb2f47d5d81
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: x64-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