cairo 1.16.1 → 1.16.6
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.
- checksums.yaml +4 -4
- data/NEWS +98 -0
- data/Rakefile +1 -537
- data/ext/cairo/cairo.def +0 -1
- data/ext/cairo/extconf.rb +9 -18
- data/ext/cairo/rb_cairo.h +4 -13
- data/ext/cairo/rb_cairo_constants.c +10 -2
- data/ext/cairo/rb_cairo_context.c +13 -5
- data/ext/cairo/rb_cairo_device.c +2 -2
- data/ext/cairo/rb_cairo_font_face.c +6 -1
- data/ext/cairo/rb_cairo_io.c +6 -6
- data/ext/cairo/rb_cairo_pattern.c +3 -3
- data/ext/cairo/rb_cairo_private.c +5 -6
- data/ext/cairo/rb_cairo_private.h +2 -2
- data/ext/cairo/rb_cairo_scaled_font.c +2 -2
- data/ext/cairo/rb_cairo_surface.c +3 -3
- data/lib/cairo/color.rb +7 -7
- data/lib/cairo/colors.rb +3303 -617
- data/lib/cairo/point.rb +1 -1
- data/test/run-test.rb +10 -8
- data/test/test_colors.rb +9999 -0
- data/test/test_context.rb +7 -0
- metadata +33 -39
data/test/test_context.rb
CHANGED
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.
|
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:
|
11
|
+
date: 2020-07-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pkg-config
|
@@ -66,20 +66,6 @@ dependencies:
|
|
66
66
|
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: rake-compiler
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - ">="
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: '0'
|
76
|
-
type: :development
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - ">="
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: '0'
|
83
69
|
- !ruby/object:Gem::Dependency
|
84
70
|
name: packnga
|
85
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -183,6 +169,7 @@ files:
|
|
183
169
|
- test/helper.rb
|
184
170
|
- test/run-test.rb
|
185
171
|
- test/test_color.rb
|
172
|
+
- test/test_colors.rb
|
186
173
|
- test/test_constants.rb
|
187
174
|
- test/test_context.rb
|
188
175
|
- test/test_exception.rb
|
@@ -210,7 +197,13 @@ files:
|
|
210
197
|
homepage: https://rcairo.github.io/
|
211
198
|
licenses:
|
212
199
|
- Ruby
|
200
|
+
- GPL-2.0-or-later
|
213
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
|
214
207
|
msys2_mingw_dependencies: cairo
|
215
208
|
post_install_message:
|
216
209
|
rdoc_options: []
|
@@ -220,43 +213,44 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
220
213
|
requirements:
|
221
214
|
- - ">="
|
222
215
|
- !ruby/object:Gem::Version
|
223
|
-
version:
|
216
|
+
version: 2.2.1
|
224
217
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
225
218
|
requirements:
|
226
219
|
- - ">="
|
227
220
|
- !ruby/object:Gem::Version
|
228
221
|
version: '0'
|
229
|
-
requirements:
|
230
|
-
|
231
|
-
rubygems_version: 3.
|
222
|
+
requirements:
|
223
|
+
- cairo >= 1.2.0
|
224
|
+
rubygems_version: 3.2.0.pre1
|
232
225
|
signing_key:
|
233
226
|
specification_version: 4
|
234
227
|
summary: Ruby bindings for cairo
|
235
228
|
test_files:
|
236
|
-
- test/test_text_cluster.rb
|
237
|
-
- test/test_text_extents.rb
|
238
|
-
- test/test_font_extents.rb
|
239
|
-
- test/test_scaled_font.rb
|
240
|
-
- test/test_paper.rb
|
241
|
-
- test/test_svg_surface.rb
|
242
|
-
- test/test_script_device.rb
|
243
|
-
- test/test_xml_device.rb
|
244
|
-
- test/test_script_surface.rb
|
245
|
-
- test/test_context.rb
|
246
229
|
- test/helper.rb
|
230
|
+
- test/run-test.rb
|
231
|
+
- test/test_color.rb
|
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
|
247
237
|
- test/test_font_face.rb
|
248
|
-
- test/
|
238
|
+
- test/test_font_options.rb
|
249
239
|
- test/test_image_surface.rb
|
240
|
+
- test/test_paper.rb
|
241
|
+
- test/test_pdf_surface.rb
|
250
242
|
- test/test_quartz_image_surface.rb
|
251
|
-
- test/
|
243
|
+
- test/test_raster_source_pattern.rb
|
252
244
|
- test/test_recording_surface.rb
|
245
|
+
- test/test_region.rb
|
246
|
+
- test/test_scaled_font.rb
|
247
|
+
- test/test_script_device.rb
|
248
|
+
- test/test_script_surface.rb
|
249
|
+
- test/test_surface.rb
|
250
|
+
- test/test_svg_surface.rb
|
253
251
|
- test/test_tee_surface.rb
|
254
|
-
- test/
|
255
|
-
- test/
|
256
|
-
- test/test_constants.rb
|
252
|
+
- test/test_text_cluster.rb
|
253
|
+
- test/test_text_extents.rb
|
257
254
|
- test/test_text_to_glyphs_data.rb
|
258
|
-
- test/
|
259
|
-
- test/test_surface.rb
|
260
|
-
- test/test_exception.rb
|
255
|
+
- test/test_xml_device.rb
|
261
256
|
- test/test_xml_surface.rb
|
262
|
-
- test/test_region.rb
|