forked from joseph/onix
-
Notifications
You must be signed in to change notification settings - Fork 2
/
cacofonix.gemspec
39 lines (31 loc) · 1.43 KB
/
cacofonix.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
# frozen_string_literal: true
lib = File.expand_path("lib", __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "cacofonix/version"
Gem::Specification.new do |spec|
spec.name = "cacofonix"
spec.version = Cacofonix::VERSION
spec.authors = ["James Healy", "Tim Riley"]
spec.email = ["[email protected]", "[email protected]"]
spec.summary = "ONIX support for Ruby applications"
spec.description = spec.summary
spec.homepage = "https://github.com/icelab/cacofonix"
spec.license = "MIT"
spec.metadata["homepage_uri"] = spec.homepage
spec.metadata["source_code_uri"] = spec.homepage
spec.metadata["changelog_uri"] = "https://github.com/icelab/cacofonix/blob/master/CHANGELOG.md"
spec.files = Dir.chdir(File.expand_path("..", __FILE__)) do
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(spec)/}) }
end
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
spec.required_ruby_version = '>= 2.5'
spec.add_runtime_dependency "dry-core", ">= 0.4"
spec.add_runtime_dependency "roxml", "~> 4.0"
spec.add_runtime_dependency "nokogiri", "~> 1.0"
spec.add_runtime_dependency "cacofonix-dtds", "~> 0.1"
spec.add_development_dependency "bundler", "~> 2.0"
spec.add_development_dependency "rake", "~> 10.0"
spec.add_development_dependency "rspec", "~> 3.0"
end