prawn-icon 0.6.2 → 0.6.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/README.md +7 -6
- data/lib/prawn/icon/version.rb +1 -1
- data/prawn-icon.gemspec +1 -1
- metadata +31 -31
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ec51a24710039426e3be1813e3a646b8f3bddbc6
|
4
|
+
data.tar.gz: e3c7921cc6d0bdb8fad15ebf7db72aa179fcfe9e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d1ff3e1377258207ce033841fbd4bb279fa221024f2362145e1afdba1304744a8f9b174ba31d27ed17eec66c0093a50f2702f8eb6ca51e7f326b6ea5bb2b3625
|
7
|
+
data.tar.gz: c9d51b98b80c2197c378f3a162d73d229444effb687bd9bace6690b1852be5addeed7ba4434bcbdffeab8fdd4645eea4e7ab96707dca2a8849853a552131fbdf
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -66,13 +66,14 @@ require 'prawn/table'
|
|
66
66
|
|
67
67
|
Prawn::Document.generate('table_icons.pdf') do |pdf|
|
68
68
|
|
69
|
-
data = [
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
]
|
69
|
+
data = [
|
70
|
+
# Explicit brackets must be used here
|
71
|
+
[pdf.table_icon('fa-birthday-cake'), 'Cake'],
|
72
|
+
['is', 'Great!']
|
73
|
+
]
|
74
74
|
|
75
|
-
pdf.table(data) # => (2 x 2 table)
|
75
|
+
pdf.table(data) # => (2 x 2 table)
|
76
|
+
end
|
76
77
|
```
|
77
78
|
|
78
79
|
Note that the `table_icon` method does not support the `inline_format: true` option.
|
data/lib/prawn/icon/version.rb
CHANGED
data/prawn-icon.gemspec
CHANGED
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
|
|
22
22
|
spec.email = ['jdoyle@ualberta.ca']
|
23
23
|
spec.licenses = ['RUBY', 'GPL-2', 'GPL-3']
|
24
24
|
|
25
|
-
spec.add_dependency('prawn', '>= 1.
|
25
|
+
spec.add_dependency('prawn', '>= 1.1.0', '< 3.0.0')
|
26
26
|
|
27
27
|
spec.add_development_dependency('pdf-inspector', '~> 1.1.0')
|
28
28
|
spec.add_development_dependency('rspec', '~>2.14.1')
|
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.6.
|
4
|
+
version: 0.6.3
|
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-03-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: prawn
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '>='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.
|
19
|
+
version: 1.1.0
|
20
20
|
- - <
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 3.0.0
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - '>='
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 1.
|
29
|
+
version: 1.1.0
|
30
30
|
- - <
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 3.0.0
|
@@ -138,10 +138,35 @@ executables: []
|
|
138
138
|
extensions: []
|
139
139
|
extra_rdoc_files: []
|
140
140
|
files:
|
141
|
+
- CHANGELOG.md
|
142
|
+
- COPYING
|
143
|
+
- GPLv2
|
144
|
+
- GPLv3
|
145
|
+
- Gemfile
|
146
|
+
- LICENSE
|
147
|
+
- README.md
|
148
|
+
- Rakefile
|
149
|
+
- examples/example_helper.rb
|
150
|
+
- examples/fa-beer-inline.png
|
151
|
+
- examples/fa-beer.png
|
152
|
+
- examples/fontawesome.rb
|
153
|
+
- examples/foundation_icons.rb
|
154
|
+
- examples/octicons.rb
|
155
|
+
- fonts/DejaVuSans.ttf
|
156
|
+
- fonts/fa/LICENSE
|
157
|
+
- fonts/fa/fa.yml
|
158
|
+
- fonts/fa/fontawesome.ttf
|
159
|
+
- fonts/fi/LICENSE
|
160
|
+
- fonts/fi/fi.yml
|
161
|
+
- fonts/fi/foundation-icons.ttf
|
162
|
+
- fonts/octicon/LICENSE
|
163
|
+
- fonts/octicon/octicon.yml
|
164
|
+
- fonts/octicon/octicons.ttf
|
165
|
+
- lib/prawn/icon.rb
|
141
166
|
- lib/prawn/icon/font_data.rb
|
142
167
|
- lib/prawn/icon/parser.rb
|
143
168
|
- lib/prawn/icon/version.rb
|
144
|
-
-
|
169
|
+
- prawn-icon.gemspec
|
145
170
|
- spec/integration/icon_spec.rb
|
146
171
|
- spec/spec_helper.rb
|
147
172
|
- spec/support/parser_helper.rb
|
@@ -149,31 +174,6 @@ files:
|
|
149
174
|
- spec/unit/font_data_spec.rb
|
150
175
|
- spec/unit/icon_spec.rb
|
151
176
|
- 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
|
-
- examples/example_helper.rb
|
163
|
-
- examples/fa-beer-inline.png
|
164
|
-
- examples/fa-beer.png
|
165
|
-
- examples/fontawesome.rb
|
166
|
-
- examples/foundation_icons.rb
|
167
|
-
- examples/octicons.rb
|
168
|
-
- prawn-icon.gemspec
|
169
|
-
- Gemfile
|
170
|
-
- Rakefile
|
171
|
-
- README.md
|
172
|
-
- CHANGELOG.md
|
173
|
-
- COPYING
|
174
|
-
- LICENSE
|
175
|
-
- GPLv2
|
176
|
-
- GPLv3
|
177
177
|
homepage: https://github.com/jessedoyle/prawn-icon/
|
178
178
|
licenses:
|
179
179
|
- RUBY
|
@@ -196,7 +196,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
196
196
|
version: 1.3.6
|
197
197
|
requirements: []
|
198
198
|
rubyforge_project:
|
199
|
-
rubygems_version: 2.
|
199
|
+
rubygems_version: 2.4.5
|
200
200
|
signing_key:
|
201
201
|
specification_version: 4
|
202
202
|
summary: Provides icon fonts for PrawnPDF
|