# frozen_string_literal: true lib = File.expand_path('lib', __dir__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'rake_template/version' files = %w[ bin lib CODE_OF_CONDUCT.md rake_template.gemspec Gemfile LICENSE.txt Rakefile README.md ] Gem::Specification.new do |spec| spec.name = 'rake_template' spec.version = RakeTemplate::VERSION spec.authors = ['InfraBlocks Maintainers'] spec.email = ['maintainers@infrablocks.io'] spec.summary = 'Rake tasks for rendering templates.' spec.description = 'Allows templates to be rendered based on values ' \ 'available within a Rakefile.' spec.homepage = 'https://github.com/infrablocks/rake_template' spec.license = 'MIT' spec.files = `git ls-files -z`.split("\x0").select do |f| f.match(/^(#{files.map { |g| Regexp.escape(g) }.join('|')})/) end spec.bindir = 'exe' spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } spec.require_paths = ['lib'] spec.required_ruby_version = '>= 2.7' spec.add_dependency 'rake_factory', '~> 0.23' spec.add_development_dependency 'activesupport' spec.add_development_dependency 'bundler' spec.add_development_dependency 'gem-release' spec.add_development_dependency 'memfs' spec.add_development_dependency 'rake' spec.add_development_dependency 'rake_circle_ci' spec.add_development_dependency 'rake_git' spec.add_development_dependency 'rake_git_crypt' spec.add_development_dependency 'rake_github' spec.add_development_dependency 'rake_gpg' spec.add_development_dependency 'rake_ssh' spec.add_development_dependency 'rspec' spec.add_development_dependency 'rubocop' spec.add_development_dependency 'rubocop-rake' spec.add_development_dependency 'rubocop-rspec' spec.add_development_dependency 'simplecov' spec.metadata['rubygems_mfa_required'] = 'false' end