goocanvas 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +5 -0
- data/lib/goocanvas.rb +11 -1
- metadata +7 -7
data/ChangeLog
CHANGED
data/lib/goocanvas.rb
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
require 'gtk2'
|
2
2
|
require 'cairo'
|
3
|
-
|
3
|
+
|
4
|
+
base_dir = Pathname.new(__FILE__).dirname.dirname.expand_path
|
5
|
+
vendor_dir = base_dir + "vendor" + "local"
|
6
|
+
vendor_bin_dir = vendor_dir + "bin"
|
7
|
+
GLib.prepend_environment_path(vendor_bin_dir)
|
8
|
+
begin
|
9
|
+
major, minor, micro, = RUBY_VERSION.split(/\./)
|
10
|
+
require "#{major}.#{minor}/goocanvas.so"
|
11
|
+
rescue LoadError
|
12
|
+
require 'goocanvas.so'
|
13
|
+
end
|
4
14
|
|
5
15
|
module Goo
|
6
16
|
LOG_DOMAIN="Goo"
|
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:
|
4
|
+
hash: 21
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 1.0.
|
9
|
+
- 1
|
10
|
+
version: 1.0.1
|
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-
|
18
|
+
date: 2011-09-18 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:
|
28
|
+
hash: 21
|
29
29
|
segments:
|
30
30
|
- 1
|
31
31
|
- 0
|
32
|
-
-
|
33
|
-
version: 1.0.
|
32
|
+
- 1
|
33
|
+
version: 1.0.1
|
34
34
|
type: :runtime
|
35
35
|
version_requirements: *id001
|
36
36
|
description: Ruby/GooCanvas is a Ruby binding of GooCanvas.
|