printr 0.5.2 → 0.6.1
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/.gitignore +1 -0
- data/lib/printr/version.rb +1 -1
- data/lib/printr.rb +5 -2
- data/printr.gemspec +1 -1
- metadata +2 -2
data/.gitignore
CHANGED
data/lib/printr/version.rb
CHANGED
data/lib/printr.rb
CHANGED
@@ -171,8 +171,11 @@ module Printr
|
|
171
171
|
begin
|
172
172
|
rx = Printr.sanitize_tokens[i]
|
173
173
|
rep = Printr.sanitize_tokens[i+1]
|
174
|
-
Printr.log "Replacing: " + rx.to_s + " with " + rep.to_s
|
175
|
-
|
174
|
+
#Printr.log "Replacing: " + rx.to_s + " with " + rep.to_s
|
175
|
+
begin
|
176
|
+
text.gsub!(rx, rep)
|
177
|
+
rescue
|
178
|
+
end
|
176
179
|
i += 2
|
177
180
|
end while i < Printr.sanitize_tokens.length
|
178
181
|
return text
|
data/printr.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: printr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.1
|
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-01
|
13
|
+
date: 2012-02-01 00:00:00.000000000Z
|
14
14
|
dependencies: []
|
15
15
|
description: This engine allows you to define printers and templates.
|
16
16
|
email:
|