utils 0.78.1 → 0.78.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/Rakefile +1 -1
- data/lib/utils/config_file.rb +1 -1
- data/lib/utils/editor.rb +1 -1
- data/lib/utils/probe_server.rb +1 -1
- data/lib/utils/version.rb +1 -1
- data/utils.gemspec +5 -5
- metadata +4 -7
- data/.github/dependabot.yml +0 -11
- data/.github/workflows/codeql-analysis.yml +0 -72
- data/.utilsrc +0 -72
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: dd27aa3543b39f9682fd9e1ddd01d3caa73981dbd11ef2892d36e9650ee36988
|
|
4
|
+
data.tar.gz: bd6537b769d54bd0fbc2e72e56462e45dfe69c24a81f577eac48e1839e15d5c4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fc8515d122fd46d78bee724dee5305ed1012fb11f664613decf3caa3e8b817598d5ef14a476643ef9df9946870b78a3b8a9e4eb404aef32d27c2392d04208755
|
|
7
|
+
data.tar.gz: b7090e9be578c54ebc9589876a002d6610bb64949040b4adc5aa1ccef3d10e3e468dfe5c5a826aaa748189f49cd52a92d210dc6762b66669109b28bf3ffe7adf
|
data/Rakefile
CHANGED
|
@@ -16,7 +16,7 @@ GemHadar do
|
|
|
16
16
|
ignore '.*.sw[pon]', 'pkg', 'Gemfile.lock', '.rvmrc', '.AppleDouble',
|
|
17
17
|
'tags', '.bundle', '.DS_Store', '.byebug_history', '.yardoc', 'doc',
|
|
18
18
|
'cscope.out', '.starscope.db'
|
|
19
|
-
package_ignore '.gitignore', 'VERSION'
|
|
19
|
+
package_ignore '.gitignore', 'VERSION', '.github', '.utilsrc'
|
|
20
20
|
readme 'README.md'
|
|
21
21
|
licenses << 'GPL-2.0'
|
|
22
22
|
|
data/lib/utils/config_file.rb
CHANGED
|
@@ -742,7 +742,7 @@ class Utils::ConfigFile
|
|
|
742
742
|
# @return [ String ] the full path to the vim executable as determined by the which command
|
|
743
743
|
config :vim_path do `which vim`.chomp end
|
|
744
744
|
|
|
745
|
-
config :vim_default_args,
|
|
745
|
+
config :vim_default_args, %w[ --clientserver socket ]
|
|
746
746
|
end
|
|
747
747
|
|
|
748
748
|
# The edit method initializes and returns an Edit object.
|
data/lib/utils/editor.rb
CHANGED
|
@@ -52,7 +52,7 @@ module Utils
|
|
|
52
52
|
private def derive_server_name
|
|
53
53
|
name = ENV['VIM_SERVER'] || Dir.pwd
|
|
54
54
|
RbConfig::CONFIG['host_os'] =~ /mswin|mingw/ and name = "G_#{name}"
|
|
55
|
-
name.upcase
|
|
55
|
+
name.tr(?/, ?_).upcase
|
|
56
56
|
end
|
|
57
57
|
|
|
58
58
|
# The pause_duration method provides access to the duration value used for
|
data/lib/utils/probe_server.rb
CHANGED
data/lib/utils/version.rb
CHANGED
data/utils.gemspec
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
|
2
|
-
# stub: utils 0.78.
|
|
2
|
+
# stub: utils 0.78.3 ruby lib
|
|
3
3
|
|
|
4
4
|
Gem::Specification.new do |s|
|
|
5
5
|
s.name = "utils".freeze
|
|
6
|
-
s.version = "0.78.
|
|
6
|
+
s.version = "0.78.3".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]
|
|
@@ -13,17 +13,17 @@ Gem::Specification.new do |s|
|
|
|
13
13
|
s.email = "flori@ping.de".freeze
|
|
14
14
|
s.executables = ["ascii7".freeze, "blameline".freeze, "changes".freeze, "classify".freeze, "code_comment".freeze, "code_indexer".freeze, "commit_message".freeze, "discover".freeze, "edit".freeze, "edit_wait".freeze, "enum".freeze, "git-empty".freeze, "git-versions".freeze, "json_check".freeze, "long_lines".freeze, "myex".freeze, "on_change".freeze, "path".freeze, "print_method".freeze, "probe".freeze, "rainbow".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_dir.rb".freeze, "lib/utils/config_file.rb".freeze, "lib/utils/editor.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 = ["
|
|
16
|
+
s.files = ["Gemfile".freeze, "LICENSE".freeze, "README.md".freeze, "Rakefile".freeze, "bin/ascii7".freeze, "bin/blameline".freeze, "bin/changes".freeze, "bin/classify".freeze, "bin/code_comment".freeze, "bin/code_indexer".freeze, "bin/commit_message".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/on_change".freeze, "bin/path".freeze, "bin/print_method".freeze, "bin/probe".freeze, "bin/rainbow".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_dir.rb".freeze, "lib/utils/config_file.rb".freeze, "lib/utils/editor.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, "tests/test_helper.rb".freeze, "tests/utils_test.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]
|
|
20
|
-
s.rubygems_version = "3.
|
|
20
|
+
s.rubygems_version = "3.7.2".freeze
|
|
21
21
|
s.summary = "Some useful command line utilities".freeze
|
|
22
22
|
s.test_files = ["tests/test_helper.rb".freeze, "tests/utils_test.rb".freeze]
|
|
23
23
|
|
|
24
24
|
s.specification_version = 4
|
|
25
25
|
|
|
26
|
-
s.add_development_dependency(%q<gem_hadar>.freeze, ["~> 2.
|
|
26
|
+
s.add_development_dependency(%q<gem_hadar>.freeze, ["~> 2.8".freeze])
|
|
27
27
|
s.add_development_dependency(%q<test-unit>.freeze, [">= 0".freeze])
|
|
28
28
|
s.add_runtime_dependency(%q<unix_socks>.freeze, [">= 0".freeze])
|
|
29
29
|
s.add_runtime_dependency(%q<webrick>.freeze, [">= 0".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.78.
|
|
4
|
+
version: 0.78.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Florian Frank
|
|
@@ -15,14 +15,14 @@ dependencies:
|
|
|
15
15
|
requirements:
|
|
16
16
|
- - "~>"
|
|
17
17
|
- !ruby/object:Gem::Version
|
|
18
|
-
version: '2.
|
|
18
|
+
version: '2.8'
|
|
19
19
|
type: :development
|
|
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: '2.
|
|
25
|
+
version: '2.8'
|
|
26
26
|
- !ruby/object:Gem::Dependency
|
|
27
27
|
name: test-unit
|
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -315,9 +315,6 @@ extra_rdoc_files:
|
|
|
315
315
|
- lib/utils/version.rb
|
|
316
316
|
- lib/utils/xt/source_location_extension.rb
|
|
317
317
|
files:
|
|
318
|
-
- ".github/dependabot.yml"
|
|
319
|
-
- ".github/workflows/codeql-analysis.yml"
|
|
320
|
-
- ".utilsrc"
|
|
321
318
|
- Gemfile
|
|
322
319
|
- LICENSE
|
|
323
320
|
- README.md
|
|
@@ -394,7 +391,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
394
391
|
- !ruby/object:Gem::Version
|
|
395
392
|
version: '0'
|
|
396
393
|
requirements: []
|
|
397
|
-
rubygems_version: 3.
|
|
394
|
+
rubygems_version: 3.7.2
|
|
398
395
|
specification_version: 4
|
|
399
396
|
summary: Some useful command line utilities
|
|
400
397
|
test_files:
|
data/.github/dependabot.yml
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
# To get started with Dependabot version updates, you'll need to specify which
|
|
2
|
-
# package ecosystems to update and where the package manifests are located.
|
|
3
|
-
# Please see the documentation for all configuration options:
|
|
4
|
-
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
|
|
5
|
-
|
|
6
|
-
version: 2
|
|
7
|
-
updates:
|
|
8
|
-
- package-ecosystem: "bundler" # See documentation for possible values
|
|
9
|
-
directory: "/" # Location of package manifests
|
|
10
|
-
schedule:
|
|
11
|
-
interval: "weekly"
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
# For most projects, this workflow file will not need changing; you simply need
|
|
2
|
-
# to commit it to your repository.
|
|
3
|
-
#
|
|
4
|
-
# You may wish to alter this file to override the set of languages analyzed,
|
|
5
|
-
# or to provide custom queries or build logic.
|
|
6
|
-
#
|
|
7
|
-
# ******** NOTE ********
|
|
8
|
-
# We have attempted to detect the languages in your repository. Please check
|
|
9
|
-
# the `language` matrix defined below to confirm you have the correct set of
|
|
10
|
-
# supported CodeQL languages.
|
|
11
|
-
#
|
|
12
|
-
name: "CodeQL"
|
|
13
|
-
|
|
14
|
-
on:
|
|
15
|
-
push:
|
|
16
|
-
branches: [ master ]
|
|
17
|
-
pull_request:
|
|
18
|
-
# The branches below must be a subset of the branches above
|
|
19
|
-
branches: [ master ]
|
|
20
|
-
schedule:
|
|
21
|
-
- cron: '31 3 * * 1'
|
|
22
|
-
|
|
23
|
-
jobs:
|
|
24
|
-
analyze:
|
|
25
|
-
name: Analyze
|
|
26
|
-
runs-on: ubuntu-latest
|
|
27
|
-
permissions:
|
|
28
|
-
actions: read
|
|
29
|
-
contents: read
|
|
30
|
-
security-events: write
|
|
31
|
-
|
|
32
|
-
strategy:
|
|
33
|
-
fail-fast: false
|
|
34
|
-
matrix:
|
|
35
|
-
language: [ 'ruby' ]
|
|
36
|
-
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
|
|
37
|
-
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
|
|
38
|
-
|
|
39
|
-
steps:
|
|
40
|
-
- name: Checkout repository
|
|
41
|
-
uses: actions/checkout@v3
|
|
42
|
-
|
|
43
|
-
# Initializes the CodeQL tools for scanning.
|
|
44
|
-
- name: Initialize CodeQL
|
|
45
|
-
uses: github/codeql-action/init@v2
|
|
46
|
-
with:
|
|
47
|
-
languages: ${{ matrix.language }}
|
|
48
|
-
# If you wish to specify custom queries, you can do so here or in a config file.
|
|
49
|
-
# By default, queries listed here will override any specified in a config file.
|
|
50
|
-
# Prefix the list here with "+" to use these queries and those in the config file.
|
|
51
|
-
|
|
52
|
-
# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
|
|
53
|
-
# queries: security-extended,security-and-quality
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
|
|
57
|
-
# If this step fails, then you should remove it and run the build manually (see below)
|
|
58
|
-
- name: Autobuild
|
|
59
|
-
uses: github/codeql-action/autobuild@v2
|
|
60
|
-
|
|
61
|
-
# ℹ️ Command-line programs to run using the OS shell.
|
|
62
|
-
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
|
|
63
|
-
|
|
64
|
-
# If the Autobuild fails above, remove it and uncomment the following three lines.
|
|
65
|
-
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
|
|
66
|
-
|
|
67
|
-
# - run: |
|
|
68
|
-
# echo "Run, Build Application using script"
|
|
69
|
-
# ./location_of_script_within_repo/buildscript.sh
|
|
70
|
-
|
|
71
|
-
- name: Perform CodeQL Analysis
|
|
72
|
-
uses: github/codeql-action/analyze@v2
|
data/.utilsrc
DELETED
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
# vim: set ft=ruby:
|
|
2
|
-
|
|
3
|
-
search do
|
|
4
|
-
prune_dirs /\A(\.svn|\.git|\.terraform|CVS|tmp|coverage|corpus|pkg|\.yardoc|doc)\z/
|
|
5
|
-
skip_files /(\A\.|\.sw[pon]\z|\.(log|fnm|jpg|jpeg|png|pdf|svg)\z|\Atags\z|~\z)/i
|
|
6
|
-
end
|
|
7
|
-
|
|
8
|
-
discover do
|
|
9
|
-
prune_dirs /\A(\.svn|\.git|\.terraform|\.yardoc|CVS|tmp|coverage|corpus|pkg|\.yardoc|doc)\z/
|
|
10
|
-
skip_files /(\A\.|\.sw[pon]\z|\.log\z|~\z)/
|
|
11
|
-
index_expire_after 3_600
|
|
12
|
-
end
|
|
13
|
-
|
|
14
|
-
strip_spaces do
|
|
15
|
-
prune_dirs /\A(\..*|CVS|pkg|\.yardoc)\z/
|
|
16
|
-
skip_files /(\A\.|\.sw[pon]\z|\.log\z|~\z)/
|
|
17
|
-
end
|
|
18
|
-
|
|
19
|
-
probe do
|
|
20
|
-
test_framework :'test-unit'
|
|
21
|
-
end
|
|
22
|
-
|
|
23
|
-
ssh_tunnel do
|
|
24
|
-
terminal_multiplexer :tmux
|
|
25
|
-
login_session "/home/#{ENV['USER']}"
|
|
26
|
-
env(
|
|
27
|
-
FOO: 'test'
|
|
28
|
-
)
|
|
29
|
-
end
|
|
30
|
-
|
|
31
|
-
classify do
|
|
32
|
-
shift_path_by_default 1
|
|
33
|
-
end
|
|
34
|
-
|
|
35
|
-
code_indexer do
|
|
36
|
-
verbose true
|
|
37
|
-
gems = %w[
|
|
38
|
-
all_images
|
|
39
|
-
amatch
|
|
40
|
-
base64
|
|
41
|
-
bigdecimal
|
|
42
|
-
complex_config
|
|
43
|
-
context_spook
|
|
44
|
-
date
|
|
45
|
-
debug
|
|
46
|
-
excon
|
|
47
|
-
gem_hader
|
|
48
|
-
infobar
|
|
49
|
-
json
|
|
50
|
-
kramdown-ansi
|
|
51
|
-
logger
|
|
52
|
-
mize
|
|
53
|
-
ollama-ruby
|
|
54
|
-
ostruct
|
|
55
|
-
parser
|
|
56
|
-
pstree
|
|
57
|
-
rake
|
|
58
|
-
search_ui
|
|
59
|
-
simplecov
|
|
60
|
-
stringio
|
|
61
|
-
sync
|
|
62
|
-
term-ansicolor
|
|
63
|
-
tins
|
|
64
|
-
unix_socks
|
|
65
|
-
utils
|
|
66
|
-
webrick
|
|
67
|
-
yard
|
|
68
|
-
]
|
|
69
|
-
paths {
|
|
70
|
-
%w[ lib ] + gems.map { `bundle show #{it}` }.map(&:chomp)
|
|
71
|
-
}
|
|
72
|
-
end
|