-
Notifications
You must be signed in to change notification settings - Fork 238
/
gruff.gemspec
34 lines (30 loc) · 1.2 KB
/
gruff.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
# frozen_string_literal: true
lib = File.expand_path('lib')
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'date'
require 'gruff/version'
Gem::Specification.new do |s|
s.name = 'gruff'
s.version = Gruff::VERSION
s.authors = ['Geoffrey Grosenbach', 'Uwe Kubosch']
s.description = 'Beautiful graphs for one or multiple datasets. Can be used on websites or in documents.'
s.email = '[email protected]'
s.files = `git ls-files`.split.grep_v(/^test|^docker|^before_install_linux.sh|^Rakefile/i)
s.homepage = 'https://github.com/topfunky/gruff'
s.require_paths = %w[lib]
s.summary = 'Beautiful graphs for one or multiple datasets.'
s.license = 'MIT'
s.executables = s.files.grep(%r{^bin/}).map { |f| File.basename(f) }
if defined? JRUBY_VERSION
s.platform = 'java'
s.add_dependency 'rmagick4j'
else
s.add_dependency 'rmagick', '>= 5.5'
end
s.add_dependency 'bigdecimal', '>= 3.0'
s.add_dependency 'histogram'
s.required_ruby_version = '>= 3.0.0'
s.metadata['bug_tracker_uri'] = 'https://github.com/topfunky/gruff/issues'
s.metadata['changelog_uri'] = 'https://github.com/topfunky/gruff/blob/master/CHANGELOG.md'
s.metadata['rubygems_mfa_required'] = 'true'
end