on_strum-healthcheck 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.circleci/config.yml +213 -0
- data/.circleci/gemspecs/compatible +25 -0
- data/.circleci/gemspecs/latest +33 -0
- data/.circleci/linter_configs/.bundler-audit.yml +4 -0
- data/.circleci/linter_configs/.commitspell.yml +30 -0
- data/.circleci/linter_configs/.cspell.yml +31 -0
- data/.circleci/linter_configs/.fasterer.yml +4 -0
- data/.circleci/linter_configs/.lefthook.yml +44 -0
- data/.circleci/linter_configs/.markdownlint.yml +9 -0
- data/.circleci/linter_configs/.rubocop.yml +137 -0
- data/.circleci/linter_configs/.yamllint.yml +7 -0
- data/.circleci/scripts/changeloglint.sh +22 -0
- data/.circleci/scripts/commitspell.sh +22 -0
- data/.circleci/scripts/release.sh +69 -0
- data/.circleci/scripts/set_publisher_credentials.sh +12 -0
- data/.codeclimate.yml +17 -0
- data/.github/BRANCH_NAMING_CONVENTION.md +36 -0
- data/.github/DEVELOPMENT_ENVIRONMENT_GUIDE.md +26 -0
- data/.github/ISSUE_TEMPLATE/bug_report.md +28 -0
- data/.github/ISSUE_TEMPLATE/feature_request.md +27 -0
- data/.github/ISSUE_TEMPLATE/issue_report.md +32 -0
- data/.github/ISSUE_TEMPLATE/question.md +22 -0
- data/.github/PULL_REQUEST_TEMPLATE.md +49 -0
- data/.gitignore +11 -0
- data/.reek.yml +39 -0
- data/.rspec +2 -0
- data/.ruby-gemset +1 -0
- data/.ruby-version +1 -0
- data/CHANGELOG.md +9 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/CONTRIBUTING.md +48 -0
- data/Gemfile +5 -0
- data/LICENSE.txt +21 -0
- data/README.md +224 -0
- data/Rakefile +8 -0
- data/bin/console +15 -0
- data/bin/setup +8 -0
- data/lib/on_strum/healthcheck/configuration.rb +141 -0
- data/lib/on_strum/healthcheck/core.rb +22 -0
- data/lib/on_strum/healthcheck/error/configuration/argument_type.rb +15 -0
- data/lib/on_strum/healthcheck/error/configuration/enpoint_pattern.rb +15 -0
- data/lib/on_strum/healthcheck/error/configuration/http_status_failure.rb +15 -0
- data/lib/on_strum/healthcheck/error/configuration/http_status_success.rb +15 -0
- data/lib/on_strum/healthcheck/error/configuration/not_callable_service.rb +15 -0
- data/lib/on_strum/healthcheck/error/configuration/not_configured.rb +15 -0
- data/lib/on_strum/healthcheck/error/configuration/unknown_service.rb +15 -0
- data/lib/on_strum/healthcheck/rack_middleware.rb +28 -0
- data/lib/on_strum/healthcheck/resolver.rb +85 -0
- data/lib/on_strum/healthcheck/version.rb +7 -0
- data/lib/on_strum/healthcheck.rb +25 -0
- data/on_strum-healthcheck.gemspec +28 -0
- metadata +164 -0
data/.codeclimate.yml
ADDED
@@ -0,0 +1,36 @@
|
|
1
|
+
# Branch naming convention
|
2
|
+
|
3
|
+
## Branch naming
|
4
|
+
|
5
|
+
> Please note for new pull requests create new branches from current `develop` branch only.
|
6
|
+
|
7
|
+
Branch name should include type of your contribution and context. Please follow next pattern for naming your branches:
|
8
|
+
|
9
|
+
```bash
|
10
|
+
feature/add-some-feature
|
11
|
+
technical/some-technical-improvements
|
12
|
+
bugfix/fix-some-bug-name
|
13
|
+
```
|
14
|
+
|
15
|
+
## Before PR actions
|
16
|
+
|
17
|
+
### Squash commits
|
18
|
+
|
19
|
+
Please squash all branch commits into the one before opening your PR from your fork. It's simple to do with the git:
|
20
|
+
|
21
|
+
```bash
|
22
|
+
git rebase -i [hash your first commit of your branch]~1
|
23
|
+
git rebase -i 6467fe36232401fa740af067cfd8ac9ec932fed2~1 # example
|
24
|
+
```
|
25
|
+
|
26
|
+
### Add commit description
|
27
|
+
|
28
|
+
Please complete your commit description following next pattern:
|
29
|
+
|
30
|
+
```code
|
31
|
+
Technical/Add info files # should be the same name as your branch name
|
32
|
+
|
33
|
+
* Added license, changelog, contributing, code of conduct docs
|
34
|
+
* Added GitHub templates
|
35
|
+
* Updated project license link
|
36
|
+
```
|
@@ -0,0 +1,26 @@
|
|
1
|
+
# Development environment guide
|
2
|
+
|
3
|
+
## Preparing
|
4
|
+
|
5
|
+
Clone `ruby-on-strum-healthcheck` repository:
|
6
|
+
|
7
|
+
```bash
|
8
|
+
git clone https://github.com/on-strum/ruby-on-strum-healthcheck.git
|
9
|
+
cd ruby-gem
|
10
|
+
```
|
11
|
+
|
12
|
+
Configure latest Ruby environment:
|
13
|
+
|
14
|
+
```bash
|
15
|
+
echo 'ruby-3.2.0' > .ruby-version
|
16
|
+
cp .circleci/gemspec_latest on_strum-healthcheck.gemspec
|
17
|
+
```
|
18
|
+
|
19
|
+
## Commiting
|
20
|
+
|
21
|
+
Commit your changes excluding `.ruby-version`, `on_strum-healthcheck.gemspec`
|
22
|
+
|
23
|
+
```bash
|
24
|
+
git add . ':!.ruby-version' ':!on_strum-healthcheck.gemspec'
|
25
|
+
git commit -m 'Your new awesome on_strum-healthcheck feature'
|
26
|
+
```
|
@@ -0,0 +1,28 @@
|
|
1
|
+
---
|
2
|
+
name: Bug report
|
3
|
+
about: Create a report to help us improve
|
4
|
+
title: "[BUG] Your bug report title here"
|
5
|
+
labels: bug
|
6
|
+
assignees: Serhiy-Nazarov
|
7
|
+
|
8
|
+
---
|
9
|
+
|
10
|
+
<!-- Thanks for helping to make `on_strum-healthcheck` better! Before submit your bug, please make sure to check the following boxes by putting an x in the [ ] (don't: [x ], [ x], do: [x]) -->
|
11
|
+
|
12
|
+
### New bug checklist
|
13
|
+
|
14
|
+
- [ ] I have updated `on_strum-healthcheck` to the latest version
|
15
|
+
- [ ] I have read the [Contribution Guidelines](https://github.com/on-strum/ruby-on-strum-healthcheck/blob/master/CONTRIBUTING.md)
|
16
|
+
- [ ] I have read the [documentation](https://github.com/on-strum/ruby-on-strum-healthcheck/blob/master/README.md)
|
17
|
+
- [ ] I have searched for [existing GitHub issues](https://github.com/on-strum/ruby-on-strum-healthcheck/issues)
|
18
|
+
|
19
|
+
<!-- Please use next pattern for your bug report title: [BUG] Your bug report title here -->
|
20
|
+
|
21
|
+
### Bug description
|
22
|
+
<!-- Please include what's happening, expected behavior, and any relevant code samples -->
|
23
|
+
|
24
|
+
##### Complete output when running `on_strum-healthcheck`, including the stack trace and command used
|
25
|
+
|
26
|
+
<details>
|
27
|
+
<pre>[INSERT OUTPUT HERE]</pre>
|
28
|
+
</details>
|
@@ -0,0 +1,27 @@
|
|
1
|
+
---
|
2
|
+
name: Feature request
|
3
|
+
about: Suggest an idea
|
4
|
+
title: "[FEATURE] Your feature request title here"
|
5
|
+
labels: enhancement
|
6
|
+
assignees: Serhiy-Nazarov
|
7
|
+
|
8
|
+
---
|
9
|
+
|
10
|
+
<!-- Thanks for helping to make `on_strum-healthcheck` better! Before submit your new feature request, please make sure to check the following boxes by putting an x in the [ ] (don't: [x ], [ x], do: [x]) -->
|
11
|
+
|
12
|
+
### New feature request checklist
|
13
|
+
|
14
|
+
- [ ] I have updated `on_strum-healthcheck` to the latest version
|
15
|
+
- [ ] I have read the [Contribution Guidelines](https://github.com/on-strum/ruby-on-strum-healthcheck/blob/master/CONTRIBUTING.md)
|
16
|
+
- [ ] I have read the [documentation](https://github.com/on-strum/ruby-on-strum-healthcheck/blob/master/README.md)
|
17
|
+
- [ ] I have searched for [existing GitHub issues](https://github.com/on-strum/ruby-on-strum-healthcheck/issues)
|
18
|
+
|
19
|
+
<!-- Please use next pattern for your feature request title: [FEATURE] Your feature request title here -->
|
20
|
+
|
21
|
+
### Feature description
|
22
|
+
|
23
|
+
<!-- Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
|
24
|
+
|
25
|
+
Describe the solution you'd like. A clear and concise description of what you want to happen.
|
26
|
+
|
27
|
+
Describe alternatives you've considered. A clear and concise description of any alternative solutions or features you've considered. -->
|
@@ -0,0 +1,32 @@
|
|
1
|
+
---
|
2
|
+
name: Issue report
|
3
|
+
about: Create a report to help us improve
|
4
|
+
title: "[ISSUE] Your issue report title here"
|
5
|
+
labels: ''
|
6
|
+
assignees: Serhiy-Nazarov
|
7
|
+
|
8
|
+
---
|
9
|
+
|
10
|
+
<!-- Thanks for helping to make `on_strum-healthcheck` better! Before submit your issue, please make sure to check the following boxes by putting an x in the [ ] (don't: [x ], [ x], do: [x]) -->
|
11
|
+
|
12
|
+
### New issue checklist
|
13
|
+
|
14
|
+
- [ ] I have updated `on_strum-healthcheck` to the latest version
|
15
|
+
- [ ] I have read the [Contribution Guidelines](https://github.com/on-strum/ruby-on-strum-healthcheck/blob/master/CONTRIBUTING.md)
|
16
|
+
- [ ] I have read the [documentation](https://github.com/on-strum/ruby-on-strum-healthcheck/blob/master/README.md)
|
17
|
+
- [ ] I have searched for [existing GitHub issues](https://github.com/on-strum/ruby-on-strum-healthcheck/issues)
|
18
|
+
|
19
|
+
<!-- Please use next pattern for your issue report title: [ISSUE] Your issue report title here -->
|
20
|
+
|
21
|
+
### Issue description
|
22
|
+
<!-- Please include what's happening, expected behavior, and any relevant code samples -->
|
23
|
+
|
24
|
+
##### Complete output when running `on_strum-healthcheck`, including the stack trace and command used
|
25
|
+
|
26
|
+
<details>
|
27
|
+
|
28
|
+
```code
|
29
|
+
[INSERT OUTPUT HERE]
|
30
|
+
```
|
31
|
+
|
32
|
+
</details>
|
@@ -0,0 +1,22 @@
|
|
1
|
+
---
|
2
|
+
name: Question
|
3
|
+
about: Ask your question to team
|
4
|
+
title: "[QUESTION] Your question title here"
|
5
|
+
labels: question
|
6
|
+
assignees: Serhiy-Nazarov
|
7
|
+
|
8
|
+
---
|
9
|
+
|
10
|
+
<!-- Thanks for helping to make `on_strum-healthcheck` better! Before submit your question, please make sure to check the following boxes by putting an x in the [ ] (don't: [x ], [ x], do: [x]) -->
|
11
|
+
|
12
|
+
### New question checklist
|
13
|
+
|
14
|
+
- [ ] I have read the [Contribution Guidelines](https://github.com/on-strum/ruby-on-strum-healthcheck/blob/master/CONTRIBUTING.md)
|
15
|
+
- [ ] I have read the [documentation](https://github.com/on-strum/ruby-on-strum-healthcheck/blob/master/README.md)
|
16
|
+
- [ ] I have searched for [existing GitHub issues](https://github.com/on-strum/ruby-on-strum-healthcheck/issues)
|
17
|
+
|
18
|
+
<!-- Please use next pattern for your question title: [QUESTION] Your question title here -->
|
19
|
+
|
20
|
+
### Question
|
21
|
+
|
22
|
+
<!-- Your question context here -->
|
@@ -0,0 +1,49 @@
|
|
1
|
+
# PR Details
|
2
|
+
|
3
|
+
<!-- Provide a general summary of your changes in the Title above -->
|
4
|
+
<!-- PR name should the same name as your branch name, example: -->
|
5
|
+
<!-- Branch name is: feature/add-some-feature -->
|
6
|
+
<!-- PR name should be: Feature/Add some feature -->
|
7
|
+
|
8
|
+
## Description
|
9
|
+
|
10
|
+
<!--- Describe your changes in detail -->
|
11
|
+
|
12
|
+
## Related Issue
|
13
|
+
|
14
|
+
<!--- This project only accepts pull requests related to open issues -->
|
15
|
+
<!--- If suggesting a new feature or change, please discuss it in an issue first -->
|
16
|
+
<!--- If fixing a bug, there should be an issue describing it with steps to reproduce -->
|
17
|
+
<!--- Please link to the issue here: -->
|
18
|
+
|
19
|
+
## Motivation and Context
|
20
|
+
|
21
|
+
<!--- Why is this change required? What problem does it solve? -->
|
22
|
+
|
23
|
+
## How Has This Been Tested
|
24
|
+
|
25
|
+
<!--- Please describe in detail how you tested your changes. -->
|
26
|
+
<!--- Include details of your testing environment, and the tests you ran to -->
|
27
|
+
<!--- see how your change affects other areas of the code, etc. -->
|
28
|
+
|
29
|
+
## Types of changes
|
30
|
+
|
31
|
+
<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->
|
32
|
+
|
33
|
+
- [ ] Docs change / refactoring / dependency upgrade
|
34
|
+
- [ ] Bug fix (non-breaking change which fixes an issue)
|
35
|
+
- [ ] New feature (non-breaking change which adds functionality)
|
36
|
+
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
|
37
|
+
|
38
|
+
## Checklist
|
39
|
+
|
40
|
+
<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->
|
41
|
+
<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->
|
42
|
+
|
43
|
+
- [ ] My code follows the code style of this project
|
44
|
+
- [ ] My change requires a change to the documentation
|
45
|
+
- [ ] I have updated the documentation accordingly
|
46
|
+
- [ ] I have read the [**CONTRIBUTING** document](https://github.com/on-strum/ruby-on-strum-healthcheck/blob/master/CONTRIBUTING.md)
|
47
|
+
- [ ] I have added tests to cover my changes
|
48
|
+
- [ ] I have run `bundle exec rspec` from the root directory to see all new and existing tests pass
|
49
|
+
- [ ] I have run `rubocop` and `reek` to ensure the code style is valid
|
data/.gitignore
ADDED
data/.reek.yml
ADDED
@@ -0,0 +1,39 @@
|
|
1
|
+
---
|
2
|
+
|
3
|
+
detectors:
|
4
|
+
IrresponsibleModule:
|
5
|
+
enabled: false
|
6
|
+
|
7
|
+
ControlParameter:
|
8
|
+
exclude:
|
9
|
+
- OnStrum::Healthcheck::Configuration#raise_unless
|
10
|
+
- OnStrum::Healthcheck::Configuration#validator_argument_type
|
11
|
+
|
12
|
+
LongParameterList:
|
13
|
+
exclude:
|
14
|
+
- OnStrum::Healthcheck::Configuration#raise_unless
|
15
|
+
|
16
|
+
ManualDispatch:
|
17
|
+
exclude:
|
18
|
+
- OnStrum::Healthcheck::Configuration#validator_services_callable
|
19
|
+
|
20
|
+
TooManyConstants:
|
21
|
+
exclude:
|
22
|
+
- OnStrum::Healthcheck::Configuration
|
23
|
+
|
24
|
+
TooManyStatements:
|
25
|
+
exclude:
|
26
|
+
- OnStrum::Healthcheck::Configuration#validate_attribute
|
27
|
+
|
28
|
+
UtilityFunction:
|
29
|
+
exclude:
|
30
|
+
- OnStrum::Healthcheck::Configuration#build_configuration_settings
|
31
|
+
- OnStrum::Healthcheck::Configuration#validator_argument_type
|
32
|
+
- OnStrum::Healthcheck::Configuration#validator_endpoint
|
33
|
+
- OnStrum::Healthcheck::Configuration#validator_http_status_failure
|
34
|
+
- OnStrum::Healthcheck::Configuration#validator_http_status_success
|
35
|
+
- OnStrum::Healthcheck::Configuration#validator_services_callable
|
36
|
+
- OnStrum::Healthcheck::Resolver#configuration
|
37
|
+
|
38
|
+
exclude_paths:
|
39
|
+
- spec/support/helpers
|
data/.rspec
ADDED
data/.ruby-gemset
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
on_strum-healthcheck
|
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
ruby-2.5.0
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,9 @@
|
|
1
|
+
# Changelog
|
2
|
+
|
3
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
4
|
+
|
5
|
+
## [0.1.0] - 2024-03-26
|
6
|
+
|
7
|
+
### Added
|
8
|
+
|
9
|
+
- First release of `on_strum-healthcheck`.
|
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,74 @@
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
2
|
+
|
3
|
+
## Our Pledge
|
4
|
+
|
5
|
+
In the interest of fostering an open and welcoming environment, we as
|
6
|
+
contributors and maintainers pledge to making participation in our project and
|
7
|
+
our community a harassment-free experience for everyone, regardless of age, body
|
8
|
+
size, disability, ethnicity, gender identity and expression, level of experience,
|
9
|
+
nationality, personal appearance, race, religion, or sexual identity and
|
10
|
+
orientation.
|
11
|
+
|
12
|
+
## Our Standards
|
13
|
+
|
14
|
+
Examples of behavior that contributes to creating a positive environment
|
15
|
+
include:
|
16
|
+
|
17
|
+
* Using welcoming and inclusive language
|
18
|
+
* Being respectful of differing viewpoints and experiences
|
19
|
+
* Gracefully accepting constructive criticism
|
20
|
+
* Focusing on what is best for the community
|
21
|
+
* Showing empathy towards other community members
|
22
|
+
|
23
|
+
Examples of unacceptable behavior by participants include:
|
24
|
+
|
25
|
+
* The use of sexualized language or imagery and unwelcome sexual attention
|
26
|
+
or advances
|
27
|
+
* Trolling, insulting/derogatory comments, and personal or political attacks
|
28
|
+
* Public or private harassment
|
29
|
+
* Publishing others' private information, such as a physical or electronic
|
30
|
+
address, without explicit permission
|
31
|
+
* Other conduct which could reasonably be considered inappropriate in
|
32
|
+
a professional setting
|
33
|
+
|
34
|
+
## Our Responsibilities
|
35
|
+
|
36
|
+
Project maintainers are responsible for clarifying the standards of acceptable
|
37
|
+
behavior and are expected to take appropriate and fair corrective action in
|
38
|
+
response to any instances of unacceptable behavior.
|
39
|
+
|
40
|
+
Project maintainers have the right and responsibility to remove, edit, or
|
41
|
+
reject comments, commits, code, wiki edits, issues, and other contributions
|
42
|
+
that are not aligned to this Code of Conduct, or to ban temporarily or
|
43
|
+
permanently any contributor for other behaviors that they deem inappropriate,
|
44
|
+
threatening, offensive, or harmful.
|
45
|
+
|
46
|
+
## Scope
|
47
|
+
|
48
|
+
This Code of Conduct applies both within project spaces and in public spaces
|
49
|
+
when an individual is representing the project or its community. Examples of
|
50
|
+
representing a project or community include using an official project e-mail
|
51
|
+
address, posting via an official social media account, or acting as an appointed
|
52
|
+
representative at an online or offline event. Representation of a project may be
|
53
|
+
further defined and clarified by project maintainers.
|
54
|
+
|
55
|
+
## Enforcement
|
56
|
+
|
57
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
58
|
+
reported by contacting the project team at <admin@on-strum.org>. All
|
59
|
+
complaints will be reviewed and investigated and will result in a response that
|
60
|
+
is deemed necessary and appropriate to the circumstances. The project team is
|
61
|
+
obligated to maintain confidentiality with regard to the reporter of an incident.
|
62
|
+
Further details of specific enforcement policies may be posted separately.
|
63
|
+
|
64
|
+
Project maintainers who do not follow or enforce the Code of Conduct in good
|
65
|
+
faith may face temporary or permanent repercussions as determined by other
|
66
|
+
members of the project's leadership.
|
67
|
+
|
68
|
+
## Attribution
|
69
|
+
|
70
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
71
|
+
available at [http://contributor-covenant.org/version/1/4][version]
|
72
|
+
|
73
|
+
[homepage]: http://contributor-covenant.org
|
74
|
+
[version]: http://contributor-covenant.org/version/1/4/
|
data/CONTRIBUTING.md
ADDED
@@ -0,0 +1,48 @@
|
|
1
|
+
# Contributing to `on_strum-healthcheck`
|
2
|
+
|
3
|
+
Please take a moment to review this document in order to make the contribution process easy and effective for everyone involved.
|
4
|
+
|
5
|
+
Following these guidelines helps to communicate that you respect the time of the developers managing and developing this open source project. In return, they should reciprocate that respect in addressing your issue or assessing patches and features.
|
6
|
+
|
7
|
+
## Using the issue tracker
|
8
|
+
|
9
|
+
The issue tracker is the preferred channel for [issue/bug reports](#issuebug-reports), [feature requests](#feature-requests), [questions](#questions) and submitting [pull requests](#pull-requests).
|
10
|
+
|
11
|
+
## Issue/bug reports
|
12
|
+
|
13
|
+
A bug is a _demonstrable problem_ that is caused by the code in the repository. Good bug reports are extremely helpful - thank you!
|
14
|
+
|
15
|
+
Guidelines for issue/bug reports:
|
16
|
+
|
17
|
+
1. **Use the GitHub issue search** — check if the issue has already been reported
|
18
|
+
2. **Check if the issue has been fixed** — try to reproduce it using the latest `master` or `develop` branch in the repository
|
19
|
+
3. `on_strum-healthcheck` [issue template](.github/ISSUE_TEMPLATE/issue_report.md)/[bug template](.github/ISSUE_TEMPLATE/bug_report.md)
|
20
|
+
|
21
|
+
A good bug report shouldn't leave others needing to chase you up for more information. Please try to be as detailed as possible in your report. What is your environment? What steps will reproduce the issue? What would you expect to be the outcome? All these details will help people to fix any potential bugs.
|
22
|
+
|
23
|
+
## Feature requests
|
24
|
+
|
25
|
+
Feature requests are welcome. But take a moment to find out whether your idea fits with the scope and aims of the project. It's up to _you_ to make a strong case to convince the project's developers of the merits of this feature. Please provide as much detail and context as possible.
|
26
|
+
|
27
|
+
## Questions
|
28
|
+
|
29
|
+
We're always open to a new conversations. So if you have any questions just ask us.
|
30
|
+
|
31
|
+
## Pull requests
|
32
|
+
|
33
|
+
Good pull requests - patches, improvements, new features - are a fantastic help. They should remain focused in scope and avoid containing unrelated commits.
|
34
|
+
|
35
|
+
**Please ask first** before embarking on any significant pull request (e.g. implementing features, refactoring code, porting to a different language), otherwise you risk spending a lot of time working on something that the project's developers might not want to merge into the project.
|
36
|
+
|
37
|
+
Please adhere to the coding conventions used throughout a project (indentation, accurate comments, etc.) and any other requirements (such as test coverage). Not all features proposed will be added but we are open to having a conversation about a feature you are championing.
|
38
|
+
|
39
|
+
Guidelines for pull requests:
|
40
|
+
|
41
|
+
1. `on_strum-healthcheck` [pull request template](.github/PULL_REQUEST_TEMPLATE.md)
|
42
|
+
2. Fork the repo, checkout to `develop` branch
|
43
|
+
3. Run the tests. This is to make sure your starting point works
|
44
|
+
4. Read our [branch naming convention](.github/BRANCH_NAMING_CONVENTION.md)
|
45
|
+
5. Create a new branch
|
46
|
+
6. Read our [setup development environment guide](.github/DEVELOPMENT_ENVIRONMENT_GUIDE.md)
|
47
|
+
7. Make your changes. Please note that your PR should include tests for the new codebase!
|
48
|
+
8. Push to your fork and submit a pull request to `develop` branch
|
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2022-2024 onStrum and friends
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|