Commit 1241473fe84d38674e918bf74fdf233c34ab7639

Authored by Andrey Karpikov
1 parent ea1d4f78

change condition elelement name to itemName

... ... @@ -43,7 +43,7 @@ module Kanjai
43 43 elements = html_to_hash(source_dom)
44 44
45 45 source_dom.traverse do |node|
46   - if node.name.to_s == 'condition' && node.attributes && node.attributes['id'] && node.attributes['itemName']
  46 + if node.name.to_s == 'condition' && node.attributes && node.attributes['id'] && node.attributes['itemname']
47 47
48 48 repeatItemId = ""
49 49 test = node.parent
... ... @@ -57,7 +57,7 @@ module Kanjai
57 57
58 58 conditions << {
59 59 id: node.attributes['id'].value,
60   - name: node.attributes['itemName'].value,
  60 + name: node.attributes['itemname'].value,
61 61 repeat_id: repeatItemId
62 62 }
63 63 end
... ...
1 1 module Kanjai
2   - VERSION = "0.0.257"
  2 + VERSION = "0.0.258"
3 3 end
... ...