gio2 3.0.8 → 3.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/gio2.rb +2 -19
- data/lib/gio2/application-command-line.rb +0 -5
- data/lib/gio2/loader.rb +3 -6
- 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: 16c22ff55d522db082d963e7bac9a42b4939caa6
|
4
|
+
data.tar.gz: ae9b6164c52e6a481553406f8bbfe33134aea41d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 345ef1f27af30477f8bddc096d7735710f21e6e2913f19f67a2a1fbebc2528556c50458d77d59852713097c095312b771b8dbf2cef7e2cdbf8b13453ca7fc163
|
7
|
+
data.tar.gz: 779772d334eae123ae9a93a76c76ae9511d51b5874accc507f3ba4c926e9b097b614a5620e5cc581cda642e3ed15eda8c32e6e9861b53cd2bc2e4eed99b591d0
|
data/lib/gio2.rb
CHANGED
@@ -35,23 +35,6 @@ module Gio
|
|
35
35
|
class Error < StandardError
|
36
36
|
end
|
37
37
|
|
38
|
-
|
39
|
-
|
40
|
-
init
|
41
|
-
if const_defined?(name)
|
42
|
-
const_get(name)
|
43
|
-
else
|
44
|
-
super
|
45
|
-
end
|
46
|
-
end
|
47
|
-
|
48
|
-
def init
|
49
|
-
class << self
|
50
|
-
remove_method(:init)
|
51
|
-
remove_method(:const_missing)
|
52
|
-
end
|
53
|
-
loader = Loader.new(self)
|
54
|
-
loader.load("Gio")
|
55
|
-
end
|
56
|
-
end
|
38
|
+
loader = Loader.new(self)
|
39
|
+
loader.load("Gio")
|
57
40
|
end
|
data/lib/gio2/loader.rb
CHANGED
@@ -102,8 +102,6 @@ module Gio
|
|
102
102
|
def load_function_info(info)
|
103
103
|
name = info.name
|
104
104
|
case name
|
105
|
-
when "init"
|
106
|
-
# ignore
|
107
105
|
when /\Acontent_type_/
|
108
106
|
load_function_info_content_type(info)
|
109
107
|
when "content_types_get_registered"
|
@@ -228,13 +226,12 @@ module Gio
|
|
228
226
|
end
|
229
227
|
end
|
230
228
|
|
231
|
-
def
|
232
|
-
|
233
|
-
case name
|
229
|
+
def rubyish_class_name(info)
|
230
|
+
case info.name
|
234
231
|
when /Enum\z/
|
235
232
|
$PREMATCH
|
236
233
|
else
|
237
|
-
|
234
|
+
super
|
238
235
|
end
|
239
236
|
end
|
240
237
|
|
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.9
|
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: 2016-
|
11
|
+
date: 2016-08-12 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.9
|
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.9
|
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.9
|
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.9
|
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: []
|
@@ -107,7 +107,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
107
107
|
requirements:
|
108
108
|
- - ">="
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: 1.
|
110
|
+
version: 2.1.0
|
111
111
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
112
112
|
requirements:
|
113
113
|
- - ">="
|