bel_parser 1.0.0.alpha.53 → 1.0.0.alpha.54
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: cc47568c9e7b3789ee2f59a82343610b9c5e64aa
|
4
|
+
data.tar.gz: b08f0efe2e697e531f029d6331ba9874e3fc106d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2bc0d1041316c639250e93508990a2d6be533ea5b2a65173c02689f468590b2514ef03aada1f2ccac11ee873eaf6fae59732fe403ec01d36ca15b1064a540d5a
|
7
|
+
data.tar.gz: 712eaa41023635d3158a9d049db56b3e380a88ba309fd7db9ee21be19ce58d483452d62be700df47af0a57789abcf0eefa039f3fdfea4d509fe26b98c08e057e
|
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
|
}
|