faithteams-api 4.6.1 → 4.6.2
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 +10 -0
- data/faithteams-api.gemspec +8 -2
- data/lib/faithteams/version.rb +1 -1
- metadata +2 -76
- data/.editorconfig +0 -11
- data/.github/CODEOWNERS +0 -1
- data/.github/CONTRIBUTING.md +0 -35
- data/.github/PULL_REQUEST_TEMPLATE.md +0 -8
- data/.github/workflows/editorconfig.yml +0 -23
- data/.github/workflows/rubocop.yml +0 -21
- data/.github/workflows/rubygems.yml +0 -36
- data/.github/workflows/tester.yml +0 -21
- data/.github/workflows/yard.yml +0 -21
- data/.gitignore +0 -17
- data/.rspec +0 -2
- data/.rubocop.yml +0 -228
- data/.tool-versions +0 -1
- data/CODE_OF_CONDUCT.md +0 -128
- data/Gemfile +0 -11
- data/Gemfile.lock +0 -189
- data/Guardfile +0 -50
- data/Rakefile +0 -8
- data/bin/console +0 -15
- data/bin/setup +0 -8
- data/faithteams-api/.env.template +0 -4
- data/faithteams-api/Authenticate.bru +0 -25
- data/faithteams-api/api-v2.faithteams.com/Batch/Batch Create.bru +0 -23
- data/faithteams-api/api-v2.faithteams.com/Batch/Batch Totals.bru +0 -19
- data/faithteams-api/api-v2.faithteams.com/Batch/Batch Update.bru +0 -27
- data/faithteams-api/api-v2.faithteams.com/Batch/Batch.bru +0 -15
- data/faithteams-api/api-v2.faithteams.com/Batch/Batches.bru +0 -32
- data/faithteams-api/api-v2.faithteams.com/Batch/folder.bru +0 -8
- data/faithteams-api/api-v2.faithteams.com/Contribution/Contribution Create.bru +0 -40
- data/faithteams-api/api-v2.faithteams.com/Contribution/Contribution.bru +0 -15
- data/faithteams-api/api-v2.faithteams.com/Contribution/Contributions.bru +0 -34
- data/faithteams-api/api-v2.faithteams.com/Contribution/folder.bru +0 -8
- data/faithteams-api/api-v2.faithteams.com/Contribution Type/Contribution Type.bru +0 -15
- data/faithteams-api/api-v2.faithteams.com/Contribution Type/Contribution Types.bru +0 -20
- data/faithteams-api/api-v2.faithteams.com/Contribution Type/folder.bru +0 -8
- data/faithteams-api/api-v2.faithteams.com/Error/Integer Too Big.bru +0 -15
- data/faithteams-api/api-v2.faithteams.com/Error/Not Found.bru +0 -15
- data/faithteams-api/api-v2.faithteams.com/Error/folder.bru +0 -8
- data/faithteams-api/api-v2.faithteams.com/Fund/Fund Create.bru +0 -30
- data/faithteams-api/api-v2.faithteams.com/Fund/Fund Update.bru +0 -32
- data/faithteams-api/api-v2.faithteams.com/Fund/Fund.bru +0 -15
- data/faithteams-api/api-v2.faithteams.com/Fund/Funds.bru +0 -20
- data/faithteams-api/api-v2.faithteams.com/Fund/folder.bru +0 -8
- data/faithteams-api/api-v2.faithteams.com/folder.bru +0 -13
- data/faithteams-api/app.faithteams.com-api-v2/Authenticate.bru +0 -26
- data/faithteams-api/app.faithteams.com-api-v2/Checkins.bru +0 -15
- data/faithteams-api/app.faithteams.com-api-v2/Error/Not Found 2.bru +0 -15
- data/faithteams-api/app.faithteams.com-api-v2/Error/Not Found.bru +0 -15
- data/faithteams-api/app.faithteams.com-api-v2/Error/folder.bru +0 -8
- data/faithteams-api/app.faithteams.com-api-v2/People/Create Person.bru +0 -28
- data/faithteams-api/app.faithteams.com-api-v2/People/People Memberships.bru +0 -15
- data/faithteams-api/app.faithteams.com-api-v2/People/People.bru +0 -27
- data/faithteams-api/app.faithteams.com-api-v2/People/Person Tags.bru +0 -15
- data/faithteams-api/app.faithteams.com-api-v2/People/Person.bru +0 -15
- data/faithteams-api/app.faithteams.com-api-v2/People/Update Person.bru +0 -26
- data/faithteams-api/app.faithteams.com-api-v2/People/folder.bru +0 -8
- data/faithteams-api/app.faithteams.com-api-v2/Rules.bru +0 -15
- data/faithteams-api/app.faithteams.com-api-v2/Team & Organization/Organization.bru +0 -15
- data/faithteams-api/app.faithteams.com-api-v2/Team & Organization/Teams.bru +0 -21
- data/faithteams-api/app.faithteams.com-api-v2/Team & Organization/folder.bru +0 -8
- data/faithteams-api/app.faithteams.com-api-v2/Unsubscribes.bru +0 -19
- data/faithteams-api/app.faithteams.com-api-v2/User/User.bru +0 -15
- data/faithteams-api/app.faithteams.com-api-v2/User/Users.bru +0 -24
- data/faithteams-api/app.faithteams.com-api-v2/User/folder.bru +0 -8
- data/faithteams-api/app.faithteams.com-api-v2/folder.bru +0 -12
- data/faithteams-api/bruno.json +0 -9
- data/faithteams-api/environments/FaithTeams.bru +0 -17
- data/guides/api_client_interface.md +0 -18
- data/guides/release-process.md +0 -11
- data/thunder-tests/.gitignore +0 -2
- data/thunder-tests/collections/tc_col_faithteams-api.json +0 -1301
- data/thunder-tests/collections/tc_col_faithteams-app.json +0 -1189
- data/thunder-tests/environments/tc_env_faithteams.json +0 -59
- data/thunder-tests/faithteams.env.template +0 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1aec219baf9e280f2684ac5457185faa130dbab2dd6c1df7697eab9ba64531fe
|
|
4
|
+
data.tar.gz: 1d33fb74c60916e51b80508aaa1d1f13ee505809def08ec53680ffb487802553
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 19e2536a3ca5cdc975367d79fe171d1910b970ea5bbcea2551fa10e62c706bace12100c485bae76397ed32f35adf245b263b8ba907d2e88de2dbd5ee7c157ed0
|
|
7
|
+
data.tar.gz: a9bbddfba4867de680cdd08ff34a59c566af5673040dceaa198394be1cf8cdeec7bce8ec396d71d16d252e072b76e8608384a050654d388cf43dd6cbb795209a
|
data/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,16 @@ All notable changes to this project will be documented in this file.
|
|
|
7
7
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
8
8
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
9
9
|
|
|
10
|
+
## [4.6.2]
|
|
11
|
+
|
|
12
|
+
### Removed
|
|
13
|
+
|
|
14
|
+
1. Remove `thunder-tests/`, a dead Thunder Client collection fully superseded by the Bruno collection already checked in - it held a live FaithTeams test-tenant `auth_token` in a committed, unencrypted environment file, which the gem's file filter didn't exclude, so it shipped inside every published gem version on RubyGems. (SEC25-778)
|
|
15
|
+
|
|
16
|
+
### Fixed
|
|
17
|
+
|
|
18
|
+
1. Switch the gemspec's packaging filter from a denylist (`reject test/spec/features`) to an allowlist (`lib/`, `exe/`, plus README/LICENSE/CHANGELOG). The denylist required remembering to add every new dev-tooling directory - that's exactly how `thunder-tests/` went unnoticed. The Bruno collection, `AGENTS.md`, `CLAUDE.md`, `Guardfile`, `.github/`, and other dev-only content were also shipping in the gem unintentionally; none of them are needed at runtime. (SEC25-778)
|
|
19
|
+
|
|
10
20
|
## [4.6.1]
|
|
11
21
|
|
|
12
22
|
### Changed
|
data/faithteams-api.gemspec
CHANGED
|
@@ -24,9 +24,15 @@ Gem::Specification.new do |spec|
|
|
|
24
24
|
spec.metadata["documentation_uri"] = "https://github.com/tithely/faithteams-api/blob/master/README.md"
|
|
25
25
|
|
|
26
26
|
# Specify which files should be added to the gem when it is released.
|
|
27
|
-
#
|
|
27
|
+
# Allowlisted, not denylisted: only what the gem needs at runtime plus a
|
|
28
|
+
# few standard root docs. A denylist has to be remembered and updated
|
|
29
|
+
# every time a new dev-tooling directory shows up in the repo - that's
|
|
30
|
+
# how thunder-tests/ (and its live test-tenant credential) ended up
|
|
31
|
+
# shipping in the published gem unnoticed.
|
|
28
32
|
spec.files = Dir.chdir(File.expand_path("..", __FILE__)) do
|
|
29
|
-
`git ls-files -z`.split("\x0").
|
|
33
|
+
`git ls-files -z`.split("\x0").select do |f|
|
|
34
|
+
f.match(%r{^(lib|exe)/}) || %w[README.md LICENSE CHANGELOG.md faithteams-api.gemspec].include?(f)
|
|
35
|
+
end
|
|
30
36
|
end
|
|
31
37
|
spec.bindir = "exe"
|
|
32
38
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
data/lib/faithteams/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: faithteams-api
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.6.
|
|
4
|
+
version: 4.6.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tithe.ly Integrations
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-08-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|
|
@@ -199,79 +199,10 @@ executables: []
|
|
|
199
199
|
extensions: []
|
|
200
200
|
extra_rdoc_files: []
|
|
201
201
|
files:
|
|
202
|
-
- ".editorconfig"
|
|
203
|
-
- ".github/CODEOWNERS"
|
|
204
|
-
- ".github/CONTRIBUTING.md"
|
|
205
|
-
- ".github/PULL_REQUEST_TEMPLATE.md"
|
|
206
|
-
- ".github/workflows/editorconfig.yml"
|
|
207
|
-
- ".github/workflows/rubocop.yml"
|
|
208
|
-
- ".github/workflows/rubygems.yml"
|
|
209
|
-
- ".github/workflows/tester.yml"
|
|
210
|
-
- ".github/workflows/yard.yml"
|
|
211
|
-
- ".gitignore"
|
|
212
|
-
- ".rspec"
|
|
213
|
-
- ".rubocop.yml"
|
|
214
|
-
- ".tool-versions"
|
|
215
202
|
- CHANGELOG.md
|
|
216
|
-
- CODE_OF_CONDUCT.md
|
|
217
|
-
- Gemfile
|
|
218
|
-
- Gemfile.lock
|
|
219
|
-
- Guardfile
|
|
220
203
|
- LICENSE
|
|
221
204
|
- README.md
|
|
222
|
-
- Rakefile
|
|
223
|
-
- bin/console
|
|
224
|
-
- bin/setup
|
|
225
205
|
- faithteams-api.gemspec
|
|
226
|
-
- faithteams-api/.env.template
|
|
227
|
-
- faithteams-api/Authenticate.bru
|
|
228
|
-
- faithteams-api/api-v2.faithteams.com/Batch/Batch Create.bru
|
|
229
|
-
- faithteams-api/api-v2.faithteams.com/Batch/Batch Totals.bru
|
|
230
|
-
- faithteams-api/api-v2.faithteams.com/Batch/Batch Update.bru
|
|
231
|
-
- faithteams-api/api-v2.faithteams.com/Batch/Batch.bru
|
|
232
|
-
- faithteams-api/api-v2.faithteams.com/Batch/Batches.bru
|
|
233
|
-
- faithteams-api/api-v2.faithteams.com/Batch/folder.bru
|
|
234
|
-
- faithteams-api/api-v2.faithteams.com/Contribution Type/Contribution Type.bru
|
|
235
|
-
- faithteams-api/api-v2.faithteams.com/Contribution Type/Contribution Types.bru
|
|
236
|
-
- faithteams-api/api-v2.faithteams.com/Contribution Type/folder.bru
|
|
237
|
-
- faithteams-api/api-v2.faithteams.com/Contribution/Contribution Create.bru
|
|
238
|
-
- faithteams-api/api-v2.faithteams.com/Contribution/Contribution.bru
|
|
239
|
-
- faithteams-api/api-v2.faithteams.com/Contribution/Contributions.bru
|
|
240
|
-
- faithteams-api/api-v2.faithteams.com/Contribution/folder.bru
|
|
241
|
-
- faithteams-api/api-v2.faithteams.com/Error/Integer Too Big.bru
|
|
242
|
-
- faithteams-api/api-v2.faithteams.com/Error/Not Found.bru
|
|
243
|
-
- faithteams-api/api-v2.faithteams.com/Error/folder.bru
|
|
244
|
-
- faithteams-api/api-v2.faithteams.com/Fund/Fund Create.bru
|
|
245
|
-
- faithteams-api/api-v2.faithteams.com/Fund/Fund Update.bru
|
|
246
|
-
- faithteams-api/api-v2.faithteams.com/Fund/Fund.bru
|
|
247
|
-
- faithteams-api/api-v2.faithteams.com/Fund/Funds.bru
|
|
248
|
-
- faithteams-api/api-v2.faithteams.com/Fund/folder.bru
|
|
249
|
-
- faithteams-api/api-v2.faithteams.com/folder.bru
|
|
250
|
-
- faithteams-api/app.faithteams.com-api-v2/Authenticate.bru
|
|
251
|
-
- faithteams-api/app.faithteams.com-api-v2/Checkins.bru
|
|
252
|
-
- faithteams-api/app.faithteams.com-api-v2/Error/Not Found 2.bru
|
|
253
|
-
- faithteams-api/app.faithteams.com-api-v2/Error/Not Found.bru
|
|
254
|
-
- faithteams-api/app.faithteams.com-api-v2/Error/folder.bru
|
|
255
|
-
- faithteams-api/app.faithteams.com-api-v2/People/Create Person.bru
|
|
256
|
-
- faithteams-api/app.faithteams.com-api-v2/People/People Memberships.bru
|
|
257
|
-
- faithteams-api/app.faithteams.com-api-v2/People/People.bru
|
|
258
|
-
- faithteams-api/app.faithteams.com-api-v2/People/Person Tags.bru
|
|
259
|
-
- faithteams-api/app.faithteams.com-api-v2/People/Person.bru
|
|
260
|
-
- faithteams-api/app.faithteams.com-api-v2/People/Update Person.bru
|
|
261
|
-
- faithteams-api/app.faithteams.com-api-v2/People/folder.bru
|
|
262
|
-
- faithteams-api/app.faithteams.com-api-v2/Rules.bru
|
|
263
|
-
- faithteams-api/app.faithteams.com-api-v2/Team & Organization/Organization.bru
|
|
264
|
-
- faithteams-api/app.faithteams.com-api-v2/Team & Organization/Teams.bru
|
|
265
|
-
- faithteams-api/app.faithteams.com-api-v2/Team & Organization/folder.bru
|
|
266
|
-
- faithteams-api/app.faithteams.com-api-v2/Unsubscribes.bru
|
|
267
|
-
- faithteams-api/app.faithteams.com-api-v2/User/User.bru
|
|
268
|
-
- faithteams-api/app.faithteams.com-api-v2/User/Users.bru
|
|
269
|
-
- faithteams-api/app.faithteams.com-api-v2/User/folder.bru
|
|
270
|
-
- faithteams-api/app.faithteams.com-api-v2/folder.bru
|
|
271
|
-
- faithteams-api/bruno.json
|
|
272
|
-
- faithteams-api/environments/FaithTeams.bru
|
|
273
|
-
- guides/api_client_interface.md
|
|
274
|
-
- guides/release-process.md
|
|
275
206
|
- lib/faithteams.rb
|
|
276
207
|
- lib/faithteams/api.rb
|
|
277
208
|
- lib/faithteams/api/v2.rb
|
|
@@ -297,11 +228,6 @@ files:
|
|
|
297
228
|
- lib/faithteams/api/v2/resource/fund.rb
|
|
298
229
|
- lib/faithteams/api/v2/resource/person.rb
|
|
299
230
|
- lib/faithteams/version.rb
|
|
300
|
-
- thunder-tests/.gitignore
|
|
301
|
-
- thunder-tests/collections/tc_col_faithteams-api.json
|
|
302
|
-
- thunder-tests/collections/tc_col_faithteams-app.json
|
|
303
|
-
- thunder-tests/environments/tc_env_faithteams.json
|
|
304
|
-
- thunder-tests/faithteams.env.template
|
|
305
231
|
homepage: https://github.com/tithely/faithteams-api
|
|
306
232
|
licenses:
|
|
307
233
|
- MIT
|
data/.editorconfig
DELETED
data/.github/CODEOWNERS
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
* @tithely/integrations
|
data/.github/CONTRIBUTING.md
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
# Introduction
|
|
2
|
-
|
|
3
|
-
First off, thank you for considering contributing to Tithely open source. We strive to be the best platform for developers to build tools for the church and want to thank you for your bug report or pull requests.
|
|
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, assessing changes, and helping you finalize your pull requests.
|
|
6
|
-
|
|
7
|
-
## What We Look For
|
|
8
|
-
|
|
9
|
-
We welcome any bug reports and documentation corrections or additions. If you have a fix or a bit of functionality you would like to see introduced, please follow our guidelines for submitting a PR. We will work with you to determine if we can incorporate your work right now or plan for it in the future.
|
|
10
|
-
|
|
11
|
-
# Ground Rules
|
|
12
|
-
|
|
13
|
-
* We respect all members and welcome diverse viewpoints and contributions. For more information, check out our [Code of Conduct](https://github.com/tithely/tithely-transaction-gem/blob/master/CODE_OF_CONDUCT.md).
|
|
14
|
-
* Keep pull requests as short and direct as possible.
|
|
15
|
-
* Tests must accompany any pull request to show additional or changed behavior.
|
|
16
|
-
|
|
17
|
-
# Reporting a Bug
|
|
18
|
-
|
|
19
|
-
If you find a security vulnerability, do NOT open an issue. Email integrations@tithe.ly instead.
|
|
20
|
-
|
|
21
|
-
For any other bug report, please open an issue [here](https://github.com/tithely/tithely-transaction-gem/issues/new?assignees=&labels=fix&template=bug_report.md&title=).
|
|
22
|
-
|
|
23
|
-
Follow along with the template and please provide as much information as possible.
|
|
24
|
-
|
|
25
|
-
# Suggesting a Feature
|
|
26
|
-
|
|
27
|
-
Before submitting a feature request, check out our [Roadmap](https://github.com/tithely/tithely-transaction-gem/wiki/2020-Roadmap) and active [Projects](https://github.com/tithely/tithely-transaction-gem/projects) to make sure that we aren't currently working on it.
|
|
28
|
-
|
|
29
|
-
For any other requests, please open an issue [here](https://github.com/tithely/tithely-transaction-gem/issues/new?assignees=&labels=new&template=feature_request.md&title=).
|
|
30
|
-
|
|
31
|
-
Follow along with the template and please provide as much information as possible.
|
|
32
|
-
|
|
33
|
-
# Submitting a Pull Request
|
|
34
|
-
|
|
35
|
-
When submitting a pull request, please follow along with our template and ensure that everything is passing. As a rule, we generally will not take a look at code before all checks have passed.
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
name: EditorConfig
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
pull_request:
|
|
5
|
-
types: [ opened, reopened, synchronize ]
|
|
6
|
-
workflow_dispatch:
|
|
7
|
-
|
|
8
|
-
jobs:
|
|
9
|
-
build:
|
|
10
|
-
name: Check
|
|
11
|
-
runs-on: ubuntu-latest
|
|
12
|
-
steps:
|
|
13
|
-
- name: Checkout Code
|
|
14
|
-
uses: actions/checkout@v6
|
|
15
|
-
- name: Setup Node
|
|
16
|
-
uses: actions/setup-node@v4
|
|
17
|
-
with:
|
|
18
|
-
node-version: 24
|
|
19
|
-
- name: Install editorconfig-checker
|
|
20
|
-
run: npm install --global editorconfig-checker
|
|
21
|
-
- name: Run editorconfig-checker
|
|
22
|
-
run: |
|
|
23
|
-
editorconfig-checker -verbose -exclude "(thunder-tests|Gemfile.lock|.csv)"
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
name: Rubocop
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
pull_request:
|
|
5
|
-
types: [ opened, reopened, synchronize ]
|
|
6
|
-
workflow_dispatch:
|
|
7
|
-
|
|
8
|
-
jobs:
|
|
9
|
-
check:
|
|
10
|
-
name: Check
|
|
11
|
-
runs-on: ubuntu-latest
|
|
12
|
-
steps:
|
|
13
|
-
- uses: actions/checkout@v6
|
|
14
|
-
- name: Set up Ruby
|
|
15
|
-
uses: ruby/setup-ruby@v1
|
|
16
|
-
with:
|
|
17
|
-
ruby-version: 3.3
|
|
18
|
-
- name: Install dependencies
|
|
19
|
-
run: bundle install
|
|
20
|
-
- name: Run Rubocop
|
|
21
|
-
run: bundle exec rubocop --parallel
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
# Builds and pushes a gem to RubyGems.
|
|
2
|
-
name: RubyGems
|
|
3
|
-
|
|
4
|
-
on:
|
|
5
|
-
pull_request:
|
|
6
|
-
# Only on the production branch
|
|
7
|
-
branches:
|
|
8
|
-
- production
|
|
9
|
-
# Only when closed
|
|
10
|
-
types:
|
|
11
|
-
- closed
|
|
12
|
-
workflow_dispatch:
|
|
13
|
-
|
|
14
|
-
jobs:
|
|
15
|
-
push:
|
|
16
|
-
if: github.event.pull_request.merged == true
|
|
17
|
-
runs-on: ubuntu-latest
|
|
18
|
-
|
|
19
|
-
permissions:
|
|
20
|
-
contents: write
|
|
21
|
-
id-token: write
|
|
22
|
-
|
|
23
|
-
# If you configured a GitHub environment on RubyGems, you must use it here.
|
|
24
|
-
environment: release
|
|
25
|
-
|
|
26
|
-
steps:
|
|
27
|
-
# Set up
|
|
28
|
-
- uses: actions/checkout@v6
|
|
29
|
-
- name: Set up Ruby
|
|
30
|
-
uses: ruby/setup-ruby@v1
|
|
31
|
-
with:
|
|
32
|
-
bundler-cache: true
|
|
33
|
-
ruby-version: 3.3
|
|
34
|
-
|
|
35
|
-
# Release
|
|
36
|
-
- uses: rubygems/release-gem@v1
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
name: Tester
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
pull_request:
|
|
5
|
-
types: [ opened, reopened, synchronize ]
|
|
6
|
-
workflow_dispatch:
|
|
7
|
-
|
|
8
|
-
jobs:
|
|
9
|
-
build:
|
|
10
|
-
name: Test
|
|
11
|
-
runs-on: ubuntu-latest
|
|
12
|
-
steps:
|
|
13
|
-
- uses: actions/checkout@v6
|
|
14
|
-
- name: Set up Ruby
|
|
15
|
-
uses: ruby/setup-ruby@v1
|
|
16
|
-
with:
|
|
17
|
-
ruby-version: 3.3
|
|
18
|
-
- name: Install dependencies
|
|
19
|
-
run: bundle install
|
|
20
|
-
- name: Run tests
|
|
21
|
-
run: bundle exec rake
|
data/.github/workflows/yard.yml
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
name: Yard
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
pull_request:
|
|
5
|
-
types: [ opened, reopened, synchronize ]
|
|
6
|
-
workflow_dispatch:
|
|
7
|
-
|
|
8
|
-
jobs:
|
|
9
|
-
check:
|
|
10
|
-
name: Check
|
|
11
|
-
runs-on: ubuntu-latest
|
|
12
|
-
steps:
|
|
13
|
-
- uses: actions/checkout@v6
|
|
14
|
-
- name: Set up Ruby
|
|
15
|
-
uses: ruby/setup-ruby@v1
|
|
16
|
-
with:
|
|
17
|
-
ruby-version: 3.3
|
|
18
|
-
- name: Install dependencies
|
|
19
|
-
run: bundle install
|
|
20
|
-
- name: Run Yard
|
|
21
|
-
run: bundle exec yard stats --list-undoc --fail-on-warning
|
data/.gitignore
DELETED
data/.rspec
DELETED
data/.rubocop.yml
DELETED
|
@@ -1,228 +0,0 @@
|
|
|
1
|
-
plugins:
|
|
2
|
-
- rubocop-performance
|
|
3
|
-
- rubocop-rake
|
|
4
|
-
- rubocop-rspec
|
|
5
|
-
|
|
6
|
-
AllCops:
|
|
7
|
-
# RuboCop has a bunch of cops enabled by default. This setting tells RuboCop
|
|
8
|
-
# to ignore them, so only the ones explicitly set in this file are enabled.
|
|
9
|
-
DisabledByDefault: true
|
|
10
|
-
|
|
11
|
-
Performance:
|
|
12
|
-
Exclude:
|
|
13
|
-
- "**/test/**/*"
|
|
14
|
-
|
|
15
|
-
# Prefer &&/|| over and/or.
|
|
16
|
-
Style/AndOr:
|
|
17
|
-
Enabled: true
|
|
18
|
-
EnforcedStyle: conditionals
|
|
19
|
-
|
|
20
|
-
# Align `when` with `case`.
|
|
21
|
-
Layout/CaseIndentation:
|
|
22
|
-
Enabled: true
|
|
23
|
-
EnforcedStyle: end
|
|
24
|
-
|
|
25
|
-
Layout/ClosingHeredocIndentation:
|
|
26
|
-
Enabled: true
|
|
27
|
-
|
|
28
|
-
# Align comments with method definitions.
|
|
29
|
-
Layout/CommentIndentation:
|
|
30
|
-
Enabled: true
|
|
31
|
-
|
|
32
|
-
Layout/ElseAlignment:
|
|
33
|
-
Enabled: true
|
|
34
|
-
|
|
35
|
-
# Align `end` with the matching keyword or starting expression except for
|
|
36
|
-
# assignments, where it should be aligned with the LHS.
|
|
37
|
-
Layout/EndAlignment:
|
|
38
|
-
Enabled: true
|
|
39
|
-
EnforcedStyleAlignWith: variable
|
|
40
|
-
AutoCorrect: true
|
|
41
|
-
|
|
42
|
-
Layout/EmptyLineAfterMagicComment:
|
|
43
|
-
Enabled: true
|
|
44
|
-
|
|
45
|
-
Layout/EmptyLinesAroundAccessModifier:
|
|
46
|
-
Enabled: false
|
|
47
|
-
EnforcedStyle: only_before
|
|
48
|
-
|
|
49
|
-
Layout/EmptyLinesAroundBlockBody:
|
|
50
|
-
Enabled: true
|
|
51
|
-
|
|
52
|
-
# In a regular class definition, no empty lines around the body.
|
|
53
|
-
Layout/EmptyLinesAroundClassBody:
|
|
54
|
-
Enabled: true
|
|
55
|
-
|
|
56
|
-
# In a regular method definition, no empty lines around the body.
|
|
57
|
-
Layout/EmptyLinesAroundMethodBody:
|
|
58
|
-
Enabled: true
|
|
59
|
-
|
|
60
|
-
# In a regular module definition, no empty lines around the body.
|
|
61
|
-
Layout/EmptyLinesAroundModuleBody:
|
|
62
|
-
Enabled: true
|
|
63
|
-
|
|
64
|
-
# Use Ruby >= 1.9 syntax for hashes. Prefer { a: :b } over { :a => :b }.
|
|
65
|
-
Style/HashSyntax:
|
|
66
|
-
Enabled: true
|
|
67
|
-
EnforcedStyle: ruby19
|
|
68
|
-
EnforcedShorthandSyntax: never # Ruby 3.1 allows omission of value name, but we want to support prior Ruby versions
|
|
69
|
-
|
|
70
|
-
Layout/FirstArgumentIndentation:
|
|
71
|
-
Enabled: true
|
|
72
|
-
|
|
73
|
-
# Method definitions after `private` or `protected` isolated calls need one
|
|
74
|
-
# extra level of indentation.
|
|
75
|
-
Layout/IndentationConsistency:
|
|
76
|
-
Enabled: false
|
|
77
|
-
|
|
78
|
-
# Two spaces, no tabs (for indentation).
|
|
79
|
-
Layout/IndentationWidth:
|
|
80
|
-
Enabled: true
|
|
81
|
-
|
|
82
|
-
Layout/LeadingCommentSpace:
|
|
83
|
-
Enabled: true
|
|
84
|
-
|
|
85
|
-
Layout/SpaceAfterColon:
|
|
86
|
-
Enabled: true
|
|
87
|
-
|
|
88
|
-
Layout/SpaceAfterComma:
|
|
89
|
-
Enabled: true
|
|
90
|
-
|
|
91
|
-
Layout/SpaceAfterSemicolon:
|
|
92
|
-
Enabled: true
|
|
93
|
-
|
|
94
|
-
Layout/SpaceAroundEqualsInParameterDefault:
|
|
95
|
-
Enabled: true
|
|
96
|
-
|
|
97
|
-
Layout/SpaceAroundKeyword:
|
|
98
|
-
Enabled: true
|
|
99
|
-
|
|
100
|
-
Layout/SpaceBeforeComma:
|
|
101
|
-
Enabled: true
|
|
102
|
-
|
|
103
|
-
Layout/SpaceBeforeComment:
|
|
104
|
-
Enabled: true
|
|
105
|
-
|
|
106
|
-
Layout/SpaceBeforeFirstArg:
|
|
107
|
-
Enabled: true
|
|
108
|
-
|
|
109
|
-
Style/DefWithParentheses:
|
|
110
|
-
Enabled: true
|
|
111
|
-
|
|
112
|
-
# Defining a method with parameters needs parentheses.
|
|
113
|
-
Style/MethodDefParentheses:
|
|
114
|
-
Enabled: true
|
|
115
|
-
|
|
116
|
-
Style/FrozenStringLiteralComment:
|
|
117
|
-
Enabled: true
|
|
118
|
-
EnforcedStyle: always
|
|
119
|
-
|
|
120
|
-
Style/RedundantFreeze:
|
|
121
|
-
Enabled: true
|
|
122
|
-
|
|
123
|
-
# Use `foo {}` not `foo{}`.
|
|
124
|
-
Layout/SpaceBeforeBlockBraces:
|
|
125
|
-
Enabled: true
|
|
126
|
-
|
|
127
|
-
# Use `foo { bar }` not `foo {bar}`.
|
|
128
|
-
Layout/SpaceInsideBlockBraces:
|
|
129
|
-
Enabled: true
|
|
130
|
-
EnforcedStyleForEmptyBraces: space
|
|
131
|
-
|
|
132
|
-
# Use `{ a: 1 }` not `{a:1}`.
|
|
133
|
-
Layout/SpaceInsideHashLiteralBraces:
|
|
134
|
-
Enabled: true
|
|
135
|
-
|
|
136
|
-
Layout/SpaceInsideParens:
|
|
137
|
-
Enabled: true
|
|
138
|
-
|
|
139
|
-
# Check quotes usage according to lint rule below.
|
|
140
|
-
Style/StringLiterals:
|
|
141
|
-
Enabled: true
|
|
142
|
-
EnforcedStyle: double_quotes
|
|
143
|
-
|
|
144
|
-
# Detect hard tabs, no hard tabs.
|
|
145
|
-
Layout/IndentationStyle:
|
|
146
|
-
Enabled: true
|
|
147
|
-
|
|
148
|
-
# Empty lines should not have any spaces.
|
|
149
|
-
Layout/TrailingEmptyLines:
|
|
150
|
-
Enabled: true
|
|
151
|
-
|
|
152
|
-
# No trailing whitespace.
|
|
153
|
-
Layout/TrailingWhitespace:
|
|
154
|
-
Enabled: true
|
|
155
|
-
|
|
156
|
-
# Use quotes for string literals when they are enough.
|
|
157
|
-
Style/RedundantPercentQ:
|
|
158
|
-
Enabled: true
|
|
159
|
-
|
|
160
|
-
Lint/AmbiguousOperator:
|
|
161
|
-
Enabled: true
|
|
162
|
-
|
|
163
|
-
Lint/AmbiguousRegexpLiteral:
|
|
164
|
-
Enabled: true
|
|
165
|
-
|
|
166
|
-
Lint/ErbNewArguments:
|
|
167
|
-
Enabled: true
|
|
168
|
-
|
|
169
|
-
# Use my_method(my_arg) not my_method( my_arg ) or my_method my_arg.
|
|
170
|
-
Lint/RequireParentheses:
|
|
171
|
-
Enabled: true
|
|
172
|
-
|
|
173
|
-
Lint/ShadowingOuterLocalVariable:
|
|
174
|
-
Enabled: true
|
|
175
|
-
|
|
176
|
-
Lint/RedundantStringCoercion:
|
|
177
|
-
Enabled: true
|
|
178
|
-
|
|
179
|
-
Lint/UriEscapeUnescape:
|
|
180
|
-
Enabled: true
|
|
181
|
-
|
|
182
|
-
Lint/UselessAssignment:
|
|
183
|
-
Enabled: true
|
|
184
|
-
|
|
185
|
-
Lint/DeprecatedClassMethods:
|
|
186
|
-
Enabled: true
|
|
187
|
-
|
|
188
|
-
Style/ParenthesesAroundCondition:
|
|
189
|
-
Enabled: true
|
|
190
|
-
|
|
191
|
-
Style/RedundantBegin:
|
|
192
|
-
Enabled: true
|
|
193
|
-
|
|
194
|
-
Style/RedundantReturn:
|
|
195
|
-
Enabled: true
|
|
196
|
-
AllowMultipleReturnValues: true
|
|
197
|
-
|
|
198
|
-
Style/Semicolon:
|
|
199
|
-
Enabled: true
|
|
200
|
-
AllowAsExpressionSeparator: true
|
|
201
|
-
|
|
202
|
-
# Prefer Foo.method over Foo::method
|
|
203
|
-
Style/ColonMethodCall:
|
|
204
|
-
Enabled: true
|
|
205
|
-
|
|
206
|
-
Style/TrivialAccessors:
|
|
207
|
-
Enabled: true
|
|
208
|
-
|
|
209
|
-
Performance/FlatMap:
|
|
210
|
-
Enabled: true
|
|
211
|
-
|
|
212
|
-
Performance/RedundantMerge:
|
|
213
|
-
Enabled: true
|
|
214
|
-
|
|
215
|
-
Performance/StartWith:
|
|
216
|
-
Enabled: true
|
|
217
|
-
|
|
218
|
-
Performance/EndWith:
|
|
219
|
-
Enabled: true
|
|
220
|
-
|
|
221
|
-
Performance/RegexpMatch:
|
|
222
|
-
Enabled: true
|
|
223
|
-
|
|
224
|
-
Performance/ReverseEach:
|
|
225
|
-
Enabled: true
|
|
226
|
-
|
|
227
|
-
Performance/UnfreezeString:
|
|
228
|
-
Enabled: true
|
data/.tool-versions
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
ruby 3.3.0
|