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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 663005473dbd4e7b6512a58febe14d1ba2369a02
4
- data.tar.gz: e8ad28137450bc5029952d9158f0b881792a285e
3
+ metadata.gz: 16c22ff55d522db082d963e7bac9a42b4939caa6
4
+ data.tar.gz: ae9b6164c52e6a481553406f8bbfe33134aea41d
5
5
  SHA512:
6
- metadata.gz: 78c07c3d7e44e79ab4349b865fb06cdb41c9b42c7e7ba2c3b0ac68db1605f79c5cb0e6d71450a1e69be3761367f7b3e4c553f35e773e5ddfa743089f44d1e4f8
7
- data.tar.gz: 27b6e814a106555717bf313279c6d0644e372460f46a86bfb006def93be5c3830defdaaf4b27959128221a455e8b63366326cb5c46146d0da421b7f19146032f
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
- class << self
39
- def const_missing(name)
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
@@ -27,10 +27,5 @@ module Gio
27
27
  end
28
28
  super(properties)
29
29
  end
30
-
31
- alias_method :arguments_raw, :arguments
32
- def arguments
33
- arguments_raw[0]
34
- end
35
30
  end
36
31
  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 error_class_name(info)
232
- name = info.name
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
- name
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.8
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-04-03 00:00:00.000000000 Z
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.8
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.8
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.8
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.8
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.9.3
110
+ version: 2.1.0
111
111
  required_rubygems_version: !ruby/object:Gem::Requirement
112
112
  requirements:
113
113
  - - ">="