-
Notifications
You must be signed in to change notification settings - Fork 450
/
ohai.gemspec
35 lines (30 loc) · 1.13 KB
/
ohai.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
# frozen_string_literal: true
$:.unshift File.expand_path("lib", __dir__)
require "ohai/version"
Gem::Specification.new do |s|
s.name = "ohai"
s.version = Ohai::VERSION
s.summary = "Ohai profiles your system and emits JSON"
s.description = s.summary
s.license = "Apache-2.0"
s.author = "Adam Jacob"
s.email = "[email protected]"
s.homepage = "https://github.com/chef/ohai/"
s.required_ruby_version = ">= 2.7"
s.add_dependency "chef-config", ">= 14.12", "< 20"
s.add_dependency "chef-utils", ">= 16.0", "< 20"
s.add_dependency "ffi", "~> 1.9"
s.add_dependency "ffi-yajl", "~> 2.2"
s.add_dependency "ipaddress"
s.add_dependency "mixlib-cli", ">= 1.7.0" # 1.7+ needed to support passing multiple options
s.add_dependency "mixlib-config", ">= 2.0", "< 4.0"
s.add_dependency "mixlib-log", ">= 2.0.1", "< 4.0"
s.add_dependency "mixlib-shellout", "~> 3.2", ">= 3.2.5"
s.add_dependency "plist", "~> 3.1"
s.add_dependency "train-core"
s.add_dependency "wmi-lite", "~> 1.0"
s.bindir = "bin"
s.executables = %w{ohai}
s.require_path = "lib"
s.files = %w{LICENSE Gemfile} + Dir.glob("*.gemspec") + Dir.glob("lib/**/*")
end