bel_parser 1.0.0.alpha.42-java → 1.0.0.alpha.43-java

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.
@@ -26,11 +26,12 @@ module BELParser
26
26
  handle_citation(value_node, script_context)
27
27
  when is_support?(name_string)
28
28
  handle_support(value_node, script_context)
29
- when value_node.is_a?(LIST_NODE)
30
- value.node
31
- .list_items.map { |li| li.children[0].string_literal }
32
- .each do |string|
33
- handle_annotation(name_string, string, script_context)
29
+ when value_node.children[0].is_a?(LIST_NODE)
30
+ value_node
31
+ .children[0]
32
+ .list_items
33
+ .each do |list_item|
34
+ handle_annotation(name_string, list_item, script_context)
34
35
  end
35
36
  else
36
37
  case name_string
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bel_parser
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.alpha.42
4
+ version: 1.0.0.alpha.43
5
5
  platform: java
6
6
  authors:
7
7
  - Anthony Bargnesi