Sha256: ac5f944751c386af4056e1c482d396dbefed896d0bbdbd5f84cb592be31f543c

Contents?: true

Size: 1.91 KB

Versions: 1

Compression:

Stored size: 1.91 KB

Contents

["lib", "vendor/json-schema/lib"].each do |path|
  lib = File.expand_path(path, __dir__)
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
end

require "mountapi/version"

Gem::Specification.new do |spec|
  spec.name          = "mountapi"
  spec.version       = Mountapi::VERSION
  spec.authors       = ["Synbioz Team"]
  spec.email         = ["contact@synbioz.com"]

  spec.summary       = "Bind services to openapi specification driven HTTP/JSON endpoints"
  spec.description   = "Expose any services as rack application."
  spec.homepage      = "https://git.synbioz.com/synbioz/mountapi"

  # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
  # to allow pushing to a single host or delete this section to allow pushing to any host.
  # if spec.respond_to?(:metadata)
  #   spec.metadata["allowed_push_host"] = "https://gems.synbioz.com"
  # else
  #   raise "RubyGems 2.0 or newer is required to protect against " \
  #     "public gem pushes."
  # end

  # 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["**/*"].reject do |f|
    f.match(%r{^(test|example|ops)/})
  end

  spec.bindir        = "exe"
  spec.executables   = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
  spec.require_paths = ["lib", "vendor/json-schema/lib"]

  spec.add_dependency "addressable", "~> 2.8.0"
  spec.add_dependency "openapi3_parser", "~> 0.9"
  spec.add_dependency "rack", "~> 2.0"
  spec.add_dependency "rack-app", "~> 7.7"
  # Use custom fork for now, see Gemfile
  # spec.add_dependency "json-schema", "~> 2.9"
  spec.add_development_dependency "bundler", "~> 2.1"
  spec.add_development_dependency "byebug"
  spec.add_development_dependency "minitest", "~> 5.0"
  spec.add_development_dependency "rack-test", "~> 1.1"
  spec.add_development_dependency "rake", "~> 13.0"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mountapi-0.11.1 mountapi.gemspec