hoe-halostatue 2.1.1 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +21 -0
- data/CODE_OF_CONDUCT.md +152 -116
- data/CONTRIBUTING.md +120 -31
- data/CONTRIBUTORS.md +15 -14
- data/LICENCE.md +33 -6
- data/Manifest.txt +8 -0
- data/README.md +303 -34
- data/Rakefile +66 -9
- data/SECURITY.md +6 -10
- data/lib/hoe/halostatue/checklist.rb +46 -0
- data/lib/hoe/halostatue/gemspec.rb +104 -0
- data/lib/hoe/halostatue/git.rb +81 -0
- data/lib/hoe/halostatue/markdown/linkify.rb +423 -0
- data/lib/hoe/halostatue/markdown.rb +152 -0
- data/lib/hoe/halostatue/version.rb +1 -1
- data/lib/hoe/halostatue.rb +96 -173
- data/licences/dco.txt +34 -0
- data/test/hoe/halostatue/markdown/test_linkify.rb +527 -0
- data/test/minitest_helper.rb +11 -0
- metadata +112 -29
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 91f8c281c6cce65f4b2eaa54857bd77773b24862c6bba773cce078c6a7019d99
|
|
4
|
+
data.tar.gz: f417d9e2f28ccd274bcb8a37869fba45b87003d7a5ab9b3804f716dda6f85d01
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8e972a821fc43ac4a087f58f11e8f54a5c7fd2a2aaaac6353c1c1548f24598c33ea2c34ec90a6720fa73e13c49c6772d07921c5ee28491d251bfc3009027717d
|
|
7
|
+
data.tar.gz: 3801533925fad4cdcf691f0ab762e0e5218574adfd069bac142915569c44ca11fd5698010e605ce493a3010ba22dbeb7c64b98da55291a2f52e0f62b47e25118
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# hoe-halostatue Changelog
|
|
2
2
|
|
|
3
|
+
## 3.0.0 / 2026-01-19
|
|
4
|
+
|
|
5
|
+
- Replaced `hoe-gemspec2` with an internal implementation that improves support
|
|
6
|
+
for [reproducible builds][rb]. The included plugin `hoe-rubygems` was also
|
|
7
|
+
removed as it's duplicative of this work.
|
|
8
|
+
|
|
9
|
+
- Replaced `hoe-markdown` with an internal implementation that uses
|
|
10
|
+
[`kramdown`][kd] for AST-aware Markdown processing when converting GitHub
|
|
11
|
+
references to links. The new implementation correctly handles edge cases like
|
|
12
|
+
email addresses, Mastodon handles, code blocks/spans, existing links, and
|
|
13
|
+
malformed patterns. This was written with the assistance of Kiro.
|
|
14
|
+
|
|
15
|
+
- Internal restructuring was performed to improve readability and optimize some
|
|
16
|
+
flows.
|
|
17
|
+
|
|
18
|
+
## 2.1.2 / 2026-01-17
|
|
19
|
+
|
|
20
|
+
- Simplified several functions around git execution.
|
|
21
|
+
|
|
3
22
|
## 2.1.1 / 2025-06-26
|
|
4
23
|
|
|
5
24
|
- Actually include strict warnings support files.
|
|
@@ -36,5 +55,7 @@
|
|
|
36
55
|
|
|
37
56
|
- Birthday!
|
|
38
57
|
|
|
58
|
+
[kd]: https://github.com/gettalong/kramdown
|
|
59
|
+
[rb]: https://reproducible-builds.org/
|
|
39
60
|
[rsw]: https://github.com/rails/rails/blob/66732971111a62e5940268e1daf7d413c72a234f/tools/strict_warnings.rb
|
|
40
61
|
[trusted]: https://github.com/rubygems/release-gem
|
data/CODE_OF_CONDUCT.md
CHANGED
|
@@ -1,130 +1,166 @@
|
|
|
1
|
-
# Contributor Covenant Code of Conduct
|
|
1
|
+
# Contributor Covenant 3.0 Code of Conduct
|
|
2
2
|
|
|
3
3
|
## Our Pledge
|
|
4
4
|
|
|
5
|
-
We
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
identity
|
|
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
|
-
or
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
5
|
+
We pledge to make our community welcoming, safe, and equitable for all.
|
|
6
|
+
|
|
7
|
+
We are committed to fostering an environment that respects and promotes the
|
|
8
|
+
dignity, rights, and contributions of all individuals, regardless of
|
|
9
|
+
characteristics including race, ethnicity, caste, color, age, physical
|
|
10
|
+
characteristics, neurodiversity, disability, sex or gender, gender identity or
|
|
11
|
+
expression, sexual orientation, language, philosophy or religion, national or
|
|
12
|
+
social origin, socio-economic position, level of education, or other status. The
|
|
13
|
+
same privileges of participation are extended to everyone who participates in
|
|
14
|
+
good faith and in accordance with this Covenant.
|
|
15
|
+
|
|
16
|
+
## Encouraged Behaviors
|
|
17
|
+
|
|
18
|
+
While acknowledging differences in social norms, we all strive to meet our
|
|
19
|
+
community's expectations for positive behavior. We also understand that our
|
|
20
|
+
words and actions may be interpreted differently than we intend based on
|
|
21
|
+
culture, background, or native language.
|
|
22
|
+
|
|
23
|
+
With these considerations in mind, we agree to behave mindfully toward each
|
|
24
|
+
other and act in ways that center our shared values, including:
|
|
25
|
+
|
|
26
|
+
1. Respecting the **purpose of our community**, our activities, and our ways of
|
|
27
|
+
gathering.
|
|
28
|
+
2. Engaging **kindly and honestly** with others.
|
|
29
|
+
3. Respecting **different viewpoints** and experiences.
|
|
30
|
+
4. **Taking responsibility** for our actions and contributions.
|
|
31
|
+
5. Gracefully giving and accepting **constructive feedback**.
|
|
32
|
+
6. Committing to **repairing harm** when it occurs.
|
|
33
|
+
7. Behaving in other ways that promote and sustain the **well-being of our
|
|
34
|
+
community**.
|
|
35
|
+
|
|
36
|
+
## Restricted Behaviors
|
|
37
|
+
|
|
38
|
+
We agree to restrict the following behaviors in our community. Instances,
|
|
39
|
+
threats, and promotion of these behaviors are violations of this Code of
|
|
40
|
+
Conduct.
|
|
41
|
+
|
|
42
|
+
1. **Harassment.** Violating explicitly expressed boundaries or engaging in
|
|
43
|
+
unnecessary personal attention after any clear request to stop.
|
|
44
|
+
2. **Character attacks.** Making insulting, demeaning, or pejorative comments
|
|
45
|
+
directed at a community member or group of people.
|
|
46
|
+
3. **Stereotyping or discrimination.** Characterizing anyone’s personality or
|
|
47
|
+
behavior on the basis of immutable identities or traits.
|
|
48
|
+
4. **Sexualization.** Behaving in a way that would generally be considered
|
|
49
|
+
inappropriately intimate in the context or purpose of the community.
|
|
50
|
+
5. **Violating confidentiality**. Sharing or acting on someone's personal or
|
|
51
|
+
private information without their permission.
|
|
52
|
+
6. **Endangerment.** Causing, encouraging, or threatening violence or other harm
|
|
53
|
+
toward any person or group.
|
|
54
|
+
7. Behaving in other ways that **threaten the well-being** of our community.
|
|
55
|
+
|
|
56
|
+
### Other Restrictions
|
|
57
|
+
|
|
58
|
+
1. **Misleading identity.** Impersonating someone else for any reason, or
|
|
59
|
+
pretending to be someone else to evade enforcement actions.
|
|
60
|
+
2. **Failing to credit sources.** Not properly crediting the sources of content
|
|
61
|
+
you contribute.
|
|
62
|
+
3. **Promotional materials**. Sharing marketing or other commercial content in a
|
|
63
|
+
way that is outside the norms of the community.
|
|
64
|
+
4. **Irresponsible communication.** Failing to responsibly present content which
|
|
65
|
+
includes, links or describes any other restricted behaviors.
|
|
66
|
+
|
|
67
|
+
## Reporting an Issue
|
|
68
|
+
|
|
69
|
+
Tensions can occur between community members even when they are trying their
|
|
70
|
+
best to collaborate. Not every conflict represents a code of conduct violation,
|
|
71
|
+
and this Code of Conduct reinforces encouraged behaviors and norms that can help
|
|
72
|
+
avoid conflicts and minimize harm.
|
|
73
|
+
|
|
74
|
+
When an incident does occur, it is important to report it promptly. To report a
|
|
75
|
+
possible violation, create a [private security advisory][advisory] — violations
|
|
76
|
+
of this code of conduct are considered security vulnerabilities.
|
|
77
|
+
|
|
78
|
+
Community Moderators take reports of violations seriously and will make every
|
|
79
|
+
effort to respond in a timely manner. They will investigate all reports of code
|
|
80
|
+
of conduct violations, reviewing messages, logs, and recordings, or interviewing
|
|
81
|
+
witnesses and other participants. Community Moderators will keep investigation
|
|
82
|
+
and enforcement actions as transparent as possible while prioritizing safety and
|
|
83
|
+
confidentiality. In order to honor these values, enforcement actions are carried
|
|
84
|
+
out in private with the involved parties, but communicating to the whole
|
|
85
|
+
community may be part of a mutually agreed upon resolution.
|
|
86
|
+
|
|
87
|
+
## Addressing and Repairing Harm
|
|
88
|
+
|
|
89
|
+
If an investigation by the Community Moderators finds that this Code of Conduct
|
|
90
|
+
has been violated, the following enforcement ladder may be used to determine how
|
|
91
|
+
best to repair harm, based on the incident's impact on the individuals involved
|
|
92
|
+
and the community as a whole. Depending on the severity of a violation, lower
|
|
93
|
+
rungs on the ladder may be skipped.
|
|
94
|
+
|
|
95
|
+
1. Warning
|
|
96
|
+
1. Event: A violation involving a single incident or series of incidents.
|
|
97
|
+
2. Consequence: A private, written warning from the Community Moderators.
|
|
98
|
+
3. Repair: Examples of repair include a private written apology,
|
|
99
|
+
acknowledgement of responsibility, and seeking clarification on
|
|
100
|
+
expectations.
|
|
101
|
+
|
|
102
|
+
2. Temporarily Limited Activities
|
|
103
|
+
1. Event: A repeated incidence of a violation that previously resulted in a
|
|
104
|
+
warning, or the first incidence of a more serious violation.
|
|
105
|
+
2. Consequence: A private, written warning with a time-limited cooldown
|
|
106
|
+
period designed to underscore the seriousness of the situation and give
|
|
107
|
+
the community members involved time to process the incident. The cooldown
|
|
108
|
+
period may be limited to particular communication channels or interactions
|
|
109
|
+
with particular community members.
|
|
110
|
+
3. Repair: Examples of repair may include making an apology, using the
|
|
111
|
+
cooldown period to reflect on actions and impact, and being thoughtful
|
|
112
|
+
about re-entering community spaces after the period is over.
|
|
113
|
+
|
|
114
|
+
3. Temporary Suspension
|
|
115
|
+
1. Event: A pattern of repeated violation which the Community Moderators have
|
|
116
|
+
tried to address with warnings, or a single serious violation.
|
|
117
|
+
2. Consequence: A private written warning with conditions for return from
|
|
118
|
+
suspension. In general, temporary suspensions give the person being
|
|
119
|
+
suspended time to reflect upon their behavior and possible corrective
|
|
120
|
+
actions.
|
|
121
|
+
3. Repair: Examples of repair include respecting the spirit of the
|
|
122
|
+
suspension, meeting the specified conditions for return, and being
|
|
123
|
+
thoughtful about how to reintegrate with the community when the suspension
|
|
124
|
+
is lifted.
|
|
125
|
+
|
|
126
|
+
4. Permanent Ban
|
|
127
|
+
1. Event: A pattern of repeated code of conduct violations that other steps
|
|
128
|
+
on the ladder have failed to resolve, or a violation so serious that the
|
|
129
|
+
Community Moderators determine there is no way to keep the community safe
|
|
130
|
+
with this person as a member.
|
|
131
|
+
2. Consequence: Access to all community spaces, tools, and communication
|
|
132
|
+
channels is removed. In general, permanent bans should be rarely used,
|
|
133
|
+
should have strong reasoning behind them, and should only be resorted to
|
|
134
|
+
if working through other remedies has failed to change the behavior.
|
|
135
|
+
3. Repair: There is no possible repair in cases of this severity.
|
|
136
|
+
|
|
137
|
+
This enforcement ladder is intended as a guideline. It does not limit the
|
|
138
|
+
ability of Community Managers to use their discretion and judgment, in keeping
|
|
139
|
+
with the best interests of our community.
|
|
50
140
|
|
|
51
141
|
## Scope
|
|
52
142
|
|
|
53
143
|
This Code of Conduct applies within all community spaces, and also applies when
|
|
54
|
-
an individual is officially representing the community in public
|
|
55
|
-
Examples of representing our community include using an official email
|
|
56
|
-
posting via an official social media account, or acting as an appointed
|
|
144
|
+
an individual is officially representing the community in public or other
|
|
145
|
+
spaces. Examples of representing our community include using an official email
|
|
146
|
+
address, posting via an official social media account, or acting as an appointed
|
|
57
147
|
representative at an online or offline event.
|
|
58
148
|
|
|
59
|
-
## Enforcement
|
|
60
|
-
|
|
61
|
-
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
|
62
|
-
privately reported to the community leaders responsible for enforcement as a
|
|
63
|
-
[security vulnerability][security vulnerability]. All complaints will be
|
|
64
|
-
reviewed and investigated promptly and fairly.
|
|
65
|
-
|
|
66
|
-
All community leaders are obligated to respect the privacy and security of the
|
|
67
|
-
reporter of any incident.
|
|
68
|
-
|
|
69
|
-
## Enforcement Guidelines
|
|
70
|
-
|
|
71
|
-
Community leaders will follow these Community Impact Guidelines in determining
|
|
72
|
-
the consequences for any action they deem in violation of this Code of Conduct:
|
|
73
|
-
|
|
74
|
-
### 1. Correction
|
|
75
|
-
|
|
76
|
-
**Community Impact**: Use of inappropriate language or other behavior deemed
|
|
77
|
-
unprofessional or unwelcome in the community.
|
|
78
|
-
|
|
79
|
-
**Consequence**: A private, written warning from community leaders, providing
|
|
80
|
-
clarity around the nature of the violation and an explanation of why the
|
|
81
|
-
behavior was inappropriate. A public apology may be requested.
|
|
82
|
-
|
|
83
|
-
### 2. Warning
|
|
84
|
-
|
|
85
|
-
**Community Impact**: A violation through a single incident or series of
|
|
86
|
-
actions.
|
|
87
|
-
|
|
88
|
-
**Consequence**: A warning with consequences for continued behavior. No
|
|
89
|
-
interaction with the people involved, including unsolicited interaction with
|
|
90
|
-
those enforcing the Code of Conduct, for a specified period of time. This
|
|
91
|
-
includes avoiding interactions in community spaces as well as external channels
|
|
92
|
-
like social media. Violating these terms may lead to a temporary or permanent
|
|
93
|
-
ban.
|
|
94
|
-
|
|
95
|
-
### 3. Temporary Ban
|
|
96
|
-
|
|
97
|
-
**Community Impact**: A serious violation of community standards, including
|
|
98
|
-
sustained inappropriate behavior.
|
|
99
|
-
|
|
100
|
-
**Consequence**: A temporary ban from any sort of interaction or public
|
|
101
|
-
communication with the community for a specified period of time. No public or
|
|
102
|
-
private interaction with the people involved, including unsolicited interaction
|
|
103
|
-
with those enforcing the Code of Conduct, is allowed during this period.
|
|
104
|
-
Violating these terms may lead to a permanent ban.
|
|
105
|
-
|
|
106
|
-
### 4. Permanent Ban
|
|
107
|
-
|
|
108
|
-
**Community Impact**: Demonstrating a pattern of violation of community
|
|
109
|
-
standards, including sustained inappropriate behavior, harassment of an
|
|
110
|
-
individual, or aggression toward or disparagement of classes of individuals.
|
|
111
|
-
|
|
112
|
-
**Consequence**: A permanent ban from any sort of public interaction within the
|
|
113
|
-
community.
|
|
114
|
-
|
|
115
149
|
## Attribution
|
|
116
150
|
|
|
117
|
-
This Code of Conduct is adapted from the
|
|
118
|
-
|
|
119
|
-
<https://www.contributor-covenant.org/version/2/1/code_of_conduct.html>.
|
|
151
|
+
This Code of Conduct is adapted from the Contributor Covenant, version 3.0,
|
|
152
|
+
permanently available at <https://www.contributor-covenant.org/version/3/0/>.
|
|
120
153
|
|
|
121
|
-
|
|
122
|
-
|
|
154
|
+
Contributor Covenant is stewarded by the Organization for Ethical Source and
|
|
155
|
+
licensed under CC BY-SA 4.0. To view a copy of this license, visit
|
|
156
|
+
<https://creativecommons.org/licenses/by-sa/4.0/>.
|
|
123
157
|
|
|
124
|
-
For answers to common questions about
|
|
125
|
-
<https://www.contributor-covenant.org/faq>. Translations are
|
|
126
|
-
<https://www.contributor-covenant.org/translations>.
|
|
158
|
+
For answers to common questions about Contributor Covenant, see the FAQ at
|
|
159
|
+
<https://www.contributor-covenant.org/faq>. Translations are provided at
|
|
160
|
+
<https://www.contributor-covenant.org/translations>. Additional enforcement and
|
|
161
|
+
community guideline resources can be found at
|
|
162
|
+
<https://www.contributor-covenant.org/resources>. The enforcement ladder was
|
|
163
|
+
inspired by the work of [Mozilla’s code of conduct team][inclusion].
|
|
127
164
|
|
|
128
|
-
[
|
|
129
|
-
[
|
|
130
|
-
[security vulnerability]: https://github.com/halostatue/hoe-halostatue/security/advisories/new
|
|
165
|
+
[advisory]: https://github.com/halostatue/hoe-halostatue/security/advisories/new
|
|
166
|
+
[inclusion]: https://github.com/mozilla/inclusion
|
data/CONTRIBUTING.md
CHANGED
|
@@ -1,35 +1,124 @@
|
|
|
1
1
|
# Contributing
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
- Match my coding style.
|
|
8
|
-
- Use a thoughtfully-named topic branch that contains your change. Rebase your
|
|
9
|
-
commits into logical chunks as necessary.
|
|
10
|
-
- Use [quality commit messages][quality commit messages].
|
|
11
|
-
- Do not change the version number; when your patch is accepted and a release is
|
|
12
|
-
made, the version will be updated at that point.
|
|
13
|
-
- Submit a GitHub pull request with your changes.
|
|
14
|
-
- New or changed behaviours require appropriate documentation.
|
|
15
|
-
|
|
16
|
-
Hoe::Halostatue uses Ryan Davis's [Hoe][Hoe] to manage the release process, and
|
|
17
|
-
it adds a number of rake tasks.
|
|
18
|
-
|
|
19
|
-
## Workflow
|
|
20
|
-
|
|
21
|
-
Here's the most direct way to get your work merged into the project:
|
|
22
|
-
|
|
23
|
-
- Fork the project.
|
|
24
|
-
- Clone your fork (`git clone git://github.com/<username>/hoe-halostatue.git`).
|
|
25
|
-
- Create a topic branch to contain your change
|
|
26
|
-
(`git checkout -b my_awesome_feature`).
|
|
27
|
-
- Hack away, add tests. Not necessarily in that order.
|
|
28
|
-
- Make sure everything still passes by running `rake`.
|
|
29
|
-
- If necessary, rebase your commits into logical chunks, without errors.
|
|
30
|
-
- Push the branch up (`git push origin my_awesome_feature`).
|
|
31
|
-
- Create a pull request against halostatue/hoe-halostatue and describe what your
|
|
32
|
-
change does and the why you think it should be merged.
|
|
3
|
+
Contribution to hoe-halostatue is encouraged: bug reports, feature requests, or
|
|
4
|
+
code contributions. New features should be proposed and discussed in an
|
|
5
|
+
[issue][issues].
|
|
33
6
|
|
|
7
|
+
Before contributing patches, please read the [Licence](./LICENCE.md).
|
|
8
|
+
|
|
9
|
+
hoe-halostatue is governed under the
|
|
10
|
+
[Contributor Covenant Code of Conduct][cccoc].
|
|
11
|
+
|
|
12
|
+
## Code Guidelines
|
|
13
|
+
|
|
14
|
+
I have several guidelines to contributing code through pull requests:
|
|
15
|
+
|
|
16
|
+
- All code changes require tests. In most cases, this will be added or updated
|
|
17
|
+
unit tests. I use [Minitest][minitest].
|
|
18
|
+
|
|
19
|
+
- I use code formatters, static analysis tools, and linting to ensure consistent
|
|
20
|
+
styles and formatting. There should be no warning output from test run
|
|
21
|
+
processes. I use [Standard Ruby][standardrb].
|
|
22
|
+
|
|
23
|
+
- Proposed changes should be on a thoughtfully-named topic branch and organized
|
|
24
|
+
into logical commit chunks as appropriate.
|
|
25
|
+
|
|
26
|
+
- Use [Conventional Commits][conventional] with my
|
|
27
|
+
[conventions](#commit-conventions).
|
|
28
|
+
|
|
29
|
+
- Versions must not be updated in pull requests unless otherwise directed. This
|
|
30
|
+
means that you must not:
|
|
31
|
+
|
|
32
|
+
- Modify `VERSION` in `lib/hoe/halostatue/version.rb`. When your patch is
|
|
33
|
+
accepted and a release is made, the version will be updated at that point.
|
|
34
|
+
|
|
35
|
+
- Modify `hoe-halostatue.gemspec`; it is a generated file. (You _may_ use
|
|
36
|
+
`rake gemspec` to regenerate it if your change involves metadata related to
|
|
37
|
+
gem itself).
|
|
38
|
+
|
|
39
|
+
- Modify the `Gemfile`.
|
|
40
|
+
|
|
41
|
+
- Documentation should be added or updated as appropriate for new or updated
|
|
42
|
+
functionality. The documentation is RDoc; hoe-halostatue does not use
|
|
43
|
+
extensions that may be present in alternative documentation generators.
|
|
44
|
+
|
|
45
|
+
- All GitHub Actions checks marked as required must pass before a pull request
|
|
46
|
+
may be accepted and merged.
|
|
47
|
+
|
|
48
|
+
- Add your name or GitHub handle to `CONTRIBUTORS.md` and a record in the
|
|
49
|
+
`CHANGELOG.md` as a separate commit from your main change. (Follow the style
|
|
50
|
+
in the `CHANGELOG.md` and provide a link to your PR.)
|
|
51
|
+
|
|
52
|
+
- Include your DCO sign-off in each commit message (see [LICENCE](LICENCE.md)).
|
|
53
|
+
|
|
54
|
+
## AI Contribution Policy
|
|
55
|
+
|
|
56
|
+
hoe-halostatue is a library of intentional decisions (some of them possibly even
|
|
57
|
+
wrong). It is extremely important that contributions of any sort be well
|
|
58
|
+
understood by the submitter and that the developer can attest to the
|
|
59
|
+
[Developer Certificate of Origin][dco] for each pull request (see
|
|
60
|
+
[LICENCE](LICENCE.md)).
|
|
61
|
+
|
|
62
|
+
Any contribution (bug, feature request, or pull request) that uses undeclared AI
|
|
63
|
+
output will be rejected.
|
|
64
|
+
|
|
65
|
+
## Test Dependencies
|
|
66
|
+
|
|
67
|
+
hoe-halostatue naturally uses Ryan Davis's [Hoe][Hoe] to manage the release
|
|
68
|
+
process, and it adds a number of rake tasks. You will mostly be interested in
|
|
69
|
+
`rake`, which runs the tests the same way that `rake test` will do.
|
|
70
|
+
|
|
71
|
+
To assist with the installation of the development dependencies for
|
|
72
|
+
hoe-halostatue, I have provided the simplest possible Gemfile pointing to the
|
|
73
|
+
(generated) `hoe-halostatue.gemspec` file. This will permit you to do
|
|
74
|
+
`bundle install` to get the development dependencies.
|
|
75
|
+
|
|
76
|
+
You can run tests with code coverage analysis by running `rake coverage`.
|
|
77
|
+
|
|
78
|
+
## Commit Conventions
|
|
79
|
+
|
|
80
|
+
hoe-halostatue has adopted a variation of the Conventional Commits format for
|
|
81
|
+
commit messages. The following types are permitted:
|
|
82
|
+
|
|
83
|
+
| Type | Purpose |
|
|
84
|
+
| ------- | ----------------------------------------------------- |
|
|
85
|
+
| `feat` | A new feature |
|
|
86
|
+
| `fix` | A bug fix |
|
|
87
|
+
| `chore` | A code change that is neither a bug fix nor a feature |
|
|
88
|
+
| `docs` | Documentation updates |
|
|
89
|
+
| `deps` | Dependency updates, including GitHub Actions. |
|
|
90
|
+
|
|
91
|
+
I encourage the use of [Tim Pope's][tpope-qcm] or [Chris Beam's][cbeams]
|
|
92
|
+
guidelines on the writing of commit messages
|
|
93
|
+
|
|
94
|
+
I require the use of [git][trailers1] [trailers][trailers2] for specific
|
|
95
|
+
additional metadata and strongly encourage it for others. The conditionally
|
|
96
|
+
required metadata trailers are:
|
|
97
|
+
|
|
98
|
+
- `Breaking-Change`: if the change is a breaking change. **Do not** use the
|
|
99
|
+
shorthand form (`feat!(scope)`) or `BREAKING CHANGE`.
|
|
100
|
+
|
|
101
|
+
- `Signed-off-by`: this is required for all developers except me, as outlined in
|
|
102
|
+
the [Licence](./LICENCE.md#developer-certificate-of-origin).
|
|
103
|
+
|
|
104
|
+
- `Fixes` or `Resolves`: If a change fixes one or more open [issues][issues],
|
|
105
|
+
that issue must be included in the `Fixes` or `Resolves` trailer. Multiple
|
|
106
|
+
issues should be listed comma separated in the same trailer:
|
|
107
|
+
`Fixes: #1, #5, #7`, but _may_ appear in separate trailers. While both `Fixes`
|
|
108
|
+
and `Resolves` are synonyms, only _one_ should be used in a given commit or
|
|
109
|
+
pull request.
|
|
110
|
+
|
|
111
|
+
- `Related to`: If a change does not fix an issue, those issue references should
|
|
112
|
+
be included in this trailer.
|
|
113
|
+
|
|
114
|
+
[cbeams]: https://cbea.ms/git-commit/
|
|
115
|
+
[cccoc]: ./CODE_OF_CONDUCT.md
|
|
116
|
+
[conventional]: https://www.conventionalcommits.org/en/v1.0.0/
|
|
117
|
+
[dco]: licences/dco.txt
|
|
34
118
|
[hoe]: https://github.com/seattlerb/hoe
|
|
35
|
-
[
|
|
119
|
+
[issues]: https://github.com/halostatue/hoe-halostatue/issues
|
|
120
|
+
[minitest]: https://github.com/seattlerb/minitest
|
|
121
|
+
[standardrb]: https://github.com/standardrb/standard
|
|
122
|
+
[tpope-qcm]: https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html
|
|
123
|
+
[trailers1]: https://git-scm.com/docs/git-interpret-trailers
|
|
124
|
+
[trailers2]: https://git-scm.com/docs/git-commit#Documentation/git-commit.txt---trailerlttokengtltvaluegt
|
data/CONTRIBUTORS.md
CHANGED
|
@@ -1,26 +1,21 @@
|
|
|
1
1
|
# Contributors
|
|
2
2
|
|
|
3
|
-
- Austin Ziegler ([@halostatue][
|
|
3
|
+
- Austin Ziegler ([@halostatue][gh-user-halostatue]) created Hoe::Halostatue.
|
|
4
4
|
|
|
5
5
|
It would not be possible without Ryan Davis's [Hoe][hoe] and depends on the work
|
|
6
6
|
of others in the Ruby community:
|
|
7
7
|
|
|
8
|
-
- James Tucker ([@raggi][
|
|
9
|
-
- James Barnette ([@jbarnette][
|
|
10
|
-
[`hoe-
|
|
11
|
-
-
|
|
8
|
+
- James Tucker ([@raggi][gh-user-raggi]) for [`hoe-gemspec2`][hoe-gemspec2].
|
|
9
|
+
- James Barnette ([@jbarnette][gh-user-jbarnette]) for
|
|
10
|
+
[`hoe-doofus`][hoe-doofus], [`hoe-git2`][hoe-git2], and
|
|
11
|
+
[`hoe-rubygems`][hoe-rubygems].
|
|
12
|
+
- Mike Dalessio ([@flavorjones][gh-user-flavorjones]) for
|
|
12
13
|
[`hoe-markdown`][hoe-markdown].
|
|
13
|
-
- Samuel Giddins ([@segiddins][
|
|
14
|
-
make all of this work better for trusted publishing for RubyGems.
|
|
15
|
-
- Jean Boussier ([@byroot][
|
|
14
|
+
- Samuel Giddins ([@segiddins][gh-user-segiddins]) for providing the inspiration
|
|
15
|
+
to make all of this work better for trusted publishing for RubyGems.
|
|
16
|
+
- Jean Boussier ([@byroot][gh-user-byroot]) for creating and pointing me to
|
|
16
17
|
[RailsStrictWarnings][rsw].
|
|
17
18
|
|
|
18
|
-
[@byroot]: https://github.com/byroot
|
|
19
|
-
[@flavorjones]: https://github.com/flavorjones
|
|
20
|
-
[@halostatue]: https://github.com/halostatue
|
|
21
|
-
[@jbarnette]: https://github.com/jbarnette
|
|
22
|
-
[@raggi]: https://github.com/raggi
|
|
23
|
-
[@segiddins]: https://github.com/segiddins
|
|
24
19
|
[hoe-doofus]: https://github.com/jbarnette/hoe-doofus
|
|
25
20
|
[hoe-gemspec2]: https://github.com/raggi/hoe-gemspec2
|
|
26
21
|
[hoe-git2]: https://github.com/halostatue/hoe-git2
|
|
@@ -28,3 +23,9 @@ of others in the Ruby community:
|
|
|
28
23
|
[hoe-rubygems]: https://github.com/jbarnette/hoe-rubygems
|
|
29
24
|
[hoe]: https://github.com/seattlerb/hoe
|
|
30
25
|
[rsw]: https://github.com/rails/rails/blob/66732971111a62e5940268e1daf7d413c72a234f/tools/strict_warnings.rb
|
|
26
|
+
[gh-user-halostatue]: https://github.com/halostatue
|
|
27
|
+
[gh-user-raggi]: https://github.com/raggi
|
|
28
|
+
[gh-user-jbarnette]: https://github.com/jbarnette
|
|
29
|
+
[gh-user-flavorjones]: https://github.com/flavorjones
|
|
30
|
+
[gh-user-segiddins]: https://github.com/segiddins
|
|
31
|
+
[gh-user-byroot]: https://github.com/byroot
|
data/LICENCE.md
CHANGED
|
@@ -1,13 +1,19 @@
|
|
|
1
|
-
|
|
1
|
+
# Licence
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
- SPDX-License-Identifier: [MIT][mit]
|
|
4
4
|
|
|
5
|
-
Copyright 2022-
|
|
5
|
+
- Copyright 2022-2026 Austin Ziegler.
|
|
6
6
|
|
|
7
|
-
Portions copyright 2009 John Barnette
|
|
7
|
+
- Portions copyright 2009 John Barnette.
|
|
8
|
+
- Portions copyright 2011 James Tucker.
|
|
9
|
+
- Portions copyright 2020–2025 Make Dalessio.
|
|
10
|
+
|
|
11
|
+
The software in this repository is made available under the MIT license.
|
|
12
|
+
|
|
13
|
+
## MIT License
|
|
8
14
|
|
|
9
15
|
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
10
|
-
this software and associated documentation files (the
|
|
16
|
+
this software and associated documentation files (the "Software"), to deal in
|
|
11
17
|
the Software without restriction, including without limitation the rights to
|
|
12
18
|
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
13
19
|
the Software, and to permit persons to whom the Software is furnished to do so,
|
|
@@ -16,9 +22,30 @@ subject to the following conditions:
|
|
|
16
22
|
The above copyright notice and this permission notice shall be included in all
|
|
17
23
|
copies or substantial portions of the Software.
|
|
18
24
|
|
|
19
|
-
THE SOFTWARE IS PROVIDED
|
|
25
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
20
26
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
21
27
|
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
22
28
|
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
23
29
|
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
24
30
|
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
31
|
+
|
|
32
|
+
## Developer Certificate of Origin
|
|
33
|
+
|
|
34
|
+
All contributors **must** certify they are willing and able to provide their
|
|
35
|
+
contributions under the terms of this project's licences with the certification
|
|
36
|
+
of the [Developer Certificate of Origin (Version 1.1)](licences/dco.txt).
|
|
37
|
+
|
|
38
|
+
Such certification is provided by ensuring that a `Signed-off-by`
|
|
39
|
+
[commit trailer][trailer] is present on every commit:
|
|
40
|
+
|
|
41
|
+
Signed-off-by: FirstName LastName <email@example.org>
|
|
42
|
+
|
|
43
|
+
The `Signed-off-by` trailer can be automatically added by git with the `-s` or
|
|
44
|
+
`--signoff` option on `git commit`:
|
|
45
|
+
|
|
46
|
+
```sh
|
|
47
|
+
git commit --signoff
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
[mit]: https://spdx.org/licenses/MIT.html
|
|
51
|
+
[trailer]: https://git-scm.com/docs/git-interpret-trailers
|
data/Manifest.txt
CHANGED
|
@@ -8,5 +8,13 @@ README.md
|
|
|
8
8
|
Rakefile
|
|
9
9
|
SECURITY.md
|
|
10
10
|
lib/hoe/halostatue.rb
|
|
11
|
+
lib/hoe/halostatue/checklist.rb
|
|
12
|
+
lib/hoe/halostatue/gemspec.rb
|
|
13
|
+
lib/hoe/halostatue/git.rb
|
|
14
|
+
lib/hoe/halostatue/markdown.rb
|
|
15
|
+
lib/hoe/halostatue/markdown/linkify.rb
|
|
11
16
|
lib/hoe/halostatue/strict_warnings.rb
|
|
12
17
|
lib/hoe/halostatue/version.rb
|
|
18
|
+
licences/dco.txt
|
|
19
|
+
test/hoe/halostatue/markdown/test_linkify.rb
|
|
20
|
+
test/minitest_helper.rb
|