openbel-api 1.1.0-java → 1.1.1-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: 21f37fc7e4b79123c240c3ff5032cf636ce08b2e
4
- data.tar.gz: 9e132e96f9542dff268447a45ae9a3d38440239d
3
+ metadata.gz: 121260d75016a848b38d53fd21034b6a3d487401
4
+ data.tar.gz: 23ebb2c2df88257a76db162dd0fbf05269977237
5
5
  SHA512:
6
- metadata.gz: a2103e8d840b56fd1ab1bb3e5018542f2c4bc89517718643a3bc5aa96798b6518795593d1ff499eeca5ec5a3813a0dc039a803cf1a79fc6de342e8f4f21061b7
7
- data.tar.gz: 45596461fe4067da77a3307ff48a3ecdca51f492c1d32d50df6e7df105b89d9d708f29e45dea55151d98f0d4fc3eae36004ffaf0feb371cf8cf8e3a7a181d2ce
6
+ metadata.gz: 07f857a7ae76c0635e722760896aa0b00bfa0d6d3b85cbfaf237bc7ef437d207cbab0b70002a74a620295d0c57de8664d9bf0e657dfff50449e9ea8c1c7053a8
7
+ data.tar.gz: 9db88ef3ef4d24699ed6ff66c060cfca5edf24ae4f591884512d9d5fc7a02223e88f0867aa4692934c4048c82166a6bda83adef66baa28d15fb5bc15954e4cf5
data/CHANGELOG.md CHANGED
@@ -3,6 +3,24 @@ All notable changes to openbel-api will be documented in this file. The curated
3
3
 
4
4
  This project adheres to [Semantic Versioning][Semantic Versioning].
5
5
 
6
+ ## [1.1.0][1.1.0] - 2017-01-21
7
+
8
+ ### Added
9
+ - Updated BEL Statement Completion - added semantic completion
10
+
11
+ ### Changed
12
+ - Enhanced deployment tooling using make and bumpversion
13
+
14
+ - Altered validation to return 422 when BEL Statement is invalid
15
+
16
+ - Annotation and Namespace API endpoints with prefixes will uppercase prefix as prefixes are now stored in Uppercase format
17
+
18
+ - POST/PUT /api/nanopubs uses default namespaces/annotations if references object is not part of nanopub
19
+
20
+ - Now /completions and /validation both return the same resource type for the "validation" JSON object
21
+
22
+ - Added location to POST /api/nanopub to response body
23
+
6
24
  ## [1.0.4][1.0.4] - 2016-12-28
7
25
  ### Added
8
26
  - Docker containers for development and production use of OpenBEL
data/README.md CHANGED
@@ -257,25 +257,17 @@ API documentation with *Try it* functionality is available here [OpenBEL API doc
257
257
 
258
258
  Releases of *openbel-api* should follow these steps:
259
259
 
260
- 1. Update the version in the `VERSION` file.
261
260
 
262
- 2. Add changes for this version to the `CHANGELOG` file. This file is modelled after http://keepachangelog.com/.
261
+ 1. Add changes for this version to the `CHANGELOG` file. This file is modelled after http://keepachangelog.com/.
263
262
 
264
- 3. Push the changes for `VERSION` and `CHANGELOG` on the master branch.
263
+ 1. Push the changes for `CHANGELOG` on the master branch.
265
264
 
266
- 4. Ensure the *master* branch has all of the required changes.
265
+ 1. Ensure the *master* branch has all of the required changes.
267
266
 
268
- 5. Create a git tag, named after the version, on the *master* branch. Push this tag to GitHub.
267
+ 1. Run `make deploy-{major|minor|patch}` in order to bump the version, tag and push tag
269
268
 
270
- 6. Create the Ruby and Java RubyGem for *openbel-api*.
269
+ 1. Create a release on GitHub for this version and attach the gem file (openbel-api-VERSION-java.gem)
271
270
 
272
- `gem build .gemspec`
273
-
274
- 7. Create a release on GitHub for this version and attach the gem file.
275
-
276
- 8. Push gems to RubyGems.
277
-
278
- `gem push openbel-api-VERSION-java.gem`
279
271
 
280
272
  -----
281
273
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.0
1
+ 1.1.1
@@ -22,9 +22,10 @@ module OpenBEL
22
22
  if nanopub
23
23
  experiment_context = nanopub.experiment_context
24
24
  if experiment_context != nil
25
- experiment_context.values.map! { |annotation|
26
- transform_annotation(annotation, base_url)
27
- }
25
+ nanopub.experiment_context.values =
26
+ experiment_context.values.flat_map { |annotation|
27
+ transform_annotation(annotation, base_url)
28
+ }
28
29
  end
29
30
  end
30
31
  end
@@ -62,29 +63,49 @@ module OpenBEL
62
63
  def structured_annotation(name, value, base_url)
63
64
  annotation = @annotations.find(name).first
64
65
  if annotation
66
+ annotation_label = annotation.pref_label.first.to_s
67
+ annotation_prefix = annotation.prefix.first.to_s
68
+
65
69
  if value.respond_to?(:each)
66
- {
67
- :name => annotation.prefLabel.to_s,
68
- :value => value.map { |v|
69
- mapped = annotation.find(v).first
70
- mapped ? mapped.prefLabel.to_s : v
71
- }
70
+ value.map { |v|
71
+ annotation_value = annotation.find(v).first
72
+
73
+ if annotation_value
74
+ identifier = annotation_value.identifier.first.to_s
75
+ value_label = annotation_value.pref_label.first.to_s
76
+ {
77
+ :name => annotation_label,
78
+ :value => value_label,
79
+ :uri => ANNOTATION_VALUE_URI % [
80
+ base_url,
81
+ annotation_prefix,
82
+ identifier
83
+ ]
84
+ }
85
+ else
86
+ {
87
+ :name => annotation_label,
88
+ :value => v
89
+ }
90
+ end
72
91
  }
73
92
  else
74
93
  annotation_value = annotation.find(value).first
94
+ identifier = annotation_value.identifier.first.to_s
95
+ value_label = annotation_value.pref_label.first.to_s
75
96
  if annotation_value
76
97
  {
77
- :name => annotation.prefLabel.to_s,
78
- :value => annotation_value.prefLabel.to_s,
98
+ :name => annotation_label,
99
+ :value => value_label,
79
100
  :uri => ANNOTATION_VALUE_URI % [
80
101
  base_url,
81
- annotation.prefix.to_s,
82
- annotation_value.identifier.to_s
102
+ annotation_prefix,
103
+ identifier
83
104
  ]
84
105
  }
85
106
  else
86
107
  {
87
- :name => annotation.prefLabel.to_s,
108
+ :name => annotation_label,
88
109
  :value => value
89
110
  }
90
111
  end
@@ -215,7 +215,6 @@ module OpenBEL
215
215
  )
216
216
  end
217
217
 
218
-
219
218
  response.headers['Content-Type'] = 'application/json'
220
219
  MultiJson.dump({
221
220
  :expression_components => statement_components(statement, flatten),
@@ -271,19 +270,20 @@ module OpenBEL
271
270
  get '/api/expressions/*/validation/?' do
272
271
  bel = params[:splat].first
273
272
 
274
- if request.accept.any? { |accept| accept.to_s == 'application/json' }
275
- filter =
276
- BELParser::ASTFilter.new(
277
- BELParser::ASTGenerator.new("#{bel}\n"),
278
- :simple_statement,
279
- :observed_term,
280
- :nested_statement
281
- )
282
- _, _, ast = filter.each.first
273
+ filter =
274
+ BELParser::ASTFilter.new(
275
+ BELParser::ASTGenerator.new("#{bel}\n"),
276
+ :simple_statement,
277
+ :observed_term,
278
+ :nested_statement
279
+ )
280
+ _, _, ast = filter.each.first
283
281
 
284
- if ast.nil? || ast.empty?
285
- response.headers['Content-Type'] = 'application/json'
286
- return render_json(
282
+ if ast.nil? || ast.empty?
283
+ halt(
284
+ 400,
285
+ {'Content-Type' => 'application/json'},
286
+ render_json(
287
287
  {
288
288
  valid_syntax: false,
289
289
  valid_semantics: false,
@@ -292,62 +292,67 @@ module OpenBEL
292
292
  term_signatures: []
293
293
  }
294
294
  )
295
- end
295
+ )
296
+ end
296
297
 
297
- message = ''
298
- terms = ast.first.traverse.select { |node| node.type == :term }.to_a
299
- semantics_functions =
300
- BELParser::Language::Semantics.semantics_functions.reject { |fun|
301
- fun == BELParser::Language::Semantics::SignatureMapping
302
- }
298
+ message = ''
299
+ terms = ast.first.traverse.select { |node| node.type == :term }.to_a
303
300
 
304
- semantic_warnings =
305
- ast
306
- .first
307
- .traverse
308
- .flat_map { |node|
309
- semantics_functions.flat_map { |func|
310
- func.map(node, @spec, @supported_namespaces)
311
- }
312
- }
313
- .compact
301
+ semantics_functions =
302
+ BELParser::Language::Semantics.semantics_functions.reject { |fun|
303
+ fun == BELParser::Language::Semantics::SignatureMapping
304
+ }
314
305
 
315
- if semantic_warnings.empty?
316
- valid = true
317
- else
318
- valid = false
319
- message =
320
- semantic_warnings.reduce('') { |msg, warning|
321
- msg << "#{warning}\n"
306
+ semantic_warnings =
307
+ ast
308
+ .first
309
+ .traverse
310
+ .flat_map { |node|
311
+ semantics_functions.flat_map { |func|
312
+ func.map(node, @spec, @supported_namespaces)
322
313
  }
323
- message << "\n"
324
- end
314
+ }
315
+ .compact
325
316
 
326
- urir = BELParser::Resource.default_uri_reader
327
- urlr = BELParser::Resource.default_url_reader
328
- validator = BELParser::Language::ExpressionValidator.new(@spec, @supported_namespaces, urir, urlr)
329
- term_semantics =
330
- terms.map { |term|
331
- term_result = validator.validate(term)
332
- valid &= term_result.valid_semantics?
333
- bel_term = serialize(term)
334
-
335
- unless valid
336
- message << "Term: #{bel_term}\n"
337
- term_result.invalid_signature_mappings.map { |m|
338
- message << " #{m}\n"
339
- }
340
- message << "\n"
341
- end
317
+ if semantic_warnings.empty?
318
+ valid = true
319
+ else
320
+ valid = false
321
+ message =
322
+ semantic_warnings.reduce('') { |msg, warning|
323
+ msg << "#{warning}\n"
324
+ }
325
+ message << "\n"
326
+ end
342
327
 
343
- {
344
- term: bel_term,
345
- valid_signatures: term_result.valid_signature_mappings.map(&:to_s),
346
- invalid_signatures: term_result.invalid_signature_mappings.map(&:to_s)
328
+ urir = BELParser::Resource.default_uri_reader
329
+ urlr = BELParser::Resource.default_url_reader
330
+ validator = BELParser::Language::ExpressionValidator.new(@spec, @supported_namespaces, urir, urlr)
331
+ term_semantics =
332
+ terms.map { |term|
333
+ term_result = validator.validate(term)
334
+ valid &= term_result.valid_semantics?
335
+ bel_term = serialize(term)
336
+
337
+ unless valid
338
+ message << "Term: #{bel_term}\n"
339
+ term_result.invalid_signature_mappings.map { |m|
340
+ message << " #{m}\n"
347
341
  }
342
+ message << "\n"
343
+ end
344
+
345
+ {
346
+ term: bel_term,
347
+ valid: term_result.valid_semantics?,
348
+ valid_signatures: term_result.valid_signature_mappings.map(&:to_s),
349
+ invalid_signatures: term_result.invalid_signature_mappings.map(&:to_s)
348
350
  }
351
+ }
349
352
 
350
- response.headers['Content-Type'] = 'application/json'
353
+ halt(
354
+ valid ? 200 : 422,
355
+ {'Content-Type' => 'application/json'},
351
356
  render_json(
352
357
  {
353
358
  validation: {
@@ -360,16 +365,7 @@ module OpenBEL
360
365
  }
361
366
  }
362
367
  )
363
- else
364
- response.headers['Content-Type'] = 'text/plain'
365
- @expression_validator.each(
366
- StringIO.new("#{bel}\n")
367
- ) do |(_, _, _, result)|
368
- return result.to_s
369
- end
370
-
371
- return "Invalid syntax."
372
- end
368
+ )
373
369
  end
374
370
  end
375
371
  end
@@ -25,11 +25,31 @@ module OpenBEL
25
25
  tdb = OpenBEL::Settings[:resource_rdf][:jena][:tdb_directory]
26
26
  @rr = BEL::RdfRepository.plugins[:jena].create_repository(:tdb_directory => tdb)
27
27
 
28
-
29
- # Annotations using RdfRepository
30
- @annotations = BEL::Resource::Annotations.new(@rr)
28
+ # Annotations and Namespaces using RdfRepository
29
+ @annotations = BEL::Resource::Annotations.new(@rr)
30
+ @namespaces = BEL::Resource::Namespaces.new(@rr)
31
31
  @annotation_transform = AnnotationTransform.new(@annotations)
32
32
  @annotation_grouping_transform = AnnotationGroupingTransform.new
33
+ @default_references = {
34
+ :annotations => @annotations.each.map { |an|
35
+ prefix = an.prefix.first.capitalize
36
+
37
+ {
38
+ :keyword => prefix,
39
+ :type => :uri,
40
+ :domain => an.uri.to_s
41
+ }
42
+ },
43
+ :namespaces => @namespaces.each.map { |ns|
44
+ prefix = ns.prefix.first.upcase
45
+
46
+ {
47
+ :keyword => prefix,
48
+ :type => :uri,
49
+ :domain => ns.uri.to_s
50
+ }
51
+ }
52
+ }
33
53
  end
34
54
 
35
55
  configure :development do |config|
@@ -126,7 +146,10 @@ module OpenBEL
126
146
  )
127
147
  end
128
148
 
129
- nanopub = ::BEL::Nanopub::Nanopub.create(nanopub_obj[:nanopub])
149
+ nanopub_hash = nanopub_obj[:nanopub]
150
+ nanopub_hash[:references] ||= @default_references
151
+
152
+ nanopub = ::BEL::Nanopub::Nanopub.create(nanopub_hash)
130
153
  # STDERR.puts "DBG: nanopub Variable config is #{nanopub.inspect}"
131
154
 
132
155
  # Standardize annotations.
@@ -225,9 +248,11 @@ module OpenBEL
225
248
  )
226
249
  end
227
250
 
251
+ nanopub_hash = nanopub_obj[:nanopub]
252
+ nanopub_hash[:references] ||= @default_references
253
+
228
254
  # transformation
229
- nanopub = nanopub_obj[:nanopub]
230
- nanopub = ::BEL::Nanopub::Nanopub.create(nanopub)
255
+ nanopub = ::BEL::Nanopub::Nanopub.create(nanopub_hash)
231
256
  @annotation_transform.transform_nanopub!(nanopub, base_url)
232
257
 
233
258
  facets = map_nanopub_facets(nanopub)
data/config/config.yml CHANGED
@@ -8,7 +8,7 @@ bel:
8
8
  # (BEL version 1.0 specification)
9
9
  # 2.0
10
10
  # (BEL version 2.0 specification)
11
- version: 2.0
11
+ version: 1.0
12
12
 
13
13
  # Storage of nanopubs through the Mongo database.
14
14
  nanopub_store:
@@ -56,7 +56,7 @@ resource_rdf:
56
56
  # Full-text search over annotation and namespace values using SQLite.
57
57
  resource_search:
58
58
  sqlite:
59
- database_file: '/data/rdf_resources.db'
59
+ database_file: '/data/rdf_resources/biological-concepts-rdf.db'
60
60
 
61
61
  # Set a secret used during session creation....
62
62
  session_secret: 'changeme'
metadata CHANGED
@@ -1,362 +1,362 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openbel-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: java
6
6
  authors:
7
7
  - Anthony Bargnesi
8
8
  - Nick Bargnesi
9
9
  - William Hayes
10
- autorequire:
10
+ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
13
  date: 2017-01-13 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
+ name: bel
16
17
  requirement: !ruby/object:Gem::Requirement
17
18
  requirements:
18
19
  - - "~>"
19
20
  - !ruby/object:Gem::Version
20
21
  version: 1.1.0
21
- name: bel
22
- prerelease: false
23
22
  type: :runtime
23
+ prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  requirements:
26
26
  - - "~>"
27
27
  - !ruby/object:Gem::Version
28
28
  version: 1.1.0
29
29
  - !ruby/object:Gem::Dependency
30
+ name: bel-search-sqlite
30
31
  requirement: !ruby/object:Gem::Requirement
31
32
  requirements:
32
33
  - - "~>"
33
34
  - !ruby/object:Gem::Version
34
35
  version: 1.1.0
35
- name: bel-search-sqlite
36
- prerelease: false
37
36
  type: :runtime
37
+ prerelease: false
38
38
  version_requirements: !ruby/object:Gem::Requirement
39
39
  requirements:
40
40
  - - "~>"
41
41
  - !ruby/object:Gem::Version
42
42
  version: 1.1.0
43
43
  - !ruby/object:Gem::Dependency
44
+ name: bel-rdf-jena
44
45
  requirement: !ruby/object:Gem::Requirement
45
46
  requirements:
46
47
  - - "~>"
47
48
  - !ruby/object:Gem::Version
48
49
  version: 1.1.0
49
- name: bel-rdf-jena
50
- prerelease: false
51
50
  type: :runtime
51
+ prerelease: false
52
52
  version_requirements: !ruby/object:Gem::Requirement
53
53
  requirements:
54
54
  - - "~>"
55
55
  - !ruby/object:Gem::Version
56
56
  version: 1.1.0
57
57
  - !ruby/object:Gem::Dependency
58
+ name: json-ld
58
59
  requirement: !ruby/object:Gem::Requirement
59
60
  requirements:
60
61
  - - '='
61
62
  - !ruby/object:Gem::Version
62
63
  version: 2.0.0
63
- name: json-ld
64
- prerelease: false
65
64
  type: :runtime
65
+ prerelease: false
66
66
  version_requirements: !ruby/object:Gem::Requirement
67
67
  requirements:
68
68
  - - '='
69
69
  - !ruby/object:Gem::Version
70
70
  version: 2.0.0
71
71
  - !ruby/object:Gem::Dependency
72
+ name: rdf-json
72
73
  requirement: !ruby/object:Gem::Requirement
73
74
  requirements:
74
75
  - - '='
75
76
  - !ruby/object:Gem::Version
76
77
  version: 2.0.0
77
- name: rdf-json
78
- prerelease: false
79
78
  type: :runtime
79
+ prerelease: false
80
80
  version_requirements: !ruby/object:Gem::Requirement
81
81
  requirements:
82
82
  - - '='
83
83
  - !ruby/object:Gem::Version
84
84
  version: 2.0.0
85
85
  - !ruby/object:Gem::Dependency
86
+ name: rdf-rdfa
86
87
  requirement: !ruby/object:Gem::Requirement
87
88
  requirements:
88
89
  - - '='
89
90
  - !ruby/object:Gem::Version
90
91
  version: 2.0.0
91
- name: rdf-rdfa
92
- prerelease: false
93
92
  type: :runtime
93
+ prerelease: false
94
94
  version_requirements: !ruby/object:Gem::Requirement
95
95
  requirements:
96
96
  - - '='
97
97
  - !ruby/object:Gem::Version
98
98
  version: 2.0.0
99
99
  - !ruby/object:Gem::Dependency
100
+ name: rdf-xsd
100
101
  requirement: !ruby/object:Gem::Requirement
101
102
  requirements:
102
103
  - - '='
103
104
  - !ruby/object:Gem::Version
104
105
  version: 2.0.0
105
- name: rdf-xsd
106
- prerelease: false
107
106
  type: :runtime
107
+ prerelease: false
108
108
  version_requirements: !ruby/object:Gem::Requirement
109
109
  requirements:
110
110
  - - '='
111
111
  - !ruby/object:Gem::Version
112
112
  version: 2.0.0
113
113
  - !ruby/object:Gem::Dependency
114
+ name: rdf-rdfxml
114
115
  requirement: !ruby/object:Gem::Requirement
115
116
  requirements:
116
117
  - - '='
117
118
  - !ruby/object:Gem::Version
118
119
  version: 2.0.0
119
- name: rdf-rdfxml
120
- prerelease: false
121
120
  type: :runtime
121
+ prerelease: false
122
122
  version_requirements: !ruby/object:Gem::Requirement
123
123
  requirements:
124
124
  - - '='
125
125
  - !ruby/object:Gem::Version
126
126
  version: 2.0.0
127
127
  - !ruby/object:Gem::Dependency
128
+ name: rdf-trig
128
129
  requirement: !ruby/object:Gem::Requirement
129
130
  requirements:
130
131
  - - '='
131
132
  - !ruby/object:Gem::Version
132
133
  version: 2.0.0
133
- name: rdf-trig
134
- prerelease: false
135
134
  type: :runtime
135
+ prerelease: false
136
136
  version_requirements: !ruby/object:Gem::Requirement
137
137
  requirements:
138
138
  - - '='
139
139
  - !ruby/object:Gem::Version
140
140
  version: 2.0.0
141
141
  - !ruby/object:Gem::Dependency
142
+ name: rdf-trix
142
143
  requirement: !ruby/object:Gem::Requirement
143
144
  requirements:
144
145
  - - '='
145
146
  - !ruby/object:Gem::Version
146
147
  version: 2.0.0
147
- name: rdf-trix
148
- prerelease: false
149
148
  type: :runtime
149
+ prerelease: false
150
150
  version_requirements: !ruby/object:Gem::Requirement
151
151
  requirements:
152
152
  - - '='
153
153
  - !ruby/object:Gem::Version
154
154
  version: 2.0.0
155
155
  - !ruby/object:Gem::Dependency
156
+ name: rdf-turtle
156
157
  requirement: !ruby/object:Gem::Requirement
157
158
  requirements:
158
159
  - - '='
159
160
  - !ruby/object:Gem::Version
160
161
  version: 2.0.0
161
- name: rdf-turtle
162
- prerelease: false
163
162
  type: :runtime
163
+ prerelease: false
164
164
  version_requirements: !ruby/object:Gem::Requirement
165
165
  requirements:
166
166
  - - '='
167
167
  - !ruby/object:Gem::Version
168
168
  version: 2.0.0
169
169
  - !ruby/object:Gem::Dependency
170
+ name: mongo
170
171
  requirement: !ruby/object:Gem::Requirement
171
172
  requirements:
172
173
  - - '='
173
174
  - !ruby/object:Gem::Version
174
175
  version: 1.12.5
175
- name: mongo
176
- prerelease: false
177
176
  type: :runtime
177
+ prerelease: false
178
178
  version_requirements: !ruby/object:Gem::Requirement
179
179
  requirements:
180
180
  - - '='
181
181
  - !ruby/object:Gem::Version
182
182
  version: 1.12.5
183
183
  - !ruby/object:Gem::Dependency
184
+ name: bson
184
185
  requirement: !ruby/object:Gem::Requirement
185
186
  requirements:
186
187
  - - '='
187
188
  - !ruby/object:Gem::Version
188
189
  version: 1.12.5
189
- name: bson
190
- prerelease: false
191
190
  type: :runtime
191
+ prerelease: false
192
192
  version_requirements: !ruby/object:Gem::Requirement
193
193
  requirements:
194
194
  - - '='
195
195
  - !ruby/object:Gem::Version
196
196
  version: 1.12.5
197
197
  - !ruby/object:Gem::Dependency
198
+ name: dot_hash
198
199
  requirement: !ruby/object:Gem::Requirement
199
200
  requirements:
200
201
  - - '='
201
202
  - !ruby/object:Gem::Version
202
203
  version: 0.5.9
203
- name: dot_hash
204
- prerelease: false
205
204
  type: :runtime
205
+ prerelease: false
206
206
  version_requirements: !ruby/object:Gem::Requirement
207
207
  requirements:
208
208
  - - '='
209
209
  - !ruby/object:Gem::Version
210
210
  version: 0.5.9
211
211
  - !ruby/object:Gem::Dependency
212
+ name: jrjackson
212
213
  requirement: !ruby/object:Gem::Requirement
213
214
  requirements:
214
215
  - - '='
215
216
  - !ruby/object:Gem::Version
216
217
  version: 0.3.7
217
- name: jrjackson
218
- prerelease: false
219
218
  type: :runtime
219
+ prerelease: false
220
220
  version_requirements: !ruby/object:Gem::Requirement
221
221
  requirements:
222
222
  - - '='
223
223
  - !ruby/object:Gem::Version
224
224
  version: 0.3.7
225
225
  - !ruby/object:Gem::Dependency
226
+ name: json_schema
226
227
  requirement: !ruby/object:Gem::Requirement
227
228
  requirements:
228
229
  - - '='
229
230
  - !ruby/object:Gem::Version
230
231
  version: 0.10.0
231
- name: json_schema
232
- prerelease: false
233
232
  type: :runtime
233
+ prerelease: false
234
234
  version_requirements: !ruby/object:Gem::Requirement
235
235
  requirements:
236
236
  - - '='
237
237
  - !ruby/object:Gem::Version
238
238
  version: 0.10.0
239
239
  - !ruby/object:Gem::Dependency
240
+ name: multi_json
240
241
  requirement: !ruby/object:Gem::Requirement
241
242
  requirements:
242
243
  - - '='
243
244
  - !ruby/object:Gem::Version
244
245
  version: 1.11.2
245
- name: multi_json
246
- prerelease: false
247
246
  type: :runtime
247
+ prerelease: false
248
248
  version_requirements: !ruby/object:Gem::Requirement
249
249
  requirements:
250
250
  - - '='
251
251
  - !ruby/object:Gem::Version
252
252
  version: 1.11.2
253
253
  - !ruby/object:Gem::Dependency
254
+ name: oat
254
255
  requirement: !ruby/object:Gem::Requirement
255
256
  requirements:
256
257
  - - '='
257
258
  - !ruby/object:Gem::Version
258
259
  version: 0.4.6
259
- name: oat
260
- prerelease: false
261
260
  type: :runtime
261
+ prerelease: false
262
262
  version_requirements: !ruby/object:Gem::Requirement
263
263
  requirements:
264
264
  - - '='
265
265
  - !ruby/object:Gem::Version
266
266
  version: 0.4.6
267
267
  - !ruby/object:Gem::Dependency
268
+ name: puma
268
269
  requirement: !ruby/object:Gem::Requirement
269
270
  requirements:
270
271
  - - '='
271
272
  - !ruby/object:Gem::Version
272
273
  version: 3.1.0
273
- name: puma
274
- prerelease: false
275
274
  type: :runtime
275
+ prerelease: false
276
276
  version_requirements: !ruby/object:Gem::Requirement
277
277
  requirements:
278
278
  - - '='
279
279
  - !ruby/object:Gem::Version
280
280
  version: 3.1.0
281
281
  - !ruby/object:Gem::Dependency
282
+ name: rack
282
283
  requirement: !ruby/object:Gem::Requirement
283
284
  requirements:
284
285
  - - '='
285
286
  - !ruby/object:Gem::Version
286
287
  version: 1.6.4
287
- name: rack
288
- prerelease: false
289
288
  type: :runtime
289
+ prerelease: false
290
290
  version_requirements: !ruby/object:Gem::Requirement
291
291
  requirements:
292
292
  - - '='
293
293
  - !ruby/object:Gem::Version
294
294
  version: 1.6.4
295
295
  - !ruby/object:Gem::Dependency
296
+ name: rack-cors
296
297
  requirement: !ruby/object:Gem::Requirement
297
298
  requirements:
298
299
  - - '='
299
300
  - !ruby/object:Gem::Version
300
301
  version: 0.4.0
301
- name: rack-cors
302
- prerelease: false
303
302
  type: :runtime
303
+ prerelease: false
304
304
  version_requirements: !ruby/object:Gem::Requirement
305
305
  requirements:
306
306
  - - '='
307
307
  - !ruby/object:Gem::Version
308
308
  version: 0.4.0
309
309
  - !ruby/object:Gem::Dependency
310
+ name: rack-handlers
310
311
  requirement: !ruby/object:Gem::Requirement
311
312
  requirements:
312
313
  - - '='
313
314
  - !ruby/object:Gem::Version
314
315
  version: 0.7.0
315
- name: rack-handlers
316
- prerelease: false
317
316
  type: :runtime
317
+ prerelease: false
318
318
  version_requirements: !ruby/object:Gem::Requirement
319
319
  requirements:
320
320
  - - '='
321
321
  - !ruby/object:Gem::Version
322
322
  version: 0.7.0
323
323
  - !ruby/object:Gem::Dependency
324
+ name: sinatra
324
325
  requirement: !ruby/object:Gem::Requirement
325
326
  requirements:
326
327
  - - '='
327
328
  - !ruby/object:Gem::Version
328
329
  version: 1.4.6
329
- name: sinatra
330
- prerelease: false
331
330
  type: :runtime
331
+ prerelease: false
332
332
  version_requirements: !ruby/object:Gem::Requirement
333
333
  requirements:
334
334
  - - '='
335
335
  - !ruby/object:Gem::Version
336
336
  version: 1.4.6
337
337
  - !ruby/object:Gem::Dependency
338
+ name: sinatra-contrib
338
339
  requirement: !ruby/object:Gem::Requirement
339
340
  requirements:
340
341
  - - '='
341
342
  - !ruby/object:Gem::Version
342
343
  version: 1.4.6
343
- name: sinatra-contrib
344
- prerelease: false
345
344
  type: :runtime
345
+ prerelease: false
346
346
  version_requirements: !ruby/object:Gem::Requirement
347
347
  requirements:
348
348
  - - '='
349
349
  - !ruby/object:Gem::Version
350
350
  version: 1.4.6
351
351
  - !ruby/object:Gem::Dependency
352
+ name: jwt
352
353
  requirement: !ruby/object:Gem::Requirement
353
354
  requirements:
354
355
  - - '='
355
356
  - !ruby/object:Gem::Version
356
357
  version: 1.5.2
357
- name: jwt
358
- prerelease: false
359
358
  type: :runtime
359
+ prerelease: false
360
360
  version_requirements: !ruby/object:Gem::Requirement
361
361
  requirements:
362
362
  - - '='
@@ -365,9 +365,9 @@ dependencies:
365
365
  description: The OpenBEL API provides a RESTful API over HTTP to manage BEL knowledge.
366
366
  email: abargnesi@selventa.com
367
367
  executables:
368
- - setup-docker.sh
369
368
  - openbel-api
370
369
  - openbel-config
370
+ - setup-docker.sh
371
371
  extensions: []
372
372
  extra_rdoc_files: []
373
373
  files:
@@ -448,7 +448,7 @@ homepage: https://github.com/OpenBEL/openbel-api
448
448
  licenses:
449
449
  - Apache-2.0
450
450
  metadata: {}
451
- post_install_message:
451
+ post_install_message:
452
452
  rdoc_options: []
453
453
  require_paths:
454
454
  - app
@@ -464,9 +464,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
464
464
  - !ruby/object:Gem::Version
465
465
  version: '0'
466
466
  requirements: []
467
- rubyforge_project:
468
- rubygems_version: 2.6.8
469
- signing_key:
467
+ rubyforge_project:
468
+ rubygems_version: 2.4.6
469
+ signing_key:
470
470
  specification_version: 4
471
471
  summary: The OpenBEL API provided over RESTful HTTP endpoints.
472
472
  test_files: []