barthes 0.0.25 → 0.0.26
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/barthes/action.rb +1 -1
- data/lib/barthes/version.rb +1 -1
- metadata +3 -3
data/lib/barthes/action.rb
CHANGED
@@ -76,7 +76,7 @@ module Barthes
|
|
76
76
|
params.each do |k, v|
|
77
77
|
if v.class == String
|
78
78
|
new_v = v.gsub(/\$\{time:(.+?):(.+?)\}/) { Chronic.parse($1).strftime($2) }
|
79
|
-
new_v =
|
79
|
+
new_v = new_v.gsub(/^\$\{base64:(.+)\}$/m) do
|
80
80
|
match = $1
|
81
81
|
match = match.gsub(/\$\{(.+?)\}/) { @env[$1] }
|
82
82
|
match = match.gsub(/\@\{(.+?)\}/) { Barthes::Cache[$1] }
|
data/lib/barthes/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: barthes
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.26
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -231,7 +231,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
231
231
|
version: '0'
|
232
232
|
segments:
|
233
233
|
- 0
|
234
|
-
hash:
|
234
|
+
hash: 4414805367927848811
|
235
235
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
236
236
|
none: false
|
237
237
|
requirements:
|
@@ -240,7 +240,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
240
240
|
version: '0'
|
241
241
|
segments:
|
242
242
|
- 0
|
243
|
-
hash:
|
243
|
+
hash: 4414805367927848811
|
244
244
|
requirements: []
|
245
245
|
rubyforge_project:
|
246
246
|
rubygems_version: 1.8.24
|