cheapredwine 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +1 -1
- data/lib/cheapredwine/ttx/parser.rb +4 -0
- data/lib/cheapredwine/version.rb +1 -1
- data/spec/ttx/parser_spec.rb +2 -1
- metadata +2 -2
data/README.md
CHANGED
@@ -32,7 +32,7 @@ It assumes the following is installed and in the case where it applies, accessib
|
|
32
32
|
|
33
33
|
image = CheapRedWine.image(font, "some text", options)
|
34
34
|
|
35
|
-
**Caveat
|
35
|
+
**Caveat:** `image` is an IO object that can then be use to write to disk. `font` is any object that responds to `#features` and produces a list `["onum", "liga"]` as well as provide a font file object through `#file`. `file` need only know of it's full path to work properly.
|
36
36
|
|
37
37
|
##### Options
|
38
38
|
|
data/lib/cheapredwine/version.rb
CHANGED
data/spec/ttx/parser_spec.rb
CHANGED
@@ -10,8 +10,9 @@ describe Parser do
|
|
10
10
|
ttx.features.should eq ["kern", "size", "aalt", "frac", "liga", "ordn", "sups"]
|
11
11
|
end
|
12
12
|
|
13
|
-
it "parses
|
13
|
+
it "parses attributes" do
|
14
14
|
ttx.family_name.should eq "Hobo Std"
|
15
15
|
ttx.font_name.should eq "Hobo Std Medium"
|
16
|
+
ttx.style.should eq "Regular"
|
16
17
|
end
|
17
18
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cheapredwine
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-02
|
12
|
+
date: 2013-03-02 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|