# frozen_string_literal: true lib = File.expand_path('lib', __dir__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) begin require 'git-version-bump' GIT_VERSION = GVB.version.freeze rescue LoadError GIT_VERSION = '0.0.0.UNDEF' end Gem::Specification.new do |spec| spec.name = 'key_tree' spec.version = GIT_VERSION spec.authors = ['Calle Englund'] spec.email = ['calle@discord.bofh.se'] spec.summary = 'Manage trees of keys' spec.homepage = 'https://github.com/notcalle/ruby-keytree' 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.platform = Gem::Platform::RUBY spec.required_ruby_version = '~> 2.3' spec.add_development_dependency 'bundler', '~> 1.16' spec.add_development_dependency 'git-version-bump', '~> 0.15' spec.add_development_dependency 'rake', '~> 10.0' spec.add_development_dependency 'rspec', '~> 3.0' spec.add_development_dependency 'rubocop', '~> 0.52' spec.add_development_dependency 'ruby-prof', '~> 0.17' end