prawn-icon 0.7.0 → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +2 -2
- data/{fonts → data/fonts}/DejaVuSans.ttf +0 -0
- data/{fonts → data/fonts}/fa/LICENSE +0 -0
- data/{fonts → data/fonts}/fa/fa.yml +0 -0
- data/{fonts → data/fonts}/fa/fontawesome.ttf +0 -0
- data/{fonts → data/fonts}/fi/LICENSE +0 -0
- data/{fonts → data/fonts}/fi/fi.yml +0 -0
- data/{fonts → data/fonts}/fi/foundation-icons.ttf +0 -0
- data/{fonts → data/fonts}/octicon/LICENSE +0 -0
- data/{fonts → data/fonts}/octicon/octicon.yml +0 -0
- data/{fonts → data/fonts}/octicon/octicons.ttf +0 -0
- data/{fonts → data/fonts}/pf/LICENSE +0 -0
- data/{fonts → data/fonts}/pf/paymentfont-webfont.ttf +0 -0
- data/{fonts → data/fonts}/pf/pf.yml +0 -0
- data/lib/prawn/icon.rb +1 -1
- data/lib/prawn/icon/version.rb +1 -1
- data/prawn-icon.gemspec +1 -1
- metadata +15 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 61ac51e70cc027c59300682f55d8713607f97cfb
|
4
|
+
data.tar.gz: d3dd3b1c0bc3c0192e578cc9b8a24050771169cc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 766db23a011f7349e2cc350c2a8679db5252de428aaff3583822a13e1398f69f607d267103c2a759c660846215e0c59a564d9e2984b15f89ed65698cf5195f5d
|
7
|
+
data.tar.gz: 1e75acd4197a3dec2a68ba8ad7375f1ceb0a68e86e9d9022d0eb531fc3b3795c38a5974331799a546f46f13cac219871dd13f7a8b2802a684f50beec661b136b
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
# 0.7.1 - August 4, 2015
|
2
|
+
|
3
|
+
- Moved the internal font directory from `fonts` to `data/fonts` for consistency between Prawn-related gems [#16](https://github.com/jessedoyle/prawn-icon/issues/16).
|
4
|
+
|
1
5
|
# 0.7.0 - July 23, 2015
|
2
6
|
|
3
7
|
- Update Travis config to relax the versions of `Prawn` and `Ruby` that are tested against. See `.travis.yml` to see what versions are supported (though you shouldn't have issues with other versions).
|
data/README.md
CHANGED
@@ -77,7 +77,7 @@ Prawn::Document.generate('table_icons.pdf') do |pdf|
|
|
77
77
|
end
|
78
78
|
```
|
79
79
|
|
80
|
-
Note that the `table_icon` method
|
80
|
+
Note that the `table_icon` method supports the `inline_format: true` option to create multiple icons within a cell.
|
81
81
|
|
82
82
|
## Specifying Icon Families
|
83
83
|
|
@@ -96,7 +96,7 @@ Prawn::Icon uses a "legend" to map icon keys to unicode characters that resprese
|
|
96
96
|
|
97
97
|
This legend is a standard `.yml` file located within the font's directory.
|
98
98
|
|
99
|
-
If you wish to fork this repository and add a new font, you'll likely need to supply a corresponding legend file. Please see the current legend files within the `fonts` directory for examples.
|
99
|
+
If you wish to fork this repository and add a new font, you'll likely need to supply a corresponding legend file. Please see the current legend files within the `data/fonts` directory for examples.
|
100
100
|
|
101
101
|
## Examples
|
102
102
|
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/lib/prawn/icon.rb
CHANGED
data/lib/prawn/icon/version.rb
CHANGED
data/prawn-icon.gemspec
CHANGED
@@ -6,7 +6,7 @@ Gem::Specification.new do |spec|
|
|
6
6
|
spec.version = Prawn::Icon::VERSION
|
7
7
|
spec.platform = Gem::Platform::RUBY
|
8
8
|
spec.summary = 'Provides icon fonts for PrawnPDF'
|
9
|
-
spec.files = Dir.glob('{lib,spec,
|
9
|
+
spec.files = Dir.glob('{lib,spec,data,examples}/**/**/*') +
|
10
10
|
%w(prawn-icon.gemspec Gemfile Rakefile) +
|
11
11
|
%w(README.md CHANGELOG.md) +
|
12
12
|
%w(COPYING LICENSE GPLv2 GPLv3)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: prawn-icon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jesse Doyle
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-08-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: prawn
|
@@ -149,19 +149,19 @@ files:
|
|
149
149
|
- spec/unit/font_data_spec.rb
|
150
150
|
- spec/unit/icon_spec.rb
|
151
151
|
- spec/unit/parser_spec.rb
|
152
|
-
- fonts/DejaVuSans.ttf
|
153
|
-
- fonts/fa/fa.yml
|
154
|
-
- fonts/fa/fontawesome.ttf
|
155
|
-
- fonts/fa/LICENSE
|
156
|
-
- fonts/fi/fi.yml
|
157
|
-
- fonts/fi/foundation-icons.ttf
|
158
|
-
- fonts/fi/LICENSE
|
159
|
-
- fonts/octicon/LICENSE
|
160
|
-
- fonts/octicon/octicon.yml
|
161
|
-
- fonts/octicon/octicons.ttf
|
162
|
-
- fonts/pf/LICENSE
|
163
|
-
- fonts/pf/paymentfont-webfont.ttf
|
164
|
-
- fonts/pf/pf.yml
|
152
|
+
- data/fonts/DejaVuSans.ttf
|
153
|
+
- data/fonts/fa/fa.yml
|
154
|
+
- data/fonts/fa/fontawesome.ttf
|
155
|
+
- data/fonts/fa/LICENSE
|
156
|
+
- data/fonts/fi/fi.yml
|
157
|
+
- data/fonts/fi/foundation-icons.ttf
|
158
|
+
- data/fonts/fi/LICENSE
|
159
|
+
- data/fonts/octicon/LICENSE
|
160
|
+
- data/fonts/octicon/octicon.yml
|
161
|
+
- data/fonts/octicon/octicons.ttf
|
162
|
+
- data/fonts/pf/LICENSE
|
163
|
+
- data/fonts/pf/paymentfont-webfont.ttf
|
164
|
+
- data/fonts/pf/pf.yml
|
165
165
|
- examples/example_helper.rb
|
166
166
|
- examples/fa-beer-inline.png
|
167
167
|
- examples/fa-beer.png
|