fontina 0.1.0 → 0.1.1

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: 1709e3c73ce8a624a911a47e6eb00f0648a690e3
4
- data.tar.gz: 9d743b1f8a9fc918afccfca1c42cf21aaef3f561
3
+ metadata.gz: b3eb74983445f6209937b79d06e271265d6fd699
4
+ data.tar.gz: 588c9f66c19cff1c22bad78768c19470ef07826c
5
5
  SHA512:
6
- metadata.gz: 839971dac95f57ffb1a0ba3883ebbab127c03276f2d2bd2bebc78660ab63e8891dbb67f76e81418c1ee42b41c1b42727d2d2204a78583f11aea58d2116656850
7
- data.tar.gz: 1dbab3c0e87be89f91a8a3adb403195100ec2b014af31507dbb49cdf273b4e11cec9e65b6fcd40d6b11187430e4a3c072f645a002f2c9e16769d29f9c4cbd21d
6
+ metadata.gz: 19c1d8e2d0448beaea0a2d38485f4dd07e6bb492475026b7e084090689c34df7ea1c51849e0c930fb8b5fc1a5a88cfd7a36798bdd213ce188f356b02fe3e4ac0
7
+ data.tar.gz: a230161bcd65af421965e5fca1ba1abc531443685b53749e1f61f95a7592675dbf64913603080138e2f29e78ba2e76af79a04254f65722120375f28d6699606d
@@ -14,7 +14,7 @@ module Fontina
14
14
  def container
15
15
  @container ||= begin
16
16
  %w[
17
- shared/language_codes/windows
17
+ ../language_codes/windows
18
18
  shared/p_string
19
19
  fon/constants
20
20
  fon/dos_header
@@ -64,7 +64,7 @@ module Fontina
64
64
  .flat_map(&:data).map(&:locale)
65
65
  .first
66
66
 
67
- Formats::Shared::LanguageCodes::WINDOWS[language_id]
67
+ LanguageCodes::WINDOWS[language_id]
68
68
  end
69
69
 
70
70
  def get_rsrc_data(fon, type)
@@ -1,6 +1,6 @@
1
- module Fontina::Formats
1
+ module Fontina
2
2
 
3
- module OpenType
3
+ module Formats::OpenType
4
4
  OT_VERSION = 0x4f54544f # OTTO
5
5
  TT_VERSION = 0x00010000
6
6
 
@@ -71,8 +71,8 @@ module Fontina::Formats
71
71
 
72
72
  LANGUAGES = {
73
73
  unicode: { 0 => nil }.freeze,
74
- mac: { 0xffff => nil }.merge!(Shared::LanguageCodes::MAC).freeze,
75
- windows: Shared::LanguageCodes::WINDOWS,
74
+ mac: { 0xffff => nil }.merge!(LanguageCodes::MAC).freeze,
75
+ windows: LanguageCodes::WINDOWS,
76
76
  }.freeze
77
77
  end
78
78
 
@@ -14,8 +14,8 @@ module Fontina
14
14
  def container
15
15
  @container ||= begin
16
16
  %w[
17
- shared/language_codes/mac
18
- shared/language_codes/windows
17
+ ../language_codes/mac
18
+ ../language_codes/windows
19
19
  open_type/constants
20
20
  open_type/name_table
21
21
  open_type/head_table
@@ -1,4 +1,4 @@
1
- module Fontina::Formats::Shared::LanguageCodes
1
+ module Fontina::LanguageCodes
2
2
 
3
3
  MAC = {
4
4
  0 => 'en',
@@ -1,4 +1,4 @@
1
- module Fontina::Formats::Shared::LanguageCodes
1
+ module Fontina::LanguageCodes
2
2
 
3
3
  WINDOWS = {
4
4
  0x0401 => 'ar-SA',
@@ -1,3 +1,3 @@
1
1
  module Fontina
2
- VERSION = '0.1.0'
2
+ VERSION = '0.1.1'
3
3
  end
data/lib/fontina.rb CHANGED
@@ -3,7 +3,7 @@
3
3
  faraday
4
4
  faraday_middleware
5
5
  mores
6
- ].each { |gem| require gem }
6
+ ].each { |lib| require lib }
7
7
 
8
8
  module Fontina
9
9
  module Fetchers end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fontina
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Petter
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-01-21 00:00:00.000000000 Z
11
+ date: 2017-01-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bindata
@@ -161,9 +161,9 @@ files:
161
161
  - lib/fontina/formats/open_type/os2_table.rb
162
162
  - lib/fontina/formats/open_type/table.rb
163
163
  - lib/fontina/formats/open_type/table_directory.rb
164
- - lib/fontina/formats/shared/language_codes/mac.rb
165
- - lib/fontina/formats/shared/language_codes/windows.rb
166
164
  - lib/fontina/formats/shared/p_string.rb
165
+ - lib/fontina/language_codes/mac.rb
166
+ - lib/fontina/language_codes/windows.rb
167
167
  - lib/fontina/meta_package.rb
168
168
  - lib/fontina/package.rb
169
169
  - lib/fontina/version.rb