goocanvas 1.0.0-x86-mingw32 → 1.0.1-x86-mingw32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/ChangeLog CHANGED
@@ -1,3 +1,8 @@
1
+ 2011-08-19 Kouhei Sutou <kou@cozmixng.org>
2
+
3
+ * lib/goocanvas.rb: support binary bundled gem.
4
+ Patch by HAYASHI Kentaro. Thanks!!!
5
+
1
6
  2011-02-12 Kouhei Sutou <kou@cozmixng.org>
2
7
 
3
8
  * ext/goocanvas/depend: fix .pc path. #3178294
data/lib/1.8/goocanvas.so CHANGED
Binary file
data/lib/1.9/goocanvas.so CHANGED
Binary file
data/lib/goocanvas.rb CHANGED
@@ -1,6 +1,16 @@
1
1
  require 'gtk2'
2
2
  require 'cairo'
3
- require 'goocanvas.so'
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: 23
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 0
10
- version: 1.0.0
9
+ - 1
10
+ version: 1.0.1
11
11
  platform: x86-mingw32
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-07-13 00:00:00 Z
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: 23
28
+ hash: 21
29
29
  segments:
30
30
  - 1
31
31
  - 0
32
- - 0
33
- version: 1.0.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.