-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhaku.gemspec
56 lines (48 loc) · 1.37 KB
/
haku.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
# frozen_string_literal: true
require_relative "lib/haku/version"
Gem::Specification.new do |spec|
#
## INFORMATION
#
spec.name = "haku"
spec.version = Haku.version
spec.summary = "A simple library for build simple service objects"
spec.homepage = "https://github.com/javierav/haku"
spec.license = "MIT"
#
## OWNERSHIP
#
spec.authors = ["Javier Aranda"]
spec.email = ["[email protected]"]
#
## METADATA
#
spec.metadata["homepage_uri"] = spec.homepage
spec.metadata["source_code_uri"] = "https://github.com/javierav/haku/tree/v#{spec.version}"
spec.metadata["changelog_uri"] = "https://github.com/javierav/haku/blob/v#{spec.version}/CHANGELOG.md"
spec.metadata["rubygems_mfa_required"] = "true"
#
## GEM
#
spec.files = Dir.chdir(File.expand_path(__dir__)) do
`git ls-files -z`.split("\x0").reject do |f|
(f == __FILE__) || f.match(%r{\A(?:(?:bin|test|spec|features)/|\.(?:git|travis|circleci)|appveyor)})
end
end
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
#
## DOCUMENTATION
#
spec.extra_rdoc_files = %w[LICENSE README.md]
spec.rdoc_options = ["--charset=UTF-8"]
#
## REQUIREMENTS
#
spec.required_ruby_version = ">= 2.7.0"
#
## DEPENDENCIES
#
spec.add_dependency "activesupport", ">= 6.1", "< 8.0"
end