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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e3170c91e65525d767c3ce69ca6af1e35416b3c9
4
- data.tar.gz: 3c197880231d10f792dc7a047a338f52f9ff1e67
3
+ metadata.gz: cc47568c9e7b3789ee2f59a82343610b9c5e64aa
4
+ data.tar.gz: b08f0efe2e697e531f029d6331ba9874e3fc106d
5
5
  SHA512:
6
- metadata.gz: 3e867bc2cf6de7096c3d749824e630822003e1923916f76bff885426e46f4f58094a13a3106a71979c50df810c493bab7f7b2a092edc2b79e4cd81497bea5a83
7
- data.tar.gz: eab1df8531f5c75760e4a13af2a195fa61c85d63ffbd927825084e2ea27fe8fd2744e8b7a09b6b731a096cdc6111843fee4f8ebfe0d845b32903801bdd922b64
6
+ metadata.gz: 2bc0d1041316c639250e93508990a2d6be533ea5b2a65173c02689f468590b2514ef03aada1f2ccac11ee873eaf6fae59732fe403ec01d36ca15b1064a540d5a
7
+ data.tar.gz: 712eaa41023635d3158a9d049db56b3e380a88ba309fd7db9ee21be19ce58d483452d62be700df47af0a57789abcf0eefa039f3fdfea4d509fe26b98c08e057e
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: ruby
6
6
  authors:
7
7
  - Anthony Bargnesi