utils 0.103.1 → 0.104.0
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/CHANGES.md +3167 -0
- data/Rakefile +4 -0
- data/bin/changes +2 -0
- data/lib/utils/version.rb +1 -1
- data/utils.gemspec +3 -3
- metadata +2 -1
data/CHANGES.md
ADDED
|
@@ -0,0 +1,3167 @@
|
|
|
1
|
+
# Changes
|
|
2
|
+
|
|
3
|
+
## 2026-11-24 v0.104.0
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
- Add `CHANGES.md` documenting the complete project history from **v0.0.0** to
|
|
7
|
+
**v0.103.1**.
|
|
8
|
+
|
|
9
|
+
### Improvements
|
|
10
|
+
- Clear the infobar progress display after `full` and `add` loops in
|
|
11
|
+
`bin/changes` to prevent the progress bar from lingering on the terminal.
|
|
12
|
+
|
|
13
|
+
### Build & CI
|
|
14
|
+
- Add `CHANGES.md` to the gem's file list in `utils.gemspec`.
|
|
15
|
+
- Add `changelog` configuration to `Rakefile` to recognize `CHANGES.md`.
|
|
16
|
+
|
|
17
|
+
## 2026-11-23 v0.103.1
|
|
18
|
+
|
|
19
|
+
### Improvements
|
|
20
|
+
- Route infobar output to `STDERR` in `bin/changes` to prevent
|
|
21
|
+
progress indicators from interfering with piped output.
|
|
22
|
+
|
|
23
|
+
## 2026-11-23 v0.103.0
|
|
24
|
+
|
|
25
|
+
### Features
|
|
26
|
+
- Add infobar progress display to `full` and `add` commands in `bin/changes`.
|
|
27
|
+
- Add `-m` flag to `bin/changes` to override context length for LLM prompts.
|
|
28
|
+
- Implement context-length-aware log truncation to handle large diffs.
|
|
29
|
+
|
|
30
|
+
### Fixes
|
|
31
|
+
- Handle binary bytes in `git log -p` output to prevent encoding errors.
|
|
32
|
+
- Ensure version tags carry a `v` prefix in generated changelog headers.
|
|
33
|
+
|
|
34
|
+
### Build & CI
|
|
35
|
+
- Bump `gem_hadar` development dependency to **2.27.1**.
|
|
36
|
+
|
|
37
|
+
## 2026-11-21 v0.102.0
|
|
38
|
+
|
|
39
|
+
### Features
|
|
40
|
+
|
|
41
|
+
- Added a `-p` flag to the `changes` script to include full diff
|
|
42
|
+
hunks in the LLM prompt.
|
|
43
|
+
- Hoisted option parsing to a shared `opts` variable so all
|
|
44
|
+
subcommands can access the `-p` flag.
|
|
45
|
+
- Forwarded the `patch:` keyword argument to all `compute_change`
|
|
46
|
+
call sites.
|
|
47
|
+
|
|
48
|
+
### Improvements
|
|
49
|
+
|
|
50
|
+
- Removed a redundant `$?.success?` check in `compute_change` that
|
|
51
|
+
was dead code after the `x` helper execution.
|
|
52
|
+
|
|
53
|
+
### Build & CI
|
|
54
|
+
|
|
55
|
+
- Updated `rubygems_version` to **4.1.0** in `utils.gemspec`.
|
|
56
|
+
- Updated the `gem_hadar` development dependency requirement to
|
|
57
|
+
`>= 2.26.1`.
|
|
58
|
+
|
|
59
|
+
## 2026-11-19 v0.101.0
|
|
60
|
+
|
|
61
|
+
### Build & CI
|
|
62
|
+
- Updated `context_spook` to `~> 1.8`, `unix_socks` to `~> 0.5`, and
|
|
63
|
+
`kramdown-ansi` to `>= 0.10` to support `json` version `>= 2.0`,
|
|
64
|
+
`< 4`.
|
|
65
|
+
- Raised the minimum required version for `gem_hadar` to `>= 2.24.1`.
|
|
66
|
+
- Removed obsolete Vim modelines from `Gemfile` and `Rakefile`.
|
|
67
|
+
|
|
68
|
+
## 2026-10-23 v0.100.0
|
|
69
|
+
|
|
70
|
+
### Improvements
|
|
71
|
+
- Replaced manual URL construction in `bin/changes` and `bin/code_comment`
|
|
72
|
+
with the `Ollama.base_url()` helper to consolidate URL normalization.
|
|
73
|
+
|
|
74
|
+
### Build & CI
|
|
75
|
+
- Updated the `ollama-ruby` runtime dependency requirement to `~> 1.26`.
|
|
76
|
+
- Updated the `gem_hadar` development dependency requirement to
|
|
77
|
+
`>= 2.21.0`.
|
|
78
|
+
|
|
79
|
+
## 2026-10-01 v0.99.0
|
|
80
|
+
|
|
81
|
+
### Improvements
|
|
82
|
+
- Add `--sort=no` flag to the `ctags` command in `bin/code_indexer` to disable sorting.
|
|
83
|
+
|
|
84
|
+
### Documentation
|
|
85
|
+
- Correct the example character name from `rightarrow` to `rightwarrow` in
|
|
86
|
+
the `bin/charpick` usage comments and search hint.
|
|
87
|
+
- Remove the redundant `@return` documentation line from the `download`
|
|
88
|
+
method in `bin/charpick`.
|
|
89
|
+
|
|
90
|
+
## 2026-09-16 v0.98.0
|
|
91
|
+
|
|
92
|
+
### Improvements
|
|
93
|
+
- Replace `client.json` and `options.json` files with `OLLAMA_CLIENT`
|
|
94
|
+
and `OLLAMA_MODEL_OPTIONS` environment variables in `changes`,
|
|
95
|
+
`code_comment`, and `commit_message`.
|
|
96
|
+
- Remove `-c` and `-M` flags from the `ollama_cli` invocation in
|
|
97
|
+
`commit_message` to rely on native environment variable support.
|
|
98
|
+
- Update `charpick` to pass `?-` as the second argument to
|
|
99
|
+
`matcher.similar` to improve matching accuracy.
|
|
100
|
+
- Change `bin/charpick` permissions to be executable.
|
|
101
|
+
|
|
102
|
+
### Build & CI
|
|
103
|
+
- Update `rubygems_version` in `utils.gemspec` from **4.0.17** to
|
|
104
|
+
**4.0.20**.
|
|
105
|
+
|
|
106
|
+
### Documentation
|
|
107
|
+
- Document `charpick` and `irb_client` in the `README.md` utility
|
|
108
|
+
listings.
|
|
109
|
+
- Add usage header comments to `bin/irb_client` explaining server
|
|
110
|
+
setup and snippet execution.
|
|
111
|
+
|
|
112
|
+
## 2026-08-29 v0.97.0
|
|
113
|
+
|
|
114
|
+
### Features
|
|
115
|
+
- Add `bin/charpick` script for interactive fuzzy search over `UnicodeData.txt` with clipboard copy via `pbcopy`, `wl-copy`, `xclip`, or `xsel`.
|
|
116
|
+
- Integrate `charpick` into gemspec `executables` and `files`.
|
|
117
|
+
|
|
118
|
+
### Improvements
|
|
119
|
+
- Bump `search_ui` dependency to **0.2.0** in `Rakefile` and `utils.gemspec`.
|
|
120
|
+
|
|
121
|
+
### Build & CI
|
|
122
|
+
- Update `rubygems_version` to **4.0.17** in `utils.gemspec`.
|
|
123
|
+
- Bump `gem_hadar` development dependency to `>= 2.18.0` in `utils.gemspec`.
|
|
124
|
+
|
|
125
|
+
## 2026-07-03 v0.96.0
|
|
126
|
+
|
|
127
|
+
### Features
|
|
128
|
+
- Add `-r` flag to the `pending` command in `bin/changes` to
|
|
129
|
+
specify a future version tag for the changelog header.
|
|
130
|
+
- Implement `future_tag` keyword argument in `compute_change` method.
|
|
131
|
+
- Integrate `tins/go` for flexible CLI argument parsing.
|
|
132
|
+
|
|
133
|
+
### Documentation
|
|
134
|
+
- Add comprehensive YARD documentation to `compute_change`.
|
|
135
|
+
- Update usage header and help menu in `bin/changes` to document
|
|
136
|
+
the new `-r` flag.
|
|
137
|
+
|
|
138
|
+
## 2026-04-08 v0.95.1
|
|
139
|
+
|
|
140
|
+
### Improvements
|
|
141
|
+
- Remove unused `require 'pathname'` statements from `bin/discover`,
|
|
142
|
+
`bin/sync_dir`, and `lib/utils/xdg.rb`.
|
|
143
|
+
|
|
144
|
+
### Build & CI
|
|
145
|
+
- Update `s.rubygems_version` in `utils.gemspec` to **4.0.10**.
|
|
146
|
+
|
|
147
|
+
## 2026-03-09 v0.95.0
|
|
148
|
+
|
|
149
|
+
### Features
|
|
150
|
+
- `on_change` now supports monitoring multiple files using `-i`
|
|
151
|
+
glob patterns, replacing the previous single-file limit.
|
|
152
|
+
- Added `-d` option to `on_change` to configure the sleep interval
|
|
153
|
+
between checks, clamped to a minimum of one second.
|
|
154
|
+
- `code_indexer` accepts an optional argument to restrict indexing to
|
|
155
|
+
a specific format (e.g., `ctags` or `cscope`).
|
|
156
|
+
- `code_indexer` uses native `ctags` for the `ctags` format instead of
|
|
157
|
+
relying solely on `starscope`.
|
|
158
|
+
|
|
159
|
+
### Improvements
|
|
160
|
+
- Replaced `create_cstags` and `create_tags` utilities with a
|
|
161
|
+
unified `code_indexer` command in the documentation and
|
|
162
|
+
implementation.
|
|
163
|
+
- `on_change` now uses `Shellwords` to safely join command arguments
|
|
164
|
+
before execution.
|
|
165
|
+
- Enhanced error handling in `on_change` to preserve file timestamps
|
|
166
|
+
even when a file temporarily disappears.
|
|
167
|
+
|
|
168
|
+
### Build & CI
|
|
169
|
+
- Updated `rubygems_version` to **4.0.4** and adjusted `gem_hadar`
|
|
170
|
+
development dependency to `~> 2.8`.
|
|
171
|
+
|
|
172
|
+
## 2026-02-06 v0.94.0
|
|
173
|
+
|
|
174
|
+
### Breaking
|
|
175
|
+
- Replaced the `-n` option with `-m` in `bin/discover` to limit the
|
|
176
|
+
maximum number of matches returned.
|
|
177
|
+
|
|
178
|
+
### Features
|
|
179
|
+
- Added `-m` option to `bin/search` to limit the maximum number of files
|
|
180
|
+
returned by search results.
|
|
181
|
+
- Implemented early termination in `Utils::Grepper` to improve performance
|
|
182
|
+
when the `-m` limit is reached.
|
|
183
|
+
|
|
184
|
+
### Fixes
|
|
185
|
+
- Corrected a typo in the error list storage message in `Utils::LineFormatter`
|
|
186
|
+
from "error list" to "errors list".
|
|
187
|
+
|
|
188
|
+
## 2026-01-29 v0.93.0
|
|
189
|
+
|
|
190
|
+
### Features
|
|
191
|
+
- Add `-P` flag to `bin/discover` and `bin/search` for pruning directories
|
|
192
|
+
using custom regular expression patterns.
|
|
193
|
+
- Extend `Utils::ConfigFile::FileFinder#prune?` to accept an
|
|
194
|
+
`additional_dirs` parameter for dynamic directory filtering.
|
|
195
|
+
|
|
196
|
+
### Improvements
|
|
197
|
+
- Add `.contexts/lib.rb` for structured library and gem file discovery.
|
|
198
|
+
- Update `line_formatter.rb` to use bright ANSI colors for improved
|
|
199
|
+
terminal output readability.
|
|
200
|
+
|
|
201
|
+
## 2026-01-26 v0.92.0
|
|
202
|
+
|
|
203
|
+
### Breaking
|
|
204
|
+
- Renamed `Utils::IRB::Shell#ai` to `ocs` to avoid collision
|
|
205
|
+
with the `ai` method from the `awesome_print` gem.
|
|
206
|
+
|
|
207
|
+
### Features
|
|
208
|
+
- The RSpec formatter now automatically adapts description length
|
|
209
|
+
to the terminal width.
|
|
210
|
+
- If the full description exceeds the terminal width, the
|
|
211
|
+
formatter now truncates it to the abbreviated description.
|
|
212
|
+
- The `Utils::LineFormatter#description` method now defaults to
|
|
213
|
+
the full description instead of relying on the `VERBOSE`
|
|
214
|
+
environment variable.
|
|
215
|
+
|
|
216
|
+
## 2026-01-20 v0.91.1
|
|
217
|
+
|
|
218
|
+
### Features
|
|
219
|
+
- Add a new `-g` flag to the usage help text in `bin/discover`,
|
|
220
|
+
enabling file discovery via `git ls-files` instead of the cache.
|
|
221
|
+
|
|
222
|
+
### Improvements
|
|
223
|
+
- Bump the `all_images` dependency requirement from `~> 0.5.0` to
|
|
224
|
+
`>= 0.12`.
|
|
225
|
+
- Bump the `kramdown-ansi` dependency requirement from `~> 0.1` to
|
|
226
|
+
`>= 0.4`.
|
|
227
|
+
|
|
228
|
+
### Build & CI
|
|
229
|
+
- Remove duplicate runtime dependency entries for `unix_socks` and
|
|
230
|
+
`ollama-ruby` in the `Rakefile` and `utils.gemspec`.
|
|
231
|
+
|
|
232
|
+
## 2026-01-20 v0.91.0
|
|
233
|
+
|
|
234
|
+
### Features
|
|
235
|
+
- Added `irb_current_snippet` method to retrieve the current code
|
|
236
|
+
snippet from the IRB server.
|
|
237
|
+
- Added emoji indicators for test status in formatted line output.
|
|
238
|
+
|
|
239
|
+
### Fixes
|
|
240
|
+
- Improved error handling in the IRB server to explicitly catch
|
|
241
|
+
`SyntaxError` alongside `StandardError`.
|
|
242
|
+
|
|
243
|
+
### Improvements
|
|
244
|
+
- Modularized `Utils::IRB` by splitting the `Shell`, `Regexp`, and
|
|
245
|
+
`String` modules into dedicated files.
|
|
246
|
+
- Moved IRB wrapper classes to a new `wrappers` file for better
|
|
247
|
+
organization.
|
|
248
|
+
- Enhanced input validation in `irb_time_watch` to safely convert values
|
|
249
|
+
to floats.
|
|
250
|
+
- Reordered columns in the line formatter output to display status emojis
|
|
251
|
+
before location information.
|
|
252
|
+
- Extended the source location extension to prepend to all modules
|
|
253
|
+
defining `source_location` and refactor internal decoration logic.
|
|
254
|
+
- Moved `logger` and `tempfile` requires to the top of their respective
|
|
255
|
+
files.
|
|
256
|
+
|
|
257
|
+
## 2026-01-16 v0.90.0
|
|
258
|
+
|
|
259
|
+
### Improvements
|
|
260
|
+
|
|
261
|
+
- Refactored `bin/probe` to construct the argument list for
|
|
262
|
+
`probe_client.enqueue` by concatenating `$opts`, `$args`, and
|
|
263
|
+
`$testrunner_args` only when the latter is non-empty.
|
|
264
|
+
- Replaced the local `testrunner_args` variable with the global
|
|
265
|
+
`$testrunner_args`, initialized with `[]`.
|
|
266
|
+
- Froze `$args`, `$testrunner_args`, and `$opts` after parsing to
|
|
267
|
+
prevent accidental mutation.
|
|
268
|
+
|
|
269
|
+
## 2026-01-15 v0.89.1
|
|
270
|
+
|
|
271
|
+
### Build & CI
|
|
272
|
+
- Updated the minimum `gem_hadar` development dependency version
|
|
273
|
+
from **2.16.3** to **2.17.0**.
|
|
274
|
+
|
|
275
|
+
## 2026-01-15 v0.89.0
|
|
276
|
+
|
|
277
|
+
- No user-visible changes.
|
|
278
|
+
|
|
279
|
+
## 2026-01-15 v0.88.0
|
|
280
|
+
|
|
281
|
+
### Features
|
|
282
|
+
- Added `-g` flag to `bin/discover` to search only git-tracked files
|
|
283
|
+
using `git ls-files` output.
|
|
284
|
+
- Introduced `Utils::Finder::Files` module to handle file system traversal
|
|
285
|
+
and path caching logic.
|
|
286
|
+
- Updated `Utils::Finder` to accept a `:files` option, allowing it to
|
|
287
|
+
operate on a specific list of files instead of root directories.
|
|
288
|
+
|
|
289
|
+
### Improvements
|
|
290
|
+
- Refactored `Utils::Finder` to replace `search_index` and
|
|
291
|
+
`search_directly` with a unified `search` method.
|
|
292
|
+
- Consolidated path building logic into `Utils::Finder::Files` to simplify
|
|
293
|
+
the main finder class interface.
|
|
294
|
+
|
|
295
|
+
### Documentation
|
|
296
|
+
- Added comprehensive RDoc documentation and usage examples for
|
|
297
|
+
`Utils::Finder` and `Utils::Finder::Files`.
|
|
298
|
+
|
|
299
|
+
## 2026-01-12 v0.87.0
|
|
300
|
+
|
|
301
|
+
### Fixes
|
|
302
|
+
- Fixed `Utils::Grepper` to follow symlinks when the `-F` flag is
|
|
303
|
+
provided, and skip them otherwise.
|
|
304
|
+
- Resolved an LSP violation in `Utils::XDG::XDGPathname` by overriding
|
|
305
|
+
`join`, `+`, `dirname`, `basename`, `realpath`, `expand_path`,
|
|
306
|
+
`cleanpath`, and `relative_path_from` to ensure type consistency.
|
|
307
|
+
- Fixed an infinite recursion issue in `XDGPathname` by replacing the
|
|
308
|
+
`File.join` workaround with `super` delegation in `join` and `+`.
|
|
309
|
+
- Corrected a typo in the `-L` option help text in `bin/discover`.
|
|
310
|
+
|
|
311
|
+
## 2026-01-09 v0.86.0
|
|
312
|
+
|
|
313
|
+
### Breaking
|
|
314
|
+
- Removed the `Utils::ConfigDir` class and replaced it with the
|
|
315
|
+
`Utils::XDG::XDGPathname` subclass for directory management.
|
|
316
|
+
- Updated the `Utils::Finder#index_path` method to return a `Pathname`
|
|
317
|
+
object instead of a `String`.
|
|
318
|
+
|
|
319
|
+
### Features
|
|
320
|
+
- Introduced the `Utils::XDG` module with constants for standard
|
|
321
|
+
XDG base directories.
|
|
322
|
+
- Added the `Utils::XDG::XDGPathname` class to extend `Pathname` with
|
|
323
|
+
`sub_dir_path` and `read` methods.
|
|
324
|
+
- Moved the `Utils::ConfigFile::BlockConfig` class to a separate file
|
|
325
|
+
`lib/utils/config_file/block_config.rb`.
|
|
326
|
+
|
|
327
|
+
### Improvements
|
|
328
|
+
- Refactored command-line utilities to use the `XDG_CONFIG_HOME`
|
|
329
|
+
constant for configuration paths.
|
|
330
|
+
- Updated `Utils::Finder` and `Utils::IRB::IRBServer` to store cache
|
|
331
|
+
and state files in XDG-compliant locations.
|
|
332
|
+
- Simplified method call syntax in `Utils::Finder` by using shorthand
|
|
333
|
+
hash arguments.
|
|
334
|
+
|
|
335
|
+
### Documentation
|
|
336
|
+
- Added YARD documentation to the `Utils::XDG` module, including
|
|
337
|
+
details for `AppDir` methods and directory constants.
|
|
338
|
+
|
|
339
|
+
## 2026-01-06 v0.85.0
|
|
340
|
+
|
|
341
|
+
### Breaking
|
|
342
|
+
- Replaced the `server_type` and `tcp_server_port` configuration options
|
|
343
|
+
with a single `server_url` DSL accessor in `Utils::ConfigFile`.
|
|
344
|
+
- Removed the default TCP port **59999**, now defaulting to a Unix socket
|
|
345
|
+
in the current directory.
|
|
346
|
+
|
|
347
|
+
### Features
|
|
348
|
+
- Added support for `tcp://` and `unix://` URL schemes in probe
|
|
349
|
+
communication via `UnixSocks.from_url`.
|
|
350
|
+
- Introduced a new `-s SERVER_URL` command-line option in `bin/probe` to
|
|
351
|
+
specify the probe server connection.
|
|
352
|
+
|
|
353
|
+
## 2026-01-04 v0.84.0
|
|
354
|
+
|
|
355
|
+
### Features
|
|
356
|
+
|
|
357
|
+
- Enhanced `irb_load!` with interactive file selection, fuzzy
|
|
358
|
+
matching, and configurable glob patterns.
|
|
359
|
+
|
|
360
|
+
### Fixes
|
|
361
|
+
|
|
362
|
+
- `irb_load!` now explicitly returns `false` when no file is
|
|
363
|
+
selected, improving error handling consistency.
|
|
364
|
+
|
|
365
|
+
### Improvements
|
|
366
|
+
|
|
367
|
+
- Replaced `Tins::Find` with `Dir.glob` for efficient file
|
|
368
|
+
discovery in `irb_load!`.
|
|
369
|
+
|
|
370
|
+
- Updated duplicate prevention from MD5 checksums to path-based
|
|
371
|
+
tracking.
|
|
372
|
+
|
|
373
|
+
### Build & CI
|
|
374
|
+
|
|
375
|
+
- Added `amatch` (~> **0.6**) and updated `search_ui` (>=
|
|
376
|
+
**0.0.9**) as runtime dependencies.
|
|
377
|
+
|
|
378
|
+
### Documentation
|
|
379
|
+
|
|
380
|
+
- Updated `irb_load!` YARD documentation with comprehensive
|
|
381
|
+
examples, parameter descriptions, and notes.
|
|
382
|
+
|
|
383
|
+
## 2026-01-02 v0.83.1
|
|
384
|
+
|
|
385
|
+
### Fixes
|
|
386
|
+
- Fixed `type` error in `[]=` and `[]` by using explicit hash literals
|
|
387
|
+
for `transmit_with_response` in `probe_client`.
|
|
388
|
+
|
|
389
|
+
## 2026-01-01 v0.83.0
|
|
390
|
+
|
|
391
|
+
### Features
|
|
392
|
+
- Implement the `Utils::IRB::IRBServer` class to manage
|
|
393
|
+
interactive Ruby sessions via Unix domain sockets.
|
|
394
|
+
- Add the `irb_client` executable for storing, retrieving,
|
|
395
|
+
executing, and evaluating code snippets via a remote IRB
|
|
396
|
+
server.
|
|
397
|
+
- Introduce `retrieve_current_snippet` and `execute_current_
|
|
398
|
+
snippet` actions to manage and run previously stored
|
|
399
|
+
snippets.
|
|
400
|
+
- Add `eval_lines` support to evaluate multiple code lines in
|
|
401
|
+
sequence with a configurable result prefix.
|
|
402
|
+
- Add `dsl_accessor :irb_server_url` to `Utils::ConfigFile`
|
|
403
|
+
to configure the IRB server endpoint.
|
|
404
|
+
- Add `irb_server`, `irb_server_stop`, and `irb_client`
|
|
405
|
+
methods to the `Utils::IRB` module for server lifecycle
|
|
406
|
+
management.
|
|
407
|
+
- Update file exclusion patterns to skip `cscope.out` and
|
|
408
|
+
`tags` files during search and discovery.
|
|
409
|
+
|
|
410
|
+
### Build & CI
|
|
411
|
+
- Add `irb_client` and `lib/utils/irb/irb_server.rb` to the
|
|
412
|
+
gemspec file lists.
|
|
413
|
+
|
|
414
|
+
### Improvements
|
|
415
|
+
- Add YARD documentation for the new `Utils::IRB::IRBServer`
|
|
416
|
+
class and related methods.
|
|
417
|
+
|
|
418
|
+
### Documentation
|
|
419
|
+
- Update `irb_client` usage documentation with comprehensive
|
|
420
|
+
examples for the stored snippet workflow.
|
|
421
|
+
|
|
422
|
+
## 2025-12-24 v0.82.0
|
|
423
|
+
|
|
424
|
+
### Breaking
|
|
425
|
+
- Moved `ProbeServer`, `ProbeClient`, `ProcessJob`, and
|
|
426
|
+
`ServerHandling` from the `Utils` module to the new
|
|
427
|
+
`Utils::Probe` module.
|
|
428
|
+
|
|
429
|
+
### Features
|
|
430
|
+
- Added the `ai` method to the `Utils` module to interact
|
|
431
|
+
with the Ollama chat service for query processing and
|
|
432
|
+
response handling.
|
|
433
|
+
|
|
434
|
+
### Improvements
|
|
435
|
+
- Updated the `code_comment` script to use consistent
|
|
436
|
+
indentation.
|
|
437
|
+
|
|
438
|
+
## 2025-12-24 v0.81.0
|
|
439
|
+
|
|
440
|
+
### Features
|
|
441
|
+
|
|
442
|
+
- Enable TCP server support for the probe via `server_type` and `tcp_server_port` configuration options.
|
|
443
|
+
- Centralize socket creation in a new `ServerHandling` module to support both UNIX domain and TCP sockets.
|
|
444
|
+
- Update the probe server status message to display the URL via `to_url` instead of the socket path.
|
|
445
|
+
|
|
446
|
+
### Fixes
|
|
447
|
+
|
|
448
|
+
- Remove a duplicate `initialize` method definition from the `ConfigDir` class.
|
|
449
|
+
- Correct a typo in the `.utilsrc` configuration referencing the `gem_hadar` package.
|
|
450
|
+
|
|
451
|
+
### Improvements
|
|
452
|
+
|
|
453
|
+
- Update the `unix_socks` runtime dependency from **0.2** to **0.3**.
|
|
454
|
+
- Update the `gem_hadar` development dependency to **2.16.2**.
|
|
455
|
+
|
|
456
|
+
## 2025-12-20 v0.80.0
|
|
457
|
+
|
|
458
|
+
- No user-visible changes.
|
|
459
|
+
|
|
460
|
+
## 2025-12-20 v0.79.0
|
|
461
|
+
|
|
462
|
+
### Fixes
|
|
463
|
+
- In `sync_dir`, automatically skip to the next file after `vimdiff` if
|
|
464
|
+
the files are now identical, preventing redundant prompts.
|
|
465
|
+
|
|
466
|
+
### Improvements
|
|
467
|
+
- In `Utils::Editor#sanitize_name`, removed unused `rbconfig` dependency
|
|
468
|
+
and Windows-specific naming logic.
|
|
469
|
+
|
|
470
|
+
### Build & CI
|
|
471
|
+
- Updated `tins` runtime dependency from `~> 1.44` to `~> 1.51`.
|
|
472
|
+
- Added `webrick` to runtime dependencies.
|
|
473
|
+
- Fixed malformed `unix_socks` dependency specification in gemspec.
|
|
474
|
+
- Updated `gem_hadar` development dependency to `~> 2.10`.
|
|
475
|
+
|
|
476
|
+
### Documentation
|
|
477
|
+
- Updated help text for the `-r` option in `discover` to clarify
|
|
478
|
+
"reset the search index by force".
|
|
479
|
+
|
|
480
|
+
## 2025-11-19 v0.78.4
|
|
481
|
+
|
|
482
|
+
### Improvements
|
|
483
|
+
- Updated `derive_server_name` in `lib/utils/editor.rb` to use
|
|
484
|
+
`Digest::MD5` for generating unique server names, replacing the
|
|
485
|
+
previous character substitution logic to handle long paths.
|
|
486
|
+
|
|
487
|
+
## 2025-11-15 v0.78.3
|
|
488
|
+
|
|
489
|
+
### Fixes
|
|
490
|
+
- Updated `vim_default_args` to default to `%w[ --clientserver
|
|
491
|
+
socket ]` instead of `nil`.
|
|
492
|
+
- Modified `derive_server_name` to replace `/` with `_` before
|
|
493
|
+
uppercasing the Vim server name.
|
|
494
|
+
|
|
495
|
+
### Build & CI
|
|
496
|
+
- Updated `s.rubygems_version` from **3.6.9** to **3.7.2**.
|
|
497
|
+
- Updated `gem_hadar` development dependency from ~> 2.6 to ~> 2.8.
|
|
498
|
+
|
|
499
|
+
## 2025-09-15 v0.78.2
|
|
500
|
+
|
|
501
|
+
### Fixes
|
|
502
|
+
- Resolved a potential name conflict in `probe_server.rb` by updating
|
|
503
|
+
the `examine` call to explicitly reference `IRB.examine`.
|
|
504
|
+
|
|
505
|
+
### Build & CI
|
|
506
|
+
- Removed `.github` and `.utilsrc` from the package files list in
|
|
507
|
+
`utils.gemspec` and updated `Rakefile` to ignore them during
|
|
508
|
+
packaging.
|
|
509
|
+
|
|
510
|
+
## 2025-09-13 v0.78.1
|
|
511
|
+
|
|
512
|
+
### Improvements
|
|
513
|
+
- Updated the `find` method call in the `strip_spaces` script to
|
|
514
|
+
pass the `suffix` parameter as a keyword argument.
|
|
515
|
+
|
|
516
|
+
## 2025-09-12 v0.78.0
|
|
517
|
+
|
|
518
|
+
### Build & CI
|
|
519
|
+
- Updated the `tins` dependency constraint from `~> 1.43` to `~>
|
|
520
|
+
1.44` in the `Rakefile` and `utils.gemspec`.
|
|
521
|
+
|
|
522
|
+
## 2025-09-12 v0.77.0
|
|
523
|
+
|
|
524
|
+
### Improvements
|
|
525
|
+
- Refactored `irb.rb` to rename the `@method` instance variable
|
|
526
|
+
to `@wrapped_method` and updated the corresponding `attr_reader`
|
|
527
|
+
from `:method` to `:wrapped_method` to avoid conflicts.
|
|
528
|
+
- Updated the `code_indexer` configuration in `.utilsrc` to include
|
|
529
|
+
resolved paths for bundled gems alongside the `lib` directory using
|
|
530
|
+
`bundle show`.
|
|
531
|
+
- Improved the `long_lines` script to use a default maximum line
|
|
532
|
+
length of **80**, display the default in help output, and provide
|
|
533
|
+
a fallback author value with stripped whitespace when regex
|
|
534
|
+
extraction fails.
|
|
535
|
+
|
|
536
|
+
### Build & CI
|
|
537
|
+
- Bumped the `gem_hadar` development dependency requirement from
|
|
538
|
+
`~> 2.2` to `~> 2.5`.
|
|
539
|
+
|
|
540
|
+
## 2025-09-05 v0.76.0
|
|
541
|
+
|
|
542
|
+
### Features
|
|
543
|
+
- Added `lazy_config` method to `Utils::ConfigFile` to support lazy-loaded
|
|
544
|
+
configuration options.
|
|
545
|
+
- Added `config_file_paths` accessor with documentation to
|
|
546
|
+
`Utils::ConfigFile`.
|
|
547
|
+
|
|
548
|
+
### Improvements
|
|
549
|
+
- Updated `tins` runtime dependency from **1.14** to **1.43**.
|
|
550
|
+
- Changed `CodeIndexer` `paths` configuration to use `lazy_config` with a
|
|
551
|
+
default value.
|
|
552
|
+
- Updated `.utilsrc` to specify the `lib` directory for code indexing.
|
|
553
|
+
|
|
554
|
+
## 2025-09-04 v0.75.0
|
|
555
|
+
|
|
556
|
+
### Features
|
|
557
|
+
- Added `code_indexer` executable and `Utils::ConfigFile::CodeIndexer`
|
|
558
|
+
class to generate ctags and cscope indexes using `starscope`.
|
|
559
|
+
- Added `-b` option to `serve` command to specify a custom bind address,
|
|
560
|
+
defaulting to `127.0.0.1`.
|
|
561
|
+
|
|
562
|
+
### Breaking
|
|
563
|
+
- Removed `create_cstags` and `create_tags` executables, which have been
|
|
564
|
+
replaced by `code_indexer`.
|
|
565
|
+
- Replaced `Utils::ConfigFile::Scope` with
|
|
566
|
+
`Utils::ConfigFile::CodeIndexer`.
|
|
567
|
+
|
|
568
|
+
### Improvements
|
|
569
|
+
- Updated prompt formatting for `code_comment` to enforce consistent
|
|
570
|
+
capitalization and prevent blank lines between logical comment sections.
|
|
571
|
+
|
|
572
|
+
### Build & CI
|
|
573
|
+
- Added `starscope` as a runtime dependency in `utils.gemspec` and
|
|
574
|
+
`Rakefile`.
|
|
575
|
+
- Updated `gem_hadar` development dependency from **2.1** to **2.2**.
|
|
576
|
+
- Added `.starscope.db` and `cscope.out` to `.gitignore`.
|
|
577
|
+
- Added `doc` directory to prune patterns in `.utilsrc` search and
|
|
578
|
+
discover configurations.
|
|
579
|
+
|
|
580
|
+
## 2025-08-26 v0.74.0
|
|
581
|
+
|
|
582
|
+
### Improvements
|
|
583
|
+
- Updated the `code_comment` prompt to explicitly require single hash
|
|
584
|
+
comments and prevent the inclusion of executable Ruby code.
|
|
585
|
+
- Replaced hardcoded file discovery directories with configurable
|
|
586
|
+
`code_globs` from the `Utils::ConfigFile::CodeComment` configuration.
|
|
587
|
+
- Refactored `bin/code_comment` to separate configuration handling into
|
|
588
|
+
`$config` for file settings and `$config_dir` for prompt and option
|
|
589
|
+
storage.
|
|
590
|
+
|
|
591
|
+
### Fixes
|
|
592
|
+
- Added `require 'yaml'` to `bin/yaml_check` to resolve loading issues.
|
|
593
|
+
- Fixed a typo in the `ProbeServer` shutdown message changing "shutdown
|
|
594
|
+
down" to "shutdown".
|
|
595
|
+
- Corrected the `test/` directory reference to `tests/` in code comments.
|
|
596
|
+
- Fixed a glob pattern typo in `Utils::ConfigFile::CodeComment` changing
|
|
597
|
+
`tests/**/*rb` to `tests/**/*.rb`.
|
|
598
|
+
|
|
599
|
+
### Build & CI
|
|
600
|
+
- Added `.yardoc` and `doc` directories to `.gitignore` and excluded them
|
|
601
|
+
from gem packaging in the `Rakefile`.
|
|
602
|
+
- Updated the `gem_hadar` development dependency from **2.0** to **2.1**.
|
|
603
|
+
|
|
604
|
+
### Documentation
|
|
605
|
+
- Added comprehensive class and method documentation across multiple
|
|
606
|
+
`Utils` modules including `ConfigDir`, `Finder`, `Grepper`, `IRB`,
|
|
607
|
+
`MD5`, `Patterns`, `ProbeServer`, `ProbeClient`, `ProcessJob`,
|
|
608
|
+
`SshTunnelSpecification`, `SourceLocationExtension`, `LineBlamer`,
|
|
609
|
+
`Editor`, and `ConfigFile`.
|
|
610
|
+
|
|
611
|
+
## 2025-08-18 v0.73.1
|
|
612
|
+
|
|
613
|
+
### Features
|
|
614
|
+
- Added support for `ollama-ruby` version **1.6** by updating the
|
|
615
|
+
dependency specification.
|
|
616
|
+
|
|
617
|
+
## 2025-08-18 v0.73.0
|
|
618
|
+
|
|
619
|
+
### Features
|
|
620
|
+
- Added a **-S** flag to `bin/classify` to strip `_spec` and
|
|
621
|
+
`Spec` suffixes from input strings in both normal and declassify
|
|
622
|
+
modes.
|
|
623
|
+
- Modified `camelize` in `bin/classify` to strip the `Spec` suffix
|
|
624
|
+
from camel-case inputs when the **-S** flag is used.
|
|
625
|
+
- Modified `underscore` in `bin/classify` to strip the `_spec`
|
|
626
|
+
suffix from file path inputs when the **-S** flag is used.
|
|
627
|
+
- Updated usage examples in `bin/classify` to demonstrate the new
|
|
628
|
+
**-S** flag behavior.
|
|
629
|
+
- Added a call to `chomp` on the input string in `bin/classify` to
|
|
630
|
+
handle trailing newlines before processing.
|
|
631
|
+
|
|
632
|
+
## 2025-08-17 v0.72.1
|
|
633
|
+
|
|
634
|
+
### Build & CI
|
|
635
|
+
- Updated the `kramdown-ansi` dependency constraint from `~> 0.0.1`
|
|
636
|
+
to `~> 0.1` in the `Rakefile` and `utils.gemspec`.
|
|
637
|
+
|
|
638
|
+
## 2025-08-14 v0.72.0
|
|
639
|
+
|
|
640
|
+
### Features
|
|
641
|
+
- Added support for a custom context file path via the
|
|
642
|
+
`CODE_COMMENT_CONTEXT_FILENAME` environment variable.
|
|
643
|
+
- Added diagnostic output to `STDERR` indicating which context
|
|
644
|
+
file is being used.
|
|
645
|
+
|
|
646
|
+
### Improvements
|
|
647
|
+
- Moved the default context generation logic to a dedicated
|
|
648
|
+
`default_context` variable to improve code structure.
|
|
649
|
+
- Changed the default context file location from
|
|
650
|
+
`contexts/code_comment.rb` to `.contexts/code_comment.rb`.
|
|
651
|
+
|
|
652
|
+
## 2025-08-13 v0.71.0
|
|
653
|
+
|
|
654
|
+
### Features
|
|
655
|
+
- Integrated the `context_spook` gem (version **0.2**) as a runtime dependency
|
|
656
|
+
to enhance project context generation.
|
|
657
|
+
- Updated the `code_comment` binary to utilize `ContextSpook` for building
|
|
658
|
+
prompts, replacing raw file contents with structured context.
|
|
659
|
+
- Implemented automatic discovery of Ruby files in `lib`, `spec`, and `test`
|
|
660
|
+
directories when no explicit context file is present.
|
|
661
|
+
|
|
662
|
+
### Improvements
|
|
663
|
+
- Refactored `build_prompt`, `build_method_prompt`, and
|
|
664
|
+
`build_class_module_prompt` to accept a `context` parameter instead of
|
|
665
|
+
`file_contents` for more accurate documentation generation.
|
|
666
|
+
|
|
667
|
+
## 2025-08-13 v0.70.0
|
|
668
|
+
|
|
669
|
+
### Breaking
|
|
670
|
+
- Renamed the internal method `fetch_method` to `fetch_construct`,
|
|
671
|
+
which now returns a tuple containing the source code and the
|
|
672
|
+
construct type instead of just the source code string.
|
|
673
|
+
|
|
674
|
+
### Features
|
|
675
|
+
- Added support for documenting class and module definitions,
|
|
676
|
+
including dynamic class and module creation patterns like `Foo =
|
|
677
|
+
Class.new`.
|
|
678
|
+
- Added new `build_class_module_prompt` and `build_method_prompt`
|
|
679
|
+
functions to generate tailored prompts for different code construct
|
|
680
|
+
types.
|
|
681
|
+
- Implemented a central `build_prompt` dispatcher that selects the
|
|
682
|
+
appropriate prompt builder based on the detected construct type.
|
|
683
|
+
- Enabled loading of custom prompt templates from `method-prompt.txt`
|
|
684
|
+
and `class-module-prompt.txt` configuration files with built-in
|
|
685
|
+
default fallbacks.
|
|
686
|
+
|
|
687
|
+
### Improvements
|
|
688
|
+
- Refactored the documentation system prompt to provide specific
|
|
689
|
+
guidelines for documenting both methods and classes/modules,
|
|
690
|
+
improving the quality of generated YARD comments.
|
|
691
|
+
- Renamed local variables `method` and `method_indent` to
|
|
692
|
+
`construct` and `construct_indent` to accurately reflect the
|
|
693
|
+
expanded scope of supported code constructs.
|
|
694
|
+
- Converted the configuration object to a global `$config` variable
|
|
695
|
+
to simplify access across the updated prompt building functions.
|
|
696
|
+
|
|
697
|
+
## 2025-08-10 v0.69.0
|
|
698
|
+
|
|
699
|
+
### Improvements
|
|
700
|
+
- Removed the obsolete `number_files` script.
|
|
701
|
+
- Added interactive confirmation to `git-empty` before resetting the repository.
|
|
702
|
+
- Added a dependency check for `figlet` in the `rainbow` script to provide
|
|
703
|
+
clearer error messages.
|
|
704
|
+
- Refactored `probe_server.rb` to use explicit `Term::ANSIColor` inclusion
|
|
705
|
+
instead of extending `String`.
|
|
706
|
+
- Consolidated `tins/xt` requires into `lib/utils.rb` and removed redundant
|
|
707
|
+
imports from binary scripts.
|
|
708
|
+
- Replaced `Tins::DeepConstGet` with `Object.const_get` in
|
|
709
|
+
`source_location_extension.rb` to remove the Tins dependency.
|
|
710
|
+
- Added `config` as a recognized method pattern in the `code_comment` regex.
|
|
711
|
+
- Implemented `ConfigDir` class to replace the deprecated `XDGConfig` module
|
|
712
|
+
for standardized configuration path handling in `changes`, `code_comment`,
|
|
713
|
+
and `commit_message`.
|
|
714
|
+
- Improved method detection regex in `print_method` and `code_comment` to
|
|
715
|
+
handle complex DSL patterns.
|
|
716
|
+
- Added support for negative number arguments in the `enum` command.
|
|
717
|
+
- Refactored `enum` command execution to support limited processing via
|
|
718
|
+
`$limited.process` block.
|
|
719
|
+
- Renamed `COPYING` file to `LICENSE` to standardize license file naming.
|
|
720
|
+
- Updated `utils.gemspec` to include the new `LICENSE` file and
|
|
721
|
+
`lib/utils/config_dir.rb` in the file list.
|
|
722
|
+
- Added detailed usage documentation and method comments to numerous
|
|
723
|
+
utilities including `search`, `discover`, `myex`, `commit_message`,
|
|
724
|
+
`sync_dir`, `untest`, `on_change`, `create_cstags`, `strip_spaces`,
|
|
725
|
+
`ssh-tunnel`, `edit`, `code_comment`, `edit_wait`, `changes`, `blameline`,
|
|
726
|
+
`json_check`, `yaml_check`, `git-versions`, `enum`, `path`, `serve`,
|
|
727
|
+
`utils-utilsrc`, `rd2md`, `vcf2alias`, `probe`, `sedit`, `long_lines`,
|
|
728
|
+
`create_tags`, and `rainbow`.
|
|
729
|
+
- Added comprehensive RDoc documentation to `lib/utils/irb.rb`,
|
|
730
|
+
`lib/utils/line_formatter.rb`, `lib/utils/probe_server.rb`,
|
|
731
|
+
`lib/utils/editor.rb`, `lib/utils/config_file.rb`, `lib/utils/grepper.rb`,
|
|
732
|
+
`lib/utils/finder.rb`, `lib/utils/patterns.rb`, `lib/utils/md5.rb`,
|
|
733
|
+
`lib/utils/ssh_tunnel_specification.rb`, and
|
|
734
|
+
`lib/utils/source_location_extension.rb`.
|
|
735
|
+
- Updated `utils-utilsrc` to support custom config file paths and use `diff`
|
|
736
|
+
with color output instead of `cdiff`.
|
|
737
|
+
- Modified `bin/edit` to chomp input lines from stdin.
|
|
738
|
+
- Fixed `classify` script to properly handle camelCase input through
|
|
739
|
+
`path_shifter` in the default case.
|
|
740
|
+
- Refactored `irb_time` in `lib/utils/irb.rb` to use `ensure` for reliable
|
|
741
|
+
timing calculation.
|
|
742
|
+
- Removed duplicate `buffer_size` method definition in `lib/utils/md5.rb`.
|
|
743
|
+
- Updated `README.md` with comprehensive description, installation
|
|
744
|
+
instructions, categorized utilities list, and configuration documentation.
|
|
745
|
+
|
|
746
|
+
### Fixes
|
|
747
|
+
- Enhanced error handling in `json_check` to output detailed error messages to
|
|
748
|
+
stderr.
|
|
749
|
+
- Corrected default behavior in `classify` to properly apply `-n` parameter
|
|
750
|
+
before conversion.
|
|
751
|
+
|
|
752
|
+
## 2025-08-08 v0.68.0
|
|
753
|
+
|
|
754
|
+
### Features
|
|
755
|
+
- Added the `bin/rainbow` executable for generating colorful
|
|
756
|
+
ASCII art using the `figlet` gem.
|
|
757
|
+
|
|
758
|
+
### Build & CI
|
|
759
|
+
- Added the `figlet` gem as a runtime dependency.
|
|
760
|
+
- Updated the `gem_hadar` development dependency to
|
|
761
|
+
**1.27**.
|
|
762
|
+
|
|
763
|
+
## 2025-08-06 v0.67.0
|
|
764
|
+
|
|
765
|
+
### Features
|
|
766
|
+
- Added support for an `env` block in `ssh_tunnel`
|
|
767
|
+
configuration, allowing environment variables to be
|
|
768
|
+
passed to the SSH command.
|
|
769
|
+
|
|
770
|
+
### Fixes
|
|
771
|
+
- Modified `bin/code_comment` to pass `think: false` to
|
|
772
|
+
`ollama.generate`, disabling the thinking process for
|
|
773
|
+
response generation.
|
|
774
|
+
|
|
775
|
+
## 2025-07-21 v0.66.0
|
|
776
|
+
|
|
777
|
+
### Improvements
|
|
778
|
+
- Updated `bin/commit_message` to use client
|
|
779
|
+
configuration from `client.json` for `ollama_cli`
|
|
780
|
+
execution.
|
|
781
|
+
|
|
782
|
+
### Build & CI
|
|
783
|
+
- Bumped `ollama-ruby` dependency to **1.5.0**.
|
|
784
|
+
|
|
785
|
+
## 2025-07-20 v0.65.0
|
|
786
|
+
|
|
787
|
+
### Features
|
|
788
|
+
- Added `Utils::XDGConfig` module to provide an `xdg_config` method that resolves configuration paths based on the `XDG_CONFIG_HOME` environment variable or the user's home directory.
|
|
789
|
+
|
|
790
|
+
### Improvements
|
|
791
|
+
- Updated `code_comment`, `changes`, and `commit_message` utilities to load system prompts, model options, and client settings from XDG configuration files instead of hardcoded values.
|
|
792
|
+
- Changed the default model for `code_comment` from `llama3.2` to `llama3.1`.
|
|
793
|
+
|
|
794
|
+
### Build & CI
|
|
795
|
+
- Updated the `ollama-ruby` runtime dependency to **1.4.0**.
|
|
796
|
+
- Removed the obsolete `.utilsrc` file.
|
|
797
|
+
|
|
798
|
+
## 2025-07-01 v0.64.0
|
|
799
|
+
|
|
800
|
+
### Features
|
|
801
|
+
- Replaced the `drb` dependency with `unix_socks` for
|
|
802
|
+
communication between the probe server and client.
|
|
803
|
+
- Introduced `Utils::ProbeClient` to replace direct `DRb` object
|
|
804
|
+
interactions.
|
|
805
|
+
- Renamed `ProbeServer::Job` to `ProcessJob` and added JSON
|
|
806
|
+
serialization support.
|
|
807
|
+
- Added a `.utilsrc` file to configure utility behavior.
|
|
808
|
+
|
|
809
|
+
### Improvements
|
|
810
|
+
- Switched probe server and client communication to use structured
|
|
811
|
+
JSON messages instead of plain text.
|
|
812
|
+
- Updated the `code_comment` prompt to better describe the
|
|
813
|
+
documentation task.
|
|
814
|
+
|
|
815
|
+
### Build & CI
|
|
816
|
+
- Added `test-unit` as a development dependency.
|
|
817
|
+
|
|
818
|
+
### Testing
|
|
819
|
+
- Added initial `test-unit` test suite structure in `tests/`.
|
|
820
|
+
|
|
821
|
+
## 2025-01-23 v0.63.0
|
|
822
|
+
|
|
823
|
+
### Build & CI
|
|
824
|
+
- Updated the `term-ansicolor` dependency requirement from
|
|
825
|
+
`~> 1.3` to `~> 1.11`.
|
|
826
|
+
|
|
827
|
+
## 2025-01-10 v0.62.0
|
|
828
|
+
|
|
829
|
+
### Breaking
|
|
830
|
+
- Removed the `-b` option from the `search` and `discover` command line tools.
|
|
831
|
+
- Removed binary file detection and handling logic from `Grepper` and configuration.
|
|
832
|
+
|
|
833
|
+
## 2024-12-14 v0.61.0
|
|
834
|
+
|
|
835
|
+
### Features
|
|
836
|
+
- `code_comment` now generates YARD comments that include detailed
|
|
837
|
+
descriptions, parameters, raised exceptions, and return values
|
|
838
|
+
using an updated prompt.
|
|
839
|
+
|
|
840
|
+
### Improvements
|
|
841
|
+
- `code_comment` now identifies methods following `private` and
|
|
842
|
+
`protected` visibility keywords when extracting method source
|
|
843
|
+
code.
|
|
844
|
+
- `code_comment` indents the generated comment to match the
|
|
845
|
+
indentation level of the target method.
|
|
846
|
+
|
|
847
|
+
## 2024-12-13 v0.60.2
|
|
848
|
+
|
|
849
|
+
### Breaking
|
|
850
|
+
- Removed the `Utils::FileXt` module and its file extension
|
|
851
|
+
capabilities, requiring code to use `tins/xt/file_binary` instead.
|
|
852
|
+
|
|
853
|
+
### Improvements
|
|
854
|
+
- Updated `git-versions` to pass all command-line arguments directly
|
|
855
|
+
to `git log`, removing the dedicated `-v` verbose flag.
|
|
856
|
+
|
|
857
|
+
## 2024-10-31 v0.60.1
|
|
858
|
+
|
|
859
|
+
### Build & CI
|
|
860
|
+
- Constrained the `kramdown-ansi` dependency to **0.0.1**.
|
|
861
|
+
|
|
862
|
+
## 2024-10-31 v0.60.0
|
|
863
|
+
|
|
864
|
+
### Breaking
|
|
865
|
+
- Removed the `md` and `git-md` executables.
|
|
866
|
+
- Removed the `utils/markdown` and `utils/pager` files and their
|
|
867
|
+
associated modules from the library.
|
|
868
|
+
|
|
869
|
+
### Build & CI
|
|
870
|
+
- Added `kramdown-ansi` as a runtime dependency.
|
|
871
|
+
|
|
872
|
+
## 2024-10-27 v0.59.2
|
|
873
|
+
|
|
874
|
+
### Fixes
|
|
875
|
+
- Correct line number calculation in `long_lines` to accurately identify
|
|
876
|
+
reported issues.
|
|
877
|
+
|
|
878
|
+
### Improvements
|
|
879
|
+
- Increase the context size (`num_ctx`) for `Ollama` requests in the `changes`
|
|
880
|
+
and `code_comment` utilities.
|
|
881
|
+
|
|
882
|
+
## 2024-10-18 v0.59.1
|
|
883
|
+
|
|
884
|
+
### Improvements
|
|
885
|
+
- Added options to the `changes` script to exclude version
|
|
886
|
+
information and skip version bump entries.
|
|
887
|
+
|
|
888
|
+
## 2024-10-17 v0.59.0
|
|
889
|
+
|
|
890
|
+
- No user-visible changes.
|
|
891
|
+
|
|
892
|
+
## 2024-10-04 v0.58.0
|
|
893
|
+
|
|
894
|
+
### Features
|
|
895
|
+
- Added support for displaying clickable hyperlinks to commit URLs in the
|
|
896
|
+
`git-md` output, supporting `https` and `git@` remote origins.
|
|
897
|
+
- Highlighted commit hash lines in yellow in the `git-md` output using the
|
|
898
|
+
`yellow` method from `Term::ANSIColor`.
|
|
899
|
+
|
|
900
|
+
## 2024-10-03 v0.57.1
|
|
901
|
+
|
|
902
|
+
### Improvements
|
|
903
|
+
- Updated the `changes` script to replace tabs with two spaces in the generated output.
|
|
904
|
+
|
|
905
|
+
## 2024-10-03 v0.57.0
|
|
906
|
+
|
|
907
|
+
### Features
|
|
908
|
+
|
|
909
|
+
- Add `Utils::Markdown` module to encapsulate markdown parsing logic.
|
|
910
|
+
- Add new `bin/md` executable for rendering markdown from standard input.
|
|
911
|
+
- Integrate `Utils::Pager` into `bin/git-md` and `bin/md` to handle output pagination.
|
|
912
|
+
|
|
913
|
+
## 2024-09-30 v0.56.1
|
|
914
|
+
|
|
915
|
+
### Fixes
|
|
916
|
+
- Corrected a typo in `bin/changes` by changing `tags.map(&:verion).max`
|
|
917
|
+
to `tags.map(&:version).max` within `find_highest_version_tag`.
|
|
918
|
+
|
|
919
|
+
## 2024-09-30 v0.56.0
|
|
920
|
+
|
|
921
|
+
### Improvements
|
|
922
|
+
- Relaxed the version constraint for the `ollama-ruby` dependency
|
|
923
|
+
from `~> 0.5.0` to `>= 0` in the `Rakefile` and
|
|
924
|
+
`utils.gemspec`.
|
|
925
|
+
- Added a space around the assignment operator in
|
|
926
|
+
`bin/commit_message` for improved code readability.
|
|
927
|
+
|
|
928
|
+
## 2024-09-28 v0.55.0
|
|
929
|
+
|
|
930
|
+
### Features
|
|
931
|
+
- Add `login_session` config option to `config_file.rb`, defaulting
|
|
932
|
+
to the `$HOME` environment variable.
|
|
933
|
+
- Update `ssh-tunnel` script to use the new `login_session` config
|
|
934
|
+
value for the `-n` option instead of hardcoded logic.
|
|
935
|
+
|
|
936
|
+
### Improvements
|
|
937
|
+
- Remove unused `env_user` variable assignment in `ssh-tunnel`.
|
|
938
|
+
|
|
939
|
+
## 2024-09-27 v0.54.1
|
|
940
|
+
|
|
941
|
+
### Build & CI
|
|
942
|
+
- Updated `ollama-ruby` dependency to **0.5.0**.
|
|
943
|
+
- Updated `VERSION` to **0.54.1** and synced `utils.gemspec`.
|
|
944
|
+
|
|
945
|
+
## 2024-09-26 v0.54.0
|
|
946
|
+
|
|
947
|
+
### Features
|
|
948
|
+
- `commit_message` now includes the current git branch name via
|
|
949
|
+
the `branch` parameter when invoking `ollama_cli`.
|
|
950
|
+
|
|
951
|
+
### Fixes
|
|
952
|
+
- Corrected a typo in the `changes` script, changing the call to
|
|
953
|
+
`verion` to `version` when mapping git tags.
|
|
954
|
+
|
|
955
|
+
### Build & CI
|
|
956
|
+
- Updated the `tins` runtime dependency to `~> 1.14` and the
|
|
957
|
+
`gem_hadar` development dependency to `~> 1.18.0`.
|
|
958
|
+
- Changed the `tins` require statement to `tins/xt` in the
|
|
959
|
+
`changes` executable.
|
|
960
|
+
|
|
961
|
+
### Improvements
|
|
962
|
+
- Simplified version string parsing in the `changes` executable
|
|
963
|
+
by replacing `Tins::StringVersion::Version.new` with the
|
|
964
|
+
`.version` method.
|
|
965
|
+
|
|
966
|
+
## 2024-09-23 v0.53.1
|
|
967
|
+
|
|
968
|
+
### Features
|
|
969
|
+
- Added a horizontal rule between log messages in the
|
|
970
|
+
`git-md` output for better separation.
|
|
971
|
+
|
|
972
|
+
## 2024-09-23 v0.53.0
|
|
973
|
+
|
|
974
|
+
### Features
|
|
975
|
+
- Add `git-md` executable to display git log messages with
|
|
976
|
+
markdown formatting.
|
|
977
|
+
|
|
978
|
+
### Build & CI
|
|
979
|
+
- Update dependency `ollama-ruby` to **0.4.0**.
|
|
980
|
+
|
|
981
|
+
## 2024-09-23 v0.52.1
|
|
982
|
+
|
|
983
|
+
### Fixes
|
|
984
|
+
- Treat `-l` and `-L` flags identically for binary
|
|
985
|
+
mode and maximum matches configuration in `bin/discover` and
|
|
986
|
+
`Utils::Finder`.
|
|
987
|
+
|
|
988
|
+
## 2024-09-22 v0.52.0
|
|
989
|
+
|
|
990
|
+
### Features
|
|
991
|
+
- Added `-l` and `-L` options to the `discover` script to list cached
|
|
992
|
+
paths relative to the current directory or as absolute paths, respectively.
|
|
993
|
+
|
|
994
|
+
## 2024-09-22 v0.51.1
|
|
995
|
+
|
|
996
|
+
### Fixes
|
|
997
|
+
|
|
998
|
+
- Updated `bin/discover` to use `finder().search_index.paths` instead
|
|
999
|
+
of `finder().search_index.output`.
|
|
1000
|
+
|
|
1001
|
+
## 2024-09-22 v0.51.0
|
|
1002
|
+
|
|
1003
|
+
### Features
|
|
1004
|
+
- Added `-l` option to `discover` binary to print the
|
|
1005
|
+
search index output.
|
|
1006
|
+
|
|
1007
|
+
### Improvements
|
|
1008
|
+
- Promoted `debug` gem from a development dependency to
|
|
1009
|
+
a runtime dependency.
|
|
1010
|
+
|
|
1011
|
+
## 2024-09-15 v0.50.0
|
|
1012
|
+
|
|
1013
|
+
### Features
|
|
1014
|
+
- Added a `pending` command to display changes since the last
|
|
1015
|
+
released version.
|
|
1016
|
+
- Added a `current` command to output the changes for the current
|
|
1017
|
+
release range.
|
|
1018
|
+
|
|
1019
|
+
### Fixes
|
|
1020
|
+
- Fixed the condition in `compute_change` to correctly handle the
|
|
1021
|
+
`HEAD` value when passed as a string.
|
|
1022
|
+
- Added error handling to fail gracefully if required version tags are
|
|
1023
|
+
missing for `pending` or `current` commands.
|
|
1024
|
+
|
|
1025
|
+
### Improvements
|
|
1026
|
+
- Updated the prompt string to include guidelines for marking
|
|
1027
|
+
variables and version numbers in markdown.
|
|
1028
|
+
|
|
1029
|
+
## 2024-09-13 v0.49.1
|
|
1030
|
+
|
|
1031
|
+
### Breaking
|
|
1032
|
+
- The `probe` executable now always executes commands with `bundle exec`
|
|
1033
|
+
and no longer checks for the presence of the `BUNDLE_GEMFILE` environment
|
|
1034
|
+
variable.
|
|
1035
|
+
|
|
1036
|
+
## 2024-09-09 v0.49.0
|
|
1037
|
+
|
|
1038
|
+
### Breaking
|
|
1039
|
+
- Renamed the `check-yaml` executable to `yaml_check`.
|
|
1040
|
+
- Added `webrick` as a required runtime dependency in the gemspec
|
|
1041
|
+
and Rakefile.
|
|
1042
|
+
|
|
1043
|
+
### Features
|
|
1044
|
+
- Added a `-b` option to `classify` to return only the rightmost module
|
|
1045
|
+
namespace.
|
|
1046
|
+
- Implemented a usage help message for `classify` triggered by the `-h`
|
|
1047
|
+
option.
|
|
1048
|
+
|
|
1049
|
+
### Fixes
|
|
1050
|
+
- Modified `classify` to append the `.rb` suffix only if the string does
|
|
1051
|
+
not already end with it.
|
|
1052
|
+
- Added a nil guard in `long_lines` to skip lines where the line blamer
|
|
1053
|
+
result is nil.
|
|
1054
|
+
- Updated `probe` to use `Shellwords.join` for proper quoting of command
|
|
1055
|
+
arguments.
|
|
1056
|
+
|
|
1057
|
+
### Improvements
|
|
1058
|
+
- Standardized usage message formatting across multiple scripts to use
|
|
1059
|
+
squiggly heredocs (`<<~`) for consistent indentation and readability.
|
|
1060
|
+
- Updated `create_tags` and `create_cstags` to use `braille7` frames for
|
|
1061
|
+
the busy indicator.
|
|
1062
|
+
- Refactored `blameline` to use the `Utils::LineBlamer.for_line` method
|
|
1063
|
+
instead of `blame`.
|
|
1064
|
+
- Removed obsolete `# encoding: UTF-8` comments from `on_change`,
|
|
1065
|
+
`probe`, and `search` scripts.
|
|
1066
|
+
|
|
1067
|
+
## 2024-09-09 v0.48.0
|
|
1068
|
+
|
|
1069
|
+
### Features
|
|
1070
|
+
- Added a new `changes` command to generate changelog entries
|
|
1071
|
+
from Git logs using an Ollama LLM model.
|
|
1072
|
+
- Added a new `code_comment` command to generate YARD
|
|
1073
|
+
documentation comments for Ruby methods using Ollama.
|
|
1074
|
+
- Added a new `commit_message` command to delegate commit message
|
|
1075
|
+
generation to the `ollama_cli` tool.
|
|
1076
|
+
- Added the `le` method to `Utils::IRB` for executing blocks with a
|
|
1077
|
+
pager, allowing for simplified interactive use.
|
|
1078
|
+
|
|
1079
|
+
### Breaking
|
|
1080
|
+
- Removed support for Spring and the `rspec` formatter in the
|
|
1081
|
+
`probe` command.
|
|
1082
|
+
- Removed the `-c` flag and `-f` option from the `probe` command,
|
|
1083
|
+
simplifying its interface for running tests.
|
|
1084
|
+
- Removed the `fix-brew` utility script.
|
|
1085
|
+
|
|
1086
|
+
### Build & CI
|
|
1087
|
+
- Added a runtime dependency on the `ollama-ruby` gem.
|
|
1088
|
+
- Updated the Rakefile to filter executables based on Ruby shebangs,
|
|
1089
|
+
preventing non-Ruby scripts from being listed as executables.
|
|
1090
|
+
- Updated dependency versions and constraints, including `infobar`,
|
|
1091
|
+
`mize`, `search_ui`, and `all_images`.
|
|
1092
|
+
|
|
1093
|
+
## 2024-09-06 v0.47.0
|
|
1094
|
+
|
|
1095
|
+
### Features
|
|
1096
|
+
- Added `changes` script to generate markdown change logs using
|
|
1097
|
+
Ollama.
|
|
1098
|
+
- Added `code_comment` script to generate YARD comments for Ruby
|
|
1099
|
+
methods via Ollama.
|
|
1100
|
+
- Added `commit_message` script to generate git commit messages using
|
|
1101
|
+
Ollama configuration.
|
|
1102
|
+
|
|
1103
|
+
### Improvements
|
|
1104
|
+
- Added `le` method to `Utils::Irb` as an alias for `less`.
|
|
1105
|
+
- Toned dependency constraints for `infobar`, `mize`, `search_ui`,
|
|
1106
|
+
and `all_images` to use pessimistic operator.
|
|
1107
|
+
- Modified Rakefile executable detection to only include Ruby
|
|
1108
|
+
scripts.
|
|
1109
|
+
|
|
1110
|
+
### Build & CI
|
|
1111
|
+
- Added `ollama-ruby` as a runtime dependency.
|
|
1112
|
+
- Removed `fix-brew` executable from the gem package.
|
|
1113
|
+
|
|
1114
|
+
### Documentation
|
|
1115
|
+
- Removed trailing whitespace in `sync_dir` script.
|
|
1116
|
+
|
|
1117
|
+
## 2024-08-21 v0.46.0
|
|
1118
|
+
|
|
1119
|
+
### Features
|
|
1120
|
+
- Added the `print_method` executable, which reads filenames and
|
|
1121
|
+
line numbers from `STDIN` or `ARGV` to print corresponding method
|
|
1122
|
+
definitions.
|
|
1123
|
+
- Added the `le` method to `Utils::IRB` to execute blocks via the
|
|
1124
|
+
`less` pager.
|
|
1125
|
+
|
|
1126
|
+
### Build & CI
|
|
1127
|
+
- Updated the `gem_hadar` development dependency to `~> 1.16.1`.
|
|
1128
|
+
- Added `bin/print_method` to the gem's `s.executables` and `s.files`
|
|
1129
|
+
lists.
|
|
1130
|
+
|
|
1131
|
+
## 2024-07-09 v0.45.0
|
|
1132
|
+
|
|
1133
|
+
### Breaking
|
|
1134
|
+
- Removed the `irb_connect` executable and the `Utils::IRB::Service`
|
|
1135
|
+
module, which provided remote IRB functionality via DRb.
|
|
1136
|
+
- Removed the `irb_server` and `irb_connect` methods from
|
|
1137
|
+
`Utils::IRB::Shell`.
|
|
1138
|
+
|
|
1139
|
+
### Improvements
|
|
1140
|
+
- Removed code that was broken by newer Ruby versions to ensure
|
|
1141
|
+
compatibility with the current runtime environment.
|
|
1142
|
+
|
|
1143
|
+
### Build & CI
|
|
1144
|
+
- Updated the gem metadata to remove references to the deleted
|
|
1145
|
+
`bin/irb_connect` executable and `lib/utils/irb/service.rb`
|
|
1146
|
+
file.
|
|
1147
|
+
|
|
1148
|
+
## 2024-07-03 v0.44.0
|
|
1149
|
+
|
|
1150
|
+
### Features
|
|
1151
|
+
- Added a `quit` option to the interactive prompt in `sync_dir` to
|
|
1152
|
+
exit the script immediately.
|
|
1153
|
+
- Added a `quit` option to the interactive prompt for differing files
|
|
1154
|
+
in `sync_dir` to exit the script immediately.
|
|
1155
|
+
|
|
1156
|
+
### Improvements
|
|
1157
|
+
- Refactored the interactive prompt for differing files in `sync_dir`
|
|
1158
|
+
to use a consistent case statement structure.
|
|
1159
|
+
- Configured `create_tags` to exclude the `pkg` directory from tag
|
|
1160
|
+
generation.
|
|
1161
|
+
|
|
1162
|
+
## 2024-06-05 v0.43.0
|
|
1163
|
+
|
|
1164
|
+
### Improvements
|
|
1165
|
+
- Added `--exclude=pkg` to the `ctags` command in `bin/create_tags`
|
|
1166
|
+
to prevent scanning package directories when generating tags.
|
|
1167
|
+
|
|
1168
|
+
## 2024-04-24 v0.42.0
|
|
1169
|
+
|
|
1170
|
+
### Features
|
|
1171
|
+
- Added `-G AUTHOR` flag to `search` and `blameline` to filter
|
|
1172
|
+
results by git author.
|
|
1173
|
+
|
|
1174
|
+
### Improvements
|
|
1175
|
+
- Removed `Utils::LineBlamer.blame` in favor of calling `perform`
|
|
1176
|
+
directly on instances.
|
|
1177
|
+
- Fixed `probe` help alignment to accommodate longer command names
|
|
1178
|
+
by using `docs_size`.
|
|
1179
|
+
- Removed redundant `path` variable assignment in `discover` and
|
|
1180
|
+
unused `JSON::ParserError` catch variable.
|
|
1181
|
+
- Standardized method invocation syntax to use parentheses across
|
|
1182
|
+
`bin/create_tags`, `bin/discover`, `bin/search`,
|
|
1183
|
+
`lib/utils/irb.rb`, and `lib/utils/probe_server.rb`.
|
|
1184
|
+
- Removed unused `'a'` option from `search` replace prompt.
|
|
1185
|
+
|
|
1186
|
+
## 2024-04-17 v0.41.0
|
|
1187
|
+
|
|
1188
|
+
### Build & CI
|
|
1189
|
+
- Added `drb` as a runtime dependency in the `Rakefile` and `utils.gemspec` to support Ruby **3.4**.
|
|
1190
|
+
|
|
1191
|
+
## 2024-03-22 v0.40.0
|
|
1192
|
+
|
|
1193
|
+
### Improvements
|
|
1194
|
+
- `sync_dir`: Added orange highlighting for file contents in
|
|
1195
|
+
"only in files" diff output.
|
|
1196
|
+
- `sync_dir`: Removed unused local variable in the `ask?` method
|
|
1197
|
+
to clean up the implementation.
|
|
1198
|
+
- `sync_dir`: Added a `redo` loop to re-process the current item
|
|
1199
|
+
after a `vimdiff` session.
|
|
1200
|
+
|
|
1201
|
+
### Build & CI
|
|
1202
|
+
- Updated development dependency `gem_hadar` to version **1.15.0**.
|
|
1203
|
+
|
|
1204
|
+
## 2023-11-22 v0.39.0
|
|
1205
|
+
|
|
1206
|
+
### Improvements
|
|
1207
|
+
- Display file content in orange within `sync_dir` output using
|
|
1208
|
+
`Term::ANSIColor`.
|
|
1209
|
+
|
|
1210
|
+
## 2023-10-23 v0.38.0
|
|
1211
|
+
|
|
1212
|
+
### Features
|
|
1213
|
+
- Add a `sync_dir` configuration section to allow skipping specific
|
|
1214
|
+
paths during directory synchronization.
|
|
1215
|
+
- Add a `list` action to the `path` script to expand and print all
|
|
1216
|
+
paths in `$PATH`.
|
|
1217
|
+
|
|
1218
|
+
## 2023-08-18 v0.37.1
|
|
1219
|
+
|
|
1220
|
+
### Fixes
|
|
1221
|
+
- Ensure original files are properly truncated when
|
|
1222
|
+
rewriting content via `replace_line` in `bin/search`
|
|
1223
|
+
|
|
1224
|
+
## 2023-08-11 v0.37.0
|
|
1225
|
+
|
|
1226
|
+
### Features
|
|
1227
|
+
- Add `sync_dir` executable to interactively copy, edit,
|
|
1228
|
+
or delete files when synchronizing directories.
|
|
1229
|
+
|
|
1230
|
+
## 2023-06-09 v0.36.0
|
|
1231
|
+
|
|
1232
|
+
### Features
|
|
1233
|
+
- Added a `q` option to the replace prompt in `search` to allow
|
|
1234
|
+
quitting the operation early.
|
|
1235
|
+
|
|
1236
|
+
### Improvements
|
|
1237
|
+
- Refactored the `replace_line` method in `search` to use `Tempfile`
|
|
1238
|
+
and read/write file operations, ensuring the original file content is
|
|
1239
|
+
fully preserved after the edit.
|
|
1240
|
+
|
|
1241
|
+
## 2023-03-02 v0.35.0
|
|
1242
|
+
|
|
1243
|
+
### Features
|
|
1244
|
+
- Default to interactive search when no pattern is provided in `discover`.
|
|
1245
|
+
|
|
1246
|
+
## 2023-01-05 v0.34.0
|
|
1247
|
+
|
|
1248
|
+
### Improvements
|
|
1249
|
+
- Consolidated `irb_edit`, `edit`, and `ls` into a single `ed`
|
|
1250
|
+
method with variable argument support.
|
|
1251
|
+
- Moved the conditional require for `utils/line_formatter` from
|
|
1252
|
+
`lib/utils.rb` to `bin/probe` to improve loading logic.
|
|
1253
|
+
- Fixed code formatting in `lib/utils/line_formatter.rb` to align
|
|
1254
|
+
with standard indentation practices.
|
|
1255
|
+
|
|
1256
|
+
## 2022-12-17 v0.33.1
|
|
1257
|
+
|
|
1258
|
+
### Improvements
|
|
1259
|
+
- Replaced `IO.read` with `File.read` for file reading in
|
|
1260
|
+
`lib/utils/irb.rb`.
|
|
1261
|
+
|
|
1262
|
+
### Build & CI
|
|
1263
|
+
- Removed `byebug` and added `debug` as a development dependency.
|
|
1264
|
+
- Added `.github/dependabot.yml` to enable weekly Bundler
|
|
1265
|
+
dependency updates.
|
|
1266
|
+
|
|
1267
|
+
## 2022-12-05 v0.33.0
|
|
1268
|
+
|
|
1269
|
+
### Features
|
|
1270
|
+
- The `probe` tool now supports the `-f` option to remotely
|
|
1271
|
+
configure the RSpec formatter.
|
|
1272
|
+
|
|
1273
|
+
### Improvements
|
|
1274
|
+
- The `probe_server` now logs the executed command line when
|
|
1275
|
+
processing jobs.
|
|
1276
|
+
|
|
1277
|
+
## 2022-11-04 v0.32.0
|
|
1278
|
+
|
|
1279
|
+
### Features
|
|
1280
|
+
- `irb_time_watch` now estimates and displays an average remaining time when a rate becomes negative.
|
|
1281
|
+
|
|
1282
|
+
### Fixes
|
|
1283
|
+
- `check-yaml` now uses `YAML.unsafe_load_file` and `YAML.unsafe_load` to prevent security warnings for local files.
|
|
1284
|
+
|
|
1285
|
+
## 2022-08-04 v0.31.1
|
|
1286
|
+
|
|
1287
|
+
### Improvements
|
|
1288
|
+
- Replaced `YAML.load_file` and `YAML.load` with their
|
|
1289
|
+
`YAML.unsafe_load_file` and `YAML.unsafe_load` counterparts
|
|
1290
|
+
in `bin/check-yaml`.
|
|
1291
|
+
|
|
1292
|
+
## 2022-07-15 v0.31.0
|
|
1293
|
+
|
|
1294
|
+
### Features
|
|
1295
|
+
- Add an optional iteration count parameter to `irb_time` and
|
|
1296
|
+
`irb_time_tap` for repeated benchmarking, reporting average time
|
|
1297
|
+
per call.
|
|
1298
|
+
|
|
1299
|
+
## 2022-07-11 v0.30.2
|
|
1300
|
+
|
|
1301
|
+
### Improvements
|
|
1302
|
+
- Increased the minimum required version of the `all_images`
|
|
1303
|
+
dependency to **0.0.2** in `Rakefile` and `utils.gemspec`.
|
|
1304
|
+
- Updated debug output in `lib/utils/irb.rb` to use the U+1D6D9
|
|
1305
|
+
glyph for the rate unit instead of `#`.
|
|
1306
|
+
|
|
1307
|
+
## 2022-07-07 v0.30.1
|
|
1308
|
+
|
|
1309
|
+
### Documentation
|
|
1310
|
+
- Fixed the `irb` utility warning to correctly align diffs with
|
|
1311
|
+
rates and replaced the comment with a proper symbol.
|
|
1312
|
+
|
|
1313
|
+
## 2022-06-16 v0.30.0
|
|
1314
|
+
|
|
1315
|
+
### Features
|
|
1316
|
+
- Added `-F` option to `search` to consider only real files when searching.
|
|
1317
|
+
|
|
1318
|
+
## 2022-05-19 v0.29.0
|
|
1319
|
+
|
|
1320
|
+
### Features
|
|
1321
|
+
- Added `check-yaml` executable to validate YAML syntax from a file or
|
|
1322
|
+
standard input.
|
|
1323
|
+
|
|
1324
|
+
## 2022-05-15 v0.28.0
|
|
1325
|
+
|
|
1326
|
+
### Build & CI
|
|
1327
|
+
- Added `all_images` as a runtime dependency to ensure the extracted gem is available.
|
|
1328
|
+
|
|
1329
|
+
## 2022-05-14 v0.27.0
|
|
1330
|
+
|
|
1331
|
+
### Features
|
|
1332
|
+
- Added the `rd2md` command to convert RDoc markup to Markdown
|
|
1333
|
+
using `RDoc::Markup::ToMarkdown`.
|
|
1334
|
+
|
|
1335
|
+
### Build & CI
|
|
1336
|
+
- Updated the `gem_hadar` development dependency to **~> 1.12.0**.
|
|
1337
|
+
|
|
1338
|
+
## 2022-05-06 v0.26.1
|
|
1339
|
+
|
|
1340
|
+
### Build & CI
|
|
1341
|
+
- Added `GPL-2.0` license metadata to the gemspec and `Rakefile`.
|
|
1342
|
+
- Integrated CodeQL static analysis into GitHub Actions workflows.
|
|
1343
|
+
|
|
1344
|
+
## 2022-04-27 v0.26.0
|
|
1345
|
+
|
|
1346
|
+
### Features
|
|
1347
|
+
- Add a configurable `prefix` for Docker image tags in the
|
|
1348
|
+
`all_images` utility, defaulting to the base name of the
|
|
1349
|
+
current directory.
|
|
1350
|
+
|
|
1351
|
+
### Improvements
|
|
1352
|
+
- Update the Docker image build process in `all_images` to
|
|
1353
|
+
include `gem update --system` in the recommended
|
|
1354
|
+
`dockerfile` configuration.
|
|
1355
|
+
|
|
1356
|
+
## 2022-05-06 v0.25.1
|
|
1357
|
+
|
|
1358
|
+
### Build & CI
|
|
1359
|
+
- Declared `GPL-2.0` as the gem's license in the gemspec metadata.
|
|
1360
|
+
|
|
1361
|
+
## 2022-02-24 v0.25.0
|
|
1362
|
+
|
|
1363
|
+
### Features
|
|
1364
|
+
- Added `ssl_cert_info` utility to display OpenSSL certificate information.
|
|
1365
|
+
|
|
1366
|
+
### Improvements
|
|
1367
|
+
- Updated `all_images` configuration example to display output in bold.
|
|
1368
|
+
|
|
1369
|
+
## 2021-12-27 v0.24.2
|
|
1370
|
+
|
|
1371
|
+
### Improvements
|
|
1372
|
+
- Add the `--pull` flag to the `docker build` command in
|
|
1373
|
+
`bin/all_images` to force pulling the base image.
|
|
1374
|
+
|
|
1375
|
+
## 2021-12-27 v0.24.1
|
|
1376
|
+
|
|
1377
|
+
- No user-visible changes.
|
|
1378
|
+
|
|
1379
|
+
## 2021-12-27 v0.24.0
|
|
1380
|
+
|
|
1381
|
+
### Features
|
|
1382
|
+
- Add the `all_images` executable to run a script across a
|
|
1383
|
+
configured list of Docker images using a YAML definition file.
|
|
1384
|
+
|
|
1385
|
+
## 2020-10-03 v0.23.3
|
|
1386
|
+
|
|
1387
|
+
### Improvements
|
|
1388
|
+
- Switched the `bin/fix-brew` script's shebang to
|
|
1389
|
+
`#!/usr/bin/env bash`.
|
|
1390
|
+
|
|
1391
|
+
## 2020-10-03 v0.23.1
|
|
1392
|
+
|
|
1393
|
+
### Features
|
|
1394
|
+
- Add `fix-brew` script to repair Homebrew prefix permissions by
|
|
1395
|
+
changing group ownership and granting group write access.
|
|
1396
|
+
|
|
1397
|
+
## 2020-09-25 v0.23.0
|
|
1398
|
+
|
|
1399
|
+
### Fixes
|
|
1400
|
+
- Fixed a bug in `bin/path` where the global variable `$opt` was
|
|
1401
|
+
incorrectly referenced instead of `$opts` when checking for the
|
|
1402
|
+
export flag.
|
|
1403
|
+
|
|
1404
|
+
### Improvements
|
|
1405
|
+
- Removed obsolete command-line utilities from `bin/`, including
|
|
1406
|
+
`brakeman2err`, `chroot-exec`, `chroot-libs`, `dialog-pick`,
|
|
1407
|
+
`errf`, `remote_copy`, `rssr`, `same_files`, `tmproc`,
|
|
1408
|
+
`unquarantine_apps`, `vacuum_firefox_sqlite`, and `xmp`.
|
|
1409
|
+
- Updated `bin/irb_connect` to accept a `-u` URL option instead of
|
|
1410
|
+
separate `-r` host and `-p` port options, simplifying the
|
|
1411
|
+
connection logic via `Utils::IRB::Service.connect`.
|
|
1412
|
+
- Updated the gemspec to reflect the removal of the obsolete
|
|
1413
|
+
executables and the new version.
|
|
1414
|
+
|
|
1415
|
+
## 2020-02-11 v0.22.1
|
|
1416
|
+
|
|
1417
|
+
### Fixes
|
|
1418
|
+
- Renamed the `edit_remote` method in `lib/utils/editor.rb` to `edit_remote_wait` to accurately reflect its behavior of executing `--remote-wait` and fixing potential naming inconsistencies.
|
|
1419
|
+
|
|
1420
|
+
## 2020-02-11 v0.22.0
|
|
1421
|
+
|
|
1422
|
+
### Improvements
|
|
1423
|
+
- Replaced the internal `Utils::SearchUI` implementation with the `search_ui`
|
|
1424
|
+
gem, removing `lib/utils/search_ui.rb` and adding `search_ui` as a
|
|
1425
|
+
dependency.
|
|
1426
|
+
- Updated the `discover` search interface to limit result display to the
|
|
1427
|
+
terminal's line height.
|
|
1428
|
+
|
|
1429
|
+
## 2020-02-06 v0.21.2
|
|
1430
|
+
|
|
1431
|
+
### Improvements
|
|
1432
|
+
- Moved the `tmux` window rename logic into a private
|
|
1433
|
+
`rename_window` method within `Editor`.
|
|
1434
|
+
- Ensure the window is only renamed if the server has not already
|
|
1435
|
+
started, avoiding duplicate rename calls.
|
|
1436
|
+
- Renamed the `edit_remote_wait` method to `edit_remote`.
|
|
1437
|
+
|
|
1438
|
+
## 2020-02-05 v0.21.1
|
|
1439
|
+
|
|
1440
|
+
### Features
|
|
1441
|
+
- Rename the active tmux window to `edit` when `bin/edit` is
|
|
1442
|
+
run inside a tmux session.
|
|
1443
|
+
|
|
1444
|
+
## 2020-02-03 v0.21.0
|
|
1445
|
+
|
|
1446
|
+
### Improvements
|
|
1447
|
+
- The `discover` command now defaults the `-a` option to match word
|
|
1448
|
+
characters (`\w`).
|
|
1449
|
+
|
|
1450
|
+
## 2020-01-15 v0.20.0
|
|
1451
|
+
|
|
1452
|
+
### Breaking
|
|
1453
|
+
- Remove the runtime dependency on `pry-editline`.
|
|
1454
|
+
- Remove the custom IRB history saving functionality previously
|
|
1455
|
+
implemented in `IRB::Context` and `IRB::HistorySavingAbility`.
|
|
1456
|
+
|
|
1457
|
+
### Improvements
|
|
1458
|
+
- Grant executable permissions to `bin/discover`.
|
|
1459
|
+
- Fix indentation in `Utils::IRB#ri` for the `receiver_unless_main`
|
|
1460
|
+
block.
|
|
1461
|
+
|
|
1462
|
+
## 2019-12-02 v0.19.0
|
|
1463
|
+
|
|
1464
|
+
### Features
|
|
1465
|
+
- Add selector for result list
|
|
1466
|
+
|
|
1467
|
+
## 2019-12-02 v0.18.1
|
|
1468
|
+
|
|
1469
|
+
### Fixes
|
|
1470
|
+
- Changed `bin/discover` execute permissions from executable
|
|
1471
|
+
to non-executable.
|
|
1472
|
+
|
|
1473
|
+
## 2019-12-02 v0.18.0
|
|
1474
|
+
|
|
1475
|
+
### Features
|
|
1476
|
+
- Replace the `efi` bootdisk utility with a new `efi` tool that
|
|
1477
|
+
supports mounting, unmounting, and restoring EFI volumes.
|
|
1478
|
+
- Add `backup` and `restore` commands to the `efi` utility for
|
|
1479
|
+
cloning EFI partitions between volumes.
|
|
1480
|
+
|
|
1481
|
+
### Breaking
|
|
1482
|
+
- Rename the `Utils::InteractiveSearch` class to
|
|
1483
|
+
`Utils::SearchUI` and update all internal references.
|
|
1484
|
+
- Modify `Utils::SearchUI` to return the query result directly
|
|
1485
|
+
instead of a boolean value.
|
|
1486
|
+
|
|
1487
|
+
### Improvements
|
|
1488
|
+
- Update terminal control sequences in `Utils::SearchUI` to
|
|
1489
|
+
improve screen clearing and cursor positioning behavior.
|
|
1490
|
+
|
|
1491
|
+
## 2019-11-20 v0.17.0
|
|
1492
|
+
|
|
1493
|
+
### Features
|
|
1494
|
+
- Added a new `bootdisk` executable to query EFI boot disk details.
|
|
1495
|
+
- Updated `dialog-pick` to use the `bash` shell instead of `sh`.
|
|
1496
|
+
|
|
1497
|
+
### Build & CI
|
|
1498
|
+
- Updated `gem_hadar` development dependency to **1.11.0**.
|
|
1499
|
+
|
|
1500
|
+
## 2019-05-08 v0.16.0
|
|
1501
|
+
|
|
1502
|
+
### Features
|
|
1503
|
+
- Added a new `index_expire_after` configuration option to allow
|
|
1504
|
+
the finder index to automatically expire after a specified
|
|
1505
|
+
duration.
|
|
1506
|
+
- Modified `Utils::Finder#reset_index` to now trigger on index
|
|
1507
|
+
expiration, not only when the `-r` flag is explicitly provided.
|
|
1508
|
+
|
|
1509
|
+
## 2019-04-25 v0.15.1
|
|
1510
|
+
|
|
1511
|
+
### Fixes
|
|
1512
|
+
- Added cache reset in `bin/discover` to ensure the
|
|
1513
|
+
`Finder` object clears its state when the `-r` flag is
|
|
1514
|
+
used without a pattern.
|
|
1515
|
+
|
|
1516
|
+
## 2019-04-15 v0.15.0
|
|
1517
|
+
|
|
1518
|
+
### Improvements
|
|
1519
|
+
- Updated the minimum required version for the `pstree` gem dependency
|
|
1520
|
+
from `~> 0.1` to `~> 0.3` in the `Rakefile` and `utils.gemspec`.
|
|
1521
|
+
|
|
1522
|
+
## 2019-04-09 v0.14.0
|
|
1523
|
+
|
|
1524
|
+
### Features
|
|
1525
|
+
- Added a new `create_cstags` executable for generating cscope
|
|
1526
|
+
tags files.
|
|
1527
|
+
- Added a `-D` option to the `discover` command to list all
|
|
1528
|
+
search leaf directories.
|
|
1529
|
+
- Introduced a `Scope` class and `scope` method in
|
|
1530
|
+
`Utils::ConfigFile` to facilitate cscope tag generation.
|
|
1531
|
+
|
|
1532
|
+
### Improvements
|
|
1533
|
+
- Updated the executable list in the gemspec to include the
|
|
1534
|
+
new `create_cstags` command.
|
|
1535
|
+
|
|
1536
|
+
## 2019-04-05 v0.13.0
|
|
1537
|
+
|
|
1538
|
+
### Features
|
|
1539
|
+
|
|
1540
|
+
- Add a `-D` option to the `discover` utility to list all searched
|
|
1541
|
+
leaf directories.
|
|
1542
|
+
|
|
1543
|
+
## 2019-03-04 v0.12.0
|
|
1544
|
+
|
|
1545
|
+
### Features
|
|
1546
|
+
- Added interactive pattern search to the `discover` tool via the
|
|
1547
|
+
new `-s` flag.
|
|
1548
|
+
- Introduced `Utils::InteractiveSearch` to handle real-time input
|
|
1549
|
+
and result filtering.
|
|
1550
|
+
|
|
1551
|
+
### Fixes
|
|
1552
|
+
- Corrected `Finder` logic to safely handle empty result sets when
|
|
1553
|
+
applying match limits.
|
|
1554
|
+
|
|
1555
|
+
### Improvements
|
|
1556
|
+
- Added `mize` dependency to enable memoized path loading for
|
|
1557
|
+
improved performance.
|
|
1558
|
+
- Fixed spelling errors in the `myex` command documentation.
|
|
1559
|
+
- Updated `discover` usage text to accurately reflect that `PATTERN`
|
|
1560
|
+
is optional.
|
|
1561
|
+
|
|
1562
|
+
### Build & CI
|
|
1563
|
+
- Bumped the `rubygems_version` in the gemspec to **3.0.2**.
|
|
1564
|
+
|
|
1565
|
+
## 2018-10-31 v0.11.0
|
|
1566
|
+
|
|
1567
|
+
### Features
|
|
1568
|
+
- Removed the dependency on the `testrb` binary by invoking the `ruby` command
|
|
1569
|
+
directly for test-unit execution and adding directory expansion logic for
|
|
1570
|
+
test file arguments.
|
|
1571
|
+
|
|
1572
|
+
## 2018-10-17 v0.10.1
|
|
1573
|
+
|
|
1574
|
+
### Improvements
|
|
1575
|
+
- Default the `discover` utility to a maximum of 10 matches by
|
|
1576
|
+
adding a `max_matches` configuration option.
|
|
1577
|
+
|
|
1578
|
+
## 2018-01-24 v0.10.0
|
|
1579
|
+
|
|
1580
|
+
### Features
|
|
1581
|
+
- Add `tmproc` executable to create a standard tmux environment from
|
|
1582
|
+
a `Procfile`.
|
|
1583
|
+
- Add `vcf2alias` executable to generate mutt aliases from VCF contact
|
|
1584
|
+
files.
|
|
1585
|
+
- Add a `search` command to `myex` for matching and displaying context
|
|
1586
|
+
from backup insert statements.
|
|
1587
|
+
- Support linenumber ranges in files for the `edit` command and
|
|
1588
|
+
`Utils::Editor` class.
|
|
1589
|
+
- Add an index cache to the `discover` command to store and load file
|
|
1590
|
+
paths, with a new `-r` option to reset the index.
|
|
1591
|
+
- Add a `-n` option to `discover` to limit the number of returned
|
|
1592
|
+
matches.
|
|
1593
|
+
- Add a `-l` option to the `edit` command to list current vim servers.
|
|
1594
|
+
- Add a busybar to `brakeman2err` and `create_tags` to provide visual
|
|
1595
|
+
feedback during long-running computations.
|
|
1596
|
+
|
|
1597
|
+
### Breaking
|
|
1598
|
+
- Remove support for the `-b` option in `discover` and `search`.
|
|
1599
|
+
- Replace the `-R` option in `search` and `-r` in `discover` with a
|
|
1600
|
+
`-p` option that accepts `f` for fuzzy or `r` for regexp pattern
|
|
1601
|
+
types.
|
|
1602
|
+
|
|
1603
|
+
### Fixes
|
|
1604
|
+
- Fix `Utils::Editor` to handle `source_location` objects that do not
|
|
1605
|
+
respond to `filename` and `linenumber`.
|
|
1606
|
+
- Fix `probe` to use `bundle exec` when `BUNDLE_GEMFILE` is set and
|
|
1607
|
+
remove deprecated zeus support.
|
|
1608
|
+
- Fix `brakeman2err` to correctly handle the `Infobar` object.
|
|
1609
|
+
- Fix `vcf2alias` to handle symlinked alias files and support German
|
|
1610
|
+
umlauts in shortcuts.
|
|
1611
|
+
- Fix `create_tags` to correctly display the number of tags created.
|
|
1612
|
+
|
|
1613
|
+
### Improvements
|
|
1614
|
+
- Improve file discovery scoring in `Utils::Finder` to weight matches at
|
|
1615
|
+
the end of paths more heavily.
|
|
1616
|
+
- Use `tins` efficient visiting API in `Utils::Finder` and
|
|
1617
|
+
`Utils::Grepper`.
|
|
1618
|
+
- Allow multiple `-I` options in `strip_spaces`, `search`, and
|
|
1619
|
+
`discover` for specifying multiple suffixes.
|
|
1620
|
+
- Update `tins` dependency from `~>1.8` to `~>1.14`.
|
|
1621
|
+
- Move busybar functionality into the `infobar` gem and remove the
|
|
1622
|
+
internal `Utils::Busybar` class.
|
|
1623
|
+
|
|
1624
|
+
## 2017-02-07 v0.9.0
|
|
1625
|
+
|
|
1626
|
+
### Features
|
|
1627
|
+
- Add new `git-versions` command to list git tags and display
|
|
1628
|
+
log output between versions, with optional support for
|
|
1629
|
+
custom tag name patterns.
|
|
1630
|
+
- Add new `ascii7` command to display a table of the first
|
|
1631
|
+
32 ASCII characters mapped to their common mnemonics.
|
|
1632
|
+
- Add `-g` option to `search` to use git blame to identify the
|
|
1633
|
+
author of matching lines.
|
|
1634
|
+
- Add `-t` option to `strip_spaces` to replace tab characters
|
|
1635
|
+
with a specified number of spaces.
|
|
1636
|
+
|
|
1637
|
+
### Fixes
|
|
1638
|
+
- Ignore invalid UTF-8 byte sequence errors in `Utils::Patterns`
|
|
1639
|
+
matchers to prevent crashes on non-UTF-8 files.
|
|
1640
|
+
|
|
1641
|
+
### Improvements
|
|
1642
|
+
- Update `Utils::LineBlamer` with a new `blame` class method
|
|
1643
|
+
that encapsulates the logic for performing blame and applying
|
|
1644
|
+
color formatting.
|
|
1645
|
+
- Refactor `search` and related commands to use symbol-based
|
|
1646
|
+
option keys for improved code consistency.
|
|
1647
|
+
- Change the default terminal multiplexer in `ssh-tunnel`
|
|
1648
|
+
configuration from `screen` to `tmux`.
|
|
1649
|
+
- Shorten job description output in `Utils::ProbeServer` by
|
|
1650
|
+
removing the `Job#` prefix.
|
|
1651
|
+
|
|
1652
|
+
### Build & CI
|
|
1653
|
+
- Add `ascii7` and `git-versions` to the list of executables
|
|
1654
|
+
in the gem specification.
|
|
1655
|
+
- Bump `gem_hadar` development dependency to version **1.9.1**.
|
|
1656
|
+
|
|
1657
|
+
## 2016-09-30 v0.8.0
|
|
1658
|
+
|
|
1659
|
+
### Breaking
|
|
1660
|
+
- Removed the `utils-install-config` command and the `Utils::Config` module.
|
|
1661
|
+
- Renamed `Utils::Config::ConfigFile` to `Utils::ConfigFile` and removed the
|
|
1662
|
+
bundled configuration template files from `lib/utils/config`.
|
|
1663
|
+
- Removed the `-d` and `-D` options from the `discover` command.
|
|
1664
|
+
|
|
1665
|
+
### Features
|
|
1666
|
+
- Added the `dialog-pick` command to select an item from a list using
|
|
1667
|
+
`dialog`.
|
|
1668
|
+
- Added the `serve` command to serve a directory using `WEBrick::HTTPServer`.
|
|
1669
|
+
- Added a `-b` option to the `search` command to display git blame
|
|
1670
|
+
information for matches.
|
|
1671
|
+
- Added a `-p` option to the `classify` command to parameterize strings
|
|
1672
|
+
using a custom separator.
|
|
1673
|
+
- Added support for prefix-based path shifting in the `classify` command via
|
|
1674
|
+
the `shift_path_for_prefix` configuration.
|
|
1675
|
+
|
|
1676
|
+
### Improvements
|
|
1677
|
+
- Changed `discover` to match directories and files by default, and set
|
|
1678
|
+
case-insensitive matching to `true` by default.
|
|
1679
|
+
- Updated `FuzzyPattern` to ignore non-alphanumeric characters in patterns.
|
|
1680
|
+
- Simplified the `classify` command to use `Term::ANSIColor.uncolor` for
|
|
1681
|
+
input handling.
|
|
1682
|
+
|
|
1683
|
+
### Fixes
|
|
1684
|
+
- Updated regular expressions in `blameline` and `search` to handle `^`
|
|
1685
|
+
characters in git SHA-1 hashes.
|
|
1686
|
+
- Fixed `search` to display the full matched line alongside blame
|
|
1687
|
+
information.
|
|
1688
|
+
- Fixed `blameline` to skip lines where the blame lookup fails.
|
|
1689
|
+
- Reverted the default `shift_path_by_default` configuration value to `0`.
|
|
1690
|
+
|
|
1691
|
+
## 2016-05-18 v0.7.0
|
|
1692
|
+
|
|
1693
|
+
### Features
|
|
1694
|
+
- Added `bin/rssr`, a script that parses and displays RSS feeds using
|
|
1695
|
+
`RSS::Parser` with terminal-colored output.
|
|
1696
|
+
- Enabled `**` style glob patterns for root paths in `Utils::Finder` and
|
|
1697
|
+
`Utils::Grepper` by expanding roots with `Dir`.
|
|
1698
|
+
- Added `classify` configuration block support, including
|
|
1699
|
+
`shift_path_by_default` for default path shifting in `bin/classify`.
|
|
1700
|
+
|
|
1701
|
+
### Fixes
|
|
1702
|
+
- Changed `path_shifter` in `bin/classify` to accept `n: nil` and apply
|
|
1703
|
+
default shift path width from configuration if `n` is not provided.
|
|
1704
|
+
|
|
1705
|
+
## 2016-04-11 v0.6.4
|
|
1706
|
+
|
|
1707
|
+
### Features
|
|
1708
|
+
- Add search and replace facility to `search` with the `-r` option.
|
|
1709
|
+
- Support Spring in `probe` to run tests via `bin/spring rspec`.
|
|
1710
|
+
- Overhaul the `probe_server` command interface with shortcuts and
|
|
1711
|
+
improved `Job` inspection.
|
|
1712
|
+
- Support setting and getting environment variables on the probe
|
|
1713
|
+
server via the `-C` option in `probe`.
|
|
1714
|
+
- Add more git file status options to the `edit` command, including
|
|
1715
|
+
`-g` for modified, cached, deleted, other, and next commit files.
|
|
1716
|
+
- Add object-oriented call syntax support for `ri` and `irb_open` in
|
|
1717
|
+
`Utils::IRB`.
|
|
1718
|
+
|
|
1719
|
+
### Fixes
|
|
1720
|
+
- Handle `Errno::ENOENT` in `probe` when checking if Spring is running.
|
|
1721
|
+
- Return an empty string from `format_backtrace` in
|
|
1722
|
+
`Utils::LineFormatter` if the exception backtrace is nil.
|
|
1723
|
+
- Allow `edit` to work outside of a git repository when using
|
|
1724
|
+
git-specific arguments.
|
|
1725
|
+
- Unify `ri` and `yri` methods in `Utils::IRB` to use a single
|
|
1726
|
+
implementation.
|
|
1727
|
+
|
|
1728
|
+
### Improvements
|
|
1729
|
+
- Remove the `Module` include for `Utils::IRB::Module` in
|
|
1730
|
+
`lib/utils/irb.rb`.
|
|
1731
|
+
- Log environment variable changes in `probe_server` via a
|
|
1732
|
+
`LogWrapper` class.
|
|
1733
|
+
- Bump the `tins` dependency requirement to `~> 1.8`.
|
|
1734
|
+
- Bump the `gem_hadar` development dependency to `~> 1.7.0`.
|
|
1735
|
+
|
|
1736
|
+
### Build & CI
|
|
1737
|
+
- Update the `tins` runtime dependency in the gemspec to `~> 1.8`.
|
|
1738
|
+
- Update the `gem_hadar` development dependency in the gemspec to
|
|
1739
|
+
`~> 1.7.0`.
|
|
1740
|
+
|
|
1741
|
+
## 2015-09-15 v0.6.2
|
|
1742
|
+
|
|
1743
|
+
### Fixes
|
|
1744
|
+
- Instantiate `Utils::Editor` in the `discover` script to ensure
|
|
1745
|
+
the `editor` method is available.
|
|
1746
|
+
|
|
1747
|
+
### Improvements
|
|
1748
|
+
- Replace block-based output handling with direct printing of
|
|
1749
|
+
`finder.paths` in the `discover` script.
|
|
1750
|
+
- Remove unused block yield logic from `Utils::Finder#search`.
|
|
1751
|
+
|
|
1752
|
+
## 2015-09-10 v0.6.1
|
|
1753
|
+
|
|
1754
|
+
### Features
|
|
1755
|
+
- The `edit` command now opens locally modified files
|
|
1756
|
+
tracked by Git by default when executed without
|
|
1757
|
+
arguments in a TTY environment.
|
|
1758
|
+
|
|
1759
|
+
### Fixes
|
|
1760
|
+
- Corrected the instantiation of `Utils::Editor` within
|
|
1761
|
+
the `discover` executable to ensure the `new` method
|
|
1762
|
+
is called explicitly.
|
|
1763
|
+
|
|
1764
|
+
## 2015-08-18 v0.6.0
|
|
1765
|
+
|
|
1766
|
+
- No user-visible changes.
|
|
1767
|
+
|
|
1768
|
+
## 2015-08-18 v0.5.1
|
|
1769
|
+
|
|
1770
|
+
### Improvements
|
|
1771
|
+
- Skip the `Pick?` prompt in `bin/discover` and `bin/search` when
|
|
1772
|
+
only a single path is available.
|
|
1773
|
+
|
|
1774
|
+
## 2015-08-17 v0.5.0
|
|
1775
|
+
|
|
1776
|
+
### Features
|
|
1777
|
+
- Added `-E` flag to `search` and `discover` to pick one file to edit.
|
|
1778
|
+
- Added `irb_open` method to open a URL or capture block output.
|
|
1779
|
+
- Added `edit` method to open the current object in the editor.
|
|
1780
|
+
|
|
1781
|
+
### Improvements
|
|
1782
|
+
- Updated `tins` dependency from `~>1.0` to `~>1.6`.
|
|
1783
|
+
- Refactored `edit_files` in `search` and `discover` to support pick mode.
|
|
1784
|
+
- Updated `Utils::Finder` and `Utils::Grepper` to handle the new `E` option.
|
|
1785
|
+
|
|
1786
|
+
### Build & CI
|
|
1787
|
+
- Updated `utils.gemspec` and `Rakefile` to reflect new `tins` version.
|
|
1788
|
+
- Bumped gem version from **0.3.0** to **0.4.0**.
|
|
1789
|
+
|
|
1790
|
+
## 2015-06-26 v0.4.0
|
|
1791
|
+
|
|
1792
|
+
### Breaking
|
|
1793
|
+
- Changed `irb_server` and `irb_connect` methods to accept a `uri`
|
|
1794
|
+
argument instead of separate `hostname` and `port` arguments.
|
|
1795
|
+
- Removed `irb_info` and `irb_fullinfo` methods from the IRB shell
|
|
1796
|
+
utilities.
|
|
1797
|
+
- Removed the `Utils::IRB::Relation` module and its extension of
|
|
1798
|
+
`ActiveRecord::Relation`.
|
|
1799
|
+
|
|
1800
|
+
### Improvements
|
|
1801
|
+
- Added default arguments to several IRB method listing helpers, such
|
|
1802
|
+
as `irb_all_methods`, `irb_methods`, and `irb_eigen_methods`, allowing
|
|
1803
|
+
them to operate on the current context without explicit arguments.
|
|
1804
|
+
- Moved `Utils::IRB::Service` to a separate file and updated it to
|
|
1805
|
+
handle URI strings for starting and connecting to DRb services.
|
|
1806
|
+
- Updated the `gem_hadar` development dependency requirement to
|
|
1807
|
+
**~> 1.3.1**.
|
|
1808
|
+
|
|
1809
|
+
## 2015-06-26 v0.3.0
|
|
1810
|
+
|
|
1811
|
+
### Breaking
|
|
1812
|
+
- The `-p` port option for `bin/probe` was replaced by a `-u`
|
|
1813
|
+
URI option, and the default connection target changed from a
|
|
1814
|
+
local TCP port to a Unix socket.
|
|
1815
|
+
|
|
1816
|
+
### Features
|
|
1817
|
+
- Added a `long_lines` command to identify and blame source lines
|
|
1818
|
+
that exceed a specified maximum length.
|
|
1819
|
+
- Added a `blameline` command to perform git blame operations on
|
|
1820
|
+
source locations provided via standard input or file paths.
|
|
1821
|
+
- Generalized the `classify` command with an `-n` option to allow
|
|
1822
|
+
path component shifting for class name derivation.
|
|
1823
|
+
- Added `Utils::LineBlamer` class to encapsulate git blame logic.
|
|
1824
|
+
- Added `Utils::Xt::SourceLocationExtension` module to provide
|
|
1825
|
+
source location parsing capabilities independently of the
|
|
1826
|
+
editor.
|
|
1827
|
+
- `myex` now disables foreign key checks during truncate and insert
|
|
1828
|
+
operations to prevent constraint violations.
|
|
1829
|
+
- `probe` now passes the `-rutils` flag to rspec to ensure the
|
|
1830
|
+
library is loaded correctly.
|
|
1831
|
+
|
|
1832
|
+
### Fixes
|
|
1833
|
+
- Fixed `Utils::LineFormatter` to handle missing RSpec
|
|
1834
|
+
dependencies gracefully without crashing.
|
|
1835
|
+
- Corrected the loading of `rspec/core` and
|
|
1836
|
+
`rspec/core/formatters/base_text_formatter` to prevent
|
|
1837
|
+
`LoadError` exceptions.
|
|
1838
|
+
- Refactored `Utils::LineFormatter` to use the modern RSpec
|
|
1839
|
+
formatter interface rather than inheriting from
|
|
1840
|
+
`BaseTextFormatter`.
|
|
1841
|
+
- Restored console output of failure details in
|
|
1842
|
+
`Utils::LineFormatter`.
|
|
1843
|
+
- Fixed Rakefile installation to use `rm_f` instead of `rm` to
|
|
1844
|
+
avoid errors when removing existing executables.
|
|
1845
|
+
- Removed the `.ruby-version` file to allow flexibility in the
|
|
1846
|
+
Ruby interpreter used for development.
|
|
1847
|
+
|
|
1848
|
+
### Improvements
|
|
1849
|
+
- Improved `Utils::LineFormatter` summary output to use terminal
|
|
1850
|
+
column width for separators and include duration in the summary
|
|
1851
|
+
line.
|
|
1852
|
+
- Enhanced `Utils::LineFormatter` failure reporting with improved
|
|
1853
|
+
backtrace formatting and optional folding.
|
|
1854
|
+
- Updated IRB method descriptions to use the `description` method
|
|
1855
|
+
with namespace styling for better clarity.
|
|
1856
|
+
- Simplified `Utils::LineFormatter` error handling by rescuing
|
|
1857
|
+
specific `NameError` exceptions.
|
|
1858
|
+
|
|
1859
|
+
## 2014-07-26 v0.2.1
|
|
1860
|
+
|
|
1861
|
+
- No user-visible changes.
|
|
1862
|
+
|
|
1863
|
+
## 2014-06-05 v0.2.0
|
|
1864
|
+
|
|
1865
|
+
### Features
|
|
1866
|
+
- Added `zeus` support to the `probe` binary with a new `-z`
|
|
1867
|
+
flag and configuration option.
|
|
1868
|
+
- Added an `irb_clipboard` method to handle clipboard
|
|
1869
|
+
integration on `darwin` platforms.
|
|
1870
|
+
- Added a `job_kill` method to the probe server for sending
|
|
1871
|
+
arbitrary signals to the current job process.
|
|
1872
|
+
|
|
1873
|
+
### Fixes
|
|
1874
|
+
- Updated `require` statements to use the `tins` namespace
|
|
1875
|
+
instead of `dslkit` for compatibility.
|
|
1876
|
+
|
|
1877
|
+
### Build & CI
|
|
1878
|
+
- Updated the `Rakefile` to manually install `tins`, `term-ansicolor`,
|
|
1879
|
+
`pstree`, and `pry-editline` gems during the installation
|
|
1880
|
+
process.
|
|
1881
|
+
|
|
1882
|
+
## 2014-03-14 v0.1.1
|
|
1883
|
+
|
|
1884
|
+
### Features
|
|
1885
|
+
- Added the `json_check` executable to validate JSON
|
|
1886
|
+
input from `ARGF`.
|
|
1887
|
+
|
|
1888
|
+
## 2014-02-06 v0.1.0
|
|
1889
|
+
|
|
1890
|
+
### Improvements
|
|
1891
|
+
- Added a version display line to the `ssh-tunnel` help output.
|
|
1892
|
+
|
|
1893
|
+
### Build & CI
|
|
1894
|
+
- Dropped the `dslkit` dependency.
|
|
1895
|
+
- Upgraded the `tins` dependency to version `~> 1.0`.
|
|
1896
|
+
- Upgraded the `term-ansicolor` dependency to version `~> 1.3`.
|
|
1897
|
+
- Updated the `pstree` dependency constraint to `~> 0.1`.
|
|
1898
|
+
|
|
1899
|
+
## 2014-01-31 v0.0.100
|
|
1900
|
+
|
|
1901
|
+
### Features
|
|
1902
|
+
- Added support for multiple SSH tunnels via `-t` flags.
|
|
1903
|
+
- Enabled binding of SSH tunnels to specific local addresses.
|
|
1904
|
+
- Added support for IPv6 addresses in SSH tunnel specifications.
|
|
1905
|
+
- Introduced the `-T` option to list current SSH tunnels with ANSI
|
|
1906
|
+
colors.
|
|
1907
|
+
- Added the `-d` option to enable debugging output for the `ssh-tunnel`
|
|
1908
|
+
command.
|
|
1909
|
+
- Added the `-e VARIABLE=VALUE` option to pass environment variables
|
|
1910
|
+
to the SSH login shell.
|
|
1911
|
+
- Added the `Utils::SshTunnelSpecification` class to parse and validate
|
|
1912
|
+
SSH tunnel specification strings.
|
|
1913
|
+
|
|
1914
|
+
### Fixes
|
|
1915
|
+
- Improved error handling in `chroot-libs` to gracefully skip missing
|
|
1916
|
+
library files.
|
|
1917
|
+
- Replaced the deprecated `debugger` gem with `byebug` for Ruby 1.9
|
|
1918
|
+
and later.
|
|
1919
|
+
|
|
1920
|
+
### Improvements
|
|
1921
|
+
- Updated `chroot-libs` to use `lines` instead of `split` for
|
|
1922
|
+
compatibility with Ruby 1.9.
|
|
1923
|
+
- Added `.bundle` to `.gitignore` and Rakefile ignore patterns.
|
|
1924
|
+
|
|
1925
|
+
## 2013-10-09 v0.0.99
|
|
1926
|
+
|
|
1927
|
+
### Features
|
|
1928
|
+
- Support reading from `STDIN` and stripping trailing whitespace
|
|
1929
|
+
when no arguments are provided to `strip_spaces`.
|
|
1930
|
+
|
|
1931
|
+
## 2013-10-01 v0.0.98
|
|
1932
|
+
|
|
1933
|
+
### Features
|
|
1934
|
+
- Added support for colorized output in the probe server console, using
|
|
1935
|
+
ANSI colors to highlight job status as successful, failed, or pending.
|
|
1936
|
+
- Introduced job history tracking in the probe server, enabling users to
|
|
1937
|
+
list, clear, and repeat previously executed jobs via `history_list`,
|
|
1938
|
+
`history_clear`, and `job_repeat`.
|
|
1939
|
+
- Added a `docs` method to the probe server that lists available
|
|
1940
|
+
commands and their descriptions for in-console help.
|
|
1941
|
+
- Renamed probe server methods to a consistent `job_` or `jobs_`
|
|
1942
|
+
prefix (e.g., `enqueue` to `job_enqueue`, `list_jobs` to `jobs_list`),
|
|
1943
|
+
while preserving the old method names as aliases for backward
|
|
1944
|
+
compatibility.
|
|
1945
|
+
- Added a `colorize` class attribute to `Utils::ProbeServer::Job` to
|
|
1946
|
+
control whether terminal output is colorized, defaulting to `false` and
|
|
1947
|
+
enabled by default in the `bin/probe` client.
|
|
1948
|
+
|
|
1949
|
+
### Fixes
|
|
1950
|
+
- Updated `job_repeat` to accept both a `Job` instance and a job ID,
|
|
1951
|
+
normalizing the input to use the job ID for history lookups.
|
|
1952
|
+
- Ensured the probe server's history and job queue return copies of
|
|
1953
|
+
internal arrays to prevent accidental modification of server state.
|
|
1954
|
+
|
|
1955
|
+
## 2013-10-01 v0.0.97
|
|
1956
|
+
|
|
1957
|
+
### Breaking
|
|
1958
|
+
- Rename `Utils::ProbeServer` methods for job and history management,
|
|
1959
|
+
including `job_enqueue`, `job_stop`, `job_continue`,
|
|
1960
|
+
`server_shutdown`, `jobs_list`, `jobs_clear`, `job_repeat`,
|
|
1961
|
+
`history_list`, and `history_clear`.
|
|
1962
|
+
|
|
1963
|
+
### Features
|
|
1964
|
+
- Add support for colorized console output in the probe server.
|
|
1965
|
+
- Implement a job history feature to list and clear executed jobs.
|
|
1966
|
+
- Add the ability to repeat a previous job using `job_repeat`.
|
|
1967
|
+
- Enable control of the remote server's environment variables via the
|
|
1968
|
+
`env` method.
|
|
1969
|
+
- Add a `docs` method to retrieve documentation annotations.
|
|
1970
|
+
|
|
1971
|
+
## 2013-10-01 v0.0.96
|
|
1972
|
+
|
|
1973
|
+
### Fixes
|
|
1974
|
+
- Refactored `bin/probe` argument parsing to correctly pass multiple values
|
|
1975
|
+
for a single option as a flat array.
|
|
1976
|
+
- Updated `bin/probe` dispatch logic to prevent `connect_server` from
|
|
1977
|
+
executing when the list (`-l`) option is used.
|
|
1978
|
+
- Modified `Utils::ProbeServer#cmd` to prepend `bundle exec` to the
|
|
1979
|
+
command invocation when a `BUNDLE_GEMFILE` environment variable is
|
|
1980
|
+
present.
|
|
1981
|
+
- Added informational logging in `Utils::ProbeServer#cmd` to display the
|
|
1982
|
+
exact command being executed.
|
|
1983
|
+
|
|
1984
|
+
## 2013-09-30 v0.0.95
|
|
1985
|
+
|
|
1986
|
+
### Features
|
|
1987
|
+
- Added `--console` option to `probe` to launch an interactive
|
|
1988
|
+
console session.
|
|
1989
|
+
- Added `--command` and `--visual` options to `edit` to send
|
|
1990
|
+
ex and visual commands to the running editor.
|
|
1991
|
+
- Added `--url-safe-methods` support to `brakeman2err` by passing
|
|
1992
|
+
the flag to the `brakeman` command.
|
|
1993
|
+
|
|
1994
|
+
### Improvements
|
|
1995
|
+
- Refactored `probe` server and client startup logic into dedicated
|
|
1996
|
+
`start_server` and `connect_server` methods.
|
|
1997
|
+
- Refactored `Utils::ProbeServer` to support job tracking with
|
|
1998
|
+
unique IDs, process control, and improved output formatting.
|
|
1999
|
+
|
|
2000
|
+
### Build & CI
|
|
2001
|
+
- Updated `term-ansicolor` dependency requirement to `~>1.2`,
|
|
2002
|
+
`>=1.2.2`.
|
|
2003
|
+
|
|
2004
|
+
## 2013-08-16 v0.0.94
|
|
2005
|
+
|
|
2006
|
+
### Improvements
|
|
2007
|
+
- Removed the `--separate-models` flag from the `brakeman`
|
|
2008
|
+
invocation in `brakeman2err` to stop using separate model
|
|
2009
|
+
analysis.
|
|
2010
|
+
|
|
2011
|
+
## 2013-08-16 v0.0.93
|
|
2012
|
+
|
|
2013
|
+
- No user-visible changes.
|
|
2014
|
+
|
|
2015
|
+
## 2013-08-16 v0.0.92
|
|
2016
|
+
|
|
2017
|
+
## 2013-08-16 v0.0.91
|
|
2018
|
+
|
|
2019
|
+
### Improvements
|
|
2020
|
+
- `brakeman2err` now includes the `brakeman_ignore` file and
|
|
2021
|
+
separate models option to reduce false positives, and displays a
|
|
2022
|
+
link for each warning.
|
|
2023
|
+
|
|
2024
|
+
## 2013-08-06 v0.0.90
|
|
2025
|
+
|
|
2026
|
+
### Improvements
|
|
2027
|
+
- Added summary output reporting error and warning counts before detailed findings in `bin/brakeman2err`.
|
|
2028
|
+
|
|
2029
|
+
## 2013-08-05 v0.0.89
|
|
2030
|
+
|
|
2031
|
+
### Fixes
|
|
2032
|
+
- Modified `brakeman2err` to display analysis results regardless of
|
|
2033
|
+
the `c` flag.
|
|
2034
|
+
|
|
2035
|
+
## 2013-08-02 v0.0.88
|
|
2036
|
+
|
|
2037
|
+
### Features
|
|
2038
|
+
- Added `brakeman2err` to convert Brakeman output into a Vim
|
|
2039
|
+
error file.
|
|
2040
|
+
|
|
2041
|
+
### Fixes
|
|
2042
|
+
- Fixed `chroot-libs` to work with Ruby 1.9 by using `lines` instead
|
|
2043
|
+
of `gsub`.
|
|
2044
|
+
- Fixed `myex` to avoid encoding conversion errors by using
|
|
2045
|
+
`ascii-8bit`.
|
|
2046
|
+
|
|
2047
|
+
### Improvements
|
|
2048
|
+
- Updated `probe` to support Cucumber as a test framework.
|
|
2049
|
+
- Documented `probe` options for client, server, and port modes.
|
|
2050
|
+
- Updated `tins` dependency to **0.8.3**.
|
|
2051
|
+
|
|
2052
|
+
### Documentation
|
|
2053
|
+
- Corrected a typo in the `irb_connect` documentation.
|
|
2054
|
+
|
|
2055
|
+
## 2013-06-21 v0.0.87
|
|
2056
|
+
|
|
2057
|
+
### Features
|
|
2058
|
+
- The `probe` server now attempts to shutdown a previously
|
|
2059
|
+
running instance via `DRbObject` on startup.
|
|
2060
|
+
- Extracted the `ProbeServer` class from `bin/probe` into
|
|
2061
|
+
`lib/utils/probe_server.rb` and added a `shutdown` method
|
|
2062
|
+
that forces the process to exit.
|
|
2063
|
+
|
|
2064
|
+
### Improvements
|
|
2065
|
+
- The `cmd` method in `bin/probe` now exits with the exit
|
|
2066
|
+
status of the executed command if it fails.
|
|
2067
|
+
- Job execution output in `ProbeServer` now displays distinct
|
|
2068
|
+
success and failure messages with appropriate colors.
|
|
2069
|
+
|
|
2070
|
+
## 2013-06-20 v0.0.86
|
|
2071
|
+
|
|
2072
|
+
## 2013-06-20 v0.0.85
|
|
2073
|
+
|
|
2074
|
+
### Features
|
|
2075
|
+
- Added ANSI color support to `bin/probe` using the `term/ansicolor` gem to display job lifecycle messages.
|
|
2076
|
+
|
|
2077
|
+
## 2013-06-19 v0.0.84
|
|
2078
|
+
|
|
2079
|
+
### Features
|
|
2080
|
+
- Added support for running Cucumber tests via the `probe` utility,
|
|
2081
|
+
allowing line number specification and file path mapping.
|
|
2082
|
+
|
|
2083
|
+
### Fixes
|
|
2084
|
+
- Fixed option passing in `bin/probe` by flattening the options array
|
|
2085
|
+
to ensure correct serialization over `DRb`.
|
|
2086
|
+
|
|
2087
|
+
### Improvements
|
|
2088
|
+
- Removed the `-S` flag from the `testrb` command invocation within
|
|
2089
|
+
`bin/probe` for `test-unit` execution.
|
|
2090
|
+
|
|
2091
|
+
## 2013-05-15 v0.0.83
|
|
2092
|
+
|
|
2093
|
+
## 2013-05-15 v0.0.82
|
|
2094
|
+
|
|
2095
|
+
### Build & CI
|
|
2096
|
+
- Added `pstree` as a runtime dependency.
|
|
2097
|
+
|
|
2098
|
+
### Improvements
|
|
2099
|
+
- Replaced `ps` command with the `pstree` library for more
|
|
2100
|
+
robust process detection in `lib/utils/editor.rb`.
|
|
2101
|
+
|
|
2102
|
+
## 2013-05-14 v0.0.81
|
|
2103
|
+
|
|
2104
|
+
### Fixes
|
|
2105
|
+
- Filter out `grep` process entries to prevent false matches
|
|
2106
|
+
in `tmux` pane identification.
|
|
2107
|
+
|
|
2108
|
+
## 2013-05-14 v0.0.80
|
|
2109
|
+
|
|
2110
|
+
### Fixes
|
|
2111
|
+
- Adjusted regex to match `/edit` at end of string in pane detection.
|
|
2112
|
+
|
|
2113
|
+
## 2013-05-14 v0.0.79
|
|
2114
|
+
|
|
2115
|
+
### Fixes
|
|
2116
|
+
- Exclude the current process PID from `tmux` pane
|
|
2117
|
+
detection in the editor utility.
|
|
2118
|
+
|
|
2119
|
+
## 2013-05-14 v0.0.78
|
|
2120
|
+
|
|
2121
|
+
### Improvements
|
|
2122
|
+
- In `Utils::Editor`, replaced the `ensure_running` method with
|
|
2123
|
+
deferred `activate` logic within the `edit` method.
|
|
2124
|
+
- Updated the `edit` method to detect the active editor process and
|
|
2125
|
+
use `tmux` to switch to the corresponding pane.
|
|
2126
|
+
|
|
2127
|
+
## 2013-05-14 v0.0.77
|
|
2128
|
+
|
|
2129
|
+
### Fixes
|
|
2130
|
+
- Add an `ensure_running` check to the `edit` method in
|
|
2131
|
+
`lib/utils/editor.rb` to verify the editor session is active
|
|
2132
|
+
before proceeding with editing logic.
|
|
2133
|
+
- Replace a placeholder `TODO` comment in the `edit` method with
|
|
2134
|
+
logic to locate and select the correct `tmux` pane using `tmux
|
|
2135
|
+
list-panes` and `ps`, enabling seamless switching to the editor
|
|
2136
|
+
pane after a remote edit operation.
|
|
2137
|
+
|
|
2138
|
+
### Improvements
|
|
2139
|
+
- Bump version to **0.0.77** in `VERSION`,
|
|
2140
|
+
`lib/utils/version.rb`, and `utils.gemspec`.
|
|
2141
|
+
|
|
2142
|
+
## 2013-05-13 v0.0.76
|
|
2143
|
+
|
|
2144
|
+
### Fixes
|
|
2145
|
+
- Corrected `derive_server_name` in `Utils` to use the
|
|
2146
|
+
current directory (`Dir.pwd`) instead of the parent
|
|
2147
|
+
directory when `VIM_SERVER` is not set.
|
|
2148
|
+
|
|
2149
|
+
## 2013-05-10 v0.0.75
|
|
2150
|
+
|
|
2151
|
+
### Features
|
|
2152
|
+
- Derive the default server name for `Utils::Editor` from the current
|
|
2153
|
+
directory path.
|
|
2154
|
+
|
|
2155
|
+
### Fixes
|
|
2156
|
+
- Start the editor instance when no file arguments are provided in the
|
|
2157
|
+
`edit` command.
|
|
2158
|
+
- Detach the client session when attaching to a tmux session.
|
|
2159
|
+
|
|
2160
|
+
## 2013-03-12 v0.0.74
|
|
2161
|
+
|
|
2162
|
+
### Features
|
|
2163
|
+
- Added configurable vim path and default arguments via a new `Edit` class in `Utils::Config::ConfigFile`.
|
|
2164
|
+
- Added `remote_copy` executable to the list of installed gems in `utils.gemspec`.
|
|
2165
|
+
|
|
2166
|
+
### Fixes
|
|
2167
|
+
- Changed `bin/edit` to use a config file for editor settings and removed automatic server startup.
|
|
2168
|
+
- Replaced hard-coded vim detection logic with configurable settings from `Utils::Config::ConfigFile`.
|
|
2169
|
+
- Simplified remote editor commands to remove conditional `gui` flag handling.
|
|
2170
|
+
- Updated `activate` method to only execute remote send tricks when `-g` is present in default args.
|
|
2171
|
+
|
|
2172
|
+
### Improvements
|
|
2173
|
+
- Refactored `bin/edit` to load configuration from file and simplify `Editor` initialization.
|
|
2174
|
+
- Updated `edit_file_linenumber` to use `edit_remote_wait` or `edit_remote` directly with line numbers.
|
|
2175
|
+
- Changed `fullscreen=` method to always call `start` instead of checking if already started.
|
|
2176
|
+
|
|
2177
|
+
## 2013-03-08 v0.0.73
|
|
2178
|
+
|
|
2179
|
+
### Features
|
|
2180
|
+
- Added a new `remote_copy` binary for handling remote clipboard
|
|
2181
|
+
synchronization.
|
|
2182
|
+
- Introduced a `copy_paste` configuration option within the `ssh_tunnel`
|
|
2183
|
+
settings.
|
|
2184
|
+
- Added a `-m` command-line option to `ssh-tunnel` for selecting the
|
|
2185
|
+
terminal multiplexer.
|
|
2186
|
+
|
|
2187
|
+
### Fixes
|
|
2188
|
+
- Corrected the `ssh-tunnel` execution logic to ensure the tunneling code
|
|
2189
|
+
path is properly handled.
|
|
2190
|
+
- Fixed the default terminal multiplexer configuration to use `screen`
|
|
2191
|
+
instead of `sshscreen`.
|
|
2192
|
+
|
|
2193
|
+
## 2013-02-28 v0.0.72
|
|
2194
|
+
|
|
2195
|
+
### Improvements
|
|
2196
|
+
- Enable UTF-8 support for `tmux` commands by adding the `-u` flag to the `tmux -u new` and `tmux -u attach` commands in `Utils::Config::ConfigFile`.
|
|
2197
|
+
|
|
2198
|
+
## 2013-02-28 v0.0.71
|
|
2199
|
+
|
|
2200
|
+
### Features
|
|
2201
|
+
- Support for creating new remote sessions in tmux.
|
|
2202
|
+
|
|
2203
|
+
### Fixes
|
|
2204
|
+
- Fallback to a default session name if `ENV['USER']` is not
|
|
2205
|
+
set.
|
|
2206
|
+
|
|
2207
|
+
## 2013-02-26 v0.0.70
|
|
2208
|
+
|
|
2209
|
+
### Breaking
|
|
2210
|
+
|
|
2211
|
+
- Renamed the `sshscreen` executable to `ssh-tunnel`.
|
|
2212
|
+
|
|
2213
|
+
### Features
|
|
2214
|
+
|
|
2215
|
+
- Added a new `SshTunnel` configuration block to `Utils::Config::ConfigFile`.
|
|
2216
|
+
- Introduced support for configurable terminal multiplexers (`sshscreen` or `tmux`) via the `terminal_multiplexer` setting.
|
|
2217
|
+
- Added a `-C` option to the `ssh-tunnel` command to output SSH or RC configuration files.
|
|
2218
|
+
|
|
2219
|
+
### Fixes
|
|
2220
|
+
|
|
2221
|
+
- Updated the Gemfile to use `https://rubygems.org` as the source.
|
|
2222
|
+
- Clarified the `-C` option in the `ssh-tunnel` usage text to specify valid values.
|
|
2223
|
+
|
|
2224
|
+
### Build & CI
|
|
2225
|
+
|
|
2226
|
+
- Loosened the `tins` dependency version constraint from `~>0.5.3` to `~>0.5`.
|
|
2227
|
+
|
|
2228
|
+
## 2012-12-14 v0.0.69
|
|
2229
|
+
|
|
2230
|
+
### Fixes
|
|
2231
|
+
- In `Utils::make_dirs`, replaced `FileUtils.mkdir` with
|
|
2232
|
+
`FileUtils.mkdir_p` to ensure all intermediate directories are
|
|
2233
|
+
created when a file path contains multiple levels.
|
|
2234
|
+
|
|
2235
|
+
## 2012-12-14 v0.0.68
|
|
2236
|
+
|
|
2237
|
+
### Features
|
|
2238
|
+
- Added `mkdir` functionality.
|
|
2239
|
+
|
|
2240
|
+
### Improvements
|
|
2241
|
+
- Removed the bundled Vim configuration, which has been moved to a separate repository.
|
|
2242
|
+
|
|
2243
|
+
## 2012-12-05 v0.0.67
|
|
2244
|
+
|
|
2245
|
+
### Fixes
|
|
2246
|
+
- Changed `irb_load` to `load` within the `Utils` module to
|
|
2247
|
+
correctly handle file loading in the IRB context.
|
|
2248
|
+
|
|
2249
|
+
## 2012-12-05 v0.0.66
|
|
2250
|
+
|
|
2251
|
+
### Features
|
|
2252
|
+
|
|
2253
|
+
- Added `irb_server` and `irb_connect` methods to `Utils::IRB`.
|
|
2254
|
+
- Added a new executable, `irb_connect`, for connecting to remote IRB
|
|
2255
|
+
sessions.
|
|
2256
|
+
|
|
2257
|
+
### Fixes
|
|
2258
|
+
|
|
2259
|
+
- Updated the condition for including `Utils::IRB::Relation` to check if
|
|
2260
|
+
`examine` is defined on `ActiveRecord::Relation`, preventing potential
|
|
2261
|
+
method conflicts.
|
|
2262
|
+
|
|
2263
|
+
### Improvements
|
|
2264
|
+
|
|
2265
|
+
- Improved job status messages in `probe` to use `inspect` for better
|
|
2266
|
+
readability and added a confirmation message after job execution.
|
|
2267
|
+
- Changed the require statement for `DRb` from `drb/drb` to `drb` in
|
|
2268
|
+
`probe` and `lib/utils/irb.rb` for consistency.
|
|
2269
|
+
|
|
2270
|
+
## 2012-11-29 v0.0.65
|
|
2271
|
+
|
|
2272
|
+
### Fixes
|
|
2273
|
+
- Renamed the `loop` method to `work_loop` to avoid
|
|
2274
|
+
overriding the Kernel method and causing an infinite
|
|
2275
|
+
recursion.
|
|
2276
|
+
- Corrected the `exec` call in `run_job` to use
|
|
2277
|
+
`cmd(job)` directly, ensuring the command array is
|
|
2278
|
+
executed properly without passing the script name
|
|
2279
|
+
redundantly.
|
|
2280
|
+
- Introduced `Thread.abort_on_exception` configuration
|
|
2281
|
+
based on the `$DEBUG` flag to improve error handling.
|
|
2282
|
+
|
|
2283
|
+
### Improvements
|
|
2284
|
+
- Added the `output_message` helper method to standardize
|
|
2285
|
+
job status logging and ensure immediate `STDOUT`
|
|
2286
|
+
flushing.
|
|
2287
|
+
- Renamed `enqueue` as an alias for `run` to clarify the
|
|
2288
|
+
intent of job submission while maintaining backward
|
|
2289
|
+
compatibility.
|
|
2290
|
+
- Refactored `cmd` to centralize command construction
|
|
2291
|
+
logic for job execution.
|
|
2292
|
+
|
|
2293
|
+
## 2012-11-29 v0.0.64
|
|
2294
|
+
|
|
2295
|
+
### Features
|
|
2296
|
+
|
|
2297
|
+
- Implemented a job queue in `ProbeServer` that processes incoming jobs
|
|
2298
|
+
sequentially on a dedicated background thread.
|
|
2299
|
+
- Added support for multiple concurrent `run` invocations by enqueueing
|
|
2300
|
+
jobs before executing them via `fork` and `Process.wait`.
|
|
2301
|
+
|
|
2302
|
+
## 2012-11-29 v0.0.63
|
|
2303
|
+
|
|
2304
|
+
### Fixes
|
|
2305
|
+
- Add `exit` after `DRbObject#run` in `bin/probe` to prevent
|
|
2306
|
+
subsequent local test execution.
|
|
2307
|
+
|
|
2308
|
+
## 2012-11-29 v0.0.62
|
|
2309
|
+
|
|
2310
|
+
### Features
|
|
2311
|
+
- Added client-server support to `probe` using `DRb`, allowing
|
|
2312
|
+
remote execution of test processes via new `-l` and `-c` options.
|
|
2313
|
+
|
|
2314
|
+
## 2012-11-22 v0.0.61
|
|
2315
|
+
|
|
2316
|
+
### Fixes
|
|
2317
|
+
- `sshscreen`: Fixed tunnel configuration logic so that `lport` defaults
|
|
2318
|
+
to `tport` when `-l` is not specified.
|
|
2319
|
+
- `sshscreen`: Replaced `File.exist?` checks before `rm_f` calls to
|
|
2320
|
+
improve robustness.
|
|
2321
|
+
- `sshscreen`: Updated usage help text to clarify `-t` and `-l` option
|
|
2322
|
+
semantics.
|
|
2323
|
+
- `Utils::Editor`: Fixed string parsing logic to prioritize existing
|
|
2324
|
+
file paths over class-method patterns in the `to_str` method.
|
|
2325
|
+
|
|
2326
|
+
### Improvements
|
|
2327
|
+
- `sshscreen`: Reformatted usage output for better alignment and
|
|
2328
|
+
readability.
|
|
2329
|
+
- `sshscreen`: Simplified variable assignment for `tunnel` and `tport`
|
|
2330
|
+
initialization.
|
|
2331
|
+
|
|
2332
|
+
### Documentation
|
|
2333
|
+
- Added `lib/utils/config/vim/doc/xml-plugin.txt` to provide help
|
|
2334
|
+
documentation for the XML/SGML filetype plugin.
|
|
2335
|
+
|
|
2336
|
+
### Build & CI
|
|
2337
|
+
- Updated `utils.gemspec` to include the new `xml-plugin.txt`
|
|
2338
|
+
documentation file and refresh the file list.
|
|
2339
|
+
- Removed the empty `s:ExtractConcern` function from the `rails.vim`
|
|
2340
|
+
plugin.
|
|
2341
|
+
- Removed a `Decho` debug statement from the `rails.vim` plugin.
|
|
2342
|
+
|
|
2343
|
+
## 2012-10-19 v0.0.60
|
|
2344
|
+
|
|
2345
|
+
### Features
|
|
2346
|
+
- Added `%f` placeholder support in `bin/on_change` commands to
|
|
2347
|
+
dynamically insert the monitored filename.
|
|
2348
|
+
|
|
2349
|
+
### Fixes
|
|
2350
|
+
- Duplicated `ARGV` in `bin/on_change` to prevent unintended mutation
|
|
2351
|
+
of the original arguments array.
|
|
2352
|
+
- Disabled `inccsearch` in the Vim configuration.
|
|
2353
|
+
- Removed the `-i` flag from `grep` calls in `Cgrep` to enforce
|
|
2354
|
+
case-sensitive searches.
|
|
2355
|
+
- Restored `incsearch` behavior via `noincsearch` setting.
|
|
2356
|
+
|
|
2357
|
+
### Improvements
|
|
2358
|
+
- Added key mappings for `<leader>f` to copy the current file path
|
|
2359
|
+
to the system clipboard using `pbcopy`.
|
|
2360
|
+
- Added key mapping for `<leader>n` to open the file under the cursor
|
|
2361
|
+
in a new buffer.
|
|
2362
|
+
|
|
2363
|
+
## 2012-10-17 v0.0.59
|
|
2364
|
+
|
|
2365
|
+
## 2012-10-17 v0.0.58
|
|
2366
|
+
|
|
2367
|
+
### Features
|
|
2368
|
+
- Added the `on_change` executable to monitor a file for changes and
|
|
2369
|
+
execute a specified command in response.
|
|
2370
|
+
- Integrated the `ctrlp` plugin to provide fuzzy file, buffer, and
|
|
2371
|
+
tag finding capabilities.
|
|
2372
|
+
- Updated the `rails.vim` plugin to version **1.4.0** or later,
|
|
2373
|
+
introducing support for Rails 3.1 features, syntax improvements, and
|
|
2374
|
+
new navigation mappings.
|
|
2375
|
+
|
|
2376
|
+
### Improvements
|
|
2377
|
+
- Updated the `tins` dependency requirement from `~>0.5` to `~>0.6` in
|
|
2378
|
+
the Rakefile and gemspec.
|
|
2379
|
+
- Refactored the `probe` utility to extract command lookup logic into
|
|
2380
|
+
the `find_cmd` method, simplifying test framework detection.
|
|
2381
|
+
- Updated the `cecutil` Vim plugin to version **18b**, improving
|
|
2382
|
+
window position saving and restoring with local option handling.
|
|
2383
|
+
- Modified the `rails.vim` plugin to remove deprecation warnings for
|
|
2384
|
+
navigation commands and update syntax highlighting groups.
|
|
2385
|
+
- Added documentation files for the `Decho` and `ctrlp` Vim plugins.
|
|
2386
|
+
- Adjusted the `rails.vim` plugin to detect Rails projects more
|
|
2387
|
+
accurately by ignoring non-standard directories during root path
|
|
2388
|
+
resolution.
|
|
2389
|
+
|
|
2390
|
+
### Fixes
|
|
2391
|
+
- Fixed a bug in the `Csymbolhash` Vim function where the regular
|
|
2392
|
+
expression did not properly exclude the `=` character in symbol
|
|
2393
|
+
detection.
|
|
2394
|
+
- Resolved an issue in the Ruby syntax highlighting where symbols in
|
|
2395
|
+
hash literals (e.g., `{ foo: true }`) were incorrectly matching
|
|
2396
|
+
constant names.
|
|
2397
|
+
- Fixed a conflict between sourcing the Vim configuration and the
|
|
2398
|
+
`bufexplorer` plugin by replacing `command` definitions with
|
|
2399
|
+
`command!` and enabling incremental search.
|
|
2400
|
+
- Removed the use of `resolve()` in the `rails.vim` buffer name
|
|
2401
|
+
resolution to prevent issues with symbolic links.
|
|
2402
|
+
|
|
2403
|
+
### Build & CI
|
|
2404
|
+
- Added `on_change` to the list of executables in the gemspec.
|
|
2405
|
+
- Included new `ctrlp` and updated `rails.vim` files in the gemspec
|
|
2406
|
+
file list.
|
|
2407
|
+
|
|
2408
|
+
## 2012-10-02 v0.0.57
|
|
2409
|
+
|
|
2410
|
+
### Improvements
|
|
2411
|
+
- Loosened the `tins` dependency to allow for broader version
|
|
2412
|
+
compatibility.
|
|
2413
|
+
|
|
2414
|
+
## 2012-09-28 v0.0.56
|
|
2415
|
+
|
|
2416
|
+
### Features
|
|
2417
|
+
- Added a `-v` verbose flag to `discover` and `search` to display
|
|
2418
|
+
diagnostic information during file traversal.
|
|
2419
|
+
- Implemented `Csymbolhash` function and `Symbolhash` command to
|
|
2420
|
+
convert `key: 'value'` to `key: value` format in Vim.
|
|
2421
|
+
- Upgraded the bundled Vim plugin `fugitive` to version **1.2**.
|
|
2422
|
+
|
|
2423
|
+
### Improvements
|
|
2424
|
+
- Refactored `Utils::Finder` and `Utils::Grepper` to use the verbose
|
|
2425
|
+
argument instead of the global `$DEBUG` flag for status output.
|
|
2426
|
+
- Updated Vim configuration to use `execute` for better portability
|
|
2427
|
+
and modernized Vim command definitions.
|
|
2428
|
+
- Added `Gwq` and `Gvdiff` commands and improved diff handling in
|
|
2429
|
+
`fugitive` for merge conflicts.
|
|
2430
|
+
- Added `fugitive.txt` documentation file for the Vim plugin.
|
|
2431
|
+
|
|
2432
|
+
## 2012-09-24 v0.0.55
|
|
2433
|
+
|
|
2434
|
+
### Features
|
|
2435
|
+
- Added a new `create_tags` executable script that generates `ctags` tags
|
|
2436
|
+
for Ruby and C source code.
|
|
2437
|
+
- Added a `-v` verbose flag to the `discover` and `search` commands to
|
|
2438
|
+
output debugging information to `STDERR`.
|
|
2439
|
+
|
|
2440
|
+
### Improvements
|
|
2441
|
+
- Modified configuration loading to support a series of default config file
|
|
2442
|
+
paths (`/etc/utilsrc`, `~/.utilsrc`, `./.utilsrc`).
|
|
2443
|
+
- Changed verbose debugging output in `Utils::Finder` and `Utils::Grepper` to
|
|
2444
|
+
be controlled by the `-v` command line argument instead of the `$DEBUG`
|
|
2445
|
+
global variable.
|
|
2446
|
+
- Updated `Utils::Irb::MethodWrapper` to display the method owner in the
|
|
2447
|
+
description and added support for `arity`, `source_location`, and
|
|
2448
|
+
`Comparable` behavior.
|
|
2449
|
+
- Fixed a bug in `Utils::Irb::WrapperBase` where `to_str` returned the name
|
|
2450
|
+
instead of the description.
|
|
2451
|
+
- Updated the `Ccreatetags` Vim function to execute the new `create_tags`
|
|
2452
|
+
script.
|
|
2453
|
+
- Updated regular expressions in `Utils::Config::ConfigFile` to use `\z`
|
|
2454
|
+
instead of `\Z` for end-of-string anchors.
|
|
2455
|
+
|
|
2456
|
+
### Build & CI
|
|
2457
|
+
- Added `create_tags` to the executable list and files list in the gemspec.
|
|
2458
|
+
- Updated the gemspec file list to include new Vim configuration files.
|
|
2459
|
+
|
|
2460
|
+
## 2012-08-28 v0.0.54
|
|
2461
|
+
|
|
2462
|
+
### Features
|
|
2463
|
+
- Added Vim plugin support for CoffeeScript, including syntax
|
|
2464
|
+
highlighting, indentation, and a compiler.
|
|
2465
|
+
- Added Vim syntax highlighting and filetype detection for the Eco
|
|
2466
|
+
templating language.
|
|
2467
|
+
- Added Vim syntax highlighting for CoffeeScript within Haml and
|
|
2468
|
+
HTML templates.
|
|
2469
|
+
- Added documentation for the CoffeeScript Vim plugin.
|
|
2470
|
+
|
|
2471
|
+
## 2012-08-27 v0.0.53
|
|
2472
|
+
|
|
2473
|
+
### Features
|
|
2474
|
+
- Support for shortcut syntax `ClassName#method_name` or `ClassName.method_name` when using `edit`, which now resolves to the correct source location using `deep_const_get`.
|
|
2475
|
+
|
|
2476
|
+
### Improvements
|
|
2477
|
+
- Improved `FILE_LINENUMBER_REGEXP` by anchoring it to the start of the string (`\A`).
|
|
2478
|
+
|
|
2479
|
+
### Build & CI
|
|
2480
|
+
- Update `tins` dependency to `~>0.5.3` to support `Tins::DeepConstGet`.
|
|
2481
|
+
|
|
2482
|
+
## 2012-08-10 v0.0.52
|
|
2483
|
+
|
|
2484
|
+
### Features
|
|
2485
|
+
- Added Vim configuration for the Slim template language, including
|
|
2486
|
+
`ftdetect`, `indent`, and `syntax` files.
|
|
2487
|
+
|
|
2488
|
+
## 2012-08-09 v0.0.51
|
|
2489
|
+
|
|
2490
|
+
### Build & CI
|
|
2491
|
+
- Added `.gitignore` to the gemspec `s.files` list.
|
|
2492
|
+
|
|
2493
|
+
## 2012-08-09 v0.0.50
|
|
2494
|
+
|
|
2495
|
+
### Features
|
|
2496
|
+
- Add `Createtags` command to `vimrc` to generate Ctags
|
|
2497
|
+
for Ruby and C files using `ctags` and `bundle list --paths`.
|
|
2498
|
+
|
|
2499
|
+
### Fixes
|
|
2500
|
+
- Update `probe` to resolve `rspec` or `spec` paths via
|
|
2501
|
+
`which` and execute them with `ruby` for compatibility with
|
|
2502
|
+
older Ruby versions and RSpec installations.
|
|
2503
|
+
- Update `probe` to resolve `testrb` via `which` and execute it
|
|
2504
|
+
with `ruby` to ensure compatibility with older environments.
|
|
2505
|
+
- Correct `strip_spaces` to pass the `:suffix` option as a hash
|
|
2506
|
+
within the array to `find` for compatibility with older
|
|
2507
|
+
Ruby versions.
|
|
2508
|
+
|
|
2509
|
+
## 2012-07-12 v0.0.49
|
|
2510
|
+
|
|
2511
|
+
### Breaking
|
|
2512
|
+
- Removed `Utils::Find` module and deleted `lib/utils/find.rb` in favor of the
|
|
2513
|
+
external `Tins::Find` dependency.
|
|
2514
|
+
- Renamed the `pathes` attribute to `paths` in `Utils::Finder` and
|
|
2515
|
+
`Utils::Grepper`.
|
|
2516
|
+
|
|
2517
|
+
### Improvements
|
|
2518
|
+
- Standardized directory traversal across `bin/` utilities to use
|
|
2519
|
+
`Tins::Find.find`.
|
|
2520
|
+
- Updated `tins` dependency to `~>0.5.0` in the Rakefile and gemspec.
|
|
2521
|
+
- Refactored `bin/strip_spaces` and `bin/same_files` to rely on `Tins::Find`
|
|
2522
|
+
instead of local utilities.
|
|
2523
|
+
- Improved robustness in `Utils::Finder` and `Utils::Grepper` by checking
|
|
2524
|
+
for `nil` stats before accessing file attributes.
|
|
2525
|
+
- Removed redundant `rescue SystemCallError` blocks in `Utils::Finder` and
|
|
2526
|
+
`Utils::Grepper`.
|
|
2527
|
+
- Corrected documentation typos, changing "pathes" to "paths" in usage
|
|
2528
|
+
messages.
|
|
2529
|
+
|
|
2530
|
+
### Build & CI
|
|
2531
|
+
- Updated the `utils.gemspec` file list to remove references to the deleted
|
|
2532
|
+
`lib/utils/find.rb`.
|
|
2533
|
+
- Bumped the gem version to **0.0.49**.
|
|
2534
|
+
|
|
2535
|
+
## 2012-07-05 v0.0.48
|
|
2536
|
+
|
|
2537
|
+
### Fixes
|
|
2538
|
+
- Prevent an infinite retry loop in the file-finding
|
|
2539
|
+
utility when the `Errno::EMFILE` error occurs a
|
|
2540
|
+
second time.
|
|
2541
|
+
|
|
2542
|
+
## 2012-07-05 v0.0.47
|
|
2543
|
+
|
|
2544
|
+
### Fixes
|
|
2545
|
+
- Fix `Errno::EMFILE` errors by consolidating file
|
|
2546
|
+
handling logic into `Finder#open_file`.
|
|
2547
|
+
- Ensure `Finder#open_file` retries opening files after
|
|
2548
|
+
closing existing handles if the system limit is reached.
|
|
2549
|
+
- Remove redundant `EMFILE` retry logic from `File#file`
|
|
2550
|
+
and `Dir.entries` blocks.
|
|
2551
|
+
- Add `Finder#current_open_files` method to track active
|
|
2552
|
+
file handles.
|
|
2553
|
+
|
|
2554
|
+
### Improvements
|
|
2555
|
+
- Move file opening and retry logic from `File#file` to
|
|
2556
|
+
`Finder#open_file` for better encapsulation.
|
|
2557
|
+
|
|
2558
|
+
## 2012-06-05 v0.0.46
|
|
2559
|
+
|
|
2560
|
+
### Improvements
|
|
2561
|
+
- Fixed a typo in the local variable `array_singletion_class` by
|
|
2562
|
+
renaming it to `array_singleton_class`.
|
|
2563
|
+
- Avoided relying on the `Object#singleton_class` method by
|
|
2564
|
+
explicitly assigning the singleton class to a local variable.
|
|
2565
|
+
|
|
2566
|
+
### Build & CI
|
|
2567
|
+
- Relaxed the runtime dependency on the `tins` gem by removing the
|
|
2568
|
+
specific version constraint.
|
|
2569
|
+
|
|
2570
|
+
## 2012-04-27 v0.0.45
|
|
2571
|
+
|
|
2572
|
+
### Build & CI
|
|
2573
|
+
- Updated the `tins` dependency requirement to **~>0.3.14**.
|
|
2574
|
+
- Updated the `rubygems_version` in the gemspec to **1.8.23**.
|
|
2575
|
+
|
|
2576
|
+
## 2012-04-27 v0.0.44
|
|
2577
|
+
|
|
2578
|
+
### Fixes
|
|
2579
|
+
- Fixed argument unpacking for `find` in `Utils::Finder` and
|
|
2580
|
+
`Utils::Grepper` by concatenating roots and options arrays
|
|
2581
|
+
before splatting, ensuring correct method invocation.
|
|
2582
|
+
|
|
2583
|
+
## 2012-04-25 v0.0.43
|
|
2584
|
+
|
|
2585
|
+
### Build & CI
|
|
2586
|
+
- Updated the minimum `tins` dependency version to `~> 0.3.13`.
|
|
2587
|
+
|
|
2588
|
+
## 2012-04-25 v0.0.42
|
|
2589
|
+
|
|
2590
|
+
### Fixes
|
|
2591
|
+
- Changed the `find` invocation in `Utils::Finder#search`
|
|
2592
|
+
and `Utils::Grepper#search` to use array splat syntax to
|
|
2593
|
+
ensure correct argument passing, resolving a `NoMethodError`
|
|
2594
|
+
on Ruby 1.8.
|
|
2595
|
+
|
|
2596
|
+
### Improvements
|
|
2597
|
+
- Added a fallback to the console editor when `TERM` is not
|
|
2598
|
+
`xterm` by wrapping GUI-specific remote editing commands in
|
|
2599
|
+
`Utils::Editor` with a `gui` check.
|
|
2600
|
+
|
|
2601
|
+
## 2012-04-20 v0.0.41
|
|
2602
|
+
|
|
2603
|
+
### Features
|
|
2604
|
+
- Add support for the `:suffix` option to `find` calls in
|
|
2605
|
+
`Utils::Finder` and `Utils::Grepper` to filter files by
|
|
2606
|
+
extension during search.
|
|
2607
|
+
- Update `strip_spaces` to accept and pass a list of suffixes via
|
|
2608
|
+
the `-I` option for file filtering.
|
|
2609
|
+
|
|
2610
|
+
### Fixes
|
|
2611
|
+
- Correct file handling in `Utils::Find` to explicitly open files in
|
|
2612
|
+
binary read mode (`'rb'`) during reopening and initialization.
|
|
2613
|
+
- Ensure `probe` correctly processes file arguments by extracting
|
|
2614
|
+
line numbers before passing them to the command runner.
|
|
2615
|
+
|
|
2616
|
+
### Improvements
|
|
2617
|
+
- Refactor code in `Utils::Finder` and `Utils::Grepper` to use
|
|
2618
|
+
hash rocket syntax for keyword arguments to improve Ruby 1.8.x
|
|
2619
|
+
compatibility.
|
|
2620
|
+
|
|
2621
|
+
## 2012-04-16 v0.0.40
|
|
2622
|
+
|
|
2623
|
+
### Features
|
|
2624
|
+
- Added `-f` option to `search` to list file paths without
|
|
2625
|
+
displaying matches.
|
|
2626
|
+
- Implemented `Utils::Finder::PathExtension#suffix` to
|
|
2627
|
+
retrieve the file extension.
|
|
2628
|
+
- Refactored `Utils::Find` to use a new
|
|
2629
|
+
`Utils::Find::ConfigurableFinder` class for file traversal.
|
|
2630
|
+
- Moved IRB shell enhancements to `lib/utils/irb.rb` and
|
|
2631
|
+
required them from `lib/utils/config/irbrc`.
|
|
2632
|
+
- Added `Utils::FileXt::Concern` to the `Utils::FileXt`
|
|
2633
|
+
module.
|
|
2634
|
+
- Updated `Utils::Editor#source_location` to return an array
|
|
2635
|
+
with `filename` and `linenumber` accessors.
|
|
2636
|
+
- Supported multiple suffixes for `search` and `discover` by
|
|
2637
|
+
splitting the `-I` argument on spaces and commas.
|
|
2638
|
+
- Added Vim abbreviations `I_CLASS`, `I_MODULE`, and
|
|
2639
|
+
`I_ENCODE` to the default Vim configuration.
|
|
2640
|
+
|
|
2641
|
+
### Fixes
|
|
2642
|
+
- Updated `chroot-libs` to copy the executable itself into
|
|
2643
|
+
the target directory.
|
|
2644
|
+
- Resolved an issue in `Utils::Editor#vim` where the correct
|
|
2645
|
+
Vim binary in the PATH was not always identified.
|
|
2646
|
+
- Adjusted `probe` to accept multiple file arguments and use
|
|
2647
|
+
`system` instead of `exec` for test execution.
|
|
2648
|
+
- Ensured `Utils::Grepper` and `Utils::Finder` use
|
|
2649
|
+
`Utils::Find` methods directly for pruning and finding.
|
|
2650
|
+
- Updated `search` to convert Ruby regular expressions to
|
|
2651
|
+
Vim-flavored patterns for remote editing.
|
|
2652
|
+
- Improved error messaging in `Utils::Config::ConfigFile` to
|
|
2653
|
+
include exception class and message.
|
|
2654
|
+
- Updated `Utils::Config::ConfigFile#prune?` and `#skip?` to
|
|
2655
|
+
cast the basename to a string before matching.
|
|
2656
|
+
|
|
2657
|
+
### Improvements
|
|
2658
|
+
- Updated `Utils::Grepper` to handle file paths using the new
|
|
2659
|
+
`suffix` method.
|
|
2660
|
+
- Changed `Utils::Finder` and `Utils::Grepper` to use
|
|
2661
|
+
`path.stat` and `path.lstat` from the `PathExtension`.
|
|
2662
|
+
- Updated `Utils::IRB::Shell#irb_wrap_methods` to handle
|
|
2663
|
+
exceptions during method wrapping.
|
|
2664
|
+
- Updated `Utils::IRB::Shell#irb_info` to rescue `TypeError`
|
|
2665
|
+
when allocating objects.
|
|
2666
|
+
- Updated `Utils::IRB::Shell#irb_write` to use
|
|
2667
|
+
`File.secure_write`.
|
|
2668
|
+
- Updated `Utils::IRB::String#>>` to use `File.secure_write`.
|
|
2669
|
+
- Updated `Utils::IRB::Shell#irb_edit` to use
|
|
2670
|
+
`$editor.full?`.
|
|
2671
|
+
- Added `require 'tins/xt'` to `lib/utils/irb.rb`.
|
|
2672
|
+
- Updated `probe` usage message to reflect multiple file
|
|
2673
|
+
support.
|
|
2674
|
+
- Added `set t_Co=256` to the default Vim configuration.
|
|
2675
|
+
- Updated `ExtraWhitespace` highlight color in Vim
|
|
2676
|
+
configuration.
|
|
2677
|
+
- Removed trailing spaces from Vim abbreviations in
|
|
2678
|
+
`rails.vim`.
|
|
2679
|
+
|
|
2680
|
+
### Build & CI
|
|
2681
|
+
- Updated dependency `dslkit` to require **~>0.2.10**.
|
|
2682
|
+
- Updated dependency `tins` to require **~>0.3.12**.
|
|
2683
|
+
|
|
2684
|
+
### Documentation
|
|
2685
|
+
- Updated the `TODO` list with new items and removed
|
|
2686
|
+
completed tasks.
|
|
2687
|
+
|
|
2688
|
+
## 2012-03-01 v0.0.38
|
|
2689
|
+
|
|
2690
|
+
### Features
|
|
2691
|
+
- Added support for opening files in new vim servers via the `-S` flag and
|
|
2692
|
+
the `VIM_SERVER` environment variable.
|
|
2693
|
+
- Added the `slim` view type to the `rails.vim` plugin.
|
|
2694
|
+
- Added support for hash rocket syntax in `rails.vim` route and render
|
|
2695
|
+
detection.
|
|
2696
|
+
- Added schema file navigation and completion in the `rails.vim` plugin.
|
|
2697
|
+
|
|
2698
|
+
### Fixes
|
|
2699
|
+
- Updated `expand_globs` in `Utils::Editor` to handle opening new files
|
|
2700
|
+
that do not yet exist on disk.
|
|
2701
|
+
- Updated `edit_source_location` in `Utils::Editor` to remove the file
|
|
2702
|
+
existence check, allowing new files to be opened.
|
|
2703
|
+
- Added `~/Applications` to the list of search paths for MacVim on macOS.
|
|
2704
|
+
|
|
2705
|
+
### Improvements
|
|
2706
|
+
- Updated `rails.vim` plugin to version **4.4**.
|
|
2707
|
+
- Removed deprecated `Rfind` and related commands from `rails.vim`.
|
|
2708
|
+
- Removed statusline integration from `rails.vim`.
|
|
2709
|
+
- Added `bundle exec rake` support in `rails.vim` when `bundler_root` is
|
|
2710
|
+
defined.
|
|
2711
|
+
- Added `exctags` support in `rails.vim`.
|
|
2712
|
+
- Added SCSS and Sass syntax highlighting in `rails.vim`.
|
|
2713
|
+
- Updated `rails.vim` to use `resolve` for buffer file paths.
|
|
2714
|
+
- Added support for `app/assets` paths in `rails.vim` style and javascript
|
|
2715
|
+
detection.
|
|
2716
|
+
- Added `rename_index` support in `rails.vim` migration inversion.
|
|
2717
|
+
- Added `attr_readonly` to `rails.vim` syntax highlighting.
|
|
2718
|
+
- Added `oracle` adapter support in `rails.vim` dbext settings.
|
|
2719
|
+
|
|
2720
|
+
### Build & CI
|
|
2721
|
+
- Sorted executables and extra_rdoc_files in the gemspec.
|
|
2722
|
+
|
|
2723
|
+
## 2012-02-14 v0.0.37
|
|
2724
|
+
|
|
2725
|
+
### Fixes
|
|
2726
|
+
- Guard `colorcolumn` assignment in `vimrc` with an
|
|
2727
|
+
`exists` check to support older Vim versions.
|
|
2728
|
+
|
|
2729
|
+
## 2012-02-11 v0.0.36
|
|
2730
|
+
|
|
2731
|
+
### Fixes
|
|
2732
|
+
- Only use the GUI editor if a GUI is available
|
|
2733
|
+
and waiting is required.
|
|
2734
|
+
|
|
2735
|
+
## 2012-02-11 v0.0.35
|
|
2736
|
+
|
|
2737
|
+
## 2012-02-11 v0.0.34
|
|
2738
|
+
|
|
2739
|
+
### Features
|
|
2740
|
+
- Implement a general `source_location` for `Utils::Editor` to support
|
|
2741
|
+
`file:line` and `method(:foo)` objects in the `edit` command.
|
|
2742
|
+
- Add a `-h` option to `strip_spaces` to display usage information.
|
|
2743
|
+
|
|
2744
|
+
### Fixes
|
|
2745
|
+
- Guard the `pry-editline` require in `irbrc` to prevent crashing with
|
|
2746
|
+
Ruby Enterprise Edition.
|
|
2747
|
+
|
|
2748
|
+
## 2012-02-10 v0.0.33
|
|
2749
|
+
|
|
2750
|
+
### Improvements
|
|
2751
|
+
- Added terminal color support to the `flori` colorscheme by including `cterm` and
|
|
2752
|
+
`ctermbg` attributes and removing the GUI-only `background` setting.
|
|
2753
|
+
- Moved the `flori` colorscheme configuration in the `vimrc` so it applies to
|
|
2754
|
+
both GUI and terminal environments.
|
|
2755
|
+
- Added `.AppleDouble` to the `.gitignore` and `Rakefile` ignore patterns to
|
|
2756
|
+
exclude macOS metadata files from version control and packaging.
|
|
2757
|
+
|
|
2758
|
+
### Fixes
|
|
2759
|
+
- Prevented the `edit` method in `lib/utils/editor.rb` from expanding
|
|
2760
|
+
`file:linenumber` strings when searching for files, ensuring they are passed
|
|
2761
|
+
directly to the editor.
|
|
2762
|
+
|
|
2763
|
+
## 2012-02-09 v0.0.32
|
|
2764
|
+
|
|
2765
|
+
### Features
|
|
2766
|
+
|
|
2767
|
+
- Added support for `pry-editline` to enhance IRB input handling and added
|
|
2768
|
+
a new `rvmrc` configuration file for RVM defaults.
|
|
2769
|
+
- Renamed `irb_load_each` to `irb_load!` and improved its logic to skip
|
|
2770
|
+
already-loaded files using MD5 checksums.
|
|
2771
|
+
- Added a `gui` method to `Utils::Editor` to conditionally enable the GUI
|
|
2772
|
+
flag based on the `TERM` environment variable.
|
|
2773
|
+
- Implemented support for Unicode key mappings in Vim for Alt-based
|
|
2774
|
+
navigation commands.
|
|
2775
|
+
- Added `colorcolumn` and `tildeop` settings to the Vim configuration and
|
|
2776
|
+
enabled the `darkblue` colorscheme for non-GUI terminals.
|
|
2777
|
+
|
|
2778
|
+
### Improvements
|
|
2779
|
+
|
|
2780
|
+
- Updated `Utils::Editor` to use `vim` instead of `gvim` on macOS systems
|
|
2781
|
+
where the application is not installed, and to compact command arguments
|
|
2782
|
+
to handle `nil` values gracefully.
|
|
2783
|
+
- Modified `Utils::Editor#edit` to expand filename globs before processing.
|
|
2784
|
+
- Reorganized `module_function` placement within `Utils::MD5` for clarity.
|
|
2785
|
+
- Removed redundant `set hlsearch` command from the `Cfind` Vim function as
|
|
2786
|
+
the setting is now applied globally.
|
|
2787
|
+
|
|
2788
|
+
### Build & CI
|
|
2789
|
+
|
|
2790
|
+
- Added `pry-editline` as a runtime dependency in the gemspec and Rakefile.
|
|
2791
|
+
- Updated the `gem_hadar` development dependency to version **~> 0.1.4**.
|
|
2792
|
+
|
|
2793
|
+
## 2011-12-19 v0.0.31
|
|
2794
|
+
|
|
2795
|
+
### Features
|
|
2796
|
+
- Added a `classify` command option to toggle between camelcase and
|
|
2797
|
+
underscore naming conventions.
|
|
2798
|
+
- Added a Vim leader command to invoke the new name toggle functionality.
|
|
2799
|
+
|
|
2800
|
+
### Improvements
|
|
2801
|
+
- Reworked `classify` command logic to support new options and better
|
|
2802
|
+
handle naming conversions.
|
|
2803
|
+
- Refactored Vim window and buffer switching shortcuts from `Ctrl` to
|
|
2804
|
+
`Alt` combinations.
|
|
2805
|
+
- Updated Vim command-line navigation key mappings to use lowercase
|
|
2806
|
+
control keys.
|
|
2807
|
+
- Modified `Cdeclassify` to utilize the updated `classify` command
|
|
2808
|
+
syntax.
|
|
2809
|
+
- Bumped `gem_hadar` development dependency to **0.1.4**.
|
|
2810
|
+
|
|
2811
|
+
## 2011-12-18 v0.0.30
|
|
2812
|
+
|
|
2813
|
+
### Fixes
|
|
2814
|
+
- Changed the `FileTest` call in `bin/strip_spaces` to correctly
|
|
2815
|
+
test the `s` object instead of the `filename` variable.
|
|
2816
|
+
|
|
2817
|
+
## 2011-12-18 v0.0.29
|
|
2818
|
+
|
|
2819
|
+
### Features
|
|
2820
|
+
- Add `explain` method to `ActiveRecord::Relation` to
|
|
2821
|
+
output the query plan.
|
|
2822
|
+
- Update `irb_toggle_logging` to use `ActiveRecord::Base.logger`
|
|
2823
|
+
for toggling.
|
|
2824
|
+
|
|
2825
|
+
### Fixes
|
|
2826
|
+
- Ensure `strip_spaces` only processes regular files.
|
|
2827
|
+
|
|
2828
|
+
### Improvements
|
|
2829
|
+
- Reorder `executables` and `extra_rdoc_files` in `utils.gemspec`.
|
|
2830
|
+
|
|
2831
|
+
### Build & CI
|
|
2832
|
+
- Relax `gem_hadar` development dependency to **0.1.1**.
|
|
2833
|
+
|
|
2834
|
+
## 2011-12-09 v0.0.28
|
|
2835
|
+
|
|
2836
|
+
### Fixes
|
|
2837
|
+
- `strip_spaces` now skips symbolic links to prevent processing
|
|
2838
|
+
errors.
|
|
2839
|
+
- `utils-install-config` uses the fully qualified
|
|
2840
|
+
`Utils::Config.install_config` to avoid name conflicts with Ruby's
|
|
2841
|
+
built-in `Config` constant.
|
|
2842
|
+
|
|
2843
|
+
## 2011-12-05 v0.0.27
|
|
2844
|
+
|
|
2845
|
+
### Fixes
|
|
2846
|
+
- Prevented `NameError` by renaming the local variable
|
|
2847
|
+
`user` to `env_user` to avoid overwriting the remote username
|
|
2848
|
+
parameter in `bin/sshscreen`.
|
|
2849
|
+
|
|
2850
|
+
## 2011-12-05 v0.0.26
|
|
2851
|
+
|
|
2852
|
+
### Features
|
|
2853
|
+
- Added a Vim mapping (`<leader>K`) to convert hash
|
|
2854
|
+
rocket syntax (`:foo => bar`) to symbol
|
|
2855
|
+
syntax (`foo: bar`) in Ruby files.
|
|
2856
|
+
- Updated the `sshscreen` command so the session name
|
|
2857
|
+
(`-n` option) defaults to the `$USER` environment
|
|
2858
|
+
variable if not specified.
|
|
2859
|
+
|
|
2860
|
+
### Fixes
|
|
2861
|
+
- Updated Vim `cnoremap` entries to use uppercase
|
|
2862
|
+
control key combinations (e.g., `<C-H>`) to prevent
|
|
2863
|
+
conflicts with digraph mode.
|
|
2864
|
+
- Disabled digraphs in the default Vim configuration to
|
|
2865
|
+
prevent interference with typing.
|
|
2866
|
+
|
|
2867
|
+
### Improvements
|
|
2868
|
+
- Added `spec/**` to the default `path` for Ruby files in
|
|
2869
|
+
Vim configuration.
|
|
2870
|
+
- Updated the `sshscreen` help text to document the new
|
|
2871
|
+
default behavior for the session name.
|
|
2872
|
+
|
|
2873
|
+
## 2011-11-07 v0.0.25
|
|
2874
|
+
|
|
2875
|
+
### Features
|
|
2876
|
+
- Add `-b` flag to `discover` to match binary files.
|
|
2877
|
+
- Add `default` command to `utils-utilsrc` to output config.
|
|
2878
|
+
- Add `binary` option to `Utils::Config::ConfigFile`.
|
|
2879
|
+
|
|
2880
|
+
### Improvements
|
|
2881
|
+
- Extract binary file check into `ascii_file?` method.
|
|
2882
|
+
- Refactor `attempt_match?` to use `ascii_file?` for file checks.
|
|
2883
|
+
- Remove `.rvmrc` from version control and Rakefile ignore list.
|
|
2884
|
+
- Update `gem_hadar` development dependency to `~>0.1.1`.
|
|
2885
|
+
|
|
2886
|
+
## 2011-10-27 v0.0.24
|
|
2887
|
+
|
|
2888
|
+
### Features
|
|
2889
|
+
- Added a new `utils-utilsrc` command to view, diff, and edit
|
|
2890
|
+
`~/.utilsrc`.
|
|
2891
|
+
- Registered the new `utils-utilsrc` script in the gemspec.
|
|
2892
|
+
|
|
2893
|
+
## 2011-10-08 v0.0.23
|
|
2894
|
+
|
|
2895
|
+
### Features
|
|
2896
|
+
- The `probe` executable now supports `rspec` in addition to `test-unit`.
|
|
2897
|
+
- A new `probe` configuration block is available in `Utils::Config::ConfigFile`, allowing customization of the test framework and include directories.
|
|
2898
|
+
- The `probe` executable accepts a new `-t` option to select the test framework.
|
|
2899
|
+
|
|
2900
|
+
### Fixes
|
|
2901
|
+
- The `irb_toggle_logging` method now correctly disables logging for Ruby 1.9+ and newer Rails versions by using `Tins::NULL`.
|
|
2902
|
+
- The `irb_toggle_logging` method is now limited to Ruby versions below 1.9.
|
|
2903
|
+
|
|
2904
|
+
### Improvements
|
|
2905
|
+
- The `vimrc` configuration now uses lowercase keys (`<C-h>`, `<C-l>`, `<C-k>`, `<C-j>`) for command-line navigation mappings.
|
|
2906
|
+
|
|
2907
|
+
## 2011-09-25 v0.0.22
|
|
2908
|
+
|
|
2909
|
+
## 2011-09-25 v0.0.21
|
|
2910
|
+
|
|
2911
|
+
### Breaking
|
|
2912
|
+
- Replaced the `spruz` gem dependency with `tins`, updating
|
|
2913
|
+
corresponding `require` statements and module references
|
|
2914
|
+
across `bin` and `lib` directories.
|
|
2915
|
+
|
|
2916
|
+
### Features
|
|
2917
|
+
- Added `enum`, a new utility for generating Cartesian products of
|
|
2918
|
+
value ranges and executing commands or printing formatted tuples.
|
|
2919
|
+
- Added `-i` option to `myex` to force the use of `INSERT IGNORE`
|
|
2920
|
+
syntax when processing `INSERT` statements.
|
|
2921
|
+
- Exposed `pattern` as a reader in `Utils::Grepper` to allow
|
|
2922
|
+
accessing the search pattern after execution.
|
|
2923
|
+
|
|
2924
|
+
### Fixes
|
|
2925
|
+
- Updated `bin/search` to use the actual search pattern from
|
|
2926
|
+
`Grepper` instead of the raw command-line argument when invoking
|
|
2927
|
+
the editor.
|
|
2928
|
+
- Configured Vimrc to check for `persistent_undo` support before
|
|
2929
|
+
setting `undofile` and related options, ensuring compatibility
|
|
2930
|
+
with Vim builds lacking this feature.
|
|
2931
|
+
|
|
2932
|
+
### Build & CI
|
|
2933
|
+
- Updated `gem_hadar` development dependency to **~> 0.1.0**.
|
|
2934
|
+
|
|
2935
|
+
## 2011-08-31 v0.0.20
|
|
2936
|
+
|
|
2937
|
+
### Fixes
|
|
2938
|
+
- In the `search` command, use `pattern.source` instead of `pattern` when
|
|
2939
|
+
sending the remote search command to the editor, ensuring regex metacharacters
|
|
2940
|
+
are handled correctly.
|
|
2941
|
+
- Fix a potential error in `Utils::Editor#edit` by checking that `filenames` is
|
|
2942
|
+
not empty before attempting to open files.
|
|
2943
|
+
|
|
2944
|
+
### Improvements
|
|
2945
|
+
- When using the `-e` option with `Utils::Grepper`, break after finding the
|
|
2946
|
+
first match in a file to limit output to a single location per file.
|
|
2947
|
+
|
|
2948
|
+
## 2011-08-29 v0.0.19
|
|
2949
|
+
|
|
2950
|
+
### Features
|
|
2951
|
+
- Added support for a user-defined configuration file (`~/.utilsrc`) to
|
|
2952
|
+
customize file searching, discovery, and trailing space stripping
|
|
2953
|
+
behavior.
|
|
2954
|
+
- Added `dslkit` dependency to enable the configuration file parser.
|
|
2955
|
+
- Integrated the new configuration file support into the `search`,
|
|
2956
|
+
`discover`, and `strip_spaces` commands.
|
|
2957
|
+
- Added a `-h` flag to `probe` to display usage information and version.
|
|
2958
|
+
- Added version information to the help output of `search`, `discover`,
|
|
2959
|
+
and `edit`.
|
|
2960
|
+
|
|
2961
|
+
### Improvements
|
|
2962
|
+
- Refactored `Finder` and `Grepper` to use `Term::ANSIColor` methods
|
|
2963
|
+
directly instead of monkey-patching the `String` class.
|
|
2964
|
+
- Updated the bundled Vim configuration to enable persistent undo and
|
|
2965
|
+
set temporary directories for swap and undo files.
|
|
2966
|
+
- Added a `TODO` file to track future development tasks.
|
|
2967
|
+
- Updated gemspec metadata formatting and dependencies.
|
|
2968
|
+
|
|
2969
|
+
### Fixes
|
|
2970
|
+
- Made the `edit` command exit cleanly when receiving an `INT` signal
|
|
2971
|
+
instead of raising an unhandled exception.
|
|
2972
|
+
|
|
2973
|
+
## 2011-08-26 v0.0.18
|
|
2974
|
+
|
|
2975
|
+
### Fixes
|
|
2976
|
+
- Correctly sort file and line number pairs when using `-L` or `-e`
|
|
2977
|
+
options in `Utils::Grepper`.
|
|
2978
|
+
|
|
2979
|
+
### Improvements
|
|
2980
|
+
- Automatically start `vim` in fullscreen mode and remove scrollbars via
|
|
2981
|
+
updated `.vimrc` configuration.
|
|
2982
|
+
- Enhance the `search` utility to automatically execute a search for the
|
|
2983
|
+
original pattern in `vim` after opening the target files.
|
|
2984
|
+
- Provide more verbose feedback for the `Cfind` and `Cgrep` vim functions
|
|
2985
|
+
by displaying the actual search arguments.
|
|
2986
|
+
|
|
2987
|
+
## 2011-08-17 v0.0.17
|
|
2988
|
+
|
|
2989
|
+
### Features
|
|
2990
|
+
- Add a `probe` command to run specific tests or all
|
|
2991
|
+
tests within a file.
|
|
2992
|
+
- Enhance the `LinesFile` class to support forward matching
|
|
2993
|
+
and improved line navigation logic.
|
|
2994
|
+
|
|
2995
|
+
### Fixes
|
|
2996
|
+
- Use `File.secure_write` instead of `File.write` to prevent
|
|
2997
|
+
permission errors when creating temporary files.
|
|
2998
|
+
- Use `File.secure_write` in the `untest` command to ensure
|
|
2999
|
+
atomic file replacements.
|
|
3000
|
+
- Modify the `probe` command to use `exec` instead of
|
|
3001
|
+
`system` to properly replace the process.
|
|
3002
|
+
- Fix `LinesFile` navigation methods to return `nil` when
|
|
3003
|
+
moving out of bounds.
|
|
3004
|
+
|
|
3005
|
+
### Improvements
|
|
3006
|
+
- Remove the local `LinesFile` implementation and use the
|
|
3007
|
+
`Spruz::LinesFile` class from the `spruz` gem.
|
|
3008
|
+
- Update `strip_spaces` to expand file paths before processing.
|
|
3009
|
+
- Enable line numbers in the default Vim configuration.
|
|
3010
|
+
|
|
3011
|
+
## 2011-08-10 v0.0.16
|
|
3012
|
+
|
|
3013
|
+
### Features
|
|
3014
|
+
- Add `LinesFile` class to handle line navigation and
|
|
3015
|
+
matching in text files.
|
|
3016
|
+
- Add `probe` script to run specific Ruby tests based on
|
|
3017
|
+
filename and line number.
|
|
3018
|
+
|
|
3019
|
+
### Fixes
|
|
3020
|
+
- Fix `strip_spaces` to resolve relative paths to absolute
|
|
3021
|
+
paths before processing.
|
|
3022
|
+
|
|
3023
|
+
### Improvements
|
|
3024
|
+
- Update Vim configuration to enable line numbering.
|
|
3025
|
+
|
|
3026
|
+
## 2011-08-08 v0.0.15
|
|
3027
|
+
|
|
3028
|
+
### Fixes
|
|
3029
|
+
- `bin/search` now calls `editor.edit` to open files correctly, replacing the previous `editor.edit_linenumber` logic that parsed paths into separate file and line components.
|
|
3030
|
+
|
|
3031
|
+
## 2011-08-08 v0.0.14
|
|
3032
|
+
|
|
3033
|
+
### Fixes
|
|
3034
|
+
- Changed `Utils::Edit::Editor` to `Utils::Editor` in `bin/discover` and
|
|
3035
|
+
`bin/search` to resolve namespace errors.
|
|
3036
|
+
|
|
3037
|
+
### Improvements
|
|
3038
|
+
- Enhanced Vim integration to provide feedback and highlighting during
|
|
3039
|
+
`Cfind` and `Cgrep` operations.
|
|
3040
|
+
- Updated `lib/utils/config/vimrc` to manage `grepformat` locally within
|
|
3041
|
+
`Cfind` and `Cgrep` functions instead of globally.
|
|
3042
|
+
|
|
3043
|
+
## 2011-08-08 v0.0.13
|
|
3044
|
+
|
|
3045
|
+
## 2011-08-08 v0.0.12
|
|
3046
|
+
|
|
3047
|
+
### Breaking
|
|
3048
|
+
- Renamed the `Editor` class from the `Utils::Edit` module to the top-level
|
|
3049
|
+
`Utils::Editor` class, moving the file from `lib/utils/edit.rb` to
|
|
3050
|
+
`lib/utils/editor.rb`.
|
|
3051
|
+
- Refactored the `Utils::Finder#search` method to yield the output to a
|
|
3052
|
+
block instead of printing directly to `STDOUT`.
|
|
3053
|
+
|
|
3054
|
+
### Features
|
|
3055
|
+
- Added `-s` option to `bin/edit` to read files and file:linenumbers from
|
|
3056
|
+
`STDIN` and open them.
|
|
3057
|
+
- Added `-h` option to `bin/edit` to display usage information.
|
|
3058
|
+
- Added a `-p DURATION` option to `bin/edit` to configure the pause duration
|
|
3059
|
+
for waiting on Vim's reaction.
|
|
3060
|
+
- Added a new `bin/foo` executable providing an RBcurses splitpane demo and
|
|
3061
|
+
file discovery integration.
|
|
3062
|
+
- Extended `bin/strip_spaces` to recursively process directories when
|
|
3063
|
+
arguments are provided or when executed without arguments, filtering for
|
|
3064
|
+
ASCII files.
|
|
3065
|
+
- Added `irb_edit` functionality to the IRB configuration using the `Editor`
|
|
3066
|
+
class directly.
|
|
3067
|
+
|
|
3068
|
+
### Fixes
|
|
3069
|
+
- Corrected line number tracking in `Utils::Grepper` to preserve
|
|
3070
|
+
`file.lineno` state when seeking forward for context lines.
|
|
3071
|
+
|
|
3072
|
+
### Improvements
|
|
3073
|
+
- Refactored `bin/edit`, `bin/search`, and `bin/discover` to utilize the
|
|
3074
|
+
shared `Utils` library classes, removing duplicated inline logic.
|
|
3075
|
+
- Updated `Utils::Finder` to support yielding search output and exposed an
|
|
3076
|
+
`output` reader attribute.
|
|
3077
|
+
- Changed match highlighting in `bin/discover` and `Utils::Finder` from
|
|
3078
|
+
bold to red text for improved visibility.
|
|
3079
|
+
- Relaxed `term-ansicolor` dependency from **1.0.5** to `~> 1.0` in the
|
|
3080
|
+
`Rakefile` and gemspec.
|
|
3081
|
+
|
|
3082
|
+
## 2011-08-01 v0.0.11
|
|
3083
|
+
|
|
3084
|
+
## 2011-08-01 v0.0.10
|
|
3085
|
+
|
|
3086
|
+
### Fixes
|
|
3087
|
+
- Sorted the `executables` and `extra_rdoc_files` lists in the
|
|
3088
|
+
`utils.gemspec`.
|
|
3089
|
+
|
|
3090
|
+
## 2011-07-31 v0.0.9
|
|
3091
|
+
|
|
3092
|
+
### Features
|
|
3093
|
+
- Add `-I SUFFIX` option to `discover` and `search` commands to
|
|
3094
|
+
filter files by suffix.
|
|
3095
|
+
|
|
3096
|
+
### Fixes
|
|
3097
|
+
- Fix `ActiveRecord::Base` logging configuration for Rails **3**.
|
|
3098
|
+
|
|
3099
|
+
### Improvements
|
|
3100
|
+
- Replace non-ASCII character in `discover` usage text.
|
|
3101
|
+
|
|
3102
|
+
## 2011-07-26 v0.0.8
|
|
3103
|
+
|
|
3104
|
+
### Features
|
|
3105
|
+
- Added a new `strip_spaces` executable that removes trailing
|
|
3106
|
+
spaces and tabs from the end of each line in files.
|
|
3107
|
+
|
|
3108
|
+
### Fixes
|
|
3109
|
+
- Corrected a bug in the Rakefile where `executables` was assigned
|
|
3110
|
+
to a local variable instead of being passed to the gem, ensuring
|
|
3111
|
+
all commands in `bin/` are correctly registered as executables.
|
|
3112
|
+
|
|
3113
|
+
### Build & CI
|
|
3114
|
+
- Updated the `gem_hadar` dependency requirement to `~> **0.0.8**`.
|
|
3115
|
+
- Updated the `.gitignore` file to exclude `.*.sw[pon]`,
|
|
3116
|
+
`Gemfile.lock`, and `pkg`.
|
|
3117
|
+
|
|
3118
|
+
## 2011-07-19 v0.0.7
|
|
3119
|
+
|
|
3120
|
+
### Fixes
|
|
3121
|
+
- Corrected the gem installation process to install all Ruby library
|
|
3122
|
+
files and executables from the `bin` directory.
|
|
3123
|
+
|
|
3124
|
+
### Improvements
|
|
3125
|
+
- Migrated the build system from `Rake::PackageTask` to `gem_hadar` for
|
|
3126
|
+
simplified gemspec generation and packaging.
|
|
3127
|
+
- Updated the development dependency on `gem_hadar` to `~> 0.0.6`.
|
|
3128
|
+
- Pinned the runtime dependency on `term-ansicolor` to version `1.0.5`.
|
|
3129
|
+
|
|
3130
|
+
### Build & CI
|
|
3131
|
+
- Added a `Gemfile` to support bundler workflows.
|
|
3132
|
+
- Added a `COPYING` file containing the GNU General Public License
|
|
3133
|
+
version 2 text.
|
|
3134
|
+
|
|
3135
|
+
### Documentation
|
|
3136
|
+
- Added a `README.rdoc` file with project description and licensing
|
|
3137
|
+
information.
|
|
3138
|
+
|
|
3139
|
+
## 2011-07-17 v0.0.6
|
|
3140
|
+
|
|
3141
|
+
### Features
|
|
3142
|
+
- Ported shell scripts to Ruby, including `chroot-exec`, `git-empty`,
|
|
3143
|
+
`sedit`, `unquarantine_apps`, and `vacuum_firefox_sqlite`.
|
|
3144
|
+
- Added the `path` command to manage `PATH` entries via prefix, postfix,
|
|
3145
|
+
and edit modes.
|
|
3146
|
+
- Added the `edit_wait` command to invoke `edit` in wait mode.
|
|
3147
|
+
- Added a `Gemfile` and migrated build tasks to `gem_hadar`.
|
|
3148
|
+
|
|
3149
|
+
### Fixes
|
|
3150
|
+
- Corrected the `edit` command to locate the Vim binary properly.
|
|
3151
|
+
- Fixed the `path` edit subcommand to avoid overwriting the path variable.
|
|
3152
|
+
- Corrected the required file in `lib/utils.rb` to `utils/file_xt`.
|
|
3153
|
+
|
|
3154
|
+
### Improvements
|
|
3155
|
+
- Updated `classify` to use `camelize` and `underscore` from `spruz`.
|
|
3156
|
+
- Added GPL v2 license file and updated `README.rdoc`.
|
|
3157
|
+
- Refined `Rakefile` to use `gem_hadar` for gem packaging.
|
|
3158
|
+
|
|
3159
|
+
### Build & CI
|
|
3160
|
+
- Updated `term-ansicolor` dependency to `1.0.5`.
|
|
3161
|
+
- Updated `spruz` dependency to `~> 0.2.10`.
|
|
3162
|
+
- Added `gem_hadar` as a development dependency.
|
|
3163
|
+
- Updated `.gitignore` to exclude `Gemfile.lock`.
|
|
3164
|
+
|
|
3165
|
+
## 2011-05-30 v0.0.0
|
|
3166
|
+
|
|
3167
|
+
* Start
|