Sha256: e979966f89b9d1058960e8b4ec77dd6b3fbf369606e91b59a670bfbeb31e18f1

Contents?: true

Size: 1.23 KB

Versions: 1

Compression:

Stored size: 1.23 KB

Contents

# frozen_string_literal: true

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

Gem::Specification.new do |spec|
  spec.name          = 'pragma-contract'
  spec.version       = Pragma::Contract::VERSION
  spec.authors       = ['Alessandro Desantis']
  spec.email         = ['desa.alessandro@gmail.com']

  spec.summary       = 'Form objects on steroids for your HTTP API.'
  spec.homepage      = 'https://github.com/pragmarb/pragma-contract'
  spec.license       = 'MIT'

  spec.files         = `git ls-files -z`.split("\x0").reject do |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 'adaptor', '~> 0.2'
  spec.add_dependency 'dry-types', '~> 0.12.0'
  spec.add_dependency 'dry-validation', '~> 0.11.1'
  spec.add_dependency 'reform', '~> 2.2'

  spec.add_development_dependency 'bundler'
  spec.add_development_dependency 'coveralls'
  spec.add_development_dependency 'rake'
  spec.add_development_dependency 'rspec'
  spec.add_development_dependency 'rubocop'
  spec.add_development_dependency 'rubocop-rspec'
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pragma-contract-2.1.1 pragma-contract.gemspec