gio2 4.2.1 → 4.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/gio2/content-type.rb +8 -6
  3. metadata +5 -8
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e221e88eecd04ea55685378826bdf7a576025add33231e19d3c6759f9bcdb840
4
- data.tar.gz: 2a17be51dc3b1a63e073bb002c6238fd9364a4a020f58c74cf37a15d154486cb
3
+ metadata.gz: 8daf7d00e6d639ce114c7f42700abd812cef10c26e4912d8ef8b3e8a6b8839e1
4
+ data.tar.gz: 5e158a985f5e8c60828c4da0c80695862bcd6403db0487d62b0d08d40b532c5d
5
5
  SHA512:
6
- metadata.gz: 31e568bc4355207ffa9fb29e179f9d6b43fb7fd0fb1beaf20c89f3e92502aebc98a0533de85e806a9aef6e044de963832008b2298062426f33d4aa8f23dbdde9
7
- data.tar.gz: 3245a585a905b8b6fdde2106cfbc26a8a73d38498a5c6661bcd77f05e89bb219bf7ada1ec193906ef6544ed96fdd9e2f57d07f935cfb9c8dea2e5c9e3700d11c
6
+ metadata.gz: f98a75f9f59dadc6eb2a7511f22c41306f5b1b86fb9795b2915bcc35376b2b87dd029c7a151f0d433826bc25ac26bf28d5e4ca2e8e805e21c2783551f6dab11a
7
+ data.tar.gz: 29306c2a16c013ff8e234b36b669526e59c602596d143459a4b127e8d037059eb0460097b2fe9b11ad9094a8d074692f5bcbda9dee1c9a1b041317074595dc9e
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2016 Ruby-GNOME2 Project Team
1
+ # Copyright (C) 2016-2024 Ruby-GNOME Project Team
2
2
  #
3
3
  # This library is free software; you can redistribute it and/or
4
4
  # modify it under the terms of the GNU Lesser General Public
@@ -16,11 +16,13 @@
16
16
 
17
17
  module Gio
18
18
  class ContentType
19
- class << self
20
- alias_method :registered_raw, :registered
21
- def registered
22
- registered_raw([]).collect do |type|
23
- new(type)
19
+ if respond_to?(:registered)
20
+ class << self
21
+ alias_method :registered_raw, :registered
22
+ def registered
23
+ registered_raw.collect do |type|
24
+ new(type)
25
+ end
24
26
  end
25
27
  end
26
28
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gio2
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.2.1
4
+ version: 4.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - The Ruby-GNOME Project Team
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-02-22 00:00:00.000000000 Z
10
+ date: 2024-04-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: fiddle
@@ -30,14 +29,14 @@ dependencies:
30
29
  requirements:
31
30
  - - '='
32
31
  - !ruby/object:Gem::Version
33
- version: 4.2.1
32
+ version: 4.2.2
34
33
  type: :runtime
35
34
  prerelease: false
36
35
  version_requirements: !ruby/object:Gem::Requirement
37
36
  requirements:
38
37
  - - '='
39
38
  - !ruby/object:Gem::Version
40
- version: 4.2.1
39
+ version: 4.2.2
41
40
  description: Ruby/GIO2 provide Ruby binding to a VFS API and useful APIs for desktop
42
41
  applications (such as networking and D-Bus support).
43
42
  email: ruby-gnome2-devel-en@lists.sourceforge.net
@@ -125,7 +124,6 @@ licenses:
125
124
  - LGPL-2.1+
126
125
  metadata:
127
126
  msys2_mingw_dependencies: glib-networking
128
- post_install_message:
129
127
  rdoc_options: []
130
128
  require_paths:
131
129
  - lib
@@ -140,8 +138,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
140
138
  - !ruby/object:Gem::Version
141
139
  version: '0'
142
140
  requirements: []
143
- rubygems_version: 3.5.1
144
- signing_key:
141
+ rubygems_version: 3.6.0.dev
145
142
  specification_version: 4
146
143
  summary: Ruby/GIO2 is a Ruby binding of gio-2.x.
147
144
  test_files: []