Sha256: 19d87e85df94cce6a1aa55102a3209d81697a319b57f6bfacbb8c2802842c81c

Contents?: true

Size: 1.75 KB

Versions: 5

Compression:

Stored size: 1.75 KB

Contents

# frozen_string_literal: true

lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'preservation/client/version'

Gem::Specification.new do |spec|
  spec.name          = 'preservation-client'
  spec.version       = Preservation::Client::VERSION
  spec.authors       = ['Naomi Dushay']
  spec.email         = ['ndushay@stanford.edu']

  spec.summary       = 'A thin client for getting info from SDR preservation.'
  spec.description   = 'A Ruby client for the RESTful HTTP APIs provided by the Preservation Catalog API.'
  spec.homepage      = 'https://github.com/sul-dlss/preservation-client'

  spec.metadata['allowed_push_host'] = 'https://rubygems.org/'

  spec.metadata['homepage_uri'] = spec.homepage
  spec.metadata['source_code_uri'] = 'https://github.com/sul-dlss/preservation-client.'

  # Specify which files should be added to the gem when it is released.
  # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
  spec.files = Dir.chdir(File.expand_path(__dir__)) do
    `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
  end
  spec.bindir        = 'exe'
  spec.executables   = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
  spec.require_paths = ['lib']

  spec.add_dependency 'activesupport', '>= 4.2', '< 7'
  spec.add_dependency 'faraday', '~> 0.15'
  spec.add_dependency 'zeitwerk', '~> 2.1'

  spec.add_development_dependency 'bundler', '~> 2.0'
  spec.add_development_dependency 'pry-byebug'
  spec.add_development_dependency 'rake', '~> 10.0'
  spec.add_development_dependency 'rspec', '~> 3.0'
  spec.add_development_dependency 'rubocop', '~> 0.74.0'
  spec.add_development_dependency 'simplecov'
  spec.add_development_dependency 'webmock'
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
preservation-client-0.3.0 preservation-client.gemspec
preservation-client-0.2.2 preservation-client.gemspec
preservation-client-0.2.1 preservation-client.gemspec
preservation-client-0.2.0 preservation-client.gemspec
preservation-client-0.1.0 preservation-client.gemspec