ManageIQ/linux_admin

View on GitHub
linux_admin.gemspec

Summary

Maintainability
Test Coverage
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'linux_admin/version'

Gem::Specification.new do |spec|

  # Dynamically create the authors information {name => e-mail}
  authors_hash = Hash[`git log --no-merges --reverse --format='%an,%ae'`.split("\n").uniq.collect {|i| i.split(",")}]

  spec.name          = "linux_admin"
  spec.version       = LinuxAdmin::VERSION
  spec.authors       = authors_hash.keys
  spec.email         = authors_hash.values
  spec.description   = %q{
LinuxAdmin is a module to simplify management of linux systems.
It should be a single place to manage various system level configurations,
registration, updates, etc.
}
  spec.summary       = %q{LinuxAdmin is a module to simplify management of linux systems.}
  spec.homepage      = "http://github.com/ManageIQ/linux_admin"
  spec.license       = "MIT"

  spec.files         = `git ls-files -- lib/*`.split("\n")
  spec.files        += %w[README.md LICENSE.txt]
  spec.executables   = `git ls-files -- bin/*`.split("\n")
  spec.require_paths = ["lib"]

  spec.required_ruby_version = Gem::Requirement.new(">= 2.6")

  spec.add_development_dependency "manageiq-style"
  spec.add_development_dependency "rake"
  spec.add_development_dependency "rspec",    "~> 3.0"
  spec.add_development_dependency "rubocop"

  spec.add_dependency "awesome_spawn",        "~> 1.6"
  spec.add_dependency "bcrypt_pbkdf",         ">= 1.0", "< 2.0"
  spec.add_dependency "ed25519",              ">= 1.2", "< 2.0"
  spec.add_dependency "inifile"
  spec.add_dependency "more_core_extensions", "~> 4.0"
  spec.add_dependency "net-ssh",              "~> 7.2.3"
  spec.add_dependency "nokogiri",             ">= 1.8.5", "!=1.10.0", "!=1.10.1", "!=1.10.2", "<2"
  spec.add_dependency "openscap"
  spec.add_development_dependency "simplecov", ">= 0.21.2"
end