Repository navigation
Expand file tree
/
Copy pathfledge.gemspec
More file actions
48 lines (42 loc) · 1.51 KB
/
Copy pathfledge.gemspec
File metadata and controls
48 lines (42 loc) · 1.51 KB
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
# frozen_string_literal: true
#--
# SPDX-FileCopyrightText: 2026 Kerrick Long <me@kerricklong.com>
# SPDX-License-Identifier: AGPL-3.0-or-later
#++
require_relative "lib/fledge/version"
Gem::Specification.new do |spec|
spec.name = "fledge"
spec.version = Fledge::VERSION
spec.authors = ["Kerrick Long"]
spec.email = ["me@kerricklong.com"]
spec.summary = "Ship a Ruby app to people who don't have Ruby."
spec.description = File.read(File.expand_path("README.rdoc", __dir__))
spec.homepage = "https://github.com/setdef/Fledge"
spec.license = "AGPL-3.0-or-later"
spec.required_ruby_version = ">= 4.0.1"
spec.required_rubygems_version = ">= 3.3.11"
# Fledge is not on RubyGems.org; releases are tags and GitHub Releases
# (ADR 001). This host keeps a stray gem push from publishing it.
spec.metadata["allowed_push_host"] = "https://fledge.invalid"
spec.metadata["rubygems_mfa_required"] = "true"
spec.metadata["source_code_uri"] = spec.homepage
spec.metadata["changelog_uri"] = "#{spec.homepage}/blob/trunk/CHANGELOG.md"
# Listing paths keeps development files (plans, tasks, tests, tool
# configuration) out without a deny list that every new file has to
# remember.
packaged = %w[
exe
lib
sig
README.rdoc
CHANGELOG.md
LICENSE
LICENSES
]
spec.files = IO.popen(["git", "ls-files", "-z", "--", *packaged], chdir: __dir__, err: IO::NULL) do |ls|
ls.readlines("\x0", chomp: true)
end
spec.bindir = "exe"
spec.executables = ["fledge"]
spec.require_paths = ["lib"]
end