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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 848e11a6ff5beade9d3e3f05d22adca7787893ae
4
- data.tar.gz: 8ef5be3f116c32da92c8ab8cbb32ae2a2fa8a919
3
+ metadata.gz: 61ac51e70cc027c59300682f55d8713607f97cfb
4
+ data.tar.gz: d3dd3b1c0bc3c0192e578cc9b8a24050771169cc
5
5
  SHA512:
6
- metadata.gz: c7efb8ff4d1b3ce84d0e4063c6d8ca88d8ee24b45d7785a82849889f859650a7b0e5d647834ace3aaf4b40d07e5966bed78677a98c75c187b1092711305afaf3
7
- data.tar.gz: 96783b319a46bf55141e49762333aac2ea57581a81387ca775762a35ec5e5d6b9fd599c305ce607a396ea44563756aa1c646a6e49349cf3115b93e4e722ee6c1
6
+ metadata.gz: 766db23a011f7349e2cc350c2a8679db5252de428aaff3583822a13e1398f69f607d267103c2a759c660846215e0c59a564d9e2984b15f89ed65698cf5195f5d
7
+ data.tar.gz: 1e75acd4197a3dec2a68ba8ad7375f1ceb0a68e86e9d9022d0eb531fc3b3795c38a5974331799a546f46f13cac219871dd13f7a8b2802a684f50beec661b136b
@@ -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 does not support the `inline_format: true` option.
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
@@ -54,7 +54,7 @@ module Prawn
54
54
  #
55
55
  class Icon
56
56
  FONTDIR = File.join \
57
- File.expand_path('../../..', __FILE__), 'fonts'
57
+ File.expand_path('../../..', __FILE__), 'data/fonts'
58
58
 
59
59
  module Interface
60
60
  # Set up and draw an icon on this document. This
@@ -8,6 +8,6 @@
8
8
 
9
9
  module Prawn
10
10
  class Icon
11
- VERSION = '0.7.0'.freeze
11
+ VERSION = '0.7.1'.freeze
12
12
  end
13
13
  end
@@ -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,fonts,examples}/**/**/*') +
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.0
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-07-23 00:00:00.000000000 Z
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