utils 0.50.0 → 0.51.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +12 -12
- data/bin/discover +4 -2
- data/lib/utils/version.rb +1 -1
- data/utils.gemspec +4 -4
- metadata +16 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 69e976a26229706ad310d7f05d251da8aea627e30d18f9607789c78b7d173326
|
4
|
+
data.tar.gz: 65be6696f3c49aa7067736b82a24a8633770fc0a723d4131cee1210745175672
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9d10d1921b2efede6c397088266ea3c8fac9f234b4ad4b8e20c51e3463fb6f812de78cf79f33e45287c473e2c3df09ec6d9b4196048faf1e964b2b80de2f279a
|
7
|
+
data.tar.gz: 232ec2b3329b4aeca039da85f70e57d0aa9090405b6e6b8390a3e45a7f6c8b714d1b8c0dc9d0fe76eff6998c3f8bc967935f52d0931af8b7fb3160633f5ece1a
|
data/Rakefile
CHANGED
@@ -19,18 +19,18 @@ GemHadar do
|
|
19
19
|
readme 'README.md'
|
20
20
|
licenses << 'GPL-2.0'
|
21
21
|
|
22
|
-
dependency
|
23
|
-
dependency
|
24
|
-
dependency
|
25
|
-
dependency
|
26
|
-
dependency
|
27
|
-
dependency
|
28
|
-
dependency
|
29
|
-
dependency
|
30
|
-
dependency
|
31
|
-
dependency
|
32
|
-
dependency
|
33
|
-
|
22
|
+
dependency 'drb'
|
23
|
+
dependency 'webrick'
|
24
|
+
dependency 'tins', '~> 1.14'
|
25
|
+
dependency 'term-ansicolor', '~> 1.3'
|
26
|
+
dependency 'pstree', '~> 0.3'
|
27
|
+
dependency 'infobar', '~> 0.8'
|
28
|
+
dependency 'mize', '~> 0.6'
|
29
|
+
dependency 'search_ui', '~> 0.0'
|
30
|
+
dependency 'all_images', '~> 0.5.0'
|
31
|
+
dependency 'ollama-ruby', '~> 0.3.0'
|
32
|
+
dependency 'simplecov'
|
33
|
+
dependency 'debug'
|
34
34
|
|
35
35
|
install_library do
|
36
36
|
libdir = CONFIG["sitelibdir"]
|
data/bin/discover
CHANGED
@@ -53,7 +53,7 @@ Version is #{File.basename($0)} #{Utils::VERSION}.
|
|
53
53
|
exit 1
|
54
54
|
end
|
55
55
|
|
56
|
-
args = go 'n:I:i:a:p:
|
56
|
+
args = go 'n:I:i:a:p:lcreEvdsDh', defaults: { ?a => '\\w' }
|
57
57
|
args[?h] and usage
|
58
58
|
|
59
59
|
Term::ANSIColor.coloring = (STDIN.tty? && ENV['TERM'] !~ /dumb/) && !args[?c]
|
@@ -61,7 +61,7 @@ STDOUT.sync = true
|
|
61
61
|
config = Utils::ConfigFile.new
|
62
62
|
config.configure_from_paths
|
63
63
|
args[?b] ||= config.discover.binary
|
64
|
-
args[?n] ||= config.discover.max_matches
|
64
|
+
args[?n] ||= args[?l] ? 1 << 60 : config.discover.max_matches
|
65
65
|
|
66
66
|
if args[?s]
|
67
67
|
pattern = ''
|
@@ -111,6 +111,8 @@ search = -> * {
|
|
111
111
|
}
|
112
112
|
|
113
113
|
case
|
114
|
+
when args[?l]
|
115
|
+
puts finder.().search_index.paths
|
114
116
|
when args[?s]
|
115
117
|
search.()
|
116
118
|
when args[?E]
|
data/lib/utils/version.rb
CHANGED
data/utils.gemspec
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
|
-
# stub: utils 0.
|
2
|
+
# stub: utils 0.51.1 ruby lib
|
3
3
|
|
4
4
|
Gem::Specification.new do |s|
|
5
5
|
s.name = "utils".freeze
|
6
|
-
s.version = "0.
|
6
|
+
s.version = "0.51.1".freeze
|
7
7
|
|
8
8
|
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
9
9
|
s.require_paths = ["lib".freeze]
|
10
10
|
s.authors = ["Florian Frank".freeze]
|
11
|
-
s.date = "2024-09-
|
11
|
+
s.date = "2024-09-22"
|
12
12
|
s.description = "This ruby gem provides some useful command line utilities".freeze
|
13
13
|
s.email = "flori@ping.de".freeze
|
14
14
|
s.executables = ["ascii7".freeze, "blameline".freeze, "changes".freeze, "classify".freeze, "code_comment".freeze, "commit_message".freeze, "create_cstags".freeze, "create_tags".freeze, "discover".freeze, "edit".freeze, "edit_wait".freeze, "enum".freeze, "git-empty".freeze, "git-versions".freeze, "json_check".freeze, "long_lines".freeze, "myex".freeze, "number_files".freeze, "on_change".freeze, "path".freeze, "print_method".freeze, "probe".freeze, "rd2md".freeze, "search".freeze, "sedit".freeze, "serve".freeze, "ssh-tunnel".freeze, "strip_spaces".freeze, "sync_dir".freeze, "untest".freeze, "utils-utilsrc".freeze, "vcf2alias".freeze, "yaml_check".freeze]
|
@@ -23,7 +23,6 @@ Gem::Specification.new do |s|
|
|
23
23
|
s.specification_version = 4
|
24
24
|
|
25
25
|
s.add_development_dependency(%q<gem_hadar>.freeze, ["~> 1.17.1".freeze])
|
26
|
-
s.add_development_dependency(%q<debug>.freeze, [">= 0".freeze])
|
27
26
|
s.add_runtime_dependency(%q<drb>.freeze, [">= 0".freeze])
|
28
27
|
s.add_runtime_dependency(%q<webrick>.freeze, [">= 0".freeze])
|
29
28
|
s.add_runtime_dependency(%q<tins>.freeze, ["~> 1.14".freeze])
|
@@ -35,4 +34,5 @@ Gem::Specification.new do |s|
|
|
35
34
|
s.add_runtime_dependency(%q<all_images>.freeze, ["~> 0.5.0".freeze])
|
36
35
|
s.add_runtime_dependency(%q<ollama-ruby>.freeze, ["~> 0.3.0".freeze])
|
37
36
|
s.add_runtime_dependency(%q<simplecov>.freeze, [">= 0".freeze])
|
37
|
+
s.add_runtime_dependency(%q<debug>.freeze, [">= 0".freeze])
|
38
38
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: utils
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.51.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Florian Frank
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-09-
|
11
|
+
date: 2024-09-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gem_hadar
|
@@ -24,20 +24,6 @@ dependencies:
|
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 1.17.1
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: debug
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - ">="
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '0'
|
34
|
-
type: :development
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - ">="
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '0'
|
41
27
|
- !ruby/object:Gem::Dependency
|
42
28
|
name: drb
|
43
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -192,6 +178,20 @@ dependencies:
|
|
192
178
|
- - ">="
|
193
179
|
- !ruby/object:Gem::Version
|
194
180
|
version: '0'
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: debug
|
183
|
+
requirement: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - ">="
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: '0'
|
188
|
+
type: :runtime
|
189
|
+
prerelease: false
|
190
|
+
version_requirements: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - ">="
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: '0'
|
195
195
|
description: This ruby gem provides some useful command line utilities
|
196
196
|
email: flori@ping.de
|
197
197
|
executables:
|