wurmlab/sequenceserver

View on GitHub
sequenceserver.gemspec

Summary

Maintainability
Test Coverage
require File.expand_path('lib/sequenceserver/version.rb',
                         File.dirname(__FILE__))
Gem::Specification.new do |s|
  # meta
  s.name        = 'sequenceserver'
  s.version     = SequenceServer::VERSION
  s.authors     = ['Queen Mary University of London',
                   'Pragmatic Genomics Ltd']
  s.email       = ['contact@sequenceserver.com']
  s.homepage    = 'https://sequenceserver.com'
  s.license     = 'AGPL-3.0'

  s.summary     = 'BLAST search made easy!'
  s.description = <<~DESC
    SequenceServer lets you rapidly set up a BLAST+ server with an intuitive
    user interface for use locally or over the web.
  DESC

  # dependencies
  s.required_ruby_version = '>= 3.0.6'

  s.add_dependency('json_pure',   '~> 2.6',  '>= 2.6.3')
  s.add_dependency('ox',          '~> 2.1',  '>= 2.1.1')
  s.add_dependency('rack_csrf',   '~> 2.7',  '>= 2.7.0')
  s.add_dependency('rackup')
  s.add_dependency('rest-client', '~> 2.1', '>= 2.1.0')
  s.add_dependency('rubyzip',     '~> 2.3', '>= 2.3.2')
  s.add_dependency('sinatra',     '~> 4.0')
  s.add_dependency('slop',        '~> 3.6',  '>= 3.6.0')
  s.add_dependency('webrick',     '~> 1.8',  '>= 1.8.0')

  s.add_development_dependency('capybara', '~> 3.40', '>= 3.40.0')
  s.add_development_dependency('capybara-screenshot', '~> 1.0', '>= 1.0.23')
  s.add_development_dependency('pry')
  s.add_development_dependency('rack-test', '~> 2.1')
  s.add_development_dependency('rspec', '~> 3.13', '>= 3.13.0')
  s.add_development_dependency('rubocop', '~> 1.50', '>= 1.50.1')
  s.add_development_dependency('selenium-webdriver', '~> 4.18.0', '>= 4.18.1')
  s.add_development_dependency('simplecov', '~> 0.22.0', '>= 0.22.0')

  # gem
  s.files         = Dir['{bin,lib,public,views}/**/*'] +
                    %w[config.ru COPYRIGHT.txt LICENSE]
  s.executables   = ['sequenceserver']
  s.require_paths = ['lib']

  # post install information
  s.post_install_message = <<~INFO

    ------------------------------------------------------------------------
      Thank you for installing SequenceServer :)
      To launch SequenceServer execute 'sequenceserver' from command line.

        $ sequenceserver

      More information at https://sequenceserver.com
      Community support: https://support.sequenceserver.com
      For point-and-click setup, and to avoid the hassle of running your own
      servers, check SequenceServer Cloud: https://sequenceserver.com/cloud
    ------------------------------------------------------------------------

  INFO
end