lib/combine_pdf.rb in combine_pdf-0.1.5 vs lib/combine_pdf.rb in combine_pdf-0.1.6

- old
+ new

@@ -1,7 +1,6 @@ # -*- encoding : utf-8 -*- -# use under GPLv3 terms only require 'zlib' require 'securerandom' require 'strscan' @@ -14,10 +13,11 @@ load "combine_pdf/combine_pdf_decrypt.rb" load "combine_pdf/combine_pdf_fonts.rb" load "combine_pdf/combine_pdf_filter.rb" load "combine_pdf/combine_pdf_parser.rb" load "combine_pdf/combine_pdf_pdf.rb" +require "combine_pdf/version" # This is a pure ruby library to combine/merge, stmap/overlay and number PDF files - as well as to create tables (ment for indexing combined files). # # You can also use this library for writing basic text content into new or existing PDF files (For authoring new PDF files look at the Prawn ruby library). @@ -99,11 +99,11 @@ # Caige Nichols wrote an amazing RC4 gem which I reference in my code. # Credit to his wonderful is given here. Please respect his license and copyright... and mine. # # == License # -# GPLv3 +# MIT module CombinePDF module_function # Create an empty PDF object or create a PDF object from a file (parsing the file). # file_name:: is the name of a file to be parsed. @@ -286,10 +286,10 @@ ######################################################### # this file is part of the CombinePDF library and the code -# is subject to the same license (GPLv3). +# is subject to the same license (MIT). ######################################################### # PDF object types cross reference: # Indirect objects, references, dictionaries and streams are Hash # arrays are Array # strings are String