pdf-wrapper 0.1.3 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pdf-wrapper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Healy
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-07-28 00:00:00 +10:00
12
+ date: 2008-09-16 00:00:00 +10:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -43,7 +43,8 @@ files:
43
43
  - examples/scaled_image.rb
44
44
  - examples/translate.rb
45
45
  - examples/utf8.rb
46
- - examples/text.rb
46
+ - examples/varied_page_size.rb
47
+ - examples/table_fixed_col_width.rb
47
48
  - lib/pdf
48
49
  - lib/pdf/core.rb
49
50
  - lib/pdf/wrapper.rb
data/examples/text.rb DELETED
@@ -1,14 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # coding: utf-8
3
-
4
- $:.unshift(File.dirname(__FILE__) + "/../lib")
5
-
6
- require 'pdf/wrapper'
7
-
8
- pdf = PDF::Wrapper.new(:paper => :A4)
9
- pdf.font("Sans Serif")
10
- pdf.text "Line 1", :font_size => 8
11
- pdf.text "Line 2", :font_size => 8
12
- pdf.text "Line 3", :font_size => 8
13
- pdf.text "Line 4\nLine 5", :font_size => 8
14
- pdf.render_to_file("text.pdf")