fn_document 0.9.12 → 0.9.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.9.12
1
+ 0.9.13
data/fn_document.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "fn_document"
8
- s.version = "0.9.12"
8
+ s.version = "0.9.13"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Nathan Colgate Clark", "Kyle Maxwell"]
12
- s.date = "2012-12-02"
12
+ s.date = "2013-04-08"
13
13
  s.description = "This handles complex document creation from XML for the FASI AMS system."
14
14
  s.email = "nathancolgate@gmail.com"
15
15
  s.extra_rdoc_files = [
data/lib/fn/pdf/writer.rb CHANGED
@@ -39,19 +39,15 @@ module FN
39
39
  def translate(doc, options = {})
40
40
  raise "Not an FN Document" unless doc.is_a?(FN::Document)
41
41
 
42
- file = options[:save_as]
43
- bkg = options[:background]
44
- pdf_version = options[:pdf_version] ||
45
- 1.5
46
- license = options[:license]
47
- resource_file = options[:font_list] ||
48
- File.join(File.dirname(__FILE__), "pdflib.upr")
49
- self.class.encoding = options[:encoding] ||
50
- "unicode"
51
- textformat = options[:textformat] || "utf8"
52
- root = options[:resource_root] ||
53
- ""
54
- watermark = options[:watermark]
42
+ file = options[:save_as]
43
+ bkg = options[:background]
44
+ pdf_version = options[:pdf_version] || 1.5
45
+ license = options[:license]
46
+ resource_file = options[:font_list] || File.join(File.dirname(__FILE__), "pdflib.upr")
47
+ self.class.encoding = options[:encoding] || "unicode"
48
+ textformat = options[:textformat] || "utf8"
49
+ root = options[:resource_root] || ""
50
+ watermark = options[:watermark]
55
51
 
56
52
  context = FN::Node::Context.new
57
53
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fn_document
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.12
4
+ version: 0.9.13
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-12-02 00:00:00.000000000 Z
13
+ date: 2013-04-08 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: libxslt-ruby
@@ -215,7 +215,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
215
215
  version: '0'
216
216
  segments:
217
217
  - 0
218
- hash: 2403390372275975280
218
+ hash: -4279760044517764262
219
219
  required_rubygems_version: !ruby/object:Gem::Requirement
220
220
  none: false
221
221
  requirements: