cairo 1.16.5 → 1.16.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (6) hide show
  1. checksums.yaml +4 -4
  2. data/NEWS +25 -0
  3. data/Rakefile +1 -0
  4. data/ext/cairo/rb_cairo.h +3 -3
  5. data/test/run-test.rb +7 -7
  6. metadata +32 -26
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f8697772a6b5b607085779a06a8d9f419cd015fa247a282eb9f68d3f885a33dc
4
- data.tar.gz: ae49fe2f767c18a5f5af428d869daf67bf74a6e559d2327d28a5d097c7cf5841
3
+ metadata.gz: c15e8af590215c88e266c06bdbc88bd56fa67447150014354e46f04aefd88ad6
4
+ data.tar.gz: 4cd483495ef9499f407826907ef021973794af9d44a9072e594ac613ec64574e
5
5
  SHA512:
6
- metadata.gz: 7e52b47179fe0492eec020b6458f43309c1da04f003905ee64ebf8734de7d49eba241ef8343ed18c85d187c0b42d93b1bee91274b441e690f090818bbd3e65a8
7
- data.tar.gz: bccb35d0e78ae2c8d6e4a3d7753fd9a5b3ab791cfd533c7a2fbb2294cf2eb6032004d638b9287eccf4fb689ad26b1a7bebe95b37a48f4661224e47844252092e
6
+ metadata.gz: 21bc8f32edabb79ab6c5c397292ec31a465893ba7a7d2702315fd50eadecdc489c437f21c7f4c238a8c968ebe121ea5386b6ed1470334b466727b568b417060a
7
+ data.tar.gz: 5dfcb99bfa8c74626d0162251c13ac4cfa331b11e5adf16a4b76b3236fd04d5070e592378d63aeb9e8c472dac1e4bd443f3bf34ba916f7204e9449720670f7de
data/NEWS CHANGED
@@ -1,3 +1,28 @@
1
+ Release 1.16.6 (2020-07-23) Sutou Kouhei <kou@cozmixng.org>
2
+ ============================================================
3
+
4
+ Improvements
5
+ ------------
6
+
7
+ * Specified GPL 2.0 or later explicitly in gemspec.
8
+ [GitHub#62][Reported by Gabriel Mazetto]
9
+
10
+ * Added more metadata to gem.
11
+ [GitHub#63][Patch by Gabriel Mazetto]
12
+
13
+ Fixes
14
+ -----
15
+
16
+ * Windows: Fixed a link error.
17
+ [GitHub#ruby-gnome/ruby-gnome#1402][Reported by dsisnero]
18
+
19
+ Thanks
20
+ ------
21
+
22
+ * Gabriel Mazetto
23
+
24
+ * dsisnero
25
+
1
26
  Release 1.16.5 (2020-02-03) Sutou Kouhei <kou@cozmixng.org>
2
27
  ============================================================
3
28
 
data/Rakefile CHANGED
@@ -25,6 +25,7 @@ Packnga::ReleaseTask.new(spec) do |task|
25
25
  end
26
26
 
27
27
  # for releasing
28
+ desc "Release to cairographics.org"
28
29
  task :dist do
29
30
  sh "./dist.sh", spec.version.to_s
30
31
  end
@@ -5,7 +5,7 @@
5
5
  * $Author: kou $
6
6
  * $Date: 2008-09-19 12:56:27 $
7
7
  *
8
- * Copyright 2006-2019 Kouhei Sutou <kou@cozmixng.org>
8
+ * Copyright 2006-2020 Sutou Kouhei <kou@cozmixng.org>
9
9
  * Copyright 2005 Øyvind Kolås <pippin@freedesktop.org>
10
10
  * Copyright 2004-2005 MenTaLguY <mental@rydia.com>
11
11
  *
@@ -55,7 +55,7 @@ RB_CAIRO_BEGIN_DECLS
55
55
 
56
56
  #ifdef __WIN32__
57
57
  # ifdef RB_CAIRO_COMPILATION
58
- # define RB_CAIRO_VAR __declspec(dllexport)
58
+ # define RB_CAIRO_VAR extern __declspec(dllexport)
59
59
  # else
60
60
  # define RB_CAIRO_VAR extern __declspec(dllimport)
61
61
  # endif
@@ -65,7 +65,7 @@ RB_CAIRO_BEGIN_DECLS
65
65
 
66
66
  #define RB_CAIRO_VERSION_MAJOR 1
67
67
  #define RB_CAIRO_VERSION_MINOR 16
68
- #define RB_CAIRO_VERSION_MICRO 5
68
+ #define RB_CAIRO_VERSION_MICRO 6
69
69
 
70
70
  RB_CAIRO_VAR VALUE rb_mCairo;
71
71
  RB_CAIRO_VAR VALUE rb_cCairo_Context;
@@ -1,12 +1,13 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- base_dir = File.expand_path(File.join(File.dirname(__FILE__), ".."))
4
- ext_dir = File.join(base_dir, "ext", "cairo")
5
- lib_dir = File.join(base_dir, "lib")
6
- test_dir = File.join(base_dir, "test")
3
+ source_dir = File.expand_path(File.join(__dir__, ".."))
4
+ build_dir = File.expand_path(".")
5
+ ext_dir = File.join(build_dir, "ext", "cairo")
6
+ lib_dir = File.join(source_dir, "lib")
7
+ test_dir = File.join(source_dir, "test")
7
8
 
8
9
  if system("which make >/dev/null 2>&1")
9
- Dir.chdir(base_dir) do
10
+ Dir.chdir(build_dir) do
10
11
  if File.exist?("Makefile")
11
12
  system("make > /dev/null") or exit(1)
12
13
  end
@@ -15,10 +16,9 @@ end
15
16
 
16
17
  require "test-unit"
17
18
 
18
- $LOAD_PATH.unshift(base_dir)
19
19
  $LOAD_PATH.unshift(ext_dir)
20
20
  $LOAD_PATH.unshift(lib_dir)
21
21
 
22
22
  require_relative "helper"
23
23
 
24
- exit Test::Unit::AutoRunner.run(true, test_dir)
24
+ exit(Test::Unit::AutoRunner.run(true, test_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.16.5
4
+ version: 1.16.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kouhei Sutou
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-02-02 00:00:00.000000000 Z
11
+ date: 2020-07-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pkg-config
@@ -197,7 +197,13 @@ files:
197
197
  homepage: https://rcairo.github.io/
198
198
  licenses:
199
199
  - Ruby
200
+ - GPL-2.0-or-later
200
201
  metadata:
202
+ bug_tracker_uri: https://github.com/rcairo/rcairo/issues
203
+ changelog_uri: https://github.com/rcairo/rcairo/blob/master/NEWS
204
+ documentation_uri: https://rcairo.github.io/doc/
205
+ mailing_list_uri: https://cairographics.org/cgi-bin/mailman/listinfo/cairo
206
+ source_code_uri: https://github.com/rcairo/rcairo
201
207
  msys2_mingw_dependencies: cairo
202
208
  post_install_message:
203
209
  rdoc_options: []
@@ -207,44 +213,44 @@ required_ruby_version: !ruby/object:Gem::Requirement
207
213
  requirements:
208
214
  - - ">="
209
215
  - !ruby/object:Gem::Version
210
- version: '0'
216
+ version: 2.2.1
211
217
  required_rubygems_version: !ruby/object:Gem::Requirement
212
218
  requirements:
213
219
  - - ">="
214
220
  - !ruby/object:Gem::Version
215
221
  version: '0'
216
- requirements: []
217
- rubyforge_project:
218
- rubygems_version: 2.7.6.2
222
+ requirements:
223
+ - cairo >= 1.2.0
224
+ rubygems_version: 3.2.0.pre1
219
225
  signing_key:
220
226
  specification_version: 4
221
227
  summary: Ruby bindings for cairo
222
228
  test_files:
223
- - test/test_xml_surface.rb
224
- - test/test_tee_surface.rb
225
- - test/test_pdf_surface.rb
226
- - test/test_text_to_glyphs_data.rb
227
- - test/test_text_extents.rb
228
- - test/test_context.rb
229
- - test/test_recording_surface.rb
230
229
  - test/helper.rb
231
230
  - test/run-test.rb
232
- - test/test_paper.rb
233
- - test/test_exception.rb
234
- - test/test_svg_surface.rb
235
- - test/test_script_device.rb
236
- - test/test_font_extents.rb
237
231
  - test/test_color.rb
238
- - test/test_text_cluster.rb
239
232
  - test/test_colors.rb
233
+ - test/test_constants.rb
234
+ - test/test_context.rb
235
+ - test/test_exception.rb
236
+ - test/test_font_extents.rb
240
237
  - test/test_font_face.rb
241
- - test/test_surface.rb
242
- - test/test_region.rb
243
- - test/test_raster_source_pattern.rb
238
+ - test/test_font_options.rb
244
239
  - test/test_image_surface.rb
240
+ - test/test_paper.rb
241
+ - test/test_pdf_surface.rb
245
242
  - test/test_quartz_image_surface.rb
246
- - test/test_constants.rb
247
- - test/test_xml_device.rb
248
- - test/test_script_surface.rb
243
+ - test/test_raster_source_pattern.rb
244
+ - test/test_recording_surface.rb
245
+ - test/test_region.rb
249
246
  - test/test_scaled_font.rb
250
- - test/test_font_options.rb
247
+ - test/test_script_device.rb
248
+ - test/test_script_surface.rb
249
+ - test/test_surface.rb
250
+ - test/test_svg_surface.rb
251
+ - test/test_tee_surface.rb
252
+ - test/test_text_cluster.rb
253
+ - test/test_text_extents.rb
254
+ - test/test_text_to_glyphs_data.rb
255
+ - test/test_xml_device.rb
256
+ - test/test_xml_surface.rb