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
51
52
53
54
55
|
$:.unshift File.expand_path("../lib", __FILE__)
require "ohai/version"
Gem::Specification.new do |s|
s.name = "ohai"
s.version = Ohai::VERSION
s.platform = Gem::Platform::RUBY
s.summary = "Ohai profiles your system and emits JSON"
s.description = s.summary
s.license = "Apache-2.0"
s.author = "Adam Jacob"
s.email = "adam@chef.io"
s.homepage = "https://docs.chef.io/ohai.html"
s.required_ruby_version = ">= 2.1.0"
s.add_dependency "systemu", "~> 2.6.4"
s.add_dependency "ffi-yajl", "~> 2.2"
s.add_dependency "mixlib-cli"
s.add_dependency "mixlib-config", "~> 2.0"
s.add_dependency "mixlib-log", ">= 1.7.1", "< 2.0"
s.add_dependency "mixlib-shellout", "~> 2.0"
s.add_dependency "plist", "~> 3.1"
s.add_dependency "ipaddress"
s.add_dependency "wmi-lite", "~> 1.0"
s.add_dependency "ffi", "~> 1.9"
# Note for ohai developers: If chef-config causes you grief, try:
# bundle install --with development
# this should work as long as chef is a development dependency in Gemfile.
#
# Chef depends on ohai and chef-config. Ohai depends on chef-config. The
# version of chef-config that chef depends on is whatver version chef
# happens to be on master. This will need to be updated again once work on
# Chef 13 starts, otherwise builds will break.
s.add_dependency "chef-config", ">= 12.5.0.alpha.1", "< 13"
s.add_development_dependency "rake", ">= 10.1.0", "< 12.0.0"
s.add_development_dependency "rspec-core", "~> 3.0"
s.add_development_dependency "rspec-expectations", "~> 3.0"
s.add_development_dependency "rspec-mocks", "~> 3.0"
s.add_development_dependency "rspec-collection_matchers", "~> 1.0"
s.add_development_dependency "rspec_junit_formatter"
s.add_development_dependency "github_changelog_generator", "1.13.1"
# github_changelog_generator -> github-api -> oauth2 -> rack
# rack being unconstrained breaks Ruby 2.1 installs
s.add_development_dependency "rack", "~> 1.0"
s.bindir = "bin"
s.executables = %w{ohai}
s.require_path = "lib"
s.files = %w{LICENSE README.md Gemfile Rakefile} + Dir.glob("*.gemspec") + Dir.glob("{docs,lib,spec}/**/*")
end
|