-
Notifications
You must be signed in to change notification settings - Fork 116
/
ruby-graphviz.gemspec
47 lines (37 loc) · 1.7 KB
/
ruby-graphviz.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
40
41
42
43
44
45
46
47
# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)
require "graphviz/constants"
Gem::Specification.new do |s|
s.name = "ruby-graphviz"
s.version = GraphViz::Constants::RGV_VERSION
s.platform = Gem::Platform::RUBY
s.license = "GPL-2.0"
s.authors = ["Gregoire Lejeune"]
s.summary = "Interface to the GraphViz graphing tool"
s.email = "gregoire.lejeune@free.fr"
s.homepage = "https://github.com/glejeune/Ruby-Graphviz"
s.description = "Ruby/Graphviz provides an interface to layout and generate images of directed graphs in a variety of formats (PostScript, PNG, etc.) using GraphViz."
s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]
s.extra_rdoc_files = ["README.md", "COPYING.md", "CHANGELOG.md"]
s.rdoc_options = ["--title", "Ruby/GraphViz", "--main", "README.md"]
s.post_install_message = %{
You need to install GraphViz (https://graphviz.org) to use this Gem.
For more information about Ruby-Graphviz :
* Doc: https://rdoc.info/github/glejeune/Ruby-Graphviz
* Sources: https://github.com/glejeune/Ruby-Graphviz
* Issues: https://github.com/glejeune/Ruby-Graphviz/issues
}
s.add_dependency "rexml"
s.add_development_dependency 'rake'
s.add_development_dependency 'rdoc'
s.add_development_dependency 'yard'
s.add_development_dependency 'github_changelog_generator'
s.add_development_dependency 'bundler'
s.add_development_dependency 'ronn' unless RUBY_PLATFORM == 'java'
s.add_development_dependency 'test-unit'
s.required_ruby_version = '>= 2.4.0'
s.requirements << 'GraphViz'
end