dejavu-fonts 0.1 → 0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/lib/dejavu-fonts.rb +9 -6
  2. metadata +2 -2
data/lib/dejavu-fonts.rb CHANGED
@@ -1,10 +1,13 @@
1
1
  module DejaVu
2
2
  module Fonts
3
- Paths = {
4
- :normal => "#{File.dirname(__FILE__)}/fonts/DejaVuSans.ttf",
5
- :italic => "#{File.dirname(__FILE__)}/fonts/DejaVuSans-Oblique.ttf",
6
- :bold => "#{File.dirname(__FILE__)}/fonts/DejaVuSans-Bold.ttf",
7
- :bold_italic => "#{File.dirname(__FILE__)}/fonts/DejaVuSans-BoldItalic.ttf"
8
- }.freeze
3
+ extend self
4
+ def paths
5
+ {
6
+ :normal => "#{File.dirname(__FILE__)}/fonts/DejaVuSans.ttf",
7
+ :italic => "#{File.dirname(__FILE__)}/fonts/DejaVuSans-Oblique.ttf",
8
+ :bold => "#{File.dirname(__FILE__)}/fonts/DejaVuSans-Bold.ttf",
9
+ :bold_italic => "#{File.dirname(__FILE__)}/fonts/DejaVuSans-BoldItalic.ttf"
10
+ }
11
+ end
9
12
  end
10
13
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dejavu-fonts
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.1'
4
+ version: '0.2'
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -45,7 +45,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
45
45
  version: '0'
46
46
  requirements: []
47
47
  rubyforge_project:
48
- rubygems_version: 1.8.24
48
+ rubygems_version: 1.8.23
49
49
  signing_key:
50
50
  specification_version: 3
51
51
  summary: DejaVu Fonts