freetype 0.0.4 → 0.0.5

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: e51b68fcd3ccda3c56f59b9ace88953d9c757318
4
- data.tar.gz: dc89831d71a5be46809706272d13bd97f5745e79
3
+ metadata.gz: 95c2f7532d91429764270bdc7316fc3ee03a4a8d
4
+ data.tar.gz: cf42c742f3acbcc1f8cda8a7902e105e119c1adc
5
5
  SHA512:
6
- metadata.gz: cf24bfe705f59403e2ad531c666878d5fb78a1edd569bf4edc11e95e8c5e31396719c9b945cddea600a4bf77f2b0420f9b32bd3d2bd6f12bb1693ca444d7d537
7
- data.tar.gz: 582f07d200a95ba4c1cf6ec340b27c6cffb89df7acda40a4b77ee8d4578120e9df74498b87cc78d6caaf4084c189a5ebdac9aea90acaa3b13275b09abd8fb219
6
+ metadata.gz: abe501704c8749c4b2c4adb158bc72fdaf753c7fc96060d6abddc13636cb7122f195e64db7b32c0988e0168e00cd565d928536146c5de7b6ccf2caf6bd8c46d7
7
+ data.tar.gz: 426bb5fee8d00fa3724f89d4da492f0be9eb80b5106fef7ce58e22c62227d17944f14a7663a4208478a3cc9863c2b9c79226c8faa2d4be3c779e6c54e44e1d39
data/.travis.yml CHANGED
@@ -4,6 +4,9 @@ rvm:
4
4
  - 2.1.8
5
5
  - 2.2.4
6
6
  - 2.3.0
7
+ matrix:
8
+ allow_failures:
9
+ - rvm: ruby-head
7
10
  notifications:
8
11
  email: false
9
12
  before_install: gem install bundler -v 1.10.6
data/lib/freetype/api.rb CHANGED
@@ -89,7 +89,7 @@ module FreeType
89
89
  end
90
90
 
91
91
  def line_height
92
- @face[:glyph][:metrics][:vertAdvance]
92
+ @face[:size][:metrics][:height]
93
93
  end
94
94
 
95
95
  def bbox
@@ -58,7 +58,7 @@ module FreeTypeApiTest
58
58
  t.error('FreeType::API::Face#bbox return value was break')
59
59
  end
60
60
 
61
- unless 0 == f.line_height
61
+ unless 0 < f.line_height
62
62
  t.error('Not expected behavior')
63
63
  end
64
64
 
@@ -1,3 +1,3 @@
1
1
  module FreeType
2
- VERSION = '0.0.4'
2
+ VERSION = '0.0.5'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: freetype
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - ksss
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-01-20 00:00:00.000000000 Z
11
+ date: 2016-02-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi
@@ -114,7 +114,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
114
114
  version: '0'
115
115
  requirements: []
116
116
  rubyforge_project:
117
- rubygems_version: 2.5.1
117
+ rubygems_version: 2.5.2
118
118
  signing_key:
119
119
  specification_version: 4
120
120
  summary: FreeType binding by ffi