cairo 1.15.8 → 1.15.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/NEWS +14 -0
  3. data/ext/cairo/rb_cairo.h +1 -1
  4. data/lib/cairo.rb +9 -3
  5. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2b22425c165bdcbbbd24e9cc9adf49ed2c1f4bc2
4
- data.tar.gz: df429f0add4ae2634cfe16a76d04308de871d0fe
3
+ metadata.gz: ffe2015411b6f8596221ee25cbab4b10c0d7c63e
4
+ data.tar.gz: ec47b23e02310bb52c3f2e9b1c715f0daabe4458
5
5
  SHA512:
6
- metadata.gz: be2b5ceea15d49c2162c53ec90e0f690c9d864a77e6085a35303eba82c5b34b495a9afa572c1f819d14570522d67b86bdcb6ce776e3cefbf3c8ca62358b434a8
7
- data.tar.gz: e006f69e3e8e83a38b6ec91d7a9b0df13a69b0aa05dbe8a34cd9bf0186dbe81397a00df69a2df27de3f97e2ce6e2a98ce12fd4343e60a78f402f52eacacc5afc
6
+ metadata.gz: 585166feb480e97329db7e8e0570ff6b144f8aa341594b76deb87b4570bfe5c6308edd479cfe5917a5ccfc2d1a16209fe5068f5f9cf7c6a57d3b06b1c235fd10
7
+ data.tar.gz: c3f958f8f7e84dbac5eb0d6c9fedd129e838433676f30922c22e1dbb92daf8de5879abc8ccb5389f87d97b92d8b4755f4a41e97984af1ffbbbc7ab0e028e7b0e
data/NEWS CHANGED
@@ -1,3 +1,17 @@
1
+ Release 1.15.9 (2017-06-03) Kouhei Sutou <kou@cozmixng.org>
2
+ ===========================================================
3
+
4
+ Improvements
5
+ ------------
6
+
7
+ * Supported RubyInstaller2.
8
+ [GitHub#47][Reported by PLURIX]
9
+
10
+ Thanks
11
+ ------
12
+
13
+ * PLURIX
14
+
1
15
  Release 1.15.8 (2017-05-29) Kouhei Sutou <kou@cozmixng.org>
2
16
  ===========================================================
3
17
 
@@ -73,7 +73,7 @@ RB_CAIRO_BEGIN_DECLS
73
73
 
74
74
  #define RB_CAIRO_VERSION_MAJOR 1
75
75
  #define RB_CAIRO_VERSION_MINOR 15
76
- #define RB_CAIRO_VERSION_MICRO 8
76
+ #define RB_CAIRO_VERSION_MICRO 9
77
77
 
78
78
  RB_CAIRO_VAR VALUE rb_mCairo;
79
79
  RB_CAIRO_VAR VALUE rb_cCairo_Context;
@@ -6,9 +6,15 @@ if /mingw|mswin|mswin32/ =~ RUBY_PLATFORM
6
6
  base_dir = base_dir.parent + "vendor" + "local"
7
7
  if base_dir.exist?
8
8
  base_dir = base_dir.to_s.gsub(/\//, "\\")
9
- ENV["PATH"] = %w(bin lib).collect do |dir|
10
- "#{base_dir}\\#{dir};"
11
- end.join("") + ENV["PATH"]
9
+ begin
10
+ require "ruby_installer/runtime"
11
+ rescue LoadError
12
+ ENV["PATH"] = %w(bin lib).collect do |dir|
13
+ "#{base_dir}\\#{dir};"
14
+ end.join("") + ENV["PATH"]
15
+ else
16
+ RubyInstaller::Runtime.add_dll_directory("#{base_dir}\\bin")
17
+ end
12
18
  else
13
19
  require "rbconfig"
14
20
  ENV["PATH"] = %w(bin lib).collect do |dir|
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cairo
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.15.8
4
+ version: 1.15.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kouhei Sutou
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-05-30 00:00:00.000000000 Z
11
+ date: 2017-06-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pkg-config