utils 0.48.0 → 0.49.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 677af95701a972ced43473bd9c67461ccf2641d85b8f65261ba96c6a0ec04cb7
4
- data.tar.gz: 57fae4a1824ae33ed64b1f2a3b4cbc735f3b34fd37b6e104ba446c9cf396b0b2
3
+ metadata.gz: f6c937a65dea15baa84a877d5edd995c3603438bfde093f11ff3288f1261c290
4
+ data.tar.gz: 350a2711f49f1e055a6b7e06eb2215a4fbd7d60974ffaa309c4b7e585040405b
5
5
  SHA512:
6
- metadata.gz: 70d0d4b3ee0cbf6d07ca290afb51cb4ca5c7ba5ed97a168d5aba902cd9adb8706a1c858d75be752affee555c4cc749203c250d9453962bd6c4e8ceca603f0583
7
- data.tar.gz: ff0a2476df783d8beb89797675a59b1a6f17661dfbf08c97e68a0a1e54e7e56c0658c3c05030a862186679c4bb574d15c734272966096653087d50b752928b20
6
+ metadata.gz: 7d33c8650b22df039abe078236d5af3f828e970040aa8e307a23d37d2157f1cd7e56e4a06316a10d761c32d299353e39058431925180262e4ede8097798347d5
7
+ data.tar.gz: 4bc385055c625c31d13b1bec07377a94a6a104b90b63a41907d23b365f6f9cae569b977eb0722b33ef525262d12f54efc180cf10f03395bae395d98506b7485a
data/Rakefile CHANGED
@@ -20,6 +20,7 @@ GemHadar do
20
20
  licenses << 'GPL-2.0'
21
21
 
22
22
  dependency 'drb'
23
+ dependency 'webrick'
23
24
  dependency 'tins', '~> 1.14'
24
25
  dependency 'term-ansicolor', '~> 1.3'
25
26
  dependency 'pstree', '~> 0.3'
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 <<USAGE
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.blame(line).full? { |l| puts l }
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 << '.rb'
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
- $opts = go 'bdtsp:n:'
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[?n] ||= compute_shift(config, string)
81
+ if $opts[?b]
82
+ $opts[?n] = '-1'
83
+ else
84
+ $opts[?n] ||= compute_shift(config, string)
85
+ end
61
86
 
62
- $opts[?b] and $opts[?n] = '-1'
63
- print case
64
- when $opts[?t]
65
- if camelcase?(string)
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
- when $opts[?d]
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
@@ -20,7 +20,7 @@ IO.popen('cscope 2>/dev/null -R -b -i - -f cscope.out', 'w') do |scope|
20
20
  end
21
21
 
22
22
  infobar.newline
23
- Infobar.busy(label: 'Creating cstags') do
23
+ Infobar.busy(label: 'Creating cstags', frames: :braille7) do
24
24
  scope.close
25
25
  end
26
26
  end
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 <<USAGE
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
- ## vim: set ft=ruby et sw=2 ts=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 given,
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 context
35
- of the size (as number of characters) given via the -C option.
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
@@ -1,5 +1,4 @@
1
1
  #!/usr/bin/env ruby
2
- # encoding: UTF-8
3
2
 
4
3
  def execute(*args)
5
4
  cmd = args.map(&:inspect) * ' '
data/bin/probe CHANGED
@@ -1,5 +1,4 @@
1
1
  #!/usr/bin/env ruby
2
- # encoding: UTF-8
3
2
 
4
3
  require 'tins/xt'
5
4
  require 'tins/lines_file'
@@ -7,23 +6,23 @@ include Tins::GO
7
6
  require 'utils'
8
7
  include Utils
9
8
  require 'drb'
9
+ require 'shellwords'
10
10
 
11
11
  def usage
12
- puts <<-EOT
13
- Usage: #{File.basename($0)} [OPTS] [FILENAME[:LINENO]]
12
+ puts <<~EOT
13
+ Usage: #{File.basename($0)} [OPTS] [FILENAME[:LINENO]]
14
14
 
15
- Options are
15
+ Options are
16
16
 
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
- -f FORMATTER use FORMATTER to display rspec output
24
- -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
25
24
 
26
- Version is #{File.basename($0)} #{Utils::VERSION}.
25
+ Version is #{File.basename($0)} #{Utils::VERSION}.
27
26
  EOT
28
27
  exit 1
29
28
  end
@@ -32,8 +31,7 @@ def cmd(*args)
32
31
  if ENV.key?('BUNDLE_GEMFILE')
33
32
  args.unshift 'bundle', 'exec'
34
33
  end
35
- p args
36
- puts args * ' '
34
+ puts Shellwords.join(args)
37
35
  system(*args) or exit $?.exitstatus
38
36
  end
39
37
 
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 <<-EOT
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
- -n PATTERN only search files whose names match fuzzy PATTERN
121
- -N PATTERN only search files whose names match regexp PATTERN
122
- -s PATTERN skip lines that match fuzzy PATTERN
123
- -S PATTERN skip lines that match regexp PATTERN
124
- -A NUMBER displays NUMBER lines of context after the match
125
- -B NUMBER displays NUMBER lines of context before the match
126
- -C NUMBER displays NUMBER lines of context around the match
127
- -f just list the paths of the files that would be searched
128
- -F just consider real files when searching
129
- -l just list the paths of the files with matches
130
- -L list only the path:linenumber of the files with matches
131
- -pX interpret PATTERN argument as X=f fuzzy or X=r for regexp
132
- -c disable color output
133
- -iX use case insensitive matches with X=y (default) or not with X=n
134
- -I SUFFIX only include files with suffix SUFFIX in search
135
- -e open the matching files with edit command
136
- -E pick one file to edit
137
- -r REPLACE replace the searched match with REPLACE
138
- -b also search binary files
139
- -g use git to determine author of the line
140
- -G AUTHOR only display lines authored by AUTHOR
141
- -a CSET use only character set CSET from PATTERN
142
- -v be verbose
143
- -h display this help
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
@@ -21,4 +21,3 @@ s = WEBrick::HTTPServer.new(
21
21
  trap('INT') { s.shutdown }
22
22
  puts "You have been served: http://localhost:#{port}/"
23
23
  s.start
24
-
data/bin/ssh-tunnel CHANGED
@@ -20,22 +20,22 @@ Host *
20
20
  SSH_CONFIG_END
21
21
 
22
22
  def usage
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
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
@@ -35,7 +35,7 @@ when 'edit'
35
35
  system "vimdiff #{default_utilsrc.inspect} #{utilsrc.inspect}"
36
36
  end
37
37
  else
38
- puts <<EOT
39
- Usage: #{File.basename($0)} show|diff|edit
40
- EOT
38
+ puts <<~EOT
39
+ Usage: #{File.basename($0)} show|diff|edit
40
+ EOT
41
41
  end
data/lib/utils/version.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  module Utils
2
2
  # Utils version
3
- VERSION = '0.48.0'
3
+ VERSION = '0.49.0'
4
4
  VERSION_ARRAY = VERSION.split('.').map(&:to_i) # :nodoc:
5
5
  VERSION_MAJOR = VERSION_ARRAY[0] # :nodoc:
6
6
  VERSION_MINOR = VERSION_ARRAY[1] # :nodoc:
data/utils.gemspec CHANGED
@@ -1,9 +1,9 @@
1
1
  # -*- encoding: utf-8 -*-
2
- # stub: utils 0.48.0 ruby lib
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.48.0".freeze
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]
@@ -11,9 +11,9 @@ Gem::Specification.new do |s|
11
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, "check-yaml".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]
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/check-yaml".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, "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]
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]
@@ -25,6 +25,7 @@ Gem::Specification.new do |s|
25
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,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.48.0
4
+ version: 0.49.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Florian Frank
@@ -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