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 +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +13 -10
- data/grepfruit.gemspec +6 -2
- data/lib/grepfruit/search.rb +0 -1
- data/lib/grepfruit/version.rb +1 -1
- metadata +13 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f3eed6cbb094ea1031d938d7459ccf8004f3fb557e0569c3afb919aeccfabbd2
|
4
|
+
data.tar.gz: 2df5426280091c652d372ce119e506efdf6eb0cec7dca0a311965345962c3239
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 03a5b5748fbc9c5f2e67f9c25c167387c4fb8fb7ebb4590d8b5e4b98ebee93a914960a5cf3c90da5d516af79c35a394ac6e96b2bcd992243b4aa17a7b96c3525
|
7
|
+
data.tar.gz: 12e02c6c9d7c3a86ea982d0ed6aa45044711d3c4b1d8f37eade228d213cfdc24ecc617a5f8d0b89fad889cea5ad538615d1fa1af74c2cebf9690b58e7e1b128d
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -1,15 +1,18 @@
|
|
1
1
|
# Grepfruit: Enhanced File Pattern Search Tool
|
2
2
|
|
3
3
|
[](http://badge.fury.io/rb/grepfruit)
|
4
|
-
[](https://rubygems.org/gems/grepfruit)
|
5
|
+
[](https://github.com/enjaku4/grepfruit/actions/workflows/ci.yml)
|
6
|
+
[](LICENSE)
|
5
7
|
|
6
|
-
Grepfruit is a Ruby gem for searching files within a directory for specified regular expression patterns
|
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/
|
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/
|
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/
|
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/
|
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/
|
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/
|
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.
|
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
|
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
|
|
data/lib/grepfruit/search.rb
CHANGED
data/lib/grepfruit/version.rb
CHANGED
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.
|
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/
|
46
|
+
homepage: https://github.com/enjaku4/grepfruit
|
43
47
|
licenses:
|
44
48
|
- MIT
|
45
49
|
metadata:
|
46
|
-
homepage_uri: https://github.com/
|
47
|
-
source_code_uri: https://github.com/
|
48
|
-
changelog_uri: https://github.com/
|
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.
|
73
|
+
rubygems_version: 3.7.2
|
68
74
|
specification_version: 4
|
69
|
-
summary: A Ruby gem for searching text patterns in files
|
75
|
+
summary: A Ruby gem for searching text patterns in files
|
70
76
|
test_files: []
|