# frozen_string_literal: true require_relative 'lib/k_ext/github/version' Gem::Specification.new do |spec| spec.required_ruby_version = '>= 2.5' spec.name = 'k_ext-github' spec.version = KExt::Github::VERSION spec.authors = ['David Cruwys'] spec.email = ['david@ideasmen.com.au'] spec.summary = 'KExt/Github provides useful github extensions specifically for the klueless code generator' spec.description = <<-TEXT KExt/Github provides useful github extensions specifically for the klueless code generator TEXT spec.homepage = 'http://appydave.com/gems/k-ext-github' 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. raise 'RubyGems 2.0 or newer is required to protect against public gem pushes.' unless spec.respond_to?(:metadata) # spec.metadata['allowed_push_host'] = "Set to 'http://mygemserver.com'" spec.metadata['homepage_uri'] = spec.homepage spec.metadata['source_code_uri'] = 'https://github.com/klueless-io/k_ext-github' spec.metadata['changelog_uri'] = 'https://github.com/klueless-io/k_ext-github/commits/master' # Specify which files should be added to the gem when it is released. # The `git ls-files -z` loads the RubyGem files that have been added into git. spec.files = Dir.chdir(File.expand_path(__dir__)) do `git ls-files -z`.split("\x0").reject do |f| f.match(%r{^(test|spec|features)/}) end end spec.bindir = 'exe' spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } spec.require_paths = ['lib'] # spec.extensions = ['ext/k_ext_github/extconf.rb'] spec.add_dependency 'faraday-retry' spec.add_dependency 'k_config', '~> 0' spec.add_dependency 'k_log', '~> 0' spec.add_dependency 'k_type', '~> 0' spec.add_dependency 'k_util', '~> 0' spec.add_dependency 'octokit' spec.add_dependency 'virtus' spec.metadata['rubygems_mfa_required'] = 'true' end