-
Notifications
You must be signed in to change notification settings - Fork 11
/
emasser.gemspec
44 lines (38 loc) · 2.13 KB
/
emasser.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# frozen_string_literal: true
require_relative 'lib/emasser/version'
Gem::Specification.new do |spec|
spec.name = 'emasser'
spec.version = Emasser::VERSION
spec.authors = ['Amndeep Singh Mann', 'George Dias', 'Kyle Fagan', 'Robert Clark', 'Aaron Lippold']
spec.email = ['[email protected]']
spec.licenses = ['Apache-2.0']
spec.summary = 'Provide an automated capability for invoving eMASS API endpoints'
spec.description = 'The emasser can be used as a gem or used from the command line (CL) to access eMASS endpoints via their API.'
spec.homepage = 'https://saf.mitre.org'
spec.required_ruby_version = Gem::Requirement.new('~> 2.5')
# 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.
spec.files = Dir.chdir(File.expand_path(__dir__)) do
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(emass_client|test|spec|features)/}) }
end
spec.bindir = 'exe'
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
# References: https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-rubygems-registry
spec.metadata = { "github_repo" => "ssh://github.com/mitre/emasser" }
spec.add_runtime_dependency 'activesupport', '>= 6.1.4', '< 7.1.0'
spec.add_runtime_dependency 'colorize', '~> 0.8.1'
spec.add_runtime_dependency 'dotenv', '~> 2.7.6'
spec.add_runtime_dependency 'rubyzip', '~> 2.3.2'
spec.add_runtime_dependency 'thor', '~> 1.1.0'
spec.add_runtime_dependency 'emass_client', '~> 3.12'
spec.add_development_dependency 'bundler', '~> 2.3'
spec.add_development_dependency 'bundler-audit', '~> 0.7'
spec.add_development_dependency 'byebug', '~> 11.1.3'
spec.add_development_dependency 'rspec', '~> 3.10.0'
spec.add_development_dependency 'yaml', '~> 0.2.0'
spec.add_development_dependency 'rake', '~> 13.0'
spec.add_development_dependency 'rubocop', '~> 1.7'
spec.add_development_dependency 'rubocop-minitest', '~> 0.10'
spec.add_development_dependency 'rubocop-performance', '~> 1.11'
spec.add_development_dependency 'rubocop-rake', '~> 0.5'
end