Permalink
Browse files

Pull iText back to version 4.2.0.

  • Loading branch information...
1 parent 8d86694 commit 2bb977658f0167acbdcdfb69ecfc5c12fc57f3ef @paulschreiber committed Sep 25, 2010
Showing with 9 additions and 6 deletions.
  1. +3 −0 History.txt
  2. +1 −1 Manifest.txt
  3. +1 −1 lib/pdf/stamper.rb
  4. +1 −1 lib/pdf/stamper/jruby.rb
  5. +1 −1 lib/pdf/stamper/rjb.rb
  6. +2 −2 pdf-stamper.gemspec
View
@@ -1,3 +1,6 @@
+== 0.3.3 2010-09-24
+* iText downgraded to 4.2.0 due to license incompatibility
+
== 0.3.2 2010-09-24
* Added support for drawing circles, rectangles and ellipses
View
@@ -2,7 +2,7 @@ History.txt
Manifest.txt
README.txt
Rakefile
-ext/iText-5.0.4.jar
+ext/iText-4.2.0.jar
lib/pdf/stamper.rb
lib/pdf/stamper/jruby.rb
lib/pdf/stamper/rjb.rb
View
@@ -10,7 +10,7 @@
module PDF
class Stamper
- VERSION = "0.3.2"
+ VERSION = "0.3.3"
if RUBY_PLATFORM =~ /java/ # ifdef to check if your using JRuby
require 'pdf/stamper/jruby'
@@ -4,7 +4,7 @@
$:.unshift(File.join(File.dirname(__FILE__), '..', '..', '..', 'ext'))
require 'java'
-require 'iText-5.0.4.jar'
+require 'iText-4.2.0.jar'
include_class 'java.io.FileOutputStream'
include_class 'java.io.ByteArrayOutputStream'
@@ -5,7 +5,7 @@
require 'rubygems'
require 'rjb'
-Rjb::load(File.join(File.dirname(__FILE__), '..', '..', '..', 'ext', 'iText-5.0.4.jar'), ['-Djava.awt.headless=true'])
+Rjb::load(File.join(File.dirname(__FILE__), '..', '..', '..', 'ext', 'iText-4.2.0.jar'), ['-Djava.awt.headless=true'])
module PDF
# PDF::Stamper::RJB
View
@@ -2,15 +2,15 @@
Gem::Specification.new do |s|
s.name = %q{ps-pdf-stamper}
- s.version = "0.3.2"
+ s.version = "0.3.3"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Paul Schreiber"]
s.date = %q{2010-09-24}
s.description = %q{Fill out PDF forms (templates) using iText's PdfStamper. == CAVEAT: You have to use JRuby or RJB. You need Adobe LiveCycle Designeror Acrobat Professional to create the templates. == EXAMPLE: pdf = PDF::Stamper.new("my_template.pdf") pdf.text :first_name, "Jason" pdf.text :last_name, "Yates" pdf.image :photo, "photo.jpg" pdf.checkbox :hungry pdf.save_as "my_output.pdf"}
s.email = %q{paulschreiber@gmail.com}
s.extra_rdoc_files = ["History.txt", "Manifest.txt", "README.txt"]
- s.files = ["History.txt", "Manifest.txt", "README.txt", "Rakefile", "ext/iText-5.0.4.jar", "lib/pdf/stamper.rb", "lib/pdf/stamper/jruby.rb", "lib/pdf/stamper/rjb.rb", "spec/logo.gif", "spec/pdf_stamper_spec.rb", "spec/test_template.pdf"]
+ s.files = ["History.txt", "Manifest.txt", "README.txt", "Rakefile", "ext/iText-4.2.0.jar", "lib/pdf/stamper.rb", "lib/pdf/stamper/jruby.rb", "lib/pdf/stamper/rjb.rb", "spec/logo.gif", "spec/pdf_stamper_spec.rb", "spec/test_template.pdf"]
s.has_rdoc = true
s.homepage = %q{http://github.com/paulschreiber/pdf-stamper/}
s.rdoc_options = ["--main", "README.txt"]

0 comments on commit 2bb9776

Please sign in to comment.