key_tree.gemspec in key_tree-0.5.3 vs key_tree.gemspec in key_tree-0.6.0
- old
+ new
@@ -1,31 +1,39 @@
+# frozen_string_literal: true
lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
-require 'key_tree/version'
+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 = KeyTree::VERSION
- spec.date = KeyTree::DATE
+ spec.version = GIT_VERSION
spec.authors = ['Calle Englund']
spec.email = ['calle@discord.bofh.se']
spec.summary = 'Manage trees of keys'
- spec.description = spec.summary
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.add_dependency 'git-version-bump', '~> 0.15'
+ 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