zpdf 4.1.6 → 4.1.7

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +5 -1
  3. data/lib/zpdf/base.rb +1 -2
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5944091afc8981a84996f862a3f0964f7366d76d
4
- data.tar.gz: d144999248c5cff1a9587984d64c6162bc748dc5
3
+ metadata.gz: eed4a5fdce28b3b09a3a29b814bfc2f061a572e3
4
+ data.tar.gz: 3244a9e9838cf81dff05e5400040a7fe1a5c520b
5
5
  SHA512:
6
- metadata.gz: 2c7dadd6f381e13db9e889a7aef3ae98643d022b7f56a448eb0b2621695803d30535841c30b8c34e39401a5664848a6623d861119ff07166adfdc46525c25bb7
7
- data.tar.gz: 9ab54e1b1d067d3d4e511ee0d5daa908aec0aac673c2919d1049a2813f5a45706151c4c7e6275634740b640e4f162d4616ea967e398419862cb30bf720ee92ab
6
+ metadata.gz: 5f2955265be0bd66969bd11afe93c39b4961ce86f91e5477e69d058e5f4d83c2db45598cf01666b0b14d732ef00d7c864fc5156e6b450afad44136db9ac88c4c
7
+ data.tar.gz: e74aabd0014b542a2e34537ae6c076d54ae29eaeb1fa901dbc12eb32c4816e0bda193b30910d62d13e557c0046c3963fb0d13d7c802bee97f275731e02a33795
@@ -1,5 +1,9 @@
1
1
 
2
- # 4.1.6 (June 20, 2016)
2
+ # 4.1.7 (June 20, 2017)
3
+
4
+ * Removed a trace `puts` causing unnecessary logging
5
+
6
+ # 4.1.6 (June 20, 2017)
3
7
 
4
8
  * Updated to work with Rails 5.0 and 5.1
5
9
  * Normalized autoload'ing to use 'zpdf/' path instead of 'z_pdf'
@@ -112,14 +112,13 @@ module ZPdf #:nodoc:
112
112
  parts = {}
113
113
 
114
114
  # TODO : support inline content
115
- templates_path = params.delete(:template_path) || self.class.generator_name
115
+ templates_path = params.delete(:templates_path) || self.class.generator_name
116
116
  template_names = { :content => params.delete(:template_name) || action_name,
117
117
  :header => params.delete(:header_template),
118
118
  :footer => params.delete(:footer_template) }
119
119
  template_names.each_pair do |part_name,template_name|
120
120
  unless template_name.nil?
121
121
  if template = lookup_context.find_all(template_name,templates_path).first
122
- puts "found #{template}"
123
122
  parts[part_name] = render(:template => template)
124
123
  else
125
124
  raise MissingTemplate.new(self.class,lookup_context.view_paths,part_name,templates_path,template_name)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zpdf
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.1.6
4
+ version: 4.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Charles Bedard
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-06-20 00:00:00.000000000 Z
12
+ date: 2017-11-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake