gio2 3.1.1 → 3.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/gio2/extconf.rb +2 -2
- data/test/gio2-test-utils/omissions.rb +0 -4
- data/test/test-application-command-line.rb +0 -1
- data/test/test-resources.rb +1 -1
- data/test/test-settings.rb +4 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c76668d074e39ff128cfa59875388b7fed1cf363
|
4
|
+
data.tar.gz: a66b354477c4663862c19d7174d51d5eeb763399
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f5d2a0bd2ec10100220cb786fcc3a8ef3f38f88c6624876c4ede68456a16b893b0a2ffbe97ee69065f2556de989247d16a55e01fbd70a42e5631a9c19531b8e2
|
7
|
+
data.tar.gz: d2ac8fb8f18af65faef8138b9d06ab7efa937e934c12b938e5d00210d9262164ad9ffa2522beee7aab77f5d5fec23d8abb04bd331439504e23023525e697ddc7
|
data/ext/gio2/extconf.rb
CHANGED
@@ -52,10 +52,10 @@ end
|
|
52
52
|
setup_windows(module_name, base_dir)
|
53
53
|
|
54
54
|
unless required_pkg_config_package(package_id,
|
55
|
-
:
|
55
|
+
:alt_linux => "libgio-devel",
|
56
56
|
:debian => "libglib2.0-dev",
|
57
57
|
:redhat => "glib2-devel",
|
58
|
-
:
|
58
|
+
:arch_linux => "glib2",
|
59
59
|
:homebrew => "glib",
|
60
60
|
:macports => "glib2")
|
61
61
|
exit(false)
|
@@ -20,10 +20,6 @@ module GioTestUtils
|
|
20
20
|
omit("Skip this test on OS X") if RUBY_PLATFORM =~ /darwin/
|
21
21
|
end
|
22
22
|
|
23
|
-
def omit_on_travis_ci
|
24
|
-
omit("Skip this test on Travis CI") if ENV["CI"]
|
25
|
-
end
|
26
|
-
|
27
23
|
def only_gio_version(major, minor, micro)
|
28
24
|
unless GLib.check_version?(major, minor, micro)
|
29
25
|
omit("Require GIO >= #{major}.#{minor}.#{micro}")
|
@@ -18,7 +18,6 @@ class TestApplicationCommandLine < Test::Unit::TestCase
|
|
18
18
|
include GioTestUtils::Omissions
|
19
19
|
|
20
20
|
test "#arguments" do
|
21
|
-
omit_on_travis_ci
|
22
21
|
command_line = Gio::ApplicationCommandLine.new(:arguments => ["hello"])
|
23
22
|
assert_equal(["hello"], command_line.arguments)
|
24
23
|
end
|
data/test/test-resources.rb
CHANGED
@@ -35,7 +35,7 @@ class TestResources < Test::Unit::TestCase
|
|
35
35
|
def test_lookup_data
|
36
36
|
data = Gio::Resources.lookup_data("/org/ruby-gnome2/test/logo.png")
|
37
37
|
assert_equal(File.open(fixture_path("logo.png"), "rb", &:read),
|
38
|
-
data)
|
38
|
+
data.to_s)
|
39
39
|
end
|
40
40
|
|
41
41
|
def test_open_stream
|
data/test/test-settings.rb
CHANGED
@@ -108,7 +108,10 @@ string='new-string'
|
|
108
108
|
need_keyfile_settings_backend
|
109
109
|
keyfile = Tempfile.new(["settings", ".ini"])
|
110
110
|
backend = Gio::keyfile_settings_backend_new(keyfile.path, "/", "keyfile_settings")
|
111
|
-
|
111
|
+
schema_dir = fixture_path("schema", "default")
|
112
|
+
schema_source = Gio::SettingsSchemaSource.new(schema_dir,
|
113
|
+
nil,
|
114
|
+
true)
|
112
115
|
schema = schema_source.lookup("jp.ruby-gnome2.test.settings", true)
|
113
116
|
settings = Gio::Settings.new(schema,
|
114
117
|
backend,
|
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.1.
|
4
|
+
version: 3.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- The Ruby-GNOME2 Project Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-04-26 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.1.
|
19
|
+
version: 3.1.2
|
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.1.
|
26
|
+
version: 3.1.2
|
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.1.
|
33
|
+
version: 3.1.2
|
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.1.
|
40
|
+
version: 3.1.2
|
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: []
|
@@ -106,7 +106,7 @@ files:
|
|
106
106
|
- test/test-version.rb
|
107
107
|
homepage: http://ruby-gnome2.sourceforge.jp/
|
108
108
|
licenses:
|
109
|
-
-
|
109
|
+
- LGPL-2.1+
|
110
110
|
metadata: {}
|
111
111
|
post_install_message:
|
112
112
|
rdoc_options: []
|