goocanvas 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/goocanvas/extconf.rb +7 -1
  2. metadata +9 -9
@@ -22,7 +22,13 @@ $LOAD_PATH.unshift(mkmf_gnome2_dir.to_s)
22
22
  module_name = "goocanvas"
23
23
  package_id = "goocanvas"
24
24
 
25
- require 'mkmf-gnome2'
25
+ begin
26
+ require 'mkmf-gnome2'
27
+ rescue LoadError
28
+ require 'rubygems'
29
+ gem 'glib2'
30
+ require 'mkmf-gnome2'
31
+ end
26
32
 
27
33
  ["glib2", "atk", "pango", "gdk_pixbuf2", "gtk2"].each do |package|
28
34
  directory = "#{package}#{version_suffix}"
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: goocanvas
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: gtk2
@@ -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
  description: Ruby/GooCanvas is a Ruby binding of GooCanvas.