bel_parser 1.0.0.alpha.53-java → 1.0.0.alpha.54-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: 20b61bb214b0a7323c103ebc274994cd636c5416
4
- data.tar.gz: ea9bb59270a4658e68e703c861f392e3b2cf6a45
3
+ metadata.gz: ea635cc6a0106b31a7410915b57d6e76b007ea8b
4
+ data.tar.gz: 1cc0e36412e5c61be5ad6db101cbd856a0517763
5
5
  SHA512:
6
- metadata.gz: 6ec021ec5185740497b528112306887f84e9cf10411495bc30f8299c476df81c995b20fb89dda073045dee994657fd546748f01637d0147256559b69b32c5a75
7
- data.tar.gz: 7022cafaaf0474cff631d1a003661a956117d988df9abfbdb3dd64e1780306105b643a9350dd48f27b91a8f68163602dd3976281521dacb03bbaac786fbc5496
6
+ metadata.gz: 5b30b7cd2a2c6f48112f18940f0fbc0078d00524c01caf3628335b487f0cb2399e17be6a5dfafa0a7b9b3bb5eae49e48c32a9bd5ca8d4c4ae396704a6698cc1a
7
+ data.tar.gz: 2ab9b0d174824ce802295d9ddb6afd3ac7f38ba5c9d947003027d124e38cfa02718ac5cbde2ee6f92adc2b388f28b3f86c81eec405faf424e2863a1e421c933f
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.0.alpha.53
1
+ 1.0.0.alpha.54
@@ -114,11 +114,11 @@ module BELParser
114
114
  domain: domain_value(type, domain)
115
115
  }
116
116
  end,
117
- namespaces: (ns_defs || []).map do |keyword, (type, domain)|
117
+ namespaces: (ns_defs || []).map do |keyword, namespace|
118
118
  {
119
119
  keyword: keyword,
120
- type: type,
121
- domain: domain_value(type, domain)
120
+ type: namespace.uri? ? :uri : :url,
121
+ domain: namespace.uri? ? namespace.uri : namespace.url
122
122
  }
123
123
  end
124
124
  }
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.53
4
+ version: 1.0.0.alpha.54
5
5
  platform: java
6
6
  authors:
7
7
  - Anthony Bargnesi