utils 0.47.0 → 0.49.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +1 -0
- data/bin/blameline +4 -4
- data/bin/classify +42 -16
- data/bin/create_cstags +1 -1
- data/bin/create_tags +1 -1
- data/bin/long_lines +4 -4
- data/bin/myex +6 -5
- data/bin/on_change +0 -1
- data/bin/probe +16 -42
- data/bin/search +30 -31
- data/bin/serve +0 -1
- data/bin/ssh-tunnel +16 -16
- data/bin/utils-utilsrc +3 -3
- data/lib/utils/version.rb +1 -1
- data/utils.gemspec +7 -6
- metadata +20 -6
- /data/bin/{check-yaml → yaml_check} +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f6c937a65dea15baa84a877d5edd995c3603438bfde093f11ff3288f1261c290
|
4
|
+
data.tar.gz: 350a2711f49f1e055a6b7e06eb2215a4fbd7d60974ffaa309c4b7e585040405b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d33c8650b22df039abe078236d5af3f828e970040aa8e307a23d37d2157f1cd7e56e4a06316a10d761c32d299353e39058431925180262e4ede8097798347d5
|
7
|
+
data.tar.gz: 4bc385055c625c31d13b1bec07377a94a6a104b90b63a41907d23b365f6f9cae569b977eb0722b33ef525262d12f54efc180cf10f03395bae395d98506b7485a
|
data/Rakefile
CHANGED
data/bin/blameline
CHANGED
@@ -8,9 +8,9 @@ require 'term/ansicolor'
|
|
8
8
|
$opts = go 'sh'
|
9
9
|
|
10
10
|
if $opts[?h]
|
11
|
-
puts
|
12
|
-
#{File.basename($0)} [OPTIONS] [LINES|FILES]
|
13
|
-
USAGE
|
11
|
+
puts <<~USAGE
|
12
|
+
#{File.basename($0)} [OPTIONS] [LINES|FILES]
|
13
|
+
USAGE
|
14
14
|
exit
|
15
15
|
end
|
16
16
|
|
@@ -21,5 +21,5 @@ else
|
|
21
21
|
end
|
22
22
|
|
23
23
|
for line in lines
|
24
|
-
Utils::LineBlamer.
|
24
|
+
Utils::LineBlamer.for_line(line).perform.full? { |l| puts l }
|
25
25
|
end
|
data/bin/classify
CHANGED
@@ -20,7 +20,7 @@ end
|
|
20
20
|
def underscore(string)
|
21
21
|
string = path_shifter(string, n: $opts[?n], separator: '::')
|
22
22
|
string = Tins::StringUnderscore.instance_method(:underscore).bind(string).()
|
23
|
-
$opts[?s] and string
|
23
|
+
$opts[?s] and string.sub!(/(\.rb)?\z/, '.rb')
|
24
24
|
string
|
25
25
|
end
|
26
26
|
|
@@ -49,20 +49,54 @@ def compute_shift(config, string)
|
|
49
49
|
result
|
50
50
|
end
|
51
51
|
|
52
|
-
|
52
|
+
def usage
|
53
|
+
puts <<~EOT
|
54
|
+
Usage: #{File.basename($0)} [OPTS]
|
53
55
|
|
56
|
+
Classifies pathes like foo/bar_baz into Foo::BarBaz if necessary.
|
57
|
+
|
58
|
+
Options are
|
59
|
+
|
60
|
+
-d declassifies Foo::BarBaz into foo/bar_baz if necessary
|
61
|
+
-t toogle Foo::BarBaz into foo/bar_baz and vice versa
|
62
|
+
-n NUMBER the number of module namespaces to skip from the left
|
63
|
+
-b return right most module namespace
|
64
|
+
-s adds .rb suffix to foo/bar_baz.rb if necessary
|
65
|
+
-p SEPARATOR used for declassification
|
66
|
+
-h display this help
|
67
|
+
|
68
|
+
EOT
|
69
|
+
exit 0
|
70
|
+
end
|
71
|
+
|
72
|
+
$opts = go 'dtn:bsp:h'
|
73
|
+
|
74
|
+
$opts[?h] and usage
|
54
75
|
string = ARGV.shift or fail "need a class/filepath/filename"
|
55
76
|
string = Term::ANSIColor.uncolor string
|
56
77
|
|
57
78
|
config = Utils::ConfigFile.new
|
58
79
|
config.configure_from_paths
|
59
80
|
|
60
|
-
$opts[?
|
81
|
+
if $opts[?b]
|
82
|
+
$opts[?n] = '-1'
|
83
|
+
else
|
84
|
+
$opts[?n] ||= compute_shift(config, string)
|
85
|
+
end
|
61
86
|
|
62
|
-
|
63
|
-
|
64
|
-
when $opts[?t]
|
65
|
-
|
87
|
+
print(
|
88
|
+
case
|
89
|
+
when $opts[?t]
|
90
|
+
if camelcase?(string)
|
91
|
+
if separator = $opts[?p]
|
92
|
+
parameterize string, separator
|
93
|
+
else
|
94
|
+
underscore string
|
95
|
+
end
|
96
|
+
else
|
97
|
+
camelize string
|
98
|
+
end
|
99
|
+
when $opts[?d]
|
66
100
|
if separator = $opts[?p]
|
67
101
|
parameterize string, separator
|
68
102
|
else
|
@@ -71,12 +105,4 @@ when $opts[?t]
|
|
71
105
|
else
|
72
106
|
camelize string
|
73
107
|
end
|
74
|
-
|
75
|
-
if separator = $opts[?p]
|
76
|
-
parameterize string, separator
|
77
|
-
else
|
78
|
-
underscore string
|
79
|
-
end
|
80
|
-
else
|
81
|
-
camelize string
|
82
|
-
end
|
108
|
+
)
|
data/bin/create_cstags
CHANGED
data/bin/create_tags
CHANGED
@@ -4,7 +4,7 @@ require 'infobar'
|
|
4
4
|
|
5
5
|
paths = %w[ . ] + `bundle list --paths`.lines.map(&:chomp)
|
6
6
|
cmd = %w[ ctags --recurse=yes --exclude=pkg --languages=Ruby,C ] + paths
|
7
|
-
Infobar.busy(label: 'Creating tags') { system(*cmd) }
|
7
|
+
Infobar.busy(label: 'Creating tags', frames: :braille7) { system(*cmd) }
|
8
8
|
if megabytes = File.size('tags').to_f / 1024 ** 2 rescue nil
|
9
9
|
infobar.puts 'Created %.3fM of tags.' % megabytes
|
10
10
|
end
|
data/bin/long_lines
CHANGED
@@ -8,9 +8,9 @@ require 'term/ansicolor'
|
|
8
8
|
$opts = go 'm:h'
|
9
9
|
|
10
10
|
if $opts[?h]
|
11
|
-
puts
|
12
|
-
#{File.basename($0)} [OPTIONS] [FILES]
|
13
|
-
USAGE
|
11
|
+
puts <<~USAGE
|
12
|
+
#{File.basename($0)} [OPTIONS] [FILES]
|
13
|
+
USAGE
|
14
14
|
exit
|
15
15
|
end
|
16
16
|
max = ($opts[?m] || 80).to_i
|
@@ -24,7 +24,7 @@ for file in files
|
|
24
24
|
if size > max
|
25
25
|
lineno = f.lineno + 1
|
26
26
|
blamer = Utils::LineBlamer.new(file, lineno) or next
|
27
|
-
blame = blamer.perform
|
27
|
+
blame = blamer.perform or next
|
28
28
|
author = blame[/\((.*?)\d{4}/, 1]
|
29
29
|
puts [ author, size, "#{file}:#{lineno}" ] * ?\t
|
30
30
|
end
|
data/bin/myex
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
|
-
|
2
|
+
# vim: set ft=ruby et sw=2 ts=2:
|
3
3
|
# encoding: ascii-8bit
|
4
4
|
|
5
5
|
require 'tins/go'
|
@@ -21,8 +21,8 @@ Usage: #{File.basename($0)} list|create|truncate|insert|replace|search [OPTION]
|
|
21
21
|
|
22
22
|
- truncate: all tables or the given TABLES, if they exist.
|
23
23
|
|
24
|
-
- insert: extract insert statements from the backup. If TABLES are
|
25
|
-
extract only those statements for these TABLES.
|
24
|
+
- insert: extract insert statements from the backup. If TABLES are
|
25
|
+
given, extract only those statements for these TABLES.
|
26
26
|
-t if this OPTION is given, truncate the table, before starting
|
27
27
|
to insert.
|
28
28
|
|
@@ -31,8 +31,9 @@ Usage: #{File.basename($0)} list|create|truncate|insert|replace|search [OPTION]
|
|
31
31
|
those statements for these TABLES.
|
32
32
|
|
33
33
|
- search: search the insert statements from the backup matching the
|
34
|
-
pattern given with the -p option and output them in a
|
35
|
-
of the size (as number of characters) given via the
|
34
|
+
pattern given with the -p option and output them in a
|
35
|
+
context of the size (as number of characters) given via the
|
36
|
+
-C option.
|
36
37
|
-p PATTERN the pattern to match.
|
37
38
|
-C NUMBER the NUMBER of characters for the context.
|
38
39
|
EOT
|
data/bin/on_change
CHANGED
data/bin/probe
CHANGED
@@ -1,33 +1,28 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
|
-
# encoding: UTF-8
|
3
2
|
|
4
3
|
require 'tins/xt'
|
5
4
|
require 'tins/lines_file'
|
6
5
|
include Tins::GO
|
7
6
|
require 'utils'
|
8
|
-
begin
|
9
|
-
require 'utils/line_formatter'
|
10
|
-
rescue LoadError
|
11
|
-
end
|
12
7
|
include Utils
|
13
8
|
require 'drb'
|
9
|
+
require 'shellwords'
|
14
10
|
|
15
11
|
def usage
|
16
|
-
puts
|
17
|
-
Usage: #{File.basename($0)} [OPTS] [FILENAME[:LINENO]]
|
12
|
+
puts <<~EOT
|
13
|
+
Usage: #{File.basename($0)} [OPTS] [FILENAME[:LINENO]]
|
18
14
|
|
19
|
-
Options are
|
15
|
+
Options are
|
20
16
|
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
-h display this help
|
17
|
+
-n TESTNAME run the test TESTNAME in file FILENAME
|
18
|
+
-t FRAMEWORK use test framework FRAMEWORK (rspec, test-unit or cucumber)
|
19
|
+
-c start probe as a client
|
20
|
+
-C FOO[=BAR] set/get env variable on probe server
|
21
|
+
-l start probe as a server
|
22
|
+
-u URI use this DRb URI communication
|
23
|
+
-h display this help
|
29
24
|
|
30
|
-
Version is #{File.basename($0)} #{Utils::VERSION}.
|
25
|
+
Version is #{File.basename($0)} #{Utils::VERSION}.
|
31
26
|
EOT
|
32
27
|
exit 1
|
33
28
|
end
|
@@ -36,8 +31,7 @@ def cmd(*args)
|
|
36
31
|
if ENV.key?('BUNDLE_GEMFILE')
|
37
32
|
args.unshift 'bundle', 'exec'
|
38
33
|
end
|
39
|
-
|
40
|
-
puts args * ' '
|
34
|
+
puts Shellwords.join(args)
|
41
35
|
system(*args) or exit $?.exitstatus
|
42
36
|
end
|
43
37
|
|
@@ -45,19 +39,8 @@ def find_cmd(*cmds, on_fail: -> *cmds { raise fail "no #{cmds * '|'} command fou
|
|
45
39
|
cmds.map { |c| `which #{c}`.full?(:chomp) }.compact.first or on_fail.(*cmds)
|
46
40
|
end
|
47
41
|
|
48
|
-
def spring?
|
49
|
-
`bin/spring status`.lines.first =~ /^Spring is running:/
|
50
|
-
rescue Errno::ENOENT
|
51
|
-
false
|
52
|
-
end
|
53
|
-
singleton_class.class_eval do
|
54
|
-
memoize_function :spring?
|
55
|
-
end
|
56
|
-
|
57
42
|
def start_server
|
58
43
|
Thread.abort_on_exception = $DEBUG
|
59
|
-
spring? and
|
60
|
-
puts "Found spring running, I'll try to use it for running tests."
|
61
44
|
|
62
45
|
begin
|
63
46
|
DRb.start_service
|
@@ -82,7 +65,7 @@ def connect_server
|
|
82
65
|
end
|
83
66
|
end
|
84
67
|
if $opts[?c]
|
85
|
-
opts = $opts.subhash(*%w[n t
|
68
|
+
opts = $opts.subhash(*%w[n t]).each_with_object([]) { |(k, v), a|
|
86
69
|
v.full? and a.concat [ "-#{k}", v ]
|
87
70
|
}
|
88
71
|
probe_server.enqueue opts + $args
|
@@ -99,7 +82,7 @@ if i = ARGV.index('--')
|
|
99
82
|
else
|
100
83
|
$args = ARGV.dup
|
101
84
|
end
|
102
|
-
$opts = go 'lct:n:u:C:
|
85
|
+
$opts = go 'lct:n:u:C:h', $args
|
103
86
|
$opts[?h] and usage
|
104
87
|
|
105
88
|
$uri = $opts[?u] || 'drbunix:probe.socket'
|
@@ -117,16 +100,7 @@ puts "Running tests in #{$args.inspect}"
|
|
117
100
|
|
118
101
|
case ($opts[?t] || $config.probe.test_framework).to_sym
|
119
102
|
when :rspec
|
120
|
-
|
121
|
-
when spring?
|
122
|
-
rspec = %w[ bin/spring rspec ]
|
123
|
-
else
|
124
|
-
rspec = [ find_cmd('rspec', 'spec') ]
|
125
|
-
end
|
126
|
-
rspec << '-rutils'
|
127
|
-
unless $args.any? { |a| a.start_with?('-f') }
|
128
|
-
rspec << '-f' << ($opts[?f] || 'Utils::LineFormatter')
|
129
|
-
end
|
103
|
+
rspec = [ find_cmd('rspec', 'spec') ]
|
130
104
|
$args = $args.map do |a|
|
131
105
|
if Utils::Editor::FILE_LINENUMBER_REGEXP =~ a
|
132
106
|
$~.captures.compact * ':'
|
data/bin/search
CHANGED
@@ -1,5 +1,4 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
|
-
# encoding: UTF-8
|
3
2
|
|
4
3
|
require 'utils'
|
5
4
|
include Utils
|
@@ -109,40 +108,40 @@ def edit_files(pattern, paths, pick: false, replace: nil)
|
|
109
108
|
end
|
110
109
|
|
111
110
|
def usage
|
112
|
-
puts
|
113
|
-
Usage: #{File.basename($0)} [OPTS] PATTERN [PATHS]
|
111
|
+
puts <<~EOT
|
112
|
+
Usage: #{File.basename($0)} [OPTS] PATTERN [PATHS]
|
114
113
|
|
115
|
-
PATTERN is a pattern expression which is used to match against the content of
|
116
|
-
the files. PATHS are the directory and file paths that are searched.
|
114
|
+
PATTERN is a pattern expression which is used to match against the content of
|
115
|
+
the files. PATHS are the directory and file paths that are searched.
|
117
116
|
|
118
|
-
Options are
|
117
|
+
Options are
|
119
118
|
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
119
|
+
-n PATTERN only search files whose names match fuzzy PATTERN
|
120
|
+
-N PATTERN only search files whose names match regexp PATTERN
|
121
|
+
-s PATTERN skip lines that match fuzzy PATTERN
|
122
|
+
-S PATTERN skip lines that match regexp PATTERN
|
123
|
+
-A NUMBER displays NUMBER lines of context after the match
|
124
|
+
-B NUMBER displays NUMBER lines of context before the match
|
125
|
+
-C NUMBER displays NUMBER lines of context around the match
|
126
|
+
-f just list the paths of the files that would be searched
|
127
|
+
-F just consider real files when searching
|
128
|
+
-l just list the paths of the files with matches
|
129
|
+
-L list only the path:linenumber of the files with matches
|
130
|
+
-pX interpret PATTERN argument as X=f fuzzy or X=r for regexp
|
131
|
+
-c disable color output
|
132
|
+
-iX use case insensitive matches with X=y (default) or not with X=n
|
133
|
+
-I SUFFIX only include files with suffix SUFFIX in search
|
134
|
+
-e open the matching files with edit command
|
135
|
+
-E pick one file to edit
|
136
|
+
-r REPLACE replace the searched match with REPLACE
|
137
|
+
-b also search binary files
|
138
|
+
-g use git to determine author of the line
|
139
|
+
-G AUTHOR only display lines authored by AUTHOR
|
140
|
+
-a CSET use only character set CSET from PATTERN
|
141
|
+
-v be verbose
|
142
|
+
-h display this help
|
144
143
|
|
145
|
-
Version is #{File.basename($0)} #{Utils::VERSION}.
|
144
|
+
Version is #{File.basename($0)} #{Utils::VERSION}.
|
146
145
|
EOT
|
147
146
|
exit 1
|
148
147
|
end
|
data/bin/serve
CHANGED
data/bin/ssh-tunnel
CHANGED
@@ -20,22 +20,22 @@ Host *
|
|
20
20
|
SSH_CONFIG_END
|
21
21
|
|
22
22
|
def usage
|
23
|
-
puts
|
24
|
-
Usage: #{File.basename($0)} [OPTS] [user@]remote[:port]"
|
25
|
-
|
26
|
-
OPTS is one of
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
Version is #{File.basename($0)} #{Utils::VERSION}.
|
38
|
-
EOT
|
23
|
+
puts <<~EOT
|
24
|
+
Usage: #{File.basename($0)} [OPTS] [user@]remote[:port]"
|
25
|
+
|
26
|
+
OPTS is one of
|
27
|
+
-N list all session names on the specified remote
|
28
|
+
-n NAME name of the multiplexer session (default: $USER)
|
29
|
+
-T list current tunnels
|
30
|
+
-e VARIABLE=VALUE [...] set variables to values
|
31
|
+
-t [LHOST:][LPORT:][HOST:PORT|PORT] host:port to tunnel if different from LOCALPORT
|
32
|
+
-m screen|tmux use sshscreen or tmux as a terminal multiplexer
|
33
|
+
-C (ssh|rc)-default|rc output ssh or rc config file
|
34
|
+
-d enable debugging
|
35
|
+
-h to display this help
|
36
|
+
|
37
|
+
Version is #{File.basename($0)} #{Utils::VERSION}.
|
38
|
+
EOT
|
39
39
|
exit 1
|
40
40
|
end
|
41
41
|
|
data/bin/utils-utilsrc
CHANGED
data/lib/utils/version.rb
CHANGED
data/utils.gemspec
CHANGED
@@ -1,19 +1,19 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
|
-
# stub: utils 0.
|
2
|
+
# stub: utils 0.49.0 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.49.0".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-09"
|
12
12
|
s.description = "This ruby gem provides some useful command line utilities".freeze
|
13
13
|
s.email = "flori@ping.de".freeze
|
14
|
-
s.executables = ["ascii7".freeze, "blameline".freeze, "changes".freeze, "
|
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]
|
15
15
|
s.extra_rdoc_files = ["README.md".freeze, "lib/utils.rb".freeze, "lib/utils/config_file.rb".freeze, "lib/utils/editor.rb".freeze, "lib/utils/file_xt.rb".freeze, "lib/utils/finder.rb".freeze, "lib/utils/grepper.rb".freeze, "lib/utils/irb.rb".freeze, "lib/utils/line_blamer.rb".freeze, "lib/utils/line_formatter.rb".freeze, "lib/utils/md5.rb".freeze, "lib/utils/patterns.rb".freeze, "lib/utils/probe_server.rb".freeze, "lib/utils/ssh_tunnel_specification.rb".freeze, "lib/utils/version.rb".freeze, "lib/utils/xt/source_location_extension.rb".freeze]
|
16
|
-
s.files = [".github/dependabot.yml".freeze, ".github/workflows/codeql-analysis.yml".freeze, "COPYING".freeze, "Gemfile".freeze, "README.md".freeze, "Rakefile".freeze, "bin/ascii7".freeze, "bin/blameline".freeze, "bin/changes".freeze, "bin/
|
16
|
+
s.files = [".github/dependabot.yml".freeze, ".github/workflows/codeql-analysis.yml".freeze, "COPYING".freeze, "Gemfile".freeze, "README.md".freeze, "Rakefile".freeze, "bin/ascii7".freeze, "bin/blameline".freeze, "bin/changes".freeze, "bin/classify".freeze, "bin/code_comment".freeze, "bin/commit_message".freeze, "bin/create_cstags".freeze, "bin/create_tags".freeze, "bin/discover".freeze, "bin/edit".freeze, "bin/edit_wait".freeze, "bin/enum".freeze, "bin/git-empty".freeze, "bin/git-versions".freeze, "bin/json_check".freeze, "bin/long_lines".freeze, "bin/myex".freeze, "bin/number_files".freeze, "bin/on_change".freeze, "bin/path".freeze, "bin/print_method".freeze, "bin/probe".freeze, "bin/rd2md".freeze, "bin/search".freeze, "bin/sedit".freeze, "bin/serve".freeze, "bin/ssh-tunnel".freeze, "bin/strip_spaces".freeze, "bin/sync_dir".freeze, "bin/untest".freeze, "bin/utils-utilsrc".freeze, "bin/vcf2alias".freeze, "bin/yaml_check".freeze, "lib/utils.rb".freeze, "lib/utils/config_file.rb".freeze, "lib/utils/editor.rb".freeze, "lib/utils/file_xt.rb".freeze, "lib/utils/finder.rb".freeze, "lib/utils/grepper.rb".freeze, "lib/utils/irb.rb".freeze, "lib/utils/line_blamer.rb".freeze, "lib/utils/line_formatter.rb".freeze, "lib/utils/md5.rb".freeze, "lib/utils/patterns.rb".freeze, "lib/utils/probe_server.rb".freeze, "lib/utils/ssh_tunnel_specification.rb".freeze, "lib/utils/version.rb".freeze, "lib/utils/xt/source_location_extension.rb".freeze, "utils.gemspec".freeze]
|
17
17
|
s.homepage = "http://github.com/flori/utils".freeze
|
18
18
|
s.licenses = ["GPL-2.0".freeze]
|
19
19
|
s.rdoc_options = ["--title".freeze, "Utils - Some useful command line utilities".freeze, "--main".freeze, "README.md".freeze]
|
@@ -22,9 +22,10 @@ Gem::Specification.new do |s|
|
|
22
22
|
|
23
23
|
s.specification_version = 4
|
24
24
|
|
25
|
-
s.add_development_dependency(%q<gem_hadar>.freeze, ["~> 1.17.
|
25
|
+
s.add_development_dependency(%q<gem_hadar>.freeze, ["~> 1.17.1".freeze])
|
26
26
|
s.add_development_dependency(%q<debug>.freeze, [">= 0".freeze])
|
27
27
|
s.add_runtime_dependency(%q<drb>.freeze, [">= 0".freeze])
|
28
|
+
s.add_runtime_dependency(%q<webrick>.freeze, [">= 0".freeze])
|
28
29
|
s.add_runtime_dependency(%q<tins>.freeze, ["~> 1.14".freeze])
|
29
30
|
s.add_runtime_dependency(%q<term-ansicolor>.freeze, ["~> 1.3".freeze])
|
30
31
|
s.add_runtime_dependency(%q<pstree>.freeze, ["~> 0.3".freeze])
|
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.49.0
|
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-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gem_hadar
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.17.
|
19
|
+
version: 1.17.1
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 1.17.
|
26
|
+
version: 1.17.1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: debug
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -52,6 +52,20 @@ dependencies:
|
|
52
52
|
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: webrick
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
55
69
|
- !ruby/object:Gem::Dependency
|
56
70
|
name: tins
|
57
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -170,7 +184,6 @@ executables:
|
|
170
184
|
- ascii7
|
171
185
|
- blameline
|
172
186
|
- changes
|
173
|
-
- check-yaml
|
174
187
|
- classify
|
175
188
|
- code_comment
|
176
189
|
- commit_message
|
@@ -200,6 +213,7 @@ executables:
|
|
200
213
|
- untest
|
201
214
|
- utils-utilsrc
|
202
215
|
- vcf2alias
|
216
|
+
- yaml_check
|
203
217
|
extensions: []
|
204
218
|
extra_rdoc_files:
|
205
219
|
- README.md
|
@@ -228,7 +242,6 @@ files:
|
|
228
242
|
- bin/ascii7
|
229
243
|
- bin/blameline
|
230
244
|
- bin/changes
|
231
|
-
- bin/check-yaml
|
232
245
|
- bin/classify
|
233
246
|
- bin/code_comment
|
234
247
|
- bin/commit_message
|
@@ -258,6 +271,7 @@ files:
|
|
258
271
|
- bin/untest
|
259
272
|
- bin/utils-utilsrc
|
260
273
|
- bin/vcf2alias
|
274
|
+
- bin/yaml_check
|
261
275
|
- lib/utils.rb
|
262
276
|
- lib/utils/config_file.rb
|
263
277
|
- lib/utils/editor.rb
|
File without changes
|