re_duxml 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/re_duxml/evaluate.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 791e890fa11ee6be365b2ea0f94cbc5a0a6d2d30
|
4
|
+
data.tar.gz: d51dbe1427fd50c8756b48d91d64ffe1ea1479e8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bf010c36e3b19f21c9fa197b119ab0fe5a3531a7b0962f78712afebf83fa15be8b0d21f68bb7d552cb7582c923a458bca22c789b25108c9bb1f380cb829d6f61
|
7
|
+
data.tar.gz: ceade2dad090872a014af3b03c247b9297125a4cb19a351b6243424c2d5b61200bd3bd559ca35d3ec05e78fc875ff220781dd87d99ef71907753473c824ae1df
|
data/lib/re_duxml/evaluate.rb
CHANGED
@@ -42,7 +42,7 @@ module ReDuxml
|
|
42
42
|
|
43
43
|
def resolve_params(_expr)
|
44
44
|
expr = _expr.dup
|
45
|
-
param_hash.each do |param, val| expr.gsub!(param, val) end
|
45
|
+
param_hash.each do |param, val| expr.gsub!(param.to_s, val.to_s) end
|
46
46
|
expr
|
47
47
|
end
|
48
48
|
|
@@ -76,4 +76,4 @@ module ReDuxml
|
|
76
76
|
end
|
77
77
|
end # def reduce(ast)
|
78
78
|
end # class Evaluator
|
79
|
-
end # module ReDux
|
79
|
+
end # module ReDux
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: re_duxml
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter Kong
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-11-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: duxml
|