-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathemasser.gemspec
50 lines (44 loc) · 2.4 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
45
46
47
48
49
50
# 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('~> 3.2')
# 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" }
# ---- Run Time Dependencies
spec.add_runtime_dependency 'activesupport', '>= 6.1.4', '< 7.1.0'
spec.add_runtime_dependency 'colorize', '~> 1.1.0'
spec.add_runtime_dependency 'dotenv', '~> 3.1.2'
spec.add_runtime_dependency 'rubyzip', '~> 2.3.2'
spec.add_runtime_dependency 'thor', '~> 1.3.0'
spec.add_runtime_dependency 'emass_client', '~> 3.20'
# ---- Development Dependencies
spec.add_development_dependency 'bundler', '~> 2.5'
spec.add_development_dependency 'bundler-audit', '~> 0.9'
# byebug - does not work with ruby 3.3.3
spec.add_development_dependency 'byebug', '~> 11.1.3'
spec.add_development_dependency 'rspec', '~> 3.13.0'
spec.add_development_dependency 'yaml', '~> 0.3.0'
spec.add_development_dependency 'rake', '~> 13.2.1'
spec.add_development_dependency 'rubocop', '~> 1.7'
# spec.add_development_dependency 'rubocop', '~> 1.64'
spec.add_development_dependency 'rubocop-minitest', '~> 0.35'
spec.add_development_dependency 'rubocop-performance', '~> 1.21'
spec.add_development_dependency 'rubocop-rake', '~> 0.6'
# solargraph - does not work with ruby 3.3.3
spec.add_development_dependency 'solargraph', '~> 0.50'
end