Sha256: c3d6eb9a14ae358e25a6d9c8debf08849516a173f754ebb0da1000e58617caf8

Contents?: true

Size: 1.86 KB

Versions: 5

Compression:

Stored size: 1.86 KB

Contents

lib = File.expand_path("../lib", __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "svix/version"

Gem::Specification.new do |spec|
  spec.name          = "svix"
  spec.version       = Svix::VERSION
  spec.authors       = ["Svix"]
  spec.email         = ["support@svix.com"]
  spec.license       = "MIT"

  spec.summary       = "Ruby bindings for the Svix API"
  spec.description   = "Svix makes webhooks easy and reliable.  " \
                       "Learn more at https://www.svix.com"
  spec.homepage      = "https://www.svix.com"

  # 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://rubygems.org"

    spec.metadata["homepage_uri"] = spec.homepage
    spec.metadata["source_code_uri"] = "https://github.com/svix/svix-libs"
    spec.metadata["changelog_uri"] = "https://github.com/svix/svix-libs/blob/main/ChangeLog.md"
  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.
  ignored = Regexp.union(
    /\A\.openapi-generator/,
    /\Aspec/,
    /\Apkg/,
    /\Atemplates/,
    /\A.gitignore/,
    /\A.openapi-generator-ignore/,
    /\Aopenapi-generator-config.json/,
    /.gem\z/
  )
  spec.files = Dir['**/*'].reject {|f| !File.file?(f) || ignored.match(f) }

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

  spec.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1'

  spec.add_development_dependency "bundler", "~> 1.17"
  spec.add_development_dependency "rake", "~> 13.0"
  spec.add_development_dependency "rspec", "~> 3.2"
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
svix-0.38.0 svix.gemspec
svix-0.37.0 svix.gemspec
svix-0.36.0 svix.gemspec
svix-0.34.1 svix.gemspec
svix-0.32.0 svix.gemspec