Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Pull iText back to version 4.2.0.

  • Loading branch information...
commit 2bb977658f0167acbdcdfb69ecfc5c12fc57f3ef 1 parent 8d86694
@paulschreiber authored
View
3  History.txt
@@ -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  Manifest.txt
@@ -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
2  lib/pdf/stamper.rb
@@ -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'
View
2  lib/pdf/stamper/jruby.rb
@@ -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'
View
2  lib/pdf/stamper/rjb.rb
@@ -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
4 pdf-stamper.gemspec
@@ -2,7 +2,7 @@
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"]
@@ -10,7 +10,7 @@ Gem::Specification.new do |s|
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.
Something went wrong with that request. Please try again.