pdf-writer 1.1.0 → 1.1.1

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.
data/ChangeLog CHANGED
@@ -1,5 +1,11 @@
1
1
  = PDF::Writer Change Log
2
2
 
3
+ == PDF::Writer 1.1.1: July 1, 2005
4
+ * Fixed the packaging process; the .tar.gz files will no longer corrupt the
5
+ images.
6
+ * Added the images and the manual (both raw and generated) to the demo
7
+ package.
8
+
3
9
  == PDF::Writer 1.1.0: June 29, 2005
4
10
  NOTE: The first two changes are INCOMPATIBLE with previous versions of
5
11
  PDF::Writer. If you find that your text is showing up at odd angles, negate
@@ -73,6 +79,6 @@
73
79
  # Licensed under a MIT-style licence. See LICENCE in the main distribution
74
80
  # for full licensing information.
75
81
  #
76
- # $Id: ChangeLog,v 1.16 2005/06/29 10:25:50 austin Exp $
82
+ # $Id: ChangeLog,v 1.17 2005/07/01 16:48:26 austin Exp $
77
83
  #++
78
84
  # vim: sts=2 sw=2 ts=4 et ai tw=77
@@ -10,7 +10,7 @@
10
10
  # and are from "Why's (Poignant) Guide to Ruby" at
11
11
  # <http://poignantguide.net/ruby> with permission.
12
12
  #
13
- # $Id: chunkybacon.rb,v 1.6 2005/06/13 19:32:37 austin Exp $
13
+ # $Id: chunkybacon.rb,v 1.7 2005/07/01 16:48:26 austin Exp $
14
14
  #++
15
15
  begin
16
16
  require 'pdf/writer'
@@ -33,4 +33,4 @@ pdf.image i0, :justification => :right, :resize => 0.75
33
33
 
34
34
  pdf.text "Chunky Bacon!!", :font_size => 72, :justification => :center
35
35
 
36
- pdf.save_as("chunkbacon.pdf")
36
+ pdf.save_as("chunkybacon.pdf")
@@ -6,7 +6,7 @@
6
6
  # Licensed under a MIT-style licence. See LICENCE in the main distribution
7
7
  # for full licensing information.
8
8
  #
9
- # $Id: stddev.rb,v 1.8 2005/06/28 21:32:17 austin Exp $
9
+ # $Id: stddev.rb,v 1.9 2005/07/01 16:48:26 austin Exp $
10
10
  #++
11
11
  require 'pdf/writer'
12
12
  require 'pdf/charts'
@@ -20,7 +20,7 @@ require 'ostruct'
20
20
  # The scale of responses is the vertical scale; the average data points
21
21
  # and standard deviation values are the horizontal scale.
22
22
  class PDF::Charts::StdDev
23
- VERSION = '1.1.0'
23
+ VERSION = '1.1.1'
24
24
 
25
25
  # A data element.
26
26
  DataPoint = Struct.new(:label, :average, :stddev)
@@ -6,7 +6,7 @@
6
6
  # Licensed under a MIT-style licence. See LICENCE in the main distribution
7
7
  # for full licensing information.
8
8
  #
9
- # $Id: quickref.rb,v 1.9 2005/06/16 04:28:25 austin Exp $
9
+ # $Id: quickref.rb,v 1.10 2005/07/01 16:48:26 austin Exp $
10
10
  #++
11
11
  require 'pdf/simpletable'
12
12
 
@@ -51,7 +51,7 @@ require 'pdf/simpletable'
51
51
  # qr.lines "Text to put after the header."
52
52
  # qr.save_as "MyQuickRef.pdf"
53
53
  class PDF::QuickRef
54
- VERSION = '1.1.0'
54
+ VERSION = '1.1.1'
55
55
 
56
56
  # Create the quick reference document. +paper+ is passed unchanged to
57
57
  # the PDF::Writer.new; the page is always created landscape. Margins
@@ -6,7 +6,7 @@
6
6
  # Licensed under a MIT-style licence. See LICENCE in the main distribution
7
7
  # for full licensing information.
8
8
  #
9
- # $Id: simpletable.rb,v 1.12 2005/06/28 21:32:17 austin Exp $
9
+ # $Id: simpletable.rb,v 1.13 2005/07/01 16:48:26 austin Exp $
10
10
  #++
11
11
  require 'pdf/writer'
12
12
  require 'transaction/simple/group'
@@ -14,7 +14,7 @@ require 'transaction/simple/group'
14
14
  # This class will create tables with a relatively simple API and internal
15
15
  # implementation.
16
16
  class PDF::SimpleTable
17
- VERSION = '1.1.0'
17
+ VERSION = '1.1.1'
18
18
 
19
19
  include Transaction::Simple
20
20
 
@@ -7,7 +7,7 @@
7
7
  # Licensed under a MIT-style licence. See LICENCE in the main distribution
8
8
  # for full licensing information.
9
9
  #
10
- # $Id: techbook.rb,v 1.16 2005/06/28 21:32:17 austin Exp $
10
+ # $Id: techbook.rb,v 1.17 2005/07/01 16:48:26 austin Exp $
11
11
  #++
12
12
  require 'pdf/simpletable'
13
13
  require 'pdf/charts/stddev'
@@ -796,7 +796,7 @@ class PDF::TechBook < PDF::Writer
796
796
  config.cache = true
797
797
  config.compressed = false
798
798
 
799
- args.options do |opt|
799
+ opts = OptionParser.new do |opt|
800
800
  opt.banner = PDF::Writer::Lang[:techbook_usage_banner] % [ File.basename($0) ]
801
801
  PDF::Writer::Lang[:techbook_usage_banner_1].each do |ll|
802
802
  opt.separator " #{ll}"
@@ -806,8 +806,8 @@ class PDF::TechBook < PDF::Writer
806
806
  opt.on('-z', '--compress', *PDF::Writer::Lang[:techbook_help_compress]) { config.compressed = true }
807
807
  opt.on_tail ""
808
808
  opt.on_tail("--help", *PDF::Writer::Lang[:techbook_help_help]) { $stderr << opt; exit(0) }
809
- opt.parse!
810
809
  end
810
+ opts.parse!(args)
811
811
 
812
812
  config.document = args[0]
813
813
 
@@ -6,7 +6,7 @@
6
6
  # Licensed under a MIT-style licence. See LICENCE in the main distribution
7
7
  # for full licensing information.
8
8
  #
9
- # $Id: writer.rb,v 1.37 2005/06/28 21:32:17 austin Exp $
9
+ # $Id: writer.rb,v 1.38 2005/07/01 16:48:26 austin Exp $
10
10
  #++
11
11
  require 'thread'
12
12
  require 'open-uri'
@@ -19,7 +19,7 @@ require 'color'
19
19
  module PDF
20
20
  class Writer
21
21
  # The version of PDF::Writer.
22
- VERSION = '1.1.0'
22
+ VERSION = '1.1.1'
23
23
 
24
24
  # Escape the text so that it's safe for insertion into the PDF
25
25
  # document.
data/manual.pwd CHANGED
@@ -5391,6 +5391,12 @@ Unicode support
5391
5391
  .newpage
5392
5392
  1<Revision History>
5393
5393
 
5394
+ 2<Version 1.1.1: July 1, 2005>
5395
+ .blist {{{
5396
+ Fixed the packaging process; the .tar.gz files will no longer corrupt the images.
5397
+ Added the images and the manual (both raw and generated) to the demo package.
5398
+ .endblist }}}
5399
+
5394
5400
  2<Version 1.1.0: June 29, 2005>
5395
5401
  <b>NOTE</b>: The first two changes are <em>incompatible</em> with previous
5396
5402
  versions of PDF::Writer. A 90� angle in the PDF::Writer 1.0.x must be
@@ -5596,6 +5602,6 @@ pdf.stop_page_numbering(true, :current)
5596
5602
  # Licensed under a MIT-style licence. See LICENCE in the main distribution
5597
5603
  # for full licensing information.
5598
5604
  #
5599
- # $Id: manual.pwd,v 1.50 2005/06/29 19:32:07 austin Exp $
5605
+ # $Id: manual.pwd,v 1.51 2005/07/01 16:48:26 austin Exp $
5600
5606
  # vim: sts=2 sw=2 ts=4 et ai tw=77 foldmethod=marker foldcolumn=2
5601
5607
  #++
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.8.10
3
3
  specification_version: 1
4
4
  name: pdf-writer
5
5
  version: !ruby/object:Gem::Version
6
- version: 1.1.0
7
- date: 2005-06-29
6
+ version: 1.1.1
7
+ date: 2005-07-01
8
8
  summary: A pure Ruby PDF document creation library.
9
9
  require_paths:
10
10
  - lib