pango 3.0.5-x86-mingw32 → 3.0.6-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 06115f6eb9aedceea1bb99f6e081ee55f9469061
4
- data.tar.gz: 188de0416823ac27e67fabd2957fb22e28b19ea3
3
+ metadata.gz: e647a5a474b4806802daedc128bf68bd62e5afad
4
+ data.tar.gz: 8fec5c537086032621f21119410f69a2ebf6c1b0
5
5
  SHA512:
6
- metadata.gz: cc22d5630afdcb7f7c3602e30651fb0d8f945532da4cd847eadd80d1203764caf9071a628a611fa5cc805620c803539fc45fae6b6632128c4d5998f897298086
7
- data.tar.gz: b04106a1018a7a93a2ddec6f1292e73cd2451a05d97e051e1ca0e255e6f4e7f3371971a32a63ba983e4c3f1b88521cd68b3d3a900cf647232f2ee57192c368a5
6
+ metadata.gz: 1388c23450de978bcd94ab6f728df4e550fe461e9fd4feddadc4d613d1bf4cf8504d8446c99f46e71b92e1facd6fe0c53d96cfa4d757c474eb469afe27399849
7
+ data.tar.gz: 6f995e402fa1c5c3058cee69b9ef36db66499539f195f77a868d2a0f4ed56b111556e38cb9a3cfbf97e225a39ea78fd3588c7fb0a8434c26e8fc3b98c813ebe4
data/lib/2.0/pango.so CHANGED
Binary file
data/lib/2.1/pango.so CHANGED
Binary file
data/lib/2.2/pango.so CHANGED
Binary file
data/lib/pango.rb CHANGED
@@ -74,6 +74,19 @@ module Pango
74
74
  end
75
75
  end
76
76
  end
77
+
78
+ module Version
79
+ MAJOR, MINOR, MICRO = BUILD_VERSION
80
+ STRING = Pango.version_string
81
+
82
+ class << self
83
+ def or_later?(major, minor, micro = nil)
84
+ micro || 0
85
+ error_message = Pango.check_version(major, minor, micro)
86
+ error_message.nil?
87
+ end
88
+ end
89
+ end
77
90
  end
78
91
 
79
92
  GLib::Log.set_log_domain(Pango::LOG_DOMAIN)
data/test/run-test.rb CHANGED
@@ -25,4 +25,4 @@ require 'pango-test-utils'
25
25
 
26
26
  require 'pango'
27
27
 
28
- exit Test::Unit::AutoRunner.run(true)
28
+ exit Test::Unit::AutoRunner.run(true, File.join(pango_base, "test"))
@@ -0,0 +1,47 @@
1
+ # Copyright (C) 2015 Ruby-GNOME2 Project Team
2
+ #
3
+ # This library is free software; you can redistribute it and/or
4
+ # modify it under the terms of the GNU Lesser General Public
5
+ # License as published by the Free Software Foundation; either
6
+ # version 2.1 of the License, or (at your option) any later version.
7
+ #
8
+ # This library is distributed in the hope that it will be useful,
9
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11
+ # Lesser General Public License for more details.
12
+ #
13
+ # You should have received a copy of the GNU Lesser General Public
14
+ # License along with this library; if not, write to the Free Software
15
+ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16
+
17
+ class TestPangoVersion < Test::Unit::TestCase
18
+ include PangoTestUtils
19
+
20
+ test "STRING" do
21
+ major = Pango::Version::MAJOR
22
+ minor = Pango::Version::MINOR
23
+ micro = Pango::Version::MICRO
24
+ assert_equal([major, minor, micro].join("."),
25
+ Pango::Version::STRING)
26
+ end
27
+
28
+ sub_test_case("#or_later?") do
29
+ test "same" do
30
+ assert_true(Pango::Version.or_later?(Pango::Version::MAJOR,
31
+ Pango::Version::MINOR,
32
+ Pango::Version::MICRO))
33
+ end
34
+
35
+ test "later" do
36
+ assert_true(Pango::Version.or_later?(Pango::Version::MAJOR,
37
+ Pango::Version::MINOR,
38
+ Pango::Version::MICRO - 1))
39
+ end
40
+
41
+ test "earlier" do
42
+ assert_false(Pango::Version.or_later?(Pango::Version::MAJOR,
43
+ Pango::Version::MINOR,
44
+ Pango::Version::MICRO + 1))
45
+ end
46
+ end
47
+ 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.0.5
4
+ version: 3.0.6
5
5
  platform: x86-mingw32
6
6
  authors:
7
7
  - The Ruby-GNOME2 Project Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-22 00:00:00.000000000 Z
11
+ date: 2015-10-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cairo
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 3.0.5
33
+ version: 3.0.6
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.0.5
40
+ version: 3.0.6
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: []
@@ -113,6 +113,7 @@ files:
113
113
  - test/test-log-attr.rb
114
114
  - test/test-matrix.rb
115
115
  - test/test-rectangle.rb
116
+ - test/test-version.rb
116
117
  - vendor/local/bin/derb.exe
117
118
  - vendor/local/bin/genbrk.exe
118
119
  - vendor/local/bin/genccode.exe