-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathosut.gemspec
37 lines (33 loc) · 1.57 KB
/
osut.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
lib = File.expand_path("lib", __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "osut/version"
Gem::Specification.new do |s|
# Specify which files should be added to the gem when it is released.
# "git ls-files -z" loads files in the RubyGem that have been added into git.
s.files = Dir.chdir(File.expand_path("..", __FILE__)) do
`git ls-files -z`.split("\x0").reject do |f|
f.match(%r{^(test|spec|features)/})
end
end
s.name = "osut"
s.version = OSut::VERSION
s.license = "BSD-3-Clause"
s.summary = "OpenStudio UTilities"
s.description = "General purpose utilities for OpenStudio SDK users"
s.authors = ["Denis Bourgeois"]
s.email = ["[email protected]"]
s.platform = Gem::Platform::RUBY
s.homepage = "https://github.com/rd2/osut"
s.bindir = "exe"
s.require_paths = ["lib"]
s.executables = s.files.grep(%r{^exe/}) { |f| File.basename(f) }
s.required_ruby_version = [">= 2.5.0", "< 4"]
s.metadata = {}
s.add_dependency "oslg", ">= 0.3.0"
s.add_development_dependency "bundler", "~> 2.1"
s.add_development_dependency "rake", "~> 13.0"
s.add_development_dependency "rspec", "~> 3.11"
s.metadata["homepage_uri" ] = s.homepage
s.metadata["source_code_uri"] = "#{s.homepage}/tree/v#{s.version}"
s.metadata["bug_tracker_uri"] = "#{s.homepage}/issues"
end