hershey 0.0.10 → 0.0.11

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: 7e42fa452b5bb9c8ce5898bd72e749bcb78ff2b3
4
- data.tar.gz: ee58cf0a23afa13bacca28601ab7f594379fd6da
3
+ metadata.gz: 54d76ea7b0e8c8340f15b50e0ee77045486a1e4a
4
+ data.tar.gz: a7e3ab93931cba20edea39f09d72df083a41913f
5
5
  SHA512:
6
- metadata.gz: a47b25b0f7fe5bd54d75597be360bf6ceace6146d62df6ed1fd4891787162b8cd8018cba4dc625b37bd04c1c4a11858696df35b93a0f29a61e893231d74e5e20
7
- data.tar.gz: bf010c6ce41ef7940d12d891017834bc833eb7d75da86dce19f3cd58f6dd80afa051584a2010b4fbbadf5dbcc019c212b932079c8a30e5f8f4ee374ada64531e
6
+ metadata.gz: '086424d80f49eeeceebfc9ae87bbdfa3a033df2c1161526c29c37159a42a19433bc70dbf40d34c174ed0086a8665167facfbf735435c06791dee091bc750fccd'
7
+ data.tar.gz: ad238afde3c3f25e162878be8c5eecf92891a304a76c6a511f971f1f7121f8d6ad8cd90b7580a0950352fe0474d77623d98a07ec50b23e8bb88ae623101e4950
@@ -27,6 +27,7 @@ module Hershey
27
27
  private
28
28
 
29
29
  def info
30
+ @@chars = {}
30
31
  @@char_list ||= YAML.load_file(File.join(File.dirname(__FILE__), 'fonts_full.yaml'))[@font]
31
32
  @@chars[@char] ||= @@char_list[@char.to_s.ord - OFFSET]
32
33
  unless @@chars[@char]
@@ -1,3 +1,3 @@
1
1
  module Hershey
2
- VERSION = "0.0.10"
2
+ VERSION = "0.0.11"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hershey
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.10
4
+ version: 0.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Winston Durand