bel_parser 1.0.0.alpha.29-java → 1.0.0.alpha.30-java

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0bc31ba20b70f6f178ef0de0afb03e85a217cf51
4
- data.tar.gz: 8b0b3e1498b5612bf671caa7ac99fc275506ba12
3
+ metadata.gz: 7a3d560aba5aa2f79f840d9b53b44c381e94ee7d
4
+ data.tar.gz: 4cddb86997108e3991136e2a86543e7fbbed2579
5
5
  SHA512:
6
- metadata.gz: c7aa0257dbba3e9f3228a18c03a9e4de0c461be5599e097525cd5b937a2bb7287a0c706ca40c3762244e780213d38584bac53c8598b9121ac9ddc18763d1502a
7
- data.tar.gz: 306cbf52c38ea63a5e2e34b4b44a9b3a2a39727f394595530173120fa676ccc38ca579e90201bbdadd6ffbaad7ad82fbdf9ce028df7f4ec9bc6b27073a548324
6
+ metadata.gz: adba0d6d5c1a2e779daf6d2b2b167f7990d43e31d0eb193afdad61c36ff4ba007082d5bef1f4981b723b3135266284fe0913b08e22649c3a2387660e1e902305
7
+ data.tar.gz: 95c9121edaf26dffbb44929c1d4ff2b85849143ee070ed3df1cbebd3c06f1a77b8eeedee6248f22ed0f66ca01c7e148b73978cd65fc770dcf07bb5b7e65cdbae
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.0.alpha.29
1
+ 1.0.0.alpha.30
@@ -12,8 +12,8 @@ module BEL::Translator::Plugins
12
12
  def initialize(io, options = {})
13
13
  @io = io
14
14
  @state = {
15
- resource_reader: BELParser::Resource::ResourceURLReader.new(true),
16
- specification: BELParser::Language.specification('2.0'),
15
+ resource_reader: BELParser::Resource::ResourceURLReader.new(true),
16
+ specification: BELParser::Language.specification('2.0'),
17
17
  namespace_definitions: {}
18
18
  }
19
19
  end
@@ -53,6 +53,7 @@ module BELParser
53
53
  experiment_context: experiment_context(state[:annotations]),
54
54
  references: references(*state.values_at(*DEFINITIONS)),
55
55
  metadata: {
56
+ bel_version: state[:specification].version,
56
57
  document_header: state[:document_properties] || nil
57
58
  }
58
59
  }
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.29
4
+ version: 1.0.0.alpha.30
5
5
  platform: java
6
6
  authors:
7
7
  - Anthony Bargnesi