Sha256: 8b33297f30d9b090f15a83636c4e610b5f7754ee1b66844741a6d030c2641fe5

Contents?: true

Size: 1.83 KB

Versions: 3

Compression:

Stored size: 1.83 KB

Contents

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

Gem::Specification.new do |spec|
  spec.name          = 'barkibu-kb-fake'
  spec.version       = KB::VERSION
  spec.authors       = ['Léo Figea']
  spec.email         = ['leo@barkibu.com']

  spec.summary       = "Barkibu's Knowledge Base Fake API"
  spec.description   = "A fake API of Barkibu's Knowledge Base destined to be used in tests for application using the kb-ruby gem." # rubocop:disable Layout/LineLength
  spec.homepage      = 'https://app.barkibu.com'
  spec.license       = 'MIT'

  # 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'] = 'http://mygemserver.com'

    spec.metadata['homepage_uri'] = spec.homepage
    # spec.metadata["source_code_uri"] = "TODO: Put your gem's public repo URL here."
    # spec.metadata["changelog_uri"] = "TODO: Put your gem's CHANGELOG.md URL here."
  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 = `git ls-files -- lib | grep fake`.split("\n").reject { |f| f.match(%r{^(test|spec|features)/}) }
  spec.bindir        = 'exe'
  spec.executables   = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
  spec.require_paths = ['lib']
  spec.required_ruby_version = '>= 2.6', '< 3.3'

  spec.add_runtime_dependency 'barkibu-kb', KB::VERSION
  spec.add_runtime_dependency 'countries'
  spec.add_runtime_dependency 'sinatra'
  spec.add_runtime_dependency 'webmock'
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
barkibu-kb-0.27.0 barkibu-kb-fake.gemspec
barkibu-kb-0.26.0 barkibu-kb-fake.gemspec
barkibu-kb-0.25.0 barkibu-kb-fake.gemspec