combine_pdf 0.1.15 → 0.1.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -0
- data/README.md +1 -1
- data/combine_pdf.gemspec +1 -1
- data/lib/combine_pdf/combine_pdf_page.rb +2 -2
- data/lib/combine_pdf/combine_pdf_pdf.rb +1 -1
- data/lib/combine_pdf/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 90f944411ca558412ef3b80122e28ddce34ba7a6
|
4
|
+
data.tar.gz: 58b1a3974d6daa5bb15000f0b4581ab0a8d12454
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 485b82fe87fa1de7d4ab7d2cffa8d30fc9f863c4570a640284460c85a8dc70e31925929e8be3823e82ea4ae3dbfaad6bc3984d3ed3be53fb7379e6fc3e7ed93e
|
7
|
+
data.tar.gz: ae0bf2a4216d44cb518093dd136aa9af2ec0abf4aba9eec97d7b3ce5312ff445e5ae0a8f9af7d4766a2c81ceaecbe00a4c35fca057a3386c8995cb534473ba11
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,18 @@
|
|
2
2
|
|
3
3
|
***
|
4
4
|
|
5
|
+
Change log v.0.1.16
|
6
|
+
|
7
|
+
**fix?**: Compatability reports came in showing that some email servers convery new-line (\n) characters to CRLF (\r\n) - corrupting the binary code in the PDF files. This version attemps to fix this by adding more binary characters to the first comment line of the PDF file (right after the header). Most email programs and Antivirus programs should preserve the original EOL character once they recognize the file as binary.
|
8
|
+
|
9
|
+
***
|
10
|
+
|
11
|
+
Change log v.0.1.15
|
12
|
+
|
13
|
+
**features**: added new PDF#Page API to deal with page rotation and orientation. see the docs for more info.
|
14
|
+
|
15
|
+
***
|
16
|
+
|
5
17
|
Change log v.0.1.14
|
6
18
|
|
7
19
|
**changes**: changed the way the PDF Page objects are 'injected' with their methods, so that the PDF#pages method is faster and more methods can be injected into the Hash object. For instance, textbox can now be called on an existing page without creating a PDFWriter object and 'stumping' the new data.
|
data/README.md
CHANGED
@@ -94,7 +94,7 @@ Loading from the memory is especially effective for importing PDF data recieved
|
|
94
94
|
Demo
|
95
95
|
====
|
96
96
|
|
97
|
-
You can see a Demo for a ["Bates stumping web-app"](http://
|
97
|
+
You can see a Demo for a ["Bates stumping web-app"](http://combine-pdf-demo.herokuapp.com/bates) and read through it's [code](http://combine-pdf-demo.herokuapp.com/code) . Good luck :)
|
98
98
|
|
99
99
|
Decryption & Filters
|
100
100
|
====================
|
data/combine_pdf.gemspec
CHANGED
@@ -7,7 +7,7 @@ Gem::Specification.new do |spec|
|
|
7
7
|
spec.name = "combine_pdf"
|
8
8
|
spec.version = CombinePDF::VERSION
|
9
9
|
spec.authors = ["Boaz Segev"]
|
10
|
-
spec.email = ["
|
10
|
+
spec.email = ["boaz@2be.co.il"]
|
11
11
|
spec.summary = %q{Combine, stamp and watermark PDF files in pure Ruby.}
|
12
12
|
spec.description = %q{A nifty gem, in pure Ruby, to parse PDF files and combine (merge) them with other PDF files, number the pages, watermark them or stamp them, create tables or basic text objects etc` (all using the PDF file format).}
|
13
13
|
spec.homepage = "https://github.com/boazsegev/combine_pdf"
|
@@ -332,8 +332,8 @@ module CombinePDF
|
|
332
332
|
end
|
333
333
|
# reset the Rotate property
|
334
334
|
self.delete :Rotate
|
335
|
-
#
|
336
|
-
init_contents
|
335
|
+
# disconnect the content stream, so that future inserts aren't rotated
|
336
|
+
@contents = false #init_contents
|
337
337
|
|
338
338
|
# always return self, for chaining.
|
339
339
|
self
|
@@ -140,7 +140,7 @@ module CombinePDF
|
|
140
140
|
xref = []
|
141
141
|
indirect_object_count = 1 #the first object is the null object
|
142
142
|
#write head (version and binanry-code)
|
143
|
-
out << "%PDF-#{@version.to_s}\n%\x00\x00\x00\x00".force_encoding(Encoding::ASCII_8BIT)
|
143
|
+
out << "%PDF-#{@version.to_s}\n%\xFF\xFF\xFF\xFF\xFF\x00\x00\x00\x00".force_encoding(Encoding::ASCII_8BIT)
|
144
144
|
|
145
145
|
#collect objects and set xref table locations
|
146
146
|
loc = 0
|
data/lib/combine_pdf/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: combine_pdf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.16
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Boaz Segev
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-03-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ruby-rc4
|
@@ -56,7 +56,7 @@ description: A nifty gem, in pure Ruby, to parse PDF files and combine (merge) t
|
|
56
56
|
with other PDF files, number the pages, watermark them or stamp them, create tables
|
57
57
|
or basic text objects etc` (all using the PDF file format).
|
58
58
|
email:
|
59
|
-
-
|
59
|
+
- boaz@2be.co.il
|
60
60
|
executables: []
|
61
61
|
extensions: []
|
62
62
|
extra_rdoc_files: []
|