pdf-core 0.6.0 → 0.6.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c17934d0dd01097acf6f4a8d21292f757789a764
4
- data.tar.gz: 1346b740ad17366f04d21833f219dc93f853c90b
3
+ metadata.gz: aa5548070414d841b8f73c1a1e0e7e7071287674
4
+ data.tar.gz: 380d75f03a842a941f30aa96568f9e77e4e85321
5
5
  SHA512:
6
- metadata.gz: d90a6816c593568693df87dd12c522db167e9e8b2b51822c87581d912e3aa758ce16b952f90e9b7ae27c1bb28446a03dbe9f43677dc10c3694ded4acf5f8b568
7
- data.tar.gz: 5916ac32c1a4a26f77b979ce025c16914e71c42df274319f4c16072afe8a19521fb1d90997682b8270f718b8e95bb850fc2d6dfd8b95b8b9a46686a2e85a0846
6
+ metadata.gz: b4219f4b7a03342774aa17a641caea4cf68b3c3d35ce76000cdc6885e7bd940a1ef030a9ad7dc26f81dc5aeef2fee19d0399a3014364c31b99e1792c4b6504e9
7
+ data.tar.gz: a338b5ab4035dac6d599cac547591fde73045e59b695f9a7d74cdcd49d815f985122b4457c9b695992e75abcdf2c301810cee730333668a936c85b2126eb2d3a
@@ -58,11 +58,11 @@ module PDF
58
58
  when Array
59
59
  "[" << obj.map { |e| PdfObject(e, in_content_stream) }.join(' ') << "]"
60
60
  when PDF::Core::LiteralString
61
- obj = obj.gsub(/[\\\n\r\t\b\f\(\)]/n) { |m| "\\#{m}" }
61
+ obj = obj.gsub(/[\\\n\r\t\b\f\(\)]/) { |m| "\\#{m}" }
62
62
  "(#{obj})"
63
63
  when Time
64
64
  obj = obj.strftime("D:%Y%m%d%H%M%S%z").chop.chop + "'00'"
65
- obj = obj.gsub(/[\\\n\r\t\b\f\(\)]/n) { |m| "\\#{m}" }
65
+ obj = obj.gsub(/[\\\n\r\t\b\f\(\)]/) { |m| "\\#{m}" }
66
66
  "(#{obj})"
67
67
  when PDF::Core::ByteString
68
68
  "<" << obj.unpack("H*").first << ">"
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
18
18
  spec.authors = ["Gregory Brown","Brad Ediger","Daniel Nelson","Jonathan Greenberg","James Healy"]
19
19
  spec.email = ["gregory.t.brown@gmail.com","brad@bradediger.com","dnelson@bluejade.com","greenberg@entryway.net","jimmy@deefa.com"]
20
20
  spec.rubyforge_project = "prawn"
21
- spec.licenses = ['RUBY', 'GPL-2', 'GPL-3']
21
+ spec.licenses = %w(PRAWN GPL-2.0 GPL-3.0)
22
22
  spec.add_development_dependency('pdf-reader', '~>1.2')
23
23
  spec.add_development_dependency('simplecov')
24
24
  spec.add_development_dependency('pdf-inspector', '~> 1.1.0')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pdf-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gregory Brown
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2015-07-16 00:00:00.000000000 Z
15
+ date: 2016-02-21 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: pdf-reader
@@ -133,9 +133,9 @@ files:
133
133
  - spec/stream_spec.rb
134
134
  homepage: http://prawn.majesticseacreature.com
135
135
  licenses:
136
- - RUBY
137
- - GPL-2
138
- - GPL-3
136
+ - PRAWN
137
+ - GPL-2.0
138
+ - GPL-3.0
139
139
  metadata: {}
140
140
  post_install_message:
141
141
  rdoc_options: []
@@ -153,7 +153,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
153
153
  version: 1.3.6
154
154
  requirements: []
155
155
  rubyforge_project: prawn
156
- rubygems_version: 2.4.5
156
+ rubygems_version: 2.4.5.1
157
157
  signing_key:
158
158
  specification_version: 4
159
159
  summary: PDF::Core is used by Prawn to render PDF documents