Skip to content
Main gem for RayyanFormats with a converter command line utility
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
lib
spec
.coveralls.yml
.gitignore
.rspec
.travis.yml
Gemfile
Gemfile.lock
LICENSE
README.md
Rakefile
rayyan-formats.gemspec

README.md

Build Status Coverage Status

RayyanFormats

This gem offers a command line utility to convert between different reference file formats defined using plugins in the RayyanFormats::Plugins namespace. This is a list of known gems that offer such plugins:

It can also be used as a single gem dependency when working with RayyanFormats.

Installation

Add this line to your application's Gemfile:

gem 'rayyan-formats'

And then execute:

$ bundle

Or install it yourself as:

$ gem install rayyan-formats

Usage

Command line usage

To convert a Refman file to EndNote text:

$ rayyan-formats-convert input.ris output.enw

You can even combine multiple input files and convert them to a single output file:

$ rayyan-formats-convert input1.ris input2.csv input3.ciw output.enw

Ruby usage

args = %w(input1.ris output.enw)
begin
  RayyanFormats::Command.new(args).run
rescue => e
  # problem in conversion
  puts e.message
end

Testing

rspec

Or

rake

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request
You can’t perform that action at this time.