gtk2 0.90.9 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/ext/gtk2/extconf.rb +7 -1
  2. metadata +17 -17
@@ -23,7 +23,13 @@ $LOAD_PATH.unshift(mkmf_gnome2_dir.to_s)
23
23
  module_name = "gtk2"
24
24
  package_id = "gtk+-2.0"
25
25
 
26
- require 'mkmf-gnome2'
26
+ begin
27
+ require 'mkmf-gnome2'
28
+ rescue LoadError
29
+ require 'rubygems'
30
+ gem 'glib2'
31
+ require 'mkmf-gnome2'
32
+ end
27
33
 
28
34
  ["glib2", "atk", "pango", "gdk_pixbuf2"].each do |package|
29
35
  directory = "#{package}#{version_suffix}"
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gtk2
3
3
  version: !ruby/object:Gem::Version
4
- hash: 357
4
+ hash: 23
5
5
  prerelease:
6
6
  segments:
7
+ - 1
7
8
  - 0
8
- - 90
9
- - 9
10
- version: 0.90.9
9
+ - 0
10
+ version: 1.0.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - The Ruby-GNOME2 Proejct Team
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-06-11 00:00:00 Z
18
+ date: 2011-07-13 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: atk
@@ -25,12 +25,12 @@ dependencies:
25
25
  requirements:
26
26
  - - ">="
27
27
  - !ruby/object:Gem::Version
28
- hash: 357
28
+ hash: 23
29
29
  segments:
30
+ - 1
31
+ - 0
30
32
  - 0
31
- - 90
32
- - 9
33
- version: 0.90.9
33
+ version: 1.0.0
34
34
  type: :runtime
35
35
  version_requirements: *id001
36
36
  - !ruby/object:Gem::Dependency
@@ -41,12 +41,12 @@ dependencies:
41
41
  requirements:
42
42
  - - ">="
43
43
  - !ruby/object:Gem::Version
44
- hash: 357
44
+ hash: 23
45
45
  segments:
46
+ - 1
46
47
  - 0
47
- - 90
48
- - 9
49
- version: 0.90.9
48
+ - 0
49
+ version: 1.0.0
50
50
  type: :runtime
51
51
  version_requirements: *id002
52
52
  - !ruby/object:Gem::Dependency
@@ -57,12 +57,12 @@ dependencies:
57
57
  requirements:
58
58
  - - ">="
59
59
  - !ruby/object:Gem::Version
60
- hash: 357
60
+ hash: 23
61
61
  segments:
62
+ - 1
63
+ - 0
62
64
  - 0
63
- - 90
64
- - 9
65
- version: 0.90.9
65
+ version: 1.0.0
66
66
  type: :runtime
67
67
  version_requirements: *id003
68
68
  description: Ruby/GTK2 is a Ruby binding of GTK+-2.x.