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 +4 -4
- data/lib/2.0/gio2.so +0 -0
- data/lib/2.1/gio2.so +0 -0
- data/lib/2.2/gio2.so +0 -0
- data/lib/gio2.rb +2 -0
- data/lib/gio2/application-command-line.rb +24 -0
- data/lib/gio2/loader.rb +1 -0
- data/test/gio2-test-utils/omissions.rb +4 -0
- data/test/gio2-test-utils/socket-client.rb +3 -3
- data/test/run-test.rb +2 -2
- data/test/test-application-command-line.rb +27 -0
- data/test/test-version.rb +47 -0
- metadata +9 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ae05c6bded2d6aeaa6ff8913cc14ce377e945d54
|
4
|
+
data.tar.gz: 0526036a0c6c9b14e2177d394ae0cf3c54a03779
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cbbf17f6251c5aaca76c4cbe2335551bbdb05bd797c7e832a4a4d35d7a7b0bfb696b4f35fa6ddcab1c058566440beb8ae8793e33218a648a822298a6a03ce25c
|
7
|
+
data.tar.gz: 5d4f25bfd5491418f93a3916f77ddf7b867e3dd07e6ab64eac8295de094ba385f7c2bceb65b8679d5400b1b089f42e44d90031256655b367217fdbb2f47d5d81
|
data/lib/2.0/gio2.so
CHANGED
Binary file
|
data/lib/2.1/gio2.so
CHANGED
Binary file
|
data/lib/2.2/gio2.so
CHANGED
Binary file
|
data/lib/gio2.rb
CHANGED
@@ -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
|
data/lib/gio2/loader.rb
CHANGED
data/test/run-test.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
#
|
3
|
-
# Copyright (C) 2013-
|
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.
|
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-
|
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.
|
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.
|
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.
|
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.
|
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
|