mspire-obo 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,8 +1,6 @@
1
1
  require 'spec_helper'
2
-
3
2
  require 'mspire/obo'
4
3
 
5
-
6
4
  describe Mspire::Obo do
7
5
 
8
6
  let(:bases) { %w(psi-ms unit imagingMS PSI-MOD quality) }
@@ -19,6 +17,7 @@ describe Mspire::Obo do
19
17
  specify '#available returns an informative hash for each obo' do
20
18
  hashes = Mspire::Obo.available
21
19
  hashes.each {|hash| expect(hash.keys.sort).to eq [:full_name, :uri, :namespace, :path, :version, :key].sort }
20
+ expect( hashes.map {|hash| hash[:key] }.sort ).to eq [:mod, :ims, :ms, :pato, :unimod, :uo].sort
22
21
  ms_hash = hashes.find {|hash| hash[:namespace] == 'MS' }
23
22
  expect(ms_hash[:full_name].split(' ').first).to eq('Proteomics')
24
23
  expect(ms_hash[:uri]).to match(/psidev.*psi-ms.obo/)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mspire-obo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - John T. Prince
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-30 00:00:00.000000000 Z
11
+ date: 2014-06-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: obo
@@ -136,6 +136,8 @@ files:
136
136
  - obo/psi-ms.obo
137
137
  - obo/quality.meta
138
138
  - obo/quality.obo
139
+ - obo/unimod.meta
140
+ - obo/unimod.obo
139
141
  - obo/unit.meta
140
142
  - obo/unit.obo
141
143
  - spec/mspire/obo/group_spec.rb