grepfruit 3.1.1 → 3.1.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 +5 -0
- data/README.md +1 -1
- data/grepfruit.gemspec +1 -1
- data/lib/grepfruit/cli.rb +2 -2
- data/lib/grepfruit/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8c2c091bc89ae552d6393fd2314bc30fa6f858b426d7690145aa54d6f2c9ef7f
|
4
|
+
data.tar.gz: 5920dfde71947661dc0ec33318dcb6679f9b899c03bd42d6b61654503435dfbf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1dd7f640198928a13d1e118771a6c47986c753a5e997b8fc53fce5ac2b9b8135ce30986eb9a6d5141600f7985a461c59c24b41c611c8a55f2d7050bb6d0e2d4f
|
7
|
+
data.tar.gz: ae7d0e5a09554f03accf9f144a0e9448044728e53a22228ac9dd8cf343a75814cc831ef28a58b75e64af35d3aa50e801945e440d9c607fdfd82e11d889e66996
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Grepfruit: File Pattern Search Tool
|
1
|
+
# Grepfruit: Enhanced File Pattern Search Tool
|
2
2
|
|
3
3
|
[](http://badge.fury.io/rb/grepfruit)
|
4
4
|
[](https://github.com/brownboxdev/grepfruit/actions/workflows/ci.yml)
|
data/grepfruit.gemspec
CHANGED
data/lib/grepfruit/cli.rb
CHANGED
@@ -13,9 +13,9 @@ module Grepfruit
|
|
13
13
|
option :exclude, aliases: ["-e"], type: :array, default: [], desc: "Comma-separated list of files and directories to exclude"
|
14
14
|
option :include, aliases: ["-i"], type: :array, default: [], desc: "Comma-separated list of file patterns to include (only these files will be searched)"
|
15
15
|
option :truncate, aliases: ["-t"], type: :integer, desc: "Truncate output to N characters"
|
16
|
-
option :search_hidden, type: :
|
16
|
+
option :search_hidden, type: :flag, default: false, desc: "Search hidden files and directories"
|
17
17
|
option :jobs, aliases: ["-j"], type: :integer, desc: "Number of parallel workers (default: all CPU cores, use 1 for sequential)"
|
18
|
-
option :json, type: :
|
18
|
+
option :json, type: :flag, default: false, desc: "Output results in JSON format"
|
19
19
|
|
20
20
|
def call(path: ".", **options)
|
21
21
|
validate_options!(options)
|
data/lib/grepfruit/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
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.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- enjaku4
|
8
8
|
bindir: exe
|
9
9
|
cert_chain: []
|
10
|
-
date:
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: dry-cli
|
@@ -15,14 +15,14 @@ dependencies:
|
|
15
15
|
requirements:
|
16
16
|
- - "~>"
|
17
17
|
- !ruby/object:Gem::Version
|
18
|
-
version: '1.
|
18
|
+
version: '1.1'
|
19
19
|
type: :runtime
|
20
20
|
prerelease: false
|
21
21
|
version_requirements: !ruby/object:Gem::Requirement
|
22
22
|
requirements:
|
23
23
|
- - "~>"
|
24
24
|
- !ruby/object:Gem::Version
|
25
|
-
version: '1.
|
25
|
+
version: '1.1'
|
26
26
|
executables:
|
27
27
|
- grepfruit
|
28
28
|
extensions: []
|
@@ -64,7 +64,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
64
64
|
- !ruby/object:Gem::Version
|
65
65
|
version: '0'
|
66
66
|
requirements: []
|
67
|
-
rubygems_version: 3.6.
|
67
|
+
rubygems_version: 3.6.7
|
68
68
|
specification_version: 4
|
69
69
|
summary: A Ruby gem for searching text patterns in files with colorized output
|
70
70
|
test_files: []
|