pango 3.3.1 → 3.3.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/test/test-context.rb +21 -1
  3. metadata +7 -7
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9c88e03c5116fbed46cd81b885de03b754ba44ebde9b319aa7b18f4c97645c78
4
- data.tar.gz: 6ba7e4f2bbe89e69f815d78a79a298c5311f071778046a455276b52c56618169
3
+ metadata.gz: 1953df970af65f9fa9eb43757d1b7b8a18497f71276611b54e80e60c11957309
4
+ data.tar.gz: aeef7b2fe7753f96fbebc858daaa4d57773ca19fd70838b61a8131b3968058fc
5
5
  SHA512:
6
- metadata.gz: 83b9f6c742ed767857701dd0d7cba4185751a46813a2f21158da2e6f2e682a0b0fd8560734f4c72fc51df323fa36ad20c6126ad63e5c21322f10e4bfc6d80baf
7
- data.tar.gz: 7c6a396eef88d46ca5392e5aa232013ad53fb02a4c7c92bf4701d0a74a3dba6719f2296010626c056a2c26c935d71b6b7749bba5b8bf1ab475d08da3ea1754c9
6
+ metadata.gz: f82229301ab378ccf8df22fa42967d4c33b6117d41b1aa7b685e8a2b1b5bcb520eda892231ddd811d4c8a6a8a6a0eaf0b0fa59b7e489a6e19b8110785c952d71
7
+ data.tar.gz: e42e8814981f5ffbae6fe97579de225f3e3a0d1ea4c69b3f9b44e0cfb6aee5ae058f7a8e23df61668f1360c488bc1ae4a4965906acd33c4a720ffe65e8696eb1
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2016 Ruby-GNOME2 Project Team
1
+ # Copyright (C) 2016-2019 Ruby-GNOME2 Project Team
2
2
  #
3
3
  # This library is free software; you can redistribute it and/or
4
4
  # modify it under the terms of the GNU Lesser General Public
@@ -110,4 +110,24 @@ class TestContext < Test::Unit::TestCase
110
110
  @context.resolution = dpi
111
111
  assert_equal(dpi, @context.resolution)
112
112
  end
113
+
114
+ sub_test_case("#set_shape_renderer") do
115
+ def test_gc
116
+ GC.start
117
+ n_contexts = ObjectSpace.each_object(Pango::Context) {}
118
+ n_procs = ObjectSpace.each_object(Proc) {}
119
+ n = 1000
120
+ n.times do
121
+ context = Pango::CairoFontMap.default.create_context
122
+ context.set_shape_renderer do
123
+ end
124
+ end
125
+ GC.start
126
+ n_contexts_after = ObjectSpace.each_object(Pango::Context) {}
127
+ n_procs_after = ObjectSpace.each_object(Proc) {}
128
+ assert do
129
+ (n_contexts_after < n_contexts + n) and (n_procs_after < n_procs + n)
130
+ end
131
+ end
132
+ end
113
133
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pango
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.3.1
4
+ version: 3.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - The Ruby-GNOME2 Project Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-01-08 00:00:00.000000000 Z
11
+ date: 2019-02-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cairo-gobject
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 3.3.1
19
+ version: 3.3.2
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 3.3.1
26
+ version: 3.3.2
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: gobject-introspection
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 3.3.1
33
+ version: 3.3.2
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 3.3.1
40
+ version: 3.3.2
41
41
  description: Ruby/Pango is a Ruby binding of pango-1.x.
42
42
  email: ruby-gnome2-devel-en@lists.sourceforge.net
43
43
  executables: []
@@ -112,7 +112,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
112
112
  - !ruby/object:Gem::Version
113
113
  version: '0'
114
114
  requirements: []
115
- rubygems_version: 3.0.2
115
+ rubygems_version: 3.1.0.pre1
116
116
  signing_key:
117
117
  specification_version: 4
118
118
  summary: Ruby/Pango is a Ruby binding of pango-1.x.