Changeset 131


Ignore:
Timestamp:
Jul 22, 2011, 12:34:02 PM (5 years ago)
Author:
kostas.karasavvas@…
Message:

Minor clean up of get_workflow_data.rb and documentation. Added libxml-ruby dependency in gem spec.

Location:
myexperiment-rest
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • myexperiment-rest/CHANGES

    r129 r131  
    11= Changes log for the MyExperiment via REST Gem
    22
     3== Version 0.2.7
     4* Minor clean up of get_workflow_data.rb and documentation.
     5* Added libxml-ruby dependency in gem specification.
     6
     7
    38== Version 0.2.6
    4 * Added dependency in gem specification.
     9* Added rest-client dependency version in gem specification.
    510
    611
  • myexperiment-rest/README

    r129 r131  
    22
    33Authors::     Konstantinos Karasavvas
    4 Gem Version:: 0.2.6
     4Gem Version:: 0.2.7
    55Contact::     mailto:kostas.karasavvas@nbic.nl
    66Licence::     MIT (See LICENCE or http://www.opensource.org/licenses/mit-license)
     
    2626== Installation
    2727
    28 [sudo] gem install myexperiment-rest
     28  [sudo] gem install myexperiment-rest
    2929
    3030
  • myexperiment-rest/Rakefile

    r129 r131  
    1313spec = Gem::Specification.new do |s|
    1414  s.name = 'myexperiment-rest'
    15   s.version = '0.2.6'
     15  s.version = '0.2.7'
    1616  s.extra_rdoc_files = ['README', 'LICENSE', 'CHANGES']
    1717  s.summary = 'This is a simple library to access data on myExperiment via its REST API. Currently supports a subset of the workflow information available.'
     
    2323  s.require_path = "lib"
    2424  s.bindir = "bin"
    25   s.add_dependency 'rest-client'
     25  s.add_dependency 'rest-client', '>= 1.6.3'
     26  s.add_dependency 'libxml-ruby', '>= 2.0.5'
    2627end
    2728
  • myexperiment-rest/bin/get_workflow_data.rb

    r104 r131  
    66include MyExperimentREST
    77
    8 if ARGV[0] == nil
    9   wkf = Workflows.new.read('http://www.myexperiment.org/workflows/74/download/bioaid_proteindiscovery_221429.xml?version=3')
    10 else
    11   wkf = Workflows.new.read(ARGV[0])
    12 end
     8my_exp_workflow = ARGV[0] || "http://www.myexperiment.org/workflows/74/download/bioaid_proteindiscovery_221429.xml?version=3"
     9wkf = Workflows.new.read(my_exp_workflow)
     10
    1311
    1412
Note: See TracChangeset for help on using the changeset viewer.