-
Notifications
You must be signed in to change notification settings - Fork 0
/
nummy.gemspec
63 lines (51 loc) · 2.05 KB
/
nummy.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
52
53
54
55
56
57
58
59
60
61
62
63
# frozen_string_literal: true
require_relative "lib/nummy/version"
Gem::Specification.new do |spec|
spec.name = "nummy"
spec.version = Nummy::VERSION
spec.authors = ["Benjamin Chauvette"]
spec.email = ["[email protected]"]
spec.summary = "Tasty enumeration utilities"
spec.description = <<~DESC
Nummy provides utilities that that build on Ruby's Enumerable module to
provide functionality like enumerated types ("enums"), enumerating over
constants in a module, and enumerating over the members of data classes.
This module does NOT add additional methods to the Enumerable module, or
change its behavior in any way.
DESC
spec.homepage = "https://github.com/bdchauvette/nummy"
spec.license = "MIT-0"
# Requires 3.2.0 because of using +const_added+ to track constant insertion order.
spec.required_ruby_version = ">= 3.2.0"
spec.metadata["homepage_uri"] = spec.homepage
spec.metadata["documentation_uri"] = spec.homepage
spec.metadata["source_code_uri"] = spec.homepage
spec.metadata["changelog_uri"] = "#{spec.homepage}/blob/main/CHANGELOG.md"
spec.metadata["rubygems_mfa_required"] = "true"
spec.files =
Dir.chdir(__dir__) do
Dir[
"lib/**/*",
# "sig/**/*", # someday...
"CHANGELOG.md",
"LICENSE.TXT",
"README.md"
]
end
spec.require_paths = ["lib"]
spec.add_development_dependency "activesupport"
spec.add_development_dependency "minitest"
spec.add_development_dependency "minitest-reporters"
spec.add_development_dependency "rake"
spec.add_development_dependency "rubocop"
spec.add_development_dependency "rubocop-minitest"
spec.add_development_dependency "rubocop-packaging"
spec.add_development_dependency "rubocop-rake"
spec.add_development_dependency "rubocop-yard"
spec.add_development_dependency "simplecov"
spec.add_development_dependency "simplecov-erb"
spec.add_development_dependency "simplecov-lcov"
spec.add_development_dependency "syntax_tree"
spec.add_development_dependency "webrick"
spec.add_development_dependency "yard"
end