opentox-ruby 0.0.2 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.markdown +41 -0
- data/Rakefile +4 -0
- data/VERSION +1 -1
- data/lib/algorithm.rb +15 -2
- data/lib/authorization.rb +381 -0
- data/lib/compound.rb +6 -0
- data/lib/config/config_ru.rb +1 -0
- data/lib/dataset.rb +98 -43
- data/lib/environment.rb +9 -18
- data/lib/error.rb +99 -0
- data/lib/feature.rb +30 -2
- data/lib/helper.rb +90 -17
- data/lib/model.rb +81 -34
- data/lib/ontology_service.rb +43 -0
- data/lib/opentox-ruby.rb +3 -2
- data/lib/opentox.rb +9 -4
- data/lib/overwrite.rb +87 -28
- data/lib/parser.rb +117 -22
- data/lib/policy.rb +261 -0
- data/lib/rest_client_wrapper.rb +110 -99
- data/lib/serializer.rb +130 -1
- data/lib/task.rb +179 -42
- data/lib/templates/config.yaml +45 -0
- data/lib/templates/default_guest_policy.xml +53 -0
- data/lib/templates/default_policy.xml +53 -0
- data/lib/to-html.rb +112 -0
- data/lib/validation.rb +183 -57
- metadata +31 -94
- data/README.rdoc +0 -23
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opentox-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 23
|
5
|
+
prerelease:
|
6
6
|
segments:
|
7
|
+
- 1
|
7
8
|
- 0
|
8
9
|
- 0
|
9
|
-
|
10
|
-
version: 0.0.2
|
10
|
+
version: 1.0.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Christoph Helma, Martin Guetlein, Andreas Maunz, Micha Rautenberg, David Vorgrimmler
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date:
|
18
|
+
date: 2011-03-09 00:00:00 +01:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -243,7 +243,7 @@ dependencies:
|
|
243
243
|
type: :runtime
|
244
244
|
version_requirements: *id016
|
245
245
|
- !ruby/object:Gem::Dependency
|
246
|
-
name:
|
246
|
+
name: ohm
|
247
247
|
prerelease: false
|
248
248
|
requirement: &id017 !ruby/object:Gem::Requirement
|
249
249
|
none: false
|
@@ -257,107 +257,37 @@ dependencies:
|
|
257
257
|
type: :runtime
|
258
258
|
version_requirements: *id017
|
259
259
|
- !ruby/object:Gem::Dependency
|
260
|
-
name:
|
260
|
+
name: SystemTimer
|
261
261
|
prerelease: false
|
262
262
|
requirement: &id018 !ruby/object:Gem::Requirement
|
263
263
|
none: false
|
264
264
|
requirements:
|
265
265
|
- - ">="
|
266
266
|
- !ruby/object:Gem::Version
|
267
|
-
hash:
|
267
|
+
hash: 3
|
268
268
|
segments:
|
269
|
-
-
|
270
|
-
version: "
|
269
|
+
- 0
|
270
|
+
version: "0"
|
271
271
|
type: :runtime
|
272
272
|
version_requirements: *id018
|
273
273
|
- !ruby/object:Gem::Dependency
|
274
|
-
name:
|
274
|
+
name: rjb
|
275
275
|
prerelease: false
|
276
276
|
requirement: &id019 !ruby/object:Gem::Requirement
|
277
277
|
none: false
|
278
278
|
requirements:
|
279
279
|
- - ">="
|
280
280
|
- !ruby/object:Gem::Version
|
281
|
-
hash:
|
281
|
+
hash: 3
|
282
282
|
segments:
|
283
|
-
-
|
284
|
-
version: "
|
283
|
+
- 0
|
284
|
+
version: "0"
|
285
285
|
type: :runtime
|
286
286
|
version_requirements: *id019
|
287
|
-
- !ruby/object:Gem::Dependency
|
288
|
-
name: dm-timestamps
|
289
|
-
prerelease: false
|
290
|
-
requirement: &id020 !ruby/object:Gem::Requirement
|
291
|
-
none: false
|
292
|
-
requirements:
|
293
|
-
- - ">="
|
294
|
-
- !ruby/object:Gem::Version
|
295
|
-
hash: 1
|
296
|
-
segments:
|
297
|
-
- 1
|
298
|
-
version: "1"
|
299
|
-
type: :runtime
|
300
|
-
version_requirements: *id020
|
301
|
-
- !ruby/object:Gem::Dependency
|
302
|
-
name: dm-types
|
303
|
-
prerelease: false
|
304
|
-
requirement: &id021 !ruby/object:Gem::Requirement
|
305
|
-
none: false
|
306
|
-
requirements:
|
307
|
-
- - ">="
|
308
|
-
- !ruby/object:Gem::Version
|
309
|
-
hash: 1
|
310
|
-
segments:
|
311
|
-
- 1
|
312
|
-
version: "1"
|
313
|
-
type: :runtime
|
314
|
-
version_requirements: *id021
|
315
|
-
- !ruby/object:Gem::Dependency
|
316
|
-
name: dm-migrations
|
317
|
-
prerelease: false
|
318
|
-
requirement: &id022 !ruby/object:Gem::Requirement
|
319
|
-
none: false
|
320
|
-
requirements:
|
321
|
-
- - ">="
|
322
|
-
- !ruby/object:Gem::Version
|
323
|
-
hash: 1
|
324
|
-
segments:
|
325
|
-
- 1
|
326
|
-
version: "1"
|
327
|
-
type: :runtime
|
328
|
-
version_requirements: *id022
|
329
|
-
- !ruby/object:Gem::Dependency
|
330
|
-
name: dm-mysql-adapter
|
331
|
-
prerelease: false
|
332
|
-
requirement: &id023 !ruby/object:Gem::Requirement
|
333
|
-
none: false
|
334
|
-
requirements:
|
335
|
-
- - ">="
|
336
|
-
- !ruby/object:Gem::Version
|
337
|
-
hash: 1
|
338
|
-
segments:
|
339
|
-
- 1
|
340
|
-
version: "1"
|
341
|
-
type: :runtime
|
342
|
-
version_requirements: *id023
|
343
|
-
- !ruby/object:Gem::Dependency
|
344
|
-
name: dm-validations
|
345
|
-
prerelease: false
|
346
|
-
requirement: &id024 !ruby/object:Gem::Requirement
|
347
|
-
none: false
|
348
|
-
requirements:
|
349
|
-
- - ">="
|
350
|
-
- !ruby/object:Gem::Version
|
351
|
-
hash: 1
|
352
|
-
segments:
|
353
|
-
- 1
|
354
|
-
version: "1"
|
355
|
-
type: :runtime
|
356
|
-
version_requirements: *id024
|
357
287
|
- !ruby/object:Gem::Dependency
|
358
288
|
name: haml
|
359
289
|
prerelease: false
|
360
|
-
requirement: &
|
290
|
+
requirement: &id020 !ruby/object:Gem::Requirement
|
361
291
|
none: false
|
362
292
|
requirements:
|
363
293
|
- - ">="
|
@@ -367,11 +297,11 @@ dependencies:
|
|
367
297
|
- 3
|
368
298
|
version: "3"
|
369
299
|
type: :runtime
|
370
|
-
version_requirements: *
|
300
|
+
version_requirements: *id020
|
371
301
|
- !ruby/object:Gem::Dependency
|
372
302
|
name: jeweler
|
373
303
|
prerelease: false
|
374
|
-
requirement: &
|
304
|
+
requirement: &id021 !ruby/object:Gem::Requirement
|
375
305
|
none: false
|
376
306
|
requirements:
|
377
307
|
- - ">="
|
@@ -381,50 +311,57 @@ dependencies:
|
|
381
311
|
- 0
|
382
312
|
version: "0"
|
383
313
|
type: :development
|
384
|
-
version_requirements: *
|
314
|
+
version_requirements: *id021
|
385
315
|
description: Ruby wrapper for the OpenTox REST API (http://www.opentox.org)
|
386
316
|
email: helma@in-silico.ch
|
387
317
|
executables:
|
388
|
-
- opentox-install-ubuntu.sh
|
389
318
|
- opentox-install-debian.sh
|
319
|
+
- opentox-install-ubuntu.sh
|
390
320
|
extensions: []
|
391
321
|
|
392
322
|
extra_rdoc_files:
|
393
323
|
- LICENSE
|
394
|
-
- README.
|
324
|
+
- README.markdown
|
395
325
|
files:
|
396
326
|
- LICENSE
|
397
|
-
- README.
|
327
|
+
- README.markdown
|
398
328
|
- Rakefile
|
399
329
|
- VERSION
|
400
330
|
- bin/opentox-install-debian.sh
|
401
331
|
- bin/opentox-install-ubuntu.sh
|
402
332
|
- lib/algorithm.rb
|
333
|
+
- lib/authorization.rb
|
403
334
|
- lib/compound.rb
|
404
335
|
- lib/config/config_ru.rb
|
405
336
|
- lib/dataset.rb
|
406
337
|
- lib/environment.rb
|
338
|
+
- lib/error.rb
|
407
339
|
- lib/feature.rb
|
408
340
|
- lib/helper.rb
|
409
341
|
- lib/model.rb
|
342
|
+
- lib/ontology_service.rb
|
410
343
|
- lib/opentox-ruby.rb
|
411
344
|
- lib/opentox.owl
|
412
345
|
- lib/opentox.rb
|
413
346
|
- lib/overwrite.rb
|
414
347
|
- lib/parser.rb
|
348
|
+
- lib/policy.rb
|
415
349
|
- lib/rest_client_wrapper.rb
|
416
350
|
- lib/serializer.rb
|
417
351
|
- lib/spork.rb
|
418
352
|
- lib/task.rb
|
419
353
|
- lib/templates/config.yaml
|
354
|
+
- lib/templates/default_guest_policy.xml
|
355
|
+
- lib/templates/default_policy.xml
|
356
|
+
- lib/to-html.rb
|
420
357
|
- lib/validation.rb
|
421
358
|
has_rdoc: true
|
422
359
|
homepage: http://github.com/helma/opentox-ruby
|
423
360
|
licenses: []
|
424
361
|
|
425
362
|
post_install_message:
|
426
|
-
rdoc_options:
|
427
|
-
|
363
|
+
rdoc_options: []
|
364
|
+
|
428
365
|
require_paths:
|
429
366
|
- lib
|
430
367
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -448,7 +385,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
448
385
|
requirements: []
|
449
386
|
|
450
387
|
rubyforge_project:
|
451
|
-
rubygems_version: 1.
|
388
|
+
rubygems_version: 1.4.2
|
452
389
|
signing_key:
|
453
390
|
specification_version: 3
|
454
391
|
summary: Ruby wrapper for the OpenTox REST API
|
data/README.rdoc
DELETED
@@ -1,23 +0,0 @@
|
|
1
|
-
= opentox-ruby
|
2
|
-
|
3
|
-
Ruby wrapper for the OpenTox REST API (http://www.opentox.org)
|
4
|
-
|
5
|
-
== Installation
|
6
|
-
|
7
|
-
Run the following if you haven't already:
|
8
|
-
|
9
|
-
gem sources -a http://gems.github.com
|
10
|
-
|
11
|
-
Install the gem:
|
12
|
-
|
13
|
-
sudo gem install helma-opentox-ruby
|
14
|
-
|
15
|
-
== Usage
|
16
|
-
|
17
|
-
- adjust the settings in $HOME/.opentox/config
|
18
|
-
- require 'opentox-ruby' in your ruby application
|
19
|
-
- consult the rdoc API documentation for details
|
20
|
-
|
21
|
-
== Copyright
|
22
|
-
|
23
|
-
Copyright (c) 2009-2010 Christoph Helma. See LICENSE for details.
|