File: 0900_pdf-core_8_1.patch

package info (click to toggle)
ruby-prawn 2.3.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 4,380 kB
  • sloc: ruby: 15,820; sh: 43; makefile: 20
file content (34 lines) | stat: -rw-r--r-- 961 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
Description: Bump PDF:Core to 0.8.1
From: Alexander Mankuta <alex@pointless.one>
Origin: Upstream
Applied-Upstream: https://github.com/prawnpdf/prawn/commit/c504ae4e683017d7afadece084734a9190230cd8
Date: Sat, 28 Apr 2018 12:03:39 +0300

---
 lib/prawn/font.rb   | 2 +-
 prawn.gemspec       | 2 +-
 spec/manual_spec.rb | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

--- a/lib/prawn/font.rb
+++ b/lib/prawn/font.rb
@@ -384,7 +384,7 @@
     end
 
     def identifier_for(subset) #:nodoc:
-      "#{@identifier}.#{subset}"
+      "#{@identifier}.#{subset}".to_sym
     end
 
     def inspect #:nodoc:
--- a/prawn.gemspec
+++ b/prawn.gemspec
@@ -35,7 +35,7 @@
   spec.licenses = %w[PRAWN GPL-2.0 GPL-3.0]
 
   spec.add_dependency('ttfunk', '~> 1.5')
-  spec.add_dependency('pdf-core', '~> 0.7.0')
+  spec.add_dependency('pdf-core', '~> 0.8.1')
 
   spec.add_development_dependency('pdf-inspector', '~> 1.2.1')
   spec.add_development_dependency('yard')