utils 0.59.0 → 0.59.2

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: e0bf21550f351ce141bc9afcb65e2f96f6af735d3d2f7bdd240335dde11da71a
4
- data.tar.gz: a606b8d88a1e7a7d1d7da1a7c0cc70f30f8f79444195fa3d4a1a0aab0f718df6
3
+ metadata.gz: dbe0007addc8116defba0c532f3f9b2266c49f5676ed64c461a58882234abc74
4
+ data.tar.gz: 5f59ed14c8e97ba588c03fe8f103a66addbec60f3ea2a9c942570825a979a6b8
5
5
  SHA512:
6
- metadata.gz: ee6fed0cad3362591e59c90d2748fed4b2954b55ce3f7eecb5ea8d9d28b8c5ccc96e8777e62206b35b7cee908368f595bef6d361eb52811fce0e623895f47ec3
7
- data.tar.gz: '0096a2c87c1aacd717a8c73dc5e6ef290823b2e758c097c81f9ead5e25782be67368a442b37dc44a7a7d508c7047683fac6425dcfe35107baea2c48425cd1f5b'
6
+ metadata.gz: ec001d02e5cf6b9844532b0495d2b64e78e1503d120d831725ec77bb86e8c56929a68d8774de1593c890488a4b99d1b94d89dfb831d2dfb410b1effe93d28e9c
7
+ data.tar.gz: 78021684fb51db6b4a926046edb9cc38e56caf20d75937f3fad4c9df9533418bd56e3a9815173751755cfe96964cabba41631a0764ab73f45b61ac9f4690063c
data/bin/changes CHANGED
@@ -53,6 +53,8 @@ def compute_change(range_from, range_to)
53
53
 
54
54
  prompt = <<~EOT
55
55
  - Summarize the changes in the following git log messages as bullet points.
56
+ - Don't mention the version of the change set
57
+ - Skip bullet points about version bumps.
56
58
  - List significant changes as bullet points using markdown when applicable.
57
59
  - Mark all names and values for variables, methods, functions, and
58
60
  constants, you see in the messages as markdown code surrounded by
@@ -73,7 +75,7 @@ def compute_change(range_from, range_to)
73
75
  end
74
76
 
75
77
  options = Ollama::Options.new(
76
- num_ctx: 8192,
78
+ num_ctx: 16384,
77
79
  num_predict: 1024,
78
80
  temperature: 0,
79
81
  #seed: 1337,
data/bin/code_comment CHANGED
@@ -156,7 +156,7 @@ EOT
156
156
 
157
157
  options = Ollama::Options.new(
158
158
  #repeat_penalty: 1.8,
159
- num_ctx: 8192,
159
+ num_ctx: 16384,
160
160
  num_predict: 512,
161
161
  temperature: 0,
162
162
  #repeat_last_n: -1,
data/bin/long_lines CHANGED
@@ -22,7 +22,7 @@ for file in files
22
22
  for line in f
23
23
  size = line.size
24
24
  if size > max
25
- lineno = f.lineno + 1
25
+ lineno = f.lineno
26
26
  blamer = Utils::LineBlamer.new(file, lineno) or next
27
27
  blame = blamer.perform or next
28
28
  author = blame[/\((.*?)\d{4}/, 1]
data/lib/utils/version.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  module Utils
2
2
  # Utils version
3
- VERSION = '0.59.0'
3
+ VERSION = '0.59.2'
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,14 +1,14 @@
1
1
  # -*- encoding: utf-8 -*-
2
- # stub: utils 0.59.0 ruby lib
2
+ # stub: utils 0.59.2 ruby lib
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "utils".freeze
6
- s.version = "0.59.0".freeze
6
+ s.version = "0.59.2".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-10-17"
11
+ s.date = "2024-10-27"
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, "md".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]
@@ -17,7 +17,7 @@ Gem::Specification.new do |s|
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.5.18".freeze
20
+ s.rubygems_version = "3.5.22".freeze
21
21
  s.summary = "Some useful command line utilities".freeze
22
22
 
23
23
  s.specification_version = 4
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.59.0
4
+ version: 0.59.2
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-10-17 00:00:00.000000000 Z
11
+ date: 2024-10-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gem_hadar
@@ -333,7 +333,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
333
333
  - !ruby/object:Gem::Version
334
334
  version: '0'
335
335
  requirements: []
336
- rubygems_version: 3.5.18
336
+ rubygems_version: 3.5.22
337
337
  signing_key:
338
338
  specification_version: 4
339
339
  summary: Some useful command line utilities