forked from glejeune/Ruby-Graphviz
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ruby-graphviz.gemspec
51 lines (41 loc) · 1.91 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
48
49
50
51
# -*- 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 = "[email protected]"
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.rubyforge_project = 'ruby-asp'
s.has_rdoc = true
s.extra_rdoc_files = ["README.rdoc", "COPYING.rdoc", "AUTHORS.rdoc", "CHANGELOG.rdoc"]
s.rdoc_options = ["--title", "Ruby/GraphViz", "--main", "README.rdoc"]
s.post_install_message = %{
You need to install GraphViz (http://graphviz.org/) to use this Gem.
For more information about Ruby-Graphviz :
* Doc: http://rdoc.info/projects/glejeune/Ruby-Graphviz
* Sources: https://github.com/glejeune/Ruby-Graphviz
* Issues: https://github.com/glejeune/Ruby-Graphviz/issues
Last (important) changes :
Ruby-Graphviz no longer supports Ruby < 1.9.3
}
s.add_development_dependency 'mustache', "~> 0.99.8" if RUBY_VERSION =~ /^1[.]9[.]/
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 = '>= 1.9.3'
s.requirements << 'GraphViz'
end