# -*- encoding: utf-8 -*-
version = File.read(File.expand_path("../SUFIA_VERSION",__FILE__)).strip

Gem::Specification.new do |gem|
  gem.authors       = ["Justin Coyne", 'Michael J. Giarlo']
  gem.email         = ["justin@curationexperts.com", 'leftwing@alumni.rutgers.edu']
  gem.description   = %q{Sufia is a Rails engine for creating a self-deposit institutional repository}
  gem.summary       = %q{Sufia was extracted from ScholarSphere developed by Penn State University}
  gem.homepage      = "http://github.com/projecthydra/sufia"

  gem.files         = `git ls-files`.split($\)
  gem.executables   = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
  gem.test_files    = gem.files.grep(%r{^(test|spec|features)/})
  gem.name          = "sufia"
  gem.require_paths = ["lib"]
  gem.version       = version
  gem.license       = 'APACHE2'

  gem.add_dependency 'sufia-models', version
  gem.add_dependency 'blacklight_advanced_search', '~> 5.0'
  gem.add_dependency 'blacklight', '~> 5.5'
  gem.add_dependency 'tinymce-rails', '~> 4.0.19'
  gem.add_dependency 'tinymce-rails-imageupload', '~> 4.0.16.beta'

  # sass-rails is typically generated into the app's gemfile by `rails new`
  # In rails 3 it's put into the "assets" group and thus not available to the
  # app. Blacklight 5.2 requires bootstrap-sass which requires (but does not
  # declare a dependency on) sass-rails
  gem.add_dependency 'sass-rails'

  gem.add_dependency 'hydra-batch-edit', '>= 1.1.1', '< 2.0.0'
  gem.add_dependency 'browse-everything', '~> 0.4'

  gem.add_dependency 'daemons', '~> 1.1'
  gem.add_dependency 'mail_form'
  gem.add_dependency 'rails_autolink', '~> 1.1'
  gem.add_dependency 'yaml_db', '~> 0.2'
  gem.add_dependency 'font-awesome-rails'
  gem.add_dependency 'hydra-editor', '~> 0.3'
  gem.add_dependency 'hydra-collections', '~> 2.0'
  gem.add_dependency 'bootstrap_form', '~> 2.1'
  gem.add_dependency 'bootstrap-sass', '< 3.2'
  gem.add_dependency 'blacklight-gallery'
  gem.add_dependency 'breadcrumbs_on_rails', '~>2.3.0'
  gem.add_dependency 'select2-rails'

  gem.add_development_dependency 'engine_cart'
  gem.add_development_dependency 'mida'
  gem.add_development_dependency 'database_cleaner'
  gem.add_development_dependency 'rspec-its'
  gem.add_development_dependency 'rspec-activemodel-mocks'
  gem.add_development_dependency "capybara"
  gem.add_development_dependency "poltergeist", "~> 1.5"
  gem.add_development_dependency "factory_girl_rails"
  gem.add_development_dependency "equivalent-xml"
end
