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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/re_duxml/evaluate.rb +2 -2
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7c7362dbfed6bd6c78ddbbd9660a55a639e802a6
4
- data.tar.gz: c73453fe830475b19e4c34f60724b79abfdb2a59
3
+ metadata.gz: 791e890fa11ee6be365b2ea0f94cbc5a0a6d2d30
4
+ data.tar.gz: d51dbe1427fd50c8756b48d91d64ffe1ea1479e8
5
5
  SHA512:
6
- metadata.gz: a4f44cdfc1bd794195f904a99dda9545e04e4ae35da83f8972492193ce8ea98094fe1c9abc188195df25a13324c864d08bd81e62a1c83ee630f6df4a65288678
7
- data.tar.gz: d16dec0c48f1f7332781741871cbe90b56d17da1b89783e402c1a941b383c6d02c2b1f92c64e69aa7c62cb484ae8e2b25a983e14af8227eaf3e4277393a12656
6
+ metadata.gz: bf010c36e3b19f21c9fa197b119ab0fe5a3531a7b0962f78712afebf83fa15be8b0d21f68bb7d552cb7582c923a458bca22c789b25108c9bb1f380cb829d6f61
7
+ data.tar.gz: ceade2dad090872a014af3b03c247b9297125a4cb19a351b6243424c2d5b61200bd3bd559ca35d3ec05e78fc875ff220781dd87d99ef71907753473c824ae1df
@@ -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.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-05-20 00:00:00.000000000 Z
11
+ date: 2017-11-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: duxml