-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpnm.gemspec
45 lines (34 loc) · 1.03 KB
/
pnm.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
# frozen_string_literal: true
require "./lib/pnm"
version = PNM::VERSION
date = PNM::DATE
homepage = PNM::HOMEPAGE
tagline = PNM::TAGLINE
Gem::Specification.new do |s|
s.name = "pnm"
s.version = version
s.date = date
s.description = "PNM is a pure Ruby library for creating, reading, " \
"and writing of PNM image files (Portable Anymap): " \
"PBM (Portable Bitmap), " \
"PGM (Portable Graymap), and " \
"PPM (Portable Pixmap)."
s.summary = "PNM - #{tagline}"
s.authors = ["Marcus Stollsteimer"]
s.email = "[email protected]"
s.homepage = homepage
s.license = "GPL-3.0"
s.required_ruby_version = ">= 2.6.0"
s.require_paths = ["lib"]
s.test_files = Dir.glob("test/**/test_*.rb")
s.files =
%w[
README.md
Rakefile
pnm.gemspec
.yardopts
] +
Dir.glob("{benchmark,lib,test}/**/*")
s.extra_rdoc_files = ["README.md"]
s.rdoc_options = ["--charset=UTF-8", "--main=README.md"]
end