pdf-writer 1.1.2 → 1.1.3

Sign up to get free protection for your applications and to get access to all the features.
data/ChangeLog CHANGED
@@ -1,5 +1,9 @@
1
1
  = PDF::Writer Change Log
2
2
 
3
+ == PDF::Writer 1.1.3: September 9, 2005
4
+ * Fixed #2356 submitted by Matthew Thill. Margins set by the various margins
5
+ methods would behave incorrectly.
6
+
3
7
  == PDF::Writer 1.1.2: August 25, 2005
4
8
  * Thomas Gantner <thomas.gantner@gmx.net> found a problem with the
5
9
  interpretation of the placement of page numbers and provided a patch.
@@ -101,6 +105,6 @@
101
105
  # Licensed under a MIT-style licence. See LICENCE in the main distribution
102
106
  # for full licensing information.
103
107
  #
104
- # $Id: ChangeLog,v 1.17.2.2 2005/08/25 03:43:59 austin Exp $
108
+ # $Id: ChangeLog,v 1.17.2.4 2005/09/09 12:36:42 austin Exp $
105
109
  #++
106
110
  # vim: sts=2 sw=2 ts=4 et ai tw=77
@@ -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.9.2.1 2005/08/25 03:38:05 austin Exp $
9
+ # $Id: stddev.rb,v 1.9.2.2 2005/09/07 17:01:14 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.2'
23
+ VERSION = '1.1.3'
24
24
 
25
25
  # A data element.
26
26
  DataPoint = Struct.new(:label, :average, :stddev)
data/lib/pdf/quickref.rb CHANGED
@@ -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.10.2.2 2005/08/25 03:51:44 austin Exp $
9
+ # $Id: quickref.rb,v 1.10.2.3 2005/09/07 17:01:14 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.2'
54
+ VERSION = '1.1.3'
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.13.2.1 2005/08/25 03:38:05 austin Exp $
9
+ # $Id: simpletable.rb,v 1.13.2.2 2005/09/07 17:01:14 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.2'
17
+ VERSION = '1.1.3'
18
18
 
19
19
  include Transaction::Simple
20
20
 
data/lib/pdf/writer.rb CHANGED
@@ -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.38.2.1 2005/08/25 03:38:05 austin Exp $
9
+ # $Id: writer.rb,v 1.38.2.2 2005/09/07 17:01:14 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.2'
22
+ VERSION = '1.1.3'
23
23
 
24
24
  # Escape the text so that it's safe for insertion into the PDF
25
25
  # document.
@@ -561,17 +561,17 @@ class PDF::Writer
561
561
 
562
562
  # Define the margins in millimetres.
563
563
  def margins_mm(top, left = top, bottom = top, right = left)
564
- margins_pt(mm2pts(top), mm2pts(bottom), mm2pts(left), mm2pts(right))
564
+ margins_pt(mm2pts(top), mm2pts(left), mm2pts(bottom), mm2pts(right))
565
565
  end
566
566
 
567
567
  # Define the margins in centimetres.
568
568
  def margins_cm(top, left = top, bottom = top, right = left)
569
- margins_pt(cm2pts(top), cm2pts(bottom), cm2pts(left), cm2pts(right))
569
+ margins_pt(cm2pts(top), cm2pts(left), cm2pts(bottom), cm2pts(right))
570
570
  end
571
571
 
572
572
  # Define the margins in inches.
573
573
  def margins_in(top, left = top, bottom = top, right = left)
574
- margins_pt(in2pts(top), in2pts(bottom), in2pts(left), in2pts(right))
574
+ margins_pt(in2pts(top), in2pts(left), in2pts(bottom), in2pts(right))
575
575
  end
576
576
 
577
577
  # Define the margins in points. This will move the #y pointer
data/manual.pwd CHANGED
@@ -5733,6 +5733,11 @@ Unicode support
5733
5733
  .newpage
5734
5734
  1<Revision History>
5735
5735
 
5736
+ 2<PDF::Writer 1.1.3: September 9, 2005>
5737
+ .blist {{{
5738
+ Fixed #2356 submitted by Matthew Thill. Margins set by the various margins methods would behave incorrectly.
5739
+ .endblist }}}
5740
+
5736
5741
  2<PDF::Writer 1.1.2: August 25, 2005>
5737
5742
  .blist {{{
5738
5743
  Thomas Gantner <thomas.gantner@gmx.net> found a problem with the interpretation of the placement of page numbers and provided a patch. Thanks!
@@ -5955,6 +5960,6 @@ pdf.stop_page_numbering(true, :current)
5955
5960
  # Licensed under a MIT-style licence. See LICENCE in the main distribution
5956
5961
  # for full licensing information.
5957
5962
  #
5958
- # $Id: manual.pwd,v 1.51.2.2 2005/08/25 03:43:59 austin Exp $
5963
+ # $Id: manual.pwd,v 1.51.2.4 2005/09/09 12:36:42 austin Exp $
5959
5964
  # vim: sts=2 sw=2 ts=4 et ai tw=77 foldmethod=marker foldcolumn=2
5960
5965
  #++
metadata CHANGED
@@ -1,10 +1,10 @@
1
1
  --- !ruby/object:Gem::Specification
2
- rubygems_version: 0.8.10
2
+ rubygems_version: 0.8.11
3
3
  specification_version: 1
4
4
  name: pdf-writer
5
5
  version: !ruby/object:Gem::Version
6
- version: 1.1.2
7
- date: 2005-08-25
6
+ version: 1.1.3
7
+ date: 2005-09-09 00:00:00 -04:00
8
8
  summary: A pure Ruby PDF document creation library.
9
9
  require_paths:
10
10
  - lib
@@ -28,6 +28,8 @@ required_ruby_version: !ruby/object:Gem::Version::Requirement
28
28
  version: 0.0.0
29
29
  version:
30
30
  platform: ruby
31
+ signing_key:
32
+ cert_chain:
31
33
  authors:
32
34
  - Austin Ziegler
33
35
  files: