gio2 3.0.7-x64-mingw32 → 3.0.8-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: 7fd99a7f0a3ef892964146776ba4ed0b01967480
4
- data.tar.gz: 50e0116961bb47e70e63d7b0abd238e9586bd627
3
+ metadata.gz: 78beacb08748098c35e28c9a88f5ef5b4820659b
4
+ data.tar.gz: 3a9d4b3f2fb3613a5a07895935af2d70a26aa446
5
5
  SHA512:
6
- metadata.gz: 5580819edf4496833a7974fe4d4f1cd9e37f0de7f0425e81760fb5adfe84787f787ae244b53bf63cac97885f71ed2958ed9c2cb5ac7813dd822c3e1485c5853b
7
- data.tar.gz: 1b1447076deb44a255527fd053d2e6ac60834d4688a518b911d4e1b489c59bb74bd50db64a08a329b21084093b43d584797e7b17dac3f25a9798c68ba5d8dcc7
6
+ metadata.gz: 9fa5ac587df677c53ea23c20d1c2807c389b9bbc43340f757d34c000c5bdb846c09d3c4c8b4cd3c12420789c3764a5fd057fb4164f03e36970cb2417127195b1
7
+ data.tar.gz: 9dbb341154fbdf3afdad1a338a703509926104fd858f0de08577f2e5688c7ea620ac8465f339b39b17c0a5462126fac18814d6a9a09e3ddf43b92c843220c121
@@ -52,6 +52,7 @@ end
52
52
  setup_windows(module_name, base_dir)
53
53
 
54
54
  unless required_pkg_config_package(package_id,
55
+ :altlinux => "libgio-devel",
55
56
  :debian => "libglib2.0-dev",
56
57
  :redhat => "glib2-devel",
57
58
  :arch => "glib2",
@@ -22,49 +22,6 @@
22
22
 
23
23
  #define RG_TARGET_NAMESPACE rb_mGio
24
24
 
25
- static gboolean
26
- name_equal(GIArgInfo *info, const gchar *target_name)
27
- {
28
- GITypeInfo type_info;
29
- GIBaseInfo *interface_info;
30
- const gchar *namespace;
31
- const gchar *name;
32
- gboolean equal_name_p = FALSE;
33
-
34
- g_arg_info_load_type(info, &type_info);
35
- interface_info = g_type_info_get_interface(&type_info);
36
- namespace = g_base_info_get_namespace(interface_info);
37
- name = g_base_info_get_name(interface_info);
38
- if (strcmp(namespace, "Gio") == 0 && strcmp(name, target_name) == 0) {
39
- equal_name_p = TRUE;
40
- }
41
- g_base_info_unref(interface_info);
42
-
43
- return equal_name_p;
44
- }
45
-
46
- static void
47
- rb_gio2_async_ready_callback_callback(GObject *source_object,
48
- GAsyncResult *result,
49
- gpointer user_data)
50
- {
51
- RBGICallbackData *callback_data = user_data;
52
- ID id_call;
53
-
54
- CONST_ID(id_call, "call");
55
- rb_funcall(callback_data->rb_callback, id_call, 2,
56
- GOBJ2RVAL(source_object), GOBJ2RVAL(result));
57
- }
58
-
59
- static gpointer
60
- rb_gio2_async_ready_callback_finder(GIArgInfo *info)
61
- {
62
- if (!name_equal(info, "AsyncReadyCallback")) {
63
- return NULL;
64
- }
65
- return rb_gio2_async_ready_callback_callback;
66
- }
67
-
68
25
  void
69
26
  Init_gio2 (void)
70
27
  {
@@ -74,6 +31,4 @@ Init_gio2 (void)
74
31
 
75
32
  rb_gio2_init_application(RG_TARGET_NAMESPACE);
76
33
  rb_gio2_init_pollable_source(RG_TARGET_NAMESPACE);
77
-
78
- rb_gi_callback_register_finder(rb_gio2_async_ready_callback_finder);
79
34
  }
Binary file
Binary file
@@ -16,6 +16,18 @@
16
16
 
17
17
  module Gio
18
18
  class ApplicationCommandLine
19
+ def initialize(properties=nil)
20
+ if properties
21
+ arguments = properties[:arguments]
22
+ if arguments and !arguments.is_a?(GLib::Variant)
23
+ arguments = GLib::Variant.new(arguments,
24
+ GLib::VariantType::BYTESTRING_ARRAY)
25
+ properties = properties.merge(:arguments => arguments)
26
+ end
27
+ end
28
+ super(properties)
29
+ end
30
+
19
31
  alias_method :arguments_raw, :arguments
20
32
  def arguments
21
33
  arguments_raw[0]
@@ -16,12 +16,10 @@
16
16
 
17
17
  class TestApplicationCommandLine < Test::Unit::TestCase
18
18
  include GioTestUtils::Omissions
19
- def setup
20
- @command_line = Gio::ApplicationCommandLine.new
21
- end
22
19
 
23
20
  test "#arguments" do
24
21
  omit_on_travis_ci
25
- assert_equal([], @command_line.arguments)
22
+ command_line = Gio::ApplicationCommandLine.new(:arguments => ["hello"])
23
+ assert_equal(["hello"], command_line.arguments)
26
24
  end
27
25
  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.7
4
+ version: 3.0.8
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-10-06 00:00:00.000000000 Z
11
+ date: 2016-04-03 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.7
19
+ version: 3.0.8
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.7
26
+ version: 3.0.8
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.7
33
+ version: 3.0.8
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.7
40
+ version: 3.0.8
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: []
@@ -52,9 +52,8 @@ files:
52
52
  - ext/gio2/rb-gio2.c
53
53
  - ext/gio2/rb-gio2.h
54
54
  - extconf.rb
55
- - lib/2.0/gio2.so
56
- - lib/2.1/gio2.so
57
55
  - lib/2.2/gio2.so
56
+ - lib/2.3/gio2.so
58
57
  - lib/gio2.rb
59
58
  - lib/gio2/action-map.rb
60
59
  - lib/gio2/action.rb
@@ -99,7 +98,7 @@ files:
99
98
  - test/test-version.rb
100
99
  homepage: http://ruby-gnome2.sourceforge.jp/
101
100
  licenses:
102
- - LGPLv2.1 or later
101
+ - LGPLv2.1+
103
102
  metadata: {}
104
103
  post_install_message:
105
104
  rdoc_options: []
Binary file
Binary file