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.
Files changed (79) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +10 -0
  3. data/faithteams-api.gemspec +8 -2
  4. data/lib/faithteams/version.rb +1 -1
  5. metadata +2 -76
  6. data/.editorconfig +0 -11
  7. data/.github/CODEOWNERS +0 -1
  8. data/.github/CONTRIBUTING.md +0 -35
  9. data/.github/PULL_REQUEST_TEMPLATE.md +0 -8
  10. data/.github/workflows/editorconfig.yml +0 -23
  11. data/.github/workflows/rubocop.yml +0 -21
  12. data/.github/workflows/rubygems.yml +0 -36
  13. data/.github/workflows/tester.yml +0 -21
  14. data/.github/workflows/yard.yml +0 -21
  15. data/.gitignore +0 -17
  16. data/.rspec +0 -2
  17. data/.rubocop.yml +0 -228
  18. data/.tool-versions +0 -1
  19. data/CODE_OF_CONDUCT.md +0 -128
  20. data/Gemfile +0 -11
  21. data/Gemfile.lock +0 -189
  22. data/Guardfile +0 -50
  23. data/Rakefile +0 -8
  24. data/bin/console +0 -15
  25. data/bin/setup +0 -8
  26. data/faithteams-api/.env.template +0 -4
  27. data/faithteams-api/Authenticate.bru +0 -25
  28. data/faithteams-api/api-v2.faithteams.com/Batch/Batch Create.bru +0 -23
  29. data/faithteams-api/api-v2.faithteams.com/Batch/Batch Totals.bru +0 -19
  30. data/faithteams-api/api-v2.faithteams.com/Batch/Batch Update.bru +0 -27
  31. data/faithteams-api/api-v2.faithteams.com/Batch/Batch.bru +0 -15
  32. data/faithteams-api/api-v2.faithteams.com/Batch/Batches.bru +0 -32
  33. data/faithteams-api/api-v2.faithteams.com/Batch/folder.bru +0 -8
  34. data/faithteams-api/api-v2.faithteams.com/Contribution/Contribution Create.bru +0 -40
  35. data/faithteams-api/api-v2.faithteams.com/Contribution/Contribution.bru +0 -15
  36. data/faithteams-api/api-v2.faithteams.com/Contribution/Contributions.bru +0 -34
  37. data/faithteams-api/api-v2.faithteams.com/Contribution/folder.bru +0 -8
  38. data/faithteams-api/api-v2.faithteams.com/Contribution Type/Contribution Type.bru +0 -15
  39. data/faithteams-api/api-v2.faithteams.com/Contribution Type/Contribution Types.bru +0 -20
  40. data/faithteams-api/api-v2.faithteams.com/Contribution Type/folder.bru +0 -8
  41. data/faithteams-api/api-v2.faithteams.com/Error/Integer Too Big.bru +0 -15
  42. data/faithteams-api/api-v2.faithteams.com/Error/Not Found.bru +0 -15
  43. data/faithteams-api/api-v2.faithteams.com/Error/folder.bru +0 -8
  44. data/faithteams-api/api-v2.faithteams.com/Fund/Fund Create.bru +0 -30
  45. data/faithteams-api/api-v2.faithteams.com/Fund/Fund Update.bru +0 -32
  46. data/faithteams-api/api-v2.faithteams.com/Fund/Fund.bru +0 -15
  47. data/faithteams-api/api-v2.faithteams.com/Fund/Funds.bru +0 -20
  48. data/faithteams-api/api-v2.faithteams.com/Fund/folder.bru +0 -8
  49. data/faithteams-api/api-v2.faithteams.com/folder.bru +0 -13
  50. data/faithteams-api/app.faithteams.com-api-v2/Authenticate.bru +0 -26
  51. data/faithteams-api/app.faithteams.com-api-v2/Checkins.bru +0 -15
  52. data/faithteams-api/app.faithteams.com-api-v2/Error/Not Found 2.bru +0 -15
  53. data/faithteams-api/app.faithteams.com-api-v2/Error/Not Found.bru +0 -15
  54. data/faithteams-api/app.faithteams.com-api-v2/Error/folder.bru +0 -8
  55. data/faithteams-api/app.faithteams.com-api-v2/People/Create Person.bru +0 -28
  56. data/faithteams-api/app.faithteams.com-api-v2/People/People Memberships.bru +0 -15
  57. data/faithteams-api/app.faithteams.com-api-v2/People/People.bru +0 -27
  58. data/faithteams-api/app.faithteams.com-api-v2/People/Person Tags.bru +0 -15
  59. data/faithteams-api/app.faithteams.com-api-v2/People/Person.bru +0 -15
  60. data/faithteams-api/app.faithteams.com-api-v2/People/Update Person.bru +0 -26
  61. data/faithteams-api/app.faithteams.com-api-v2/People/folder.bru +0 -8
  62. data/faithteams-api/app.faithteams.com-api-v2/Rules.bru +0 -15
  63. data/faithteams-api/app.faithteams.com-api-v2/Team & Organization/Organization.bru +0 -15
  64. data/faithteams-api/app.faithteams.com-api-v2/Team & Organization/Teams.bru +0 -21
  65. data/faithteams-api/app.faithteams.com-api-v2/Team & Organization/folder.bru +0 -8
  66. data/faithteams-api/app.faithteams.com-api-v2/Unsubscribes.bru +0 -19
  67. data/faithteams-api/app.faithteams.com-api-v2/User/User.bru +0 -15
  68. data/faithteams-api/app.faithteams.com-api-v2/User/Users.bru +0 -24
  69. data/faithteams-api/app.faithteams.com-api-v2/User/folder.bru +0 -8
  70. data/faithteams-api/app.faithteams.com-api-v2/folder.bru +0 -12
  71. data/faithteams-api/bruno.json +0 -9
  72. data/faithteams-api/environments/FaithTeams.bru +0 -17
  73. data/guides/api_client_interface.md +0 -18
  74. data/guides/release-process.md +0 -11
  75. data/thunder-tests/.gitignore +0 -2
  76. data/thunder-tests/collections/tc_col_faithteams-api.json +0 -1301
  77. data/thunder-tests/collections/tc_col_faithteams-app.json +0 -1189
  78. data/thunder-tests/environments/tc_env_faithteams.json +0 -59
  79. data/thunder-tests/faithteams.env.template +0 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7094affc4f1e85b777c3c0753bb70419dbfc5fc837026f3eadce7c4e5016fde7
4
- data.tar.gz: 23d30acf16c0e1873848e13600ebb7ec5c7224ed30bfa60f5534d08fe429d1d5
3
+ metadata.gz: 1aec219baf9e280f2684ac5457185faa130dbab2dd6c1df7697eab9ba64531fe
4
+ data.tar.gz: 1d33fb74c60916e51b80508aaa1d1f13ee505809def08ec53680ffb487802553
5
5
  SHA512:
6
- metadata.gz: e5821e8131f2a41b8049095e177dd1ef60585d9ee9713e4d3d254e68ca1d87794ee561aa6608d8ccd819faba90828b914eb269bde83676cc06dae1f780405bdb
7
- data.tar.gz: d7d99a29756dbd95b214694029f1cd7b35c3a1f42d57a99fc40bcb5ae5fa64b56d25f68af8430c36d1a97eb9274d4dc95dd669fce69ef628baafd1cc28ee657d
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
@@ -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
- # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
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").reject { |f| f.match(%r{^(test|spec|features)/}) }
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) }
@@ -2,5 +2,5 @@
2
2
 
3
3
  module FaithTeams
4
4
  # Current version number.
5
- VERSION = "4.6.1"
5
+ VERSION = "4.6.2"
6
6
  end
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.1
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-03-30 00:00:00.000000000 Z
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
@@ -1,11 +0,0 @@
1
- [*]
2
- end_of_line = lf
3
- trim_trailing_whitespace = true
4
- insert_final_newline = true
5
- indent_style = space
6
- indent_size = 2
7
- charset = utf-8
8
-
9
- [*.{json,md}]
10
- indent_style = space
11
- indent_size = 4
data/.github/CODEOWNERS DELETED
@@ -1 +0,0 @@
1
- * @tithely/integrations
@@ -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,8 +0,0 @@
1
- # Summary
2
-
3
-
4
-
5
- ## Checklist
6
-
7
- * [ ] Did we think two weeks into the future and not two years? Is this addition malleable to be changed tomorrow without being over-engineered today?
8
- * [ ] Have you updated the changelog with this behavior?
@@ -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
@@ -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
@@ -1,17 +0,0 @@
1
- /.bundle/
2
- /.byebug_history
3
- /.yardoc
4
- /_yardoc/
5
- /doc/
6
- /coverage/
7
- /pkg/
8
- /spec/reports/
9
- /tmp/
10
- /faithteams-api/*.env
11
-
12
- # rspec failure tracking
13
- .rspec_status
14
-
15
- .idea/*
16
-
17
- .DS_Store
data/.rspec DELETED
@@ -1,2 +0,0 @@
1
- --color
2
- --require spec_helper
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