grepfruit 3.1.2 → 3.1.3

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: 8c2c091bc89ae552d6393fd2314bc30fa6f858b426d7690145aa54d6f2c9ef7f
4
- data.tar.gz: 5920dfde71947661dc0ec33318dcb6679f9b899c03bd42d6b61654503435dfbf
3
+ metadata.gz: f3eed6cbb094ea1031d938d7459ccf8004f3fb557e0569c3afb919aeccfabbd2
4
+ data.tar.gz: 2df5426280091c652d372ce119e506efdf6eb0cec7dca0a311965345962c3239
5
5
  SHA512:
6
- metadata.gz: 1dd7f640198928a13d1e118771a6c47986c753a5e997b8fc53fce5ac2b9b8135ce30986eb9a6d5141600f7985a461c59c24b41c611c8a55f2d7050bb6d0e2d4f
7
- data.tar.gz: ae7d0e5a09554f03accf9f144a0e9448044728e53a22228ac9dd8cf343a75814cc831ef28a58b75e64af35d3aa50e801945e440d9c607fdfd82e11d889e66996
6
+ metadata.gz: 03a5b5748fbc9c5f2e67f9c25c167387c4fb8fb7ebb4590d8b5e4b98ebee93a914960a5cf3c90da5d516af79c35a394ac6e96b2bcd992243b4aa17a7b96c3525
7
+ data.tar.gz: 12e02c6c9d7c3a86ea982d0ed6aa45044711d3c4b1d8f37eade228d213cfdc24ecc617a5f8d0b89fad889cea5ad538615d1fa1af74c2cebf9690b58e7e1b128d
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## v3.1.3
2
+
3
+ - Fixed race condition in worker shutdown
4
+
1
5
  ## v3.1.2
2
6
 
3
7
  - Corrected usage of `dry-cli` gem for flag handling
data/README.md CHANGED
@@ -1,15 +1,18 @@
1
1
  # Grepfruit: Enhanced File Pattern Search Tool
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/grepfruit.svg)](http://badge.fury.io/rb/grepfruit)
4
- [![Github Actions badge](https://github.com/brownboxdev/grepfruit/actions/workflows/ci.yml/badge.svg)](https://github.com/brownboxdev/grepfruit/actions/workflows/ci.yml)
4
+ [![Downloads](https://img.shields.io/gem/dt/grepfruit.svg)](https://rubygems.org/gems/grepfruit)
5
+ [![Github Actions badge](https://github.com/enjaku4/grepfruit/actions/workflows/ci.yml/badge.svg)](https://github.com/enjaku4/grepfruit/actions/workflows/ci.yml)
6
+ [![License](https://img.shields.io/github/license/enjaku4/grepfruit.svg)](LICENSE)
5
7
 
6
- Grepfruit is a Ruby gem for searching files within a directory for specified regular expression patterns, with exclusion and inclusion options and JSON-formatted or colorized output for enhanced readability. Originally designed for CI/CD pipelines to search for `TODO` comments in Ruby on Rails applications, Grepfruit provides more user-friendly output than the standard `grep` command while maintaining the flexibility for diverse search scenarios.
8
+ Grepfruit is a Ruby gem for searching files within a directory for specified regular expression patterns. It provides exclusion and inclusion options with JSON-formatted or colorized output for enhanced readability.
9
+
10
+ Originally designed for CI/CD pipelines to search for `TODO` comments in Ruby applications, Grepfruit offers more user-friendly output than the standard `grep` command while maintaining flexibility for diverse search scenarios.
7
11
 
8
12
  **Key Features:**
9
13
 
10
- - Parallel search using Ractors
11
- - JSON output format for programmatic integration
12
14
  - Colorized output for improved readability
15
+ - JSON output format for programmatic integration
13
16
  - CI/CD pipeline friendly exit codes
14
17
 
15
18
  ## Table of Contents
@@ -175,13 +178,13 @@ Grepfruit returns meaningful exit codes for CI/CD integration:
175
178
  ## Getting Help and Contributing
176
179
 
177
180
  ### Getting Help
178
- Have a question or need assistance? Open a discussion in our [discussions section](https://github.com/brownboxdev/grepfruit/discussions) for:
181
+ Have a question or need assistance? Open a discussion in our [discussions section](https://github.com/enjaku4/grepfruit/discussions) for:
179
182
  - Usage questions
180
183
  - Implementation guidance
181
184
  - Feature suggestions
182
185
 
183
186
  ### Reporting Issues
184
- Found a bug? Please [create an issue](https://github.com/brownboxdev/grepfruit/issues) with:
187
+ Found a bug? Please [create an issue](https://github.com/enjaku4/grepfruit/issues) with:
185
188
  - A clear description of the problem
186
189
  - Steps to reproduce the issue
187
190
  - Your environment details (Ruby version, OS, etc.)
@@ -190,14 +193,14 @@ Found a bug? Please [create an issue](https://github.com/brownboxdev/grepfruit/i
190
193
  Ready to contribute? You can:
191
194
  - Fix bugs by submitting pull requests
192
195
  - Improve documentation
193
- - Add new features (please discuss first in our [discussions section](https://github.com/brownboxdev/grepfruit/discussions))
196
+ - Add new features (please discuss first in our [discussions section](https://github.com/enjaku4/grepfruit/discussions))
194
197
 
195
- Before contributing, please read the [contributing guidelines](https://github.com/brownboxdev/grepfruit/blob/master/CONTRIBUTING.md)
198
+ Before contributing, please read the [contributing guidelines](https://github.com/enjaku4/grepfruit/blob/master/CONTRIBUTING.md)
196
199
 
197
200
  ## License
198
201
 
199
- The gem is available as open source under the terms of the [MIT License](https://github.com/brownboxdev/grepfruit/blob/master/LICENSE.txt).
202
+ The gem is available as open source under the terms of the [MIT License](https://github.com/enjaku4/grepfruit/blob/master/LICENSE.txt).
200
203
 
201
204
  ## Code of Conduct
202
205
 
203
- Everyone interacting in the Grepfruit project is expected to follow the [code of conduct](https://github.com/brownboxdev/grepfruit/blob/master/CODE_OF_CONDUCT.md).
206
+ Everyone interacting in the Grepfruit project is expected to follow the [code of conduct](https://github.com/enjaku4/grepfruit/blob/master/CODE_OF_CONDUCT.md).
data/grepfruit.gemspec CHANGED
@@ -4,12 +4,16 @@ Gem::Specification.new do |spec|
4
4
  spec.name = "grepfruit"
5
5
  spec.version = Grepfruit::VERSION
6
6
  spec.authors = ["enjaku4"]
7
- spec.homepage = "https://github.com/brownboxdev/grepfruit"
7
+ spec.email = ["enjaku4@icloud.com"]
8
+ spec.homepage = "https://github.com/enjaku4/grepfruit"
8
9
  spec.metadata["homepage_uri"] = spec.homepage
9
10
  spec.metadata["source_code_uri"] = spec.homepage
10
11
  spec.metadata["changelog_uri"] = "#{spec.homepage}/blob/master/CHANGELOG.md"
12
+ spec.metadata["bug_tracker_uri"] = "#{spec.homepage}/issues"
13
+ spec.metadata["documentation_uri"] = "#{spec.homepage}/blob/master/README.md"
11
14
  spec.metadata["rubygems_mfa_required"] = "true"
12
- spec.summary = "A Ruby gem for searching text patterns in files with colorized output"
15
+ spec.summary = "A Ruby gem for searching text patterns in files"
16
+ spec.description = "Grepfruit provides enhanced file pattern search with colorized results, JSON output, and CI/CD integration"
13
17
  spec.license = "MIT"
14
18
  spec.required_ruby_version = ">= 3.2", "< 3.5"
15
19
 
@@ -99,7 +99,6 @@ module Grepfruit
99
99
 
100
100
  def shutdown_workers(workers)
101
101
  workers.each { |worker| worker.send(:quit) }
102
- workers.each(&:close_outgoing)
103
102
  end
104
103
 
105
104
  def create_file_enumerator
@@ -1,3 +1,3 @@
1
1
  module Grepfruit
2
- VERSION = "3.1.2".freeze
2
+ VERSION = "3.1.3".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: grepfruit
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.2
4
+ version: 3.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - enjaku4
@@ -23,6 +23,10 @@ dependencies:
23
23
  - - "~>"
24
24
  - !ruby/object:Gem::Version
25
25
  version: '1.1'
26
+ description: Grepfruit provides enhanced file pattern search with colorized results,
27
+ JSON output, and CI/CD integration
28
+ email:
29
+ - enjaku4@icloud.com
26
30
  executables:
27
31
  - grepfruit
28
32
  extensions: []
@@ -39,13 +43,15 @@ files:
39
43
  - lib/grepfruit/search.rb
40
44
  - lib/grepfruit/search_results.rb
41
45
  - lib/grepfruit/version.rb
42
- homepage: https://github.com/brownboxdev/grepfruit
46
+ homepage: https://github.com/enjaku4/grepfruit
43
47
  licenses:
44
48
  - MIT
45
49
  metadata:
46
- homepage_uri: https://github.com/brownboxdev/grepfruit
47
- source_code_uri: https://github.com/brownboxdev/grepfruit
48
- changelog_uri: https://github.com/brownboxdev/grepfruit/blob/master/CHANGELOG.md
50
+ homepage_uri: https://github.com/enjaku4/grepfruit
51
+ source_code_uri: https://github.com/enjaku4/grepfruit
52
+ changelog_uri: https://github.com/enjaku4/grepfruit/blob/master/CHANGELOG.md
53
+ bug_tracker_uri: https://github.com/enjaku4/grepfruit/issues
54
+ documentation_uri: https://github.com/enjaku4/grepfruit/blob/master/README.md
49
55
  rubygems_mfa_required: 'true'
50
56
  rdoc_options: []
51
57
  require_paths:
@@ -64,7 +70,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
64
70
  - !ruby/object:Gem::Version
65
71
  version: '0'
66
72
  requirements: []
67
- rubygems_version: 3.6.7
73
+ rubygems_version: 3.7.2
68
74
  specification_version: 4
69
- summary: A Ruby gem for searching text patterns in files with colorized output
75
+ summary: A Ruby gem for searching text patterns in files
70
76
  test_files: []