track_open_instances 0.1.0 → 0.1.10

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 264fbcefa796af11230c90bc8f1221363d3af1515975e8647a694a486499c874
4
- data.tar.gz: 7a5129b04a6ff432a8b7641f80b0b18e98ea52a96b8bb45599ba991650558fea
3
+ metadata.gz: c549220e45116c5a6ac033c6b1aa740c2e31834f96bd1e3c0550d58ebfd86b8e
4
+ data.tar.gz: 534a96da8b84a9a0936498de5c53603389251776dc6de94996bea7ac5531be54
5
5
  SHA512:
6
- metadata.gz: '0963b6a2fcd9fb91f42dfadc663425365de598b82e1635d8178216ca05da85d19cf1ba8c0bf67807bf3ff650b73558717703ade5772bb516d357b2c2517e363c'
7
- data.tar.gz: 57aa5b10f7fc3b96f062cab47985ac5e060aebff83a408293c91339809f68105414b34bff748a016a53f055b23bbf30f37ae3dde43ce05c24a660d59896382f4
6
+ metadata.gz: 47fbd1a4870a53d0cc203a377e15bcc35683ebf885e7ab9065c885afb2a8a52da8398f2d60d99dbd17405dc316582bf708525c43a2a51e1a8163677c5afecec1
7
+ data.tar.gz: accf55976f9ac9c5ee7cf6e96bcfa8f5844db80e4624ef13f5f5d0458dfeb3e8640230f1874f11dc83c169aca66e1b30a22ec1a0ee1014f807bdcd0923ee6786
@@ -0,0 +1,3 @@
1
+ {
2
+ ".": "0.1.10"
3
+ }
data/.yardopts CHANGED
@@ -5,5 +5,4 @@
5
5
  --readme README.md
6
6
  - CHANGELOG.md
7
7
  - CONTRIBUTING.md
8
- - RELEASING.md
9
8
  - LICENSE.txt
data/CHANGELOG.md CHANGED
@@ -1,19 +1,100 @@
1
1
  # Change Log
2
2
 
3
+ ## [0.1.10](https://github.com/main-branch/track_open_instances/compare/v0.1.9...v0.1.10) (2025-04-15)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * Amend release task so it does not create a new tag ([4ba194c](https://github.com/main-branch/track_open_instances/commit/4ba194ce6c744db3ab57bed022e8d311166a4e64))
9
+
10
+ ## [0.1.9](https://github.com/main-branch/track_open_instances/compare/v0.1.8...v0.1.9) (2025-04-15)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * Amend release task so it does not create a new tag ([7bedd17](https://github.com/main-branch/track_open_instances/commit/7bedd176c140f6b3979f39388f0ca803c32f9282))
16
+
17
+ ## [0.1.8](https://github.com/main-branch/track_open_instances/compare/v0.1.7...v0.1.8) (2025-04-15)
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * Remove component name from release version tag ([5991728](https://github.com/main-branch/track_open_instances/commit/59917284241eaa173fd4f83a38710cb50a23c750))
23
+
24
+ ## [0.1.7](https://github.com/main-branch/track_open_instances/compare/track_open_instances-v0.1.6...track_open_instances/v0.1.7) (2025-04-15)
25
+
26
+
27
+ ### Bug Fixes
28
+
29
+ * Add package-name to release-please configuration ([83d0198](https://github.com/main-branch/track_open_instances/commit/83d0198bfab34e26b641ca7e27af08b68e07c396))
30
+ * Automatically push the new gem release to rubygems.org ([d133153](https://github.com/main-branch/track_open_instances/commit/d13315396f590fefeb07cc4b71a13c9e9709842b))
31
+ * Checkout project before the release-please step in release workflow ([80d9a35](https://github.com/main-branch/track_open_instances/commit/80d9a35ed155f3ba7e14a585e54d9ec34d2722e2))
32
+ * Fix several documentation and report errors ([fd17199](https://github.com/main-branch/track_open_instances/commit/fd171997871796df746c8e1312a4fdb07cb363d5))
33
+ * Make release-please use a different tag than release-gem ([a7d42dc](https://github.com/main-branch/track_open_instances/commit/a7d42dcb132bd40ceb3830a6a02a09694022844a))
34
+ * Make small change to test release ([8304c90](https://github.com/main-branch/track_open_instances/commit/8304c905883c760e6419210be300b637f01e054d))
35
+ * Release workflow should checkout project ([869a7e0](https://github.com/main-branch/track_open_instances/commit/869a7e011438b57bcb810680ecdf0eb5beec193b))
36
+ * Remove the qlty.sh integration ([4c4492b](https://github.com/main-branch/track_open_instances/commit/4c4492bb19d1f39fa96ec30ad0af12d103067e92))
37
+ * Specify the version file ([be826cf](https://github.com/main-branch/track_open_instances/commit/be826cfe9a8aa526cdaa3f1ecb5912641f3db38c))
38
+ * Start autoreleases at 0.1.0 ([5a2fad7](https://github.com/main-branch/track_open_instances/commit/5a2fad7a9cb029a5dbfb9785f979fc07bf7f127b))
39
+
40
+ ## [0.1.6](https://github.com/main-branch/track_open_instances/compare/v0.1.5...v0.1.6) (2025-04-15)
41
+
42
+
43
+ ### Bug Fixes
44
+
45
+ * Make release-please use a different tag than release-gem ([a7d42dc](https://github.com/main-branch/track_open_instances/commit/a7d42dcb132bd40ceb3830a6a02a09694022844a))
46
+
47
+ ## [0.1.5](https://github.com/main-branch/track_open_instances/compare/v0.1.4...v0.1.5) (2025-04-14)
48
+
49
+
50
+ ### Bug Fixes
51
+
52
+ * Checkout project before the release-please step in release workflow ([80d9a35](https://github.com/main-branch/track_open_instances/commit/80d9a35ed155f3ba7e14a585e54d9ec34d2722e2))
53
+ * Specify the version file ([be826cf](https://github.com/main-branch/track_open_instances/commit/be826cfe9a8aa526cdaa3f1ecb5912641f3db38c))
54
+
55
+ ## [0.1.4](https://github.com/main-branch/track_open_instances/compare/v0.1.3...v0.1.4) (2025-04-14)
56
+
57
+
58
+ ### Bug Fixes
59
+
60
+ * Release workflow should checkout project ([869a7e0](https://github.com/main-branch/track_open_instances/commit/869a7e011438b57bcb810680ecdf0eb5beec193b))
61
+
62
+ ## [0.1.3](https://github.com/main-branch/track_open_instances/compare/v0.1.2...v0.1.3) (2025-04-14)
63
+
64
+
65
+ ### Bug Fixes
66
+
67
+ * Automatically push the new gem release to rubygems.org ([d133153](https://github.com/main-branch/track_open_instances/commit/d13315396f590fefeb07cc4b71a13c9e9709842b))
68
+ * Remove the qlty.sh integration ([4c4492b](https://github.com/main-branch/track_open_instances/commit/4c4492bb19d1f39fa96ec30ad0af12d103067e92))
69
+
70
+ ## [0.1.2](https://github.com/main-branch/track_open_instances/compare/v0.1.1...v0.1.2) (2025-04-14)
71
+
72
+
73
+ ### Bug Fixes
74
+
75
+ * Make small change to test release ([8304c90](https://github.com/main-branch/track_open_instances/commit/8304c905883c760e6419210be300b637f01e054d))
76
+
77
+ ## [0.1.1](https://github.com/main-branch/track_open_instances/compare/v0.1.0...v0.1.1) (2025-04-14)
78
+
79
+ ### Bug Fixes
80
+
81
+ * Fix several documentation and report errors ([fd17199](https://github.com/main-branch/track_open_instances/commit/fd171997871796df746c8e1312a4fdb07cb363d5))
82
+ * Start autoreleases at 0.1.0 ([5a2fad7](https://github.com/main-branch/track_open_instances/commit/5a2fad7a9cb029a5dbfb9785f979fc07bf7f127b))
83
+
3
84
  ## v0.1.0 (2025-04-08)
4
85
 
5
86
  [Full Changelog](https://github.com/main-branch/track_open_instances/compare/f0fb459..v0.1.0)
6
87
 
7
88
  Changes:
8
89
 
9
- - f2d5318 chore: remove radarline-ruby from qlty checks
10
- - 177eba8 chore: fix formatting errors reported by `qlty fmt`
11
- - 943359f build: remove rubocop plugin from qlty
12
- - 476f271 chore: integrate yamllint
13
- - 56811ca fix: add qlty configuration in order to run qlty checks locally
14
- - e83546a fix: fix continuous integration workflow issues reported by qlty.sh
15
- - 6f67aed test: add predicate methods to determine the Ruby engine and platform
16
- - 34e3829 build: generate JSON coverage report for qlty.sh coverage reporting
17
- - 9db2052 docs: update README links
18
- - 937a971 build: update code coverage reporting
19
- - f0fb459 feat: initial implementation of TrackOpenInstances
90
+ * f2d5318 chore: remove radarline-ruby from qlty checks
91
+ * 177eba8 chore: fix formatting errors reported by `qlty fmt`
92
+ * 943359f build: remove rubocop plugin from qlty
93
+ * 476f271 chore: integrate yamllint
94
+ * 56811ca fix: add qlty configuration in order to run qlty checks locally
95
+ * e83546a fix: fix continuous integration workflow issues reported by qlty.sh
96
+ * 6f67aed test: add predicate methods to determine the Ruby engine and platform
97
+ * 34e3829 build: generate JSON coverage report for qlty.sh coverage reporting
98
+ * 9db2052 docs: update README links
99
+ * 937a971 build: update code coverage reporting
100
+ * f0fb459 feat: initial implementation of TrackOpenInstances
data/README.md CHANGED
@@ -4,8 +4,6 @@
4
4
  [![Build Status](https://github.com/main-branch/track_open_instances/actions/workflows/continuous_integration.yml/badge.svg)](https://github.com/main-branch/track_open_instances/actions/workflows/continuous_integration.yml)
5
5
  [![Documentation](https://img.shields.io/badge/Documentation-Latest-green)](https://rubydoc.info/gems/track_open_instances/)
6
6
  [![Change Log](https://img.shields.io/badge/CHANGELOG-Latest-green)](https://rubydoc.info/gems/track_open_instances/file/CHANGELOG.md)
7
- [![Maintainability](https://qlty.sh/badges/52f7402e-ab92-4f8f-9f62-d879ca628adb/maintainability.svg)](https://qlty.sh/gh/main-branch/projects/track_open_instances)
8
- [![Code Coverage](https://qlty.sh/badges/52f7402e-ab92-4f8f-9f62-d879ca628adb/test_coverage.svg)](https://qlty.sh/gh/main-branch/projects/track_open_instances)
9
7
  [![Slack](https://img.shields.io/badge/slack-main--branch/track__open__instances-yellow.svg?logo=slack)](https://main-branch.slack.com/archives/C01CHR7TMM2)
10
8
 
11
9
  `TrackOpenInstances` is a Ruby mixin designed to help manage resources that require
@@ -22,7 +20,7 @@ to aid debugging.
22
20
 
23
21
  ## Installation
24
22
 
25
- Add this line to your application's Gemfile:
23
+ Add this line to your application's or gem's Gemfile:
26
24
 
27
25
  ```Ruby
28
26
  gem 'track_open_instances'
data/Rakefile CHANGED
@@ -17,6 +17,13 @@ Bundler::Audit::Task.new
17
17
  require 'bundler'
18
18
  require 'bundler/gem_tasks'
19
19
 
20
+ # Make it so that calling `rake release` just calls `rake release:rubygems_push` to
21
+ # avoid creating and pushing a new tag.
22
+
23
+ Rake::Task['release'].clear
24
+ desc 'Customized release task to avoid creating a new tag'
25
+ task release: 'release:rubygem_push'
26
+
20
27
  # RSpec
21
28
 
22
29
  require 'rspec/core/rake_task'
@@ -2,5 +2,5 @@
2
2
 
3
3
  module TrackOpenInstances
4
4
  # The last released version of this gem
5
- VERSION = '0.1.0'
5
+ VERSION = '0.1.10'
6
6
  end
@@ -20,7 +20,7 @@ require_relative 'track_open_instances/version'
20
20
  # # Simulate opening the file
21
21
  # puts "Opening file: #{path}"
22
22
  # # Register the instance for tracking
23
- # self.class.add_instance(self)
23
+ # self.class.add_open_instance(self)
24
24
  # end
25
25
  #
26
26
  # # Implement the close logic specific to the resource
@@ -28,20 +28,20 @@ require_relative 'track_open_instances/version'
28
28
  # # Simulate closing the file
29
29
  # puts "Closing file: #{path}"
30
30
  # # Remove the instance from tracking
31
- # self.class.remove_instance(self)
31
+ # self.class.remove_open_instance(self)
32
32
  # end
33
33
  # end
34
34
  #
35
35
  # file1 = ManagedFile.new('/tmp/file1.txt')
36
36
  # file2 = ManagedFile.new('/tmp/file2.txt')
37
37
  #
38
- # puts ManagedFile.unclosed_instances.count #=> 2
39
- # puts ManagedFile.unclosed_instances.inspect #=> [#<ManagedFile:...>, #<ManagedFile:...>]
38
+ # puts ManagedFile.open_instances.count #=> 2
39
+ # puts ManagedFile.open_instances.keys.inspect #=> [#<ManagedFile:...>, #<ManagedFile:...>]
40
40
  #
41
41
  # file1.close
42
42
  #
43
- # puts ManagedFile.unclosed_instances.count #=> 1
44
- # puts ManagedFile.unclosed_instances.inspect #=> [#<ManagedFile:...>]
43
+ # puts ManagedFile.open_instances.count #=> 1
44
+ # puts ManagedFile.open_instances.keys.inspect #=> [#<ManagedFile:...>]
45
45
  #
46
46
  # # In a test suite's teardown, you might use:
47
47
  # # ManagedFile.assert_no_open_instances # This would raise if file2 wasn't closed
@@ -65,7 +65,8 @@ module TrackOpenInstances
65
65
  # Initializes a new OpenInstance
66
66
  #
67
67
  # @param instance [Object] The tracked instance
68
- # @param creation_stack [Array<String>] The call stack at the time of instance creation
68
+ # @param creation_stack [Array<Thread::Backtrace::Location>] The call stack at
69
+ # the time of instance creation
69
70
  #
70
71
  # @return [void]
71
72
  #
@@ -91,11 +92,11 @@ module TrackOpenInstances
91
92
  base.extend(ClassMethods)
92
93
  # @!attribute [rw] open_instances
93
94
  # Internal storage for all tracked instances
94
- # @return [Hash{Integer => OpenInstance}] The list of currently tracked instances
95
+ # @return [Hash{Object => OpenInstance}] The list of currently tracked instances
95
96
  base.instance_variable_set(:@open_instances, {}.compare_by_identity)
96
97
  # @!visibility private
97
98
  # @!attribute [r] open_instances_mutex
98
- # Mutex to ensure thread-safe access to the open_instances list
99
+ # Mutex to ensure thread-safe access to the open_instances hash
99
100
  base.instance_variable_set(:@open_instances_mutex, Thread::Mutex.new)
100
101
  end
101
102
 
@@ -106,16 +107,16 @@ module TrackOpenInstances
106
107
  # Direct access to the internal list of tracked instances
107
108
  #
108
109
  # Note: This returns all instances ever tracked unless explicitly removed.
109
- # Use `unclosed_instances` for checking leaks. Direct use is uncommon.
110
+ # Use `open_instances` for checking leaks. Direct use is uncommon.
110
111
  #
111
112
  # @example
112
113
  # # Assuming MyResource includes TrackOpenInstances
113
114
  # res1 = MyResource.new
114
115
  # res2 = MyResource.new
115
116
  # res1.close
116
- # MyResource.open_instances #=> [#<MyResource... object_id=res2>] (after res1 removed)
117
+ # MyResource.open_instances.keys #=> [#<MyResource... object_id=res2>] (after res1 removed)
117
118
  #
118
- # @return [Array<Object>] The raw list of currently tracked instances
119
+ # @return [Hash{Object => OpenInstance}] The raw list of currently tracked instances
119
120
  #
120
121
  # @api private
121
122
  def open_instances
@@ -135,7 +136,7 @@ module TrackOpenInstances
135
136
  # @api private
136
137
  def add_open_instance(instance)
137
138
  @open_instances_mutex.synchronize do
138
- @open_instances[instance] = OpenInstance.new(instance, caller(3..))
139
+ @open_instances[instance] = OpenInstance.new(instance, caller_locations(3))
139
140
  end
140
141
  end
141
142
 
@@ -159,7 +160,7 @@ module TrackOpenInstances
159
160
  # @example
160
161
  # res1 = MyResource.new
161
162
  # res2 = MyResource.new
162
- # MyResource.open_instance_count #=> 1
163
+ # MyResource.open_instance_count #=> 2
163
164
  #
164
165
  # @return [Integer]
165
166
  #
@@ -206,9 +207,10 @@ module TrackOpenInstances
206
207
  #
207
208
  def open_instances_report_header
208
209
  count = @open_instances.count
210
+ class_name = name || 'anonymous class'
209
211
 
210
212
  "There #{count == 1 ? 'is' : 'are'} #{count} " \
211
- "open #{self.class} instance#{count == 1 ? '' : 's'}:\n"
213
+ "open #{class_name} instance#{count == 1 ? '' : 's'}:\n"
212
214
  end
213
215
 
214
216
  # The body of the report detailing each open instance
@@ -222,21 +224,24 @@ module TrackOpenInstances
222
224
  @open_instances.each do |instance, open_instance|
223
225
  body << " - object_id=#{instance.object_id}\n"
224
226
  body << " Call stack when created:\n"
225
- open_instance.creation_stack.reverse.each { |line| body << " #{line}\n" }
227
+ open_instance.creation_stack.each do |location|
228
+ body << " #{location.path}:#{location.lineno}:in `#{location.label}'\n"
229
+ end
226
230
  end
227
231
  end
228
232
  end
229
233
 
230
234
  # Asserts that no instances of the class remain unclosed
231
235
  #
232
- # Raises a ProcessExecuter::Error with a detailed report if any instances
233
- # are found to be unclosed. Commonly used in test suite teardown blocks.
236
+ # Commonly used in test suite teardown blocks to enure that all resources were
237
+ # released.
234
238
  #
235
239
  # @example
236
240
  # # In RSpec teardown (e.g., after(:each))
237
241
  # MyResource.assert_no_open_instances
238
242
  #
239
- # @raise [RuntimeError] If any instances are found unclosed
243
+ # @raise [RuntimeError] If any instances are found unclosed with a report of
244
+ # unclosed instances
240
245
  #
241
246
  # @return [void]
242
247
  #
data/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "devDependencies": {
3
- "@commitlint/cli": "^19.5.0",
4
- "@commitlint/config-conventional": "^19.5.0",
5
- "husky": "^9.1.0"
3
+ "@commitlint/cli": "^19.8.0",
4
+ "@commitlint/config-conventional": "^19.8.0",
5
+ "husky": "^9.1.7"
6
6
  },
7
7
  "scripts": {
8
8
  "postinstall": "husky",
@@ -0,0 +1,22 @@
1
+ {
2
+ "bootstrap-sha": "c0076bab53d3eae31f3798217e281e3d51a292a3",
3
+ "packages": {
4
+ ".": {
5
+ "release-type": "ruby",
6
+ "package-name": "track_open_instances",
7
+ "changelog-path": "CHANGELOG.md",
8
+ "version-file": "lib/track_open_instances/version.rb",
9
+ "bump-minor-pre-major": true,
10
+ "bump-patch-for-minor-pre-major": true,
11
+ "draft": false,
12
+ "prerelease": false,
13
+ "include-component-in-tag": false
14
+ }
15
+ },
16
+ "plugins": [
17
+ {
18
+ "type": "sentence-case"
19
+ }
20
+ ],
21
+ "$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json"
22
+ }
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: track_open_instances
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Couball
8
8
  bindir: exe
9
9
  cert_chain: []
10
- date: 2025-04-08 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: bundler-audit
@@ -195,7 +195,7 @@ extra_rdoc_files: []
195
195
  files:
196
196
  - ".husky/commit-msg"
197
197
  - ".markdownlint.yml"
198
- - ".qlty/qlty.toml"
198
+ - ".release-please-manifest.json"
199
199
  - ".rspec"
200
200
  - ".rubocop.yml"
201
201
  - ".yamllint.yml"
@@ -204,13 +204,13 @@ files:
204
204
  - CONTRIBUTING.md
205
205
  - LICENSE.txt
206
206
  - README.md
207
- - RELEASING.md
208
207
  - Rakefile
209
208
  - commitlint.config.js
210
209
  - lib/track_open_instances.rb
211
210
  - lib/track_open_instances/version.rb
212
211
  - package.json
213
212
  - pre-commit
213
+ - release-please-config.json
214
214
  homepage: https://github.com/main-branch/track_open_instances
215
215
  licenses:
216
216
  - MIT
@@ -218,8 +218,8 @@ metadata:
218
218
  allowed_push_host: https://rubygems.org
219
219
  homepage_uri: https://github.com/main-branch/track_open_instances
220
220
  source_code_uri: https://github.com/main-branch/track_open_instances
221
- documentation_uri: https://rubydoc.info/gems/track_open_instances/0.1.0
222
- changelog_uri: https://rubydoc.info/gems/track_open_instances/0.1.0/file/CHANGELOG.md
221
+ documentation_uri: https://rubydoc.info/gems/track_open_instances/0.1.10
222
+ changelog_uri: https://rubydoc.info/gems/track_open_instances/0.1.10/file/CHANGELOG.md
223
223
  rubygems_mfa_required: 'true'
224
224
  rdoc_options: []
225
225
  require_paths:
@@ -237,7 +237,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
237
237
  requirements:
238
238
  - 'Platform: Mac, Linux, or Windows'
239
239
  - 'Ruby: MRI 3.1 or later, TruffleRuby 24 or later, or JRuby 9.4 or later'
240
- rubygems_version: 3.6.2
240
+ rubygems_version: 3.6.7
241
241
  specification_version: 4
242
242
  summary: A mixin to ensure that all instances of a class are closed
243
243
  test_files: []
data/.qlty/qlty.toml DELETED
@@ -1,104 +0,0 @@
1
- # This file was automatically generated by `qlty init`.
2
- # You can modify it to suit your needs.
3
- # We recommend you to commit this file to your repository.
4
- #
5
- # This configuration is used by both Qlty CLI and Qlty Cloud.
6
- #
7
- # Qlty CLI -- Code quality toolkit for developers
8
- # Qlty Cloud -- Fully automated Code Health Platform
9
- #
10
- # Try Qlty Cloud: https://qlty.sh
11
- #
12
- # For a guide to configuration, visit https://qlty.sh/d/config
13
- # Or for a full reference, visit https://qlty.sh/d/qlty-toml
14
- config_version = "0"
15
-
16
- exclude_patterns = [
17
- "*_min.*",
18
- "*-min.*",
19
- "*.min.*",
20
- "**/*.d.ts",
21
- "**/.yarn/**",
22
- "**/bower_components/**",
23
- "**/build/**",
24
- "**/cache/**",
25
- "**/config/**",
26
- "**/db/**",
27
- "**/deps/**",
28
- "**/dist/**",
29
- "**/extern/**",
30
- "**/external/**",
31
- "**/generated/**",
32
- "**/Godeps/**",
33
- "**/gradlew/**",
34
- "**/mvnw/**",
35
- "**/node_modules/**",
36
- "**/protos/**",
37
- "**/seed/**",
38
- "**/target/**",
39
- "**/testdata/**",
40
- "**/vendor/**",
41
- "**/assets/**",
42
- ]
43
-
44
- test_patterns = [
45
- "**/test/**",
46
- "**/spec/**",
47
- "**/*.test.*",
48
- "**/*.spec.*",
49
- "**/*_test.*",
50
- "**/*_spec.*",
51
- "**/test_*.*",
52
- "**/spec_*.*",
53
- ]
54
-
55
- [smells]
56
- mode = "comment"
57
-
58
- [[source]]
59
- name = "default"
60
- default = true
61
-
62
- [[plugin]]
63
- name = "actionlint"
64
-
65
- [[plugin]]
66
- name = "checkov"
67
-
68
- [[plugin]]
69
- name = "golangci-lint"
70
- mode = "comment"
71
-
72
- [[plugin]]
73
- name = "markdownlint"
74
- version = "0.41.0"
75
- mode = "comment"
76
-
77
- [[plugin]]
78
- name = "prettier"
79
-
80
- # [[plugin]]
81
- # name = "radarlint-ruby"
82
-
83
- [[plugin]]
84
- name = "ripgrep"
85
- mode = "comment"
86
-
87
- # [[plugin]]
88
- # name = "rubocop"
89
- # version = "1.75.2"
90
- # package_file = "Gemfile"
91
- # package_filters = ["rubocop"]
92
-
93
- [[plugin]]
94
- name = "trivy"
95
- drivers = [
96
- "config",
97
- "fs-vuln",
98
- ]
99
-
100
- [[plugin]]
101
- name = "trufflehog"
102
-
103
- [[plugin]]
104
- name = "yamllint"
data/RELEASING.md DELETED
@@ -1,9 +0,0 @@
1
- # How to release a new track_open_instances gem
2
-
3
- Run `create-github-release <release-type>` in the root of a clean working tree.
4
-
5
- Where `release-type` is `major`, `minor`, or `patch` depending on the nature of the
6
- changes. Refer to the labels on each PR since the last release to determine which
7
- semver release type to specify.
8
-
9
- Follow the directions that `create-github-release` after it prepares the release PR.