Sha256: 7bdaf93e051139af810b044434fd8b6ee08661e49c69e4f5ac94d38731e84c54

Contents?: true

Size: 1.02 KB

Versions: 2

Compression:

Stored size: 1.02 KB

Contents

# frozen_string_literal: true
version = File.read(File.expand_path('VERSION', __dir__)).strip
lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)

Gem::Specification.new do |spec|
  spec.name          = 'problem_details'
  spec.version       = version
  spec.authors       = ['Nobuhiro Nikushi']
  spec.email         = ['deneb.ge@gmail.com']
  spec.summary       = 'An implementation of RFC 7807 Problem Details for HTTP APIs'
  spec.description   = spec.summary
  spec.homepage      = 'https://github.com/nikushi/problem_details'
  spec.license       = 'MIT'
  spec.files         = Dir['lib/**/*.rb'] + %w[
    CHANGELOG.md
    LICENSE.txt
    README.md
    Rakefile
    problem_details.gemspec
    VERSION
  ]
  spec.require_paths = ['lib']

  spec.required_ruby_version = '>= 2.0.0'

  spec.add_runtime_dependency 'rack', '>= 1.1.0'
  spec.add_development_dependency 'bundler', '>= 1.16'
  spec.add_development_dependency 'rake', '~> 10.0'
  spec.add_development_dependency 'rspec', '~> 3.0'
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
problem_details-0.2.3 problem_details.gemspec
problem_details-0.2.2 problem_details.gemspec