utils 0.54.1 → 0.56.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 -1
- data/bin/commit_message +1 -1
- data/bin/ssh-tunnel +1 -5
- data/lib/utils/config_file.rb +4 -0
- data/lib/utils/version.rb +1 -1
- data/utils.gemspec +4 -4
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8b617aa2b1c9f63d35f0c7e09c61b07f819e1b339f6925d9080eb18f71d121b1
|
4
|
+
data.tar.gz: 78f4020fac0d79012ea64fa51b233ee4290081a1163e91019c2665ed5654a48d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2beb3cfeb1399e570ddef18b727dfd4435cc8fc844929ce6f98117f9d918841993492afcb2cb81fc11e09bf7f9a6c8173a75232048a3c7f4e85dab67f0d04958
|
7
|
+
data.tar.gz: e72044bed9a982b6e0eed025981bf68758eac26ae00f589b063ae17784f82bf38ff68efaacfa3d2387d5b4dd76e197884165ccd4ac6373f90ef57b19abdc7e90
|
data/Rakefile
CHANGED
data/bin/commit_message
CHANGED
@@ -7,6 +7,6 @@ config =
|
|
7
7
|
File.join(xdg, 'commit_message')
|
8
8
|
end
|
9
9
|
|
10
|
-
branch
|
10
|
+
branch = `git rev-parse --abbrev-ref HEAD`.chomp
|
11
11
|
exec 'ollama_cli', '-M', "#{config}/options.json", '-P', "branch=#{branch}",
|
12
12
|
'-s', "#{config}/system.txt", '-p', "#{config}/prompt.txt"
|
data/bin/ssh-tunnel
CHANGED
@@ -95,11 +95,7 @@ user, remote, rport =
|
|
95
95
|
ssh_dir = File.expand_path('~/.ssh')
|
96
96
|
mkdir_p ssh_dir
|
97
97
|
sock_file = "#{ssh_dir}/#{user}@#{remote}:#{rport}.sock"
|
98
|
-
|
99
|
-
opts[?n] ||= env_user
|
100
|
-
else
|
101
|
-
opts[?n] ||= 'session'
|
102
|
-
end
|
98
|
+
opts[?n] ||= config.ssh_tunnel.login_session
|
103
99
|
if opts[?N]
|
104
100
|
cmd "ssh -p #{rport} -S #{sock_file} #{user}@#{remote} #{config.ssh_tunnel.multiplexer_list}"
|
105
101
|
else
|
data/lib/utils/config_file.rb
CHANGED
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.56.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.56.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-30"
|
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-md".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]
|
@@ -32,7 +32,7 @@ Gem::Specification.new do |s|
|
|
32
32
|
s.add_runtime_dependency(%q<mize>.freeze, ["~> 0.6".freeze])
|
33
33
|
s.add_runtime_dependency(%q<search_ui>.freeze, ["~> 0.0".freeze])
|
34
34
|
s.add_runtime_dependency(%q<all_images>.freeze, ["~> 0.5.0".freeze])
|
35
|
-
s.add_runtime_dependency(%q<ollama-ruby>.freeze, ["
|
35
|
+
s.add_runtime_dependency(%q<ollama-ruby>.freeze, [">= 0".freeze])
|
36
36
|
s.add_runtime_dependency(%q<simplecov>.freeze, [">= 0".freeze])
|
37
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.56.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-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gem_hadar
|
@@ -154,16 +154,16 @@ dependencies:
|
|
154
154
|
name: ollama-ruby
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|
156
156
|
requirements:
|
157
|
-
- - "
|
157
|
+
- - ">="
|
158
158
|
- !ruby/object:Gem::Version
|
159
|
-
version: 0
|
159
|
+
version: '0'
|
160
160
|
type: :runtime
|
161
161
|
prerelease: false
|
162
162
|
version_requirements: !ruby/object:Gem::Requirement
|
163
163
|
requirements:
|
164
|
-
- - "
|
164
|
+
- - ">="
|
165
165
|
- !ruby/object:Gem::Version
|
166
|
-
version: 0
|
166
|
+
version: '0'
|
167
167
|
- !ruby/object:Gem::Dependency
|
168
168
|
name: simplecov
|
169
169
|
requirement: !ruby/object:Gem::Requirement
|