autotelik/datashift

View on GitHub
datashift.gemspec

Summary

Maintainability
Test Coverage
$LOAD_PATH.push File.expand_path('lib', __dir__)

# Maintain your gem"s version:
require 'datashift/version'

Gem::Specification.new do |s|

  s.name = 'datashift'
  s.version = DataShift::VERSION
  s.authors = ['Thomas Statter']
  s.email = 'datashift@autotelik.co.uk'
  s.homepage = 'http://github.com/autotelik/datashift'
  s.summary = 'Shift data between Excel/CSV and any Ruby app'
  s.description = 'Comprehensive import/export tools between Excel/CSV & ActiveRecord Databases, Rails apps, and any Ruby project.'
  s.license     = 'MIT'

  s.required_ruby_version = '~> 2'

  s.required_rubygems_version = Gem::Requirement.new('>= 0') if s.respond_to? :required_rubygems_version=

  s.files = Dir['{lib}/**/*', 'LICENSE.md', 'README.md', 'datashift.thor']
  s.require_paths = ['lib']

  s.add_runtime_dependency 'rails', '>= 4.2'
  s.add_runtime_dependency 'thor', '>= 0.19.0', '< 2.0'
  s.add_runtime_dependency 'paperclip', '>= 4.3', '<= 6.0.0'
  s.add_runtime_dependency 'spreadsheet', '~> 1.1'

  s.add_dependency "rubyzip", ">= 1.3.0"

  s.add_runtime_dependency 'thread_safe', '~> 0.3', '>= 0.3'

  # for the dummy rails sandbox used in testing
  s.add_development_dependency 'rubocop', '~> 0.38'

  s.add_development_dependency 'factory_bot_rails', '~> 4.8', '>= 4.8.2'
  s.add_development_dependency 'rake', '~> 11'
  s.add_development_dependency 'rspec', '~> 3.4'

  s.add_development_dependency 'database_cleaner', '~> 1.5'

  # not required locally but travis chokes without this
  s.add_development_dependency 'listen', '~> 3'

end