cairo 1.14.6 → 1.15.2

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of cairo might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e6a841e03b059ec2f53d5f5d639f799b01fc3f97
4
- data.tar.gz: f2286b521dc84d2fc6b4d95f19101292233bde2f
3
+ metadata.gz: ce8d108c3b58a948209183a2fb63c498731dbb51
4
+ data.tar.gz: 0db2b2faff68e8af41bd09d08161b4ad8ba7faa5
5
5
  SHA512:
6
- metadata.gz: ebcbdc4695496430894c1cdd42c166092ea8b7df68b15aaa5bf9b9c804985442f75a10fdd5461904c45c7f80ff315ed127c9a65941e7503c0903215d833edb6f
7
- data.tar.gz: 2f0b4693cf680b3773edd545d2168d40f6a0c380b71ceebef86e9a9e7fb4b42ebc29440c1a4787b57c897cd659924b75e033e8d856e8574a3898b7af37b0c27d
6
+ metadata.gz: fd3b30e2edec6c2e4991cde704b111a85709740d6b69942af539f583b2835a200670fc1cd7715e8bb9c9e32b4f3460b154c9facb03009d9ab39110857eda0602
7
+ data.tar.gz: 45d4bae75b757f75b3b676fb6c44e3be98a57f70af016f5dcb78ef1481f87256f56d50402c46a85de750556b466a7d14e4f946120905af66f99f827405243cac
data/Rakefile CHANGED
@@ -116,9 +116,9 @@ class Package < Struct.new(:name,
116
116
  def download_site_base_url
117
117
  case download_site
118
118
  when :cairo
119
- base_url = "https://cairographics.org/releases"
119
+ base_url = "http://cairographics.org/releases"
120
120
  when :cairo_snapshots
121
- base_url = "https://cairographics.org/snapshots"
121
+ base_url = "http://cairographics.org/snapshots"
122
122
  when :gnome
123
123
  base_url = "http://ftp.gnome.org/pub/gnome/sources"
124
124
  release_series = version.gsub(/\A(\d+\.\d+).+\z/, '\1')
@@ -452,8 +452,8 @@ windows_task = WindowsTask.new(spec) do |task|
452
452
  },
453
453
  {
454
454
  :name => "libpng",
455
- :version => "1.6.23",
456
- :download_base_url => "http://downloads.sourceforge.net/project/libpng/libpng16/1.6.23",
455
+ :version => "1.6.21",
456
+ :download_base_url => "http://downloads.sourceforge.net/project/libpng/libpng16/1.6.21",
457
457
  :windows => {
458
458
  :built_file => "bin/libpng16-16.dll",
459
459
  },
@@ -511,8 +511,8 @@ windows_task = WindowsTask.new(spec) do |task|
511
511
  },
512
512
  {
513
513
  :name => "cairo",
514
- :version => "1.14.6",
515
- :download_site => :cairo,
514
+ :version => "1.15.2",
515
+ :download_site => :cairo_snapshots,
516
516
  :windows => {
517
517
  :built_file => "bin/libcairo-2.dll",
518
518
  :configure_args => [
@@ -72,8 +72,8 @@ RB_CAIRO_BEGIN_DECLS
72
72
  #endif
73
73
 
74
74
  #define RB_CAIRO_VERSION_MAJOR 1
75
- #define RB_CAIRO_VERSION_MINOR 14
76
- #define RB_CAIRO_VERSION_MICRO 6
75
+ #define RB_CAIRO_VERSION_MINOR 15
76
+ #define RB_CAIRO_VERSION_MICRO 2
77
77
 
78
78
  RB_CAIRO_VAR VALUE rb_mCairo;
79
79
  RB_CAIRO_VAR VALUE rb_cCairo_Context;
@@ -96,9 +96,6 @@ cr_options_merge (VALUE self, VALUE other)
96
96
  static VALUE
97
97
  cr_options_equal (VALUE self, VALUE other)
98
98
  {
99
- if (!rb_cairo__is_kind_of (other, rb_cCairo_FontOptions))
100
- return Qfalse;
101
-
102
99
  return CBOOL2RVAL (cairo_font_options_equal (_SELF (self), _SELF (other)));
103
100
  }
104
101
 
@@ -171,13 +168,12 @@ Init_cairo_font_options (void)
171
168
  rb_define_class_under (rb_mCairo, "FontOptions", rb_cObject);
172
169
 
173
170
  rb_define_alloc_func (rb_cCairo_FontOptions, cr_options_allocate);
174
-
171
+
175
172
  rb_define_method (rb_cCairo_FontOptions, "initialize", cr_options_create, 0);
176
173
 
177
174
  rb_define_method (rb_cCairo_FontOptions, "dup", cr_options_copy, 0);
178
175
  rb_define_method (rb_cCairo_FontOptions, "merge!", cr_options_merge, 1);
179
176
  rb_define_alias (rb_cCairo_FontOptions, "update", "merge!");
180
- rb_define_method (rb_cCairo_FontOptions, "==", cr_options_equal, 1);
181
177
  rb_define_method (rb_cCairo_FontOptions, "eql?", cr_options_equal, 1);
182
178
  rb_define_method (rb_cCairo_FontOptions, "hash", cr_options_hash, 0);
183
179
  rb_define_method (rb_cCairo_FontOptions, "set_antialias",
@@ -7,52 +7,7 @@ class FontOptionsTest < Test::Unit::TestCase
7
7
  @options = Cairo::FontOptions.new
8
8
  end
9
9
 
10
- sub_test_case "#==" do
11
- test "not FontOptions" do
12
- assert do
13
- !(@options == nil)
14
- end
15
- end
16
-
17
- test "same object" do
18
- assert do
19
- @options == @options
20
- end
21
- end
22
-
23
- test "same content" do
24
- assert do
25
- @options == @options.dup
26
- end
27
- end
28
- end
29
-
30
- sub_test_case "#eql? and #hash" do
31
- test "not FontOptions" do
32
- object = Object.new
33
- options = @options
34
- object.singleton_class.__send__(:define_method, :hash) do
35
- options.hash
36
- end
37
-
38
- hash = {
39
- object => :value,
40
- }
41
- assert_nil(hash[@options])
42
- end
43
-
44
- test "same object" do
45
- hash = {
46
- @options => :value,
47
- }
48
- assert_equal(:value, hash[@options])
49
- end
50
-
51
- test "same content" do
52
- hash = {
53
- @options => :value,
54
- }
55
- assert_equal(:value, hash[@options.dup])
56
- end
10
+ def test_something
11
+ # WRITE ME!
57
12
  end
58
13
  end
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.14.6
4
+ version: 1.15.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kouhei Sutou
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-07-29 00:00:00.000000000 Z
11
+ date: 2016-04-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pkg-config
@@ -196,33 +196,34 @@ required_rubygems_version: !ruby/object:Gem::Requirement
196
196
  version: '0'
197
197
  requirements: []
198
198
  rubyforge_project:
199
- rubygems_version: 2.2.2
199
+ rubygems_version: 2.5.1
200
200
  signing_key:
201
201
  specification_version: 4
202
202
  summary: Ruby bindings for cairo
203
203
  test_files:
204
- - test/test_quartz_image_surface.rb
205
- - test/test_image_surface.rb
206
- - test/test_paper.rb
207
- - test/test_constants.rb
208
- - test/test_context.rb
204
+ - test/test_text_cluster.rb
209
205
  - test/test_text_extents.rb
210
- - test/test_color.rb
206
+ - test/test_font_extents.rb
211
207
  - test/test_scaled_font.rb
212
- - test/test_text_to_glyphs_data.rb
213
- - test/test_region.rb
214
- - test/test_surface.rb
215
- - test/test_recording_surface.rb
208
+ - test/test_paper.rb
216
209
  - test/test_script_device.rb
217
- - test/test_text_cluster.rb
218
- - test/test_script_surface.rb
219
- - test/test_font_extents.rb
220
- - test/test_tee_surface.rb
221
- - test/test_raster_source_pattern.rb
222
- - test/test_xml_surface.rb
223
- - test/test_exception.rb
224
210
  - test/test_xml_device.rb
211
+ - test/cairo-test-utils.rb
212
+ - test/test_script_surface.rb
213
+ - test/test_context.rb
225
214
  - test/test_font_face.rb
226
- - test/test_font_options.rb
215
+ - test/test_raster_source_pattern.rb
216
+ - test/test_image_surface.rb
217
+ - test/test_quartz_image_surface.rb
227
218
  - test/run-test.rb
228
- - test/cairo-test-utils.rb
219
+ - test/test_recording_surface.rb
220
+ - test/test_tee_surface.rb
221
+ - test/test_font_options.rb
222
+ - test/test_color.rb
223
+ - test/test_constants.rb
224
+ - test/test_text_to_glyphs_data.rb
225
+ - test/test_surface.rb
226
+ - test/test_exception.rb
227
+ - test/test_xml_surface.rb
228
+ - test/test_region.rb
229
+ has_rdoc: