limited-effort/snfoil-context

View on GitHub
snfoil-context.gemspec

Summary

Maintainability
Test Coverage
# frozen_string_literal: true

require_relative 'lib/snfoil/context/version'

Gem::Specification.new do |spec|
  spec.name          = 'snfoil-context'
  spec.version       = SnFoil::Context::VERSION
  spec.authors       = ['Matthew Howes', 'Cliff Campbell']
  spec.email         = ['howeszy@gmail.com', 'cliffcampbell@hey.com']

  spec.summary       = 'Setup Simple Pipelined Workflows'
  spec.description   = 'An easy way to make extensible workflows and actions'
  spec.homepage      = 'https://github.com/limited-effort/snfoil-context'
  spec.license       = 'Apache-2.0'
  spec.required_ruby_version = '>= 2.6'

  spec.metadata['homepage_uri'] = spec.homepage
  spec.metadata['source_code_uri'] = spec.homepage
  spec.metadata['changelog_uri'] = 'https://github.com/limited-effort/snfoil-context/blob/main/CHANGELOG.md'
  spec.metadata['rubygems_mfa_required'] = 'true'

  # 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.
  ignore_list = %r{\A(?:test/|spec/|bin/|features/|Rakefile|\.\w)}
  spec.files = Dir.chdir(File.expand_path(__dir__)) { `git ls-files -z`.split("\x0").reject { |f| f.match(ignore_list) } }

  spec.bindir        = 'exe'
  spec.executables   = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
  spec.require_paths = ['lib']

  spec.add_dependency 'activesupport', '>= 5.2.6'
end