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 +4 -4
- data/VERSION +1 -1
- data/lib/bel_parser/script/nanopub_mapper.rb +3 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ea635cc6a0106b31a7410915b57d6e76b007ea8b
|
4
|
+
data.tar.gz: 1cc0e36412e5c61be5ad6db101cbd856a0517763
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5b30b7cd2a2c6f48112f18940f0fbc0078d00524c01caf3628335b487f0cb2399e17be6a5dfafa0a7b9b3bb5eae49e48c32a9bd5ca8d4c4ae396704a6698cc1a
|
7
|
+
data.tar.gz: 2ab9b0d174824ce802295d9ddb6afd3ac7f38ba5c9d947003027d124e38cfa02718ac5cbde2ee6f92adc2b388f28b3f86c81eec405faf424e2863a1e421c933f
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.0.alpha.
|
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,
|
117
|
+
namespaces: (ns_defs || []).map do |keyword, namespace|
|
118
118
|
{
|
119
119
|
keyword: keyword,
|
120
|
-
type:
|
121
|
-
domain:
|
120
|
+
type: namespace.uri? ? :uri : :url,
|
121
|
+
domain: namespace.uri? ? namespace.uri : namespace.url
|
122
122
|
}
|
123
123
|
end
|
124
124
|
}
|