File: ruby-graphviz.gemspec

package info (click to toggle)
ruby-graphviz 1.2.5-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 1,216 kB
  • sloc: ruby: 7,685; xml: 26; makefile: 17
file content (47 lines) | stat: -rw-r--r-- 1,745 bytes parent folder | download | duplicates (2)
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         = Dir.glob("**/*").select {|v| v !~ /^debian/}
  s.test_files    = s.files.grep(%r{^(test|spec|features|examples)/})
  s.executables   = s.files.grep(%r{^bin/}).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