Repository navigation
Conversation
Shell is rewritten to resolve paths against its own directory instead of changing the process's, and does its own tracing. Batch and FileList are fixed, the tar and email helpers are repaired, ludo is rewritten, and the ftp and pom helpers, which could not run, are removed. Packaging moves to a gemspec, and the tests to Spectrum. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
It is a bundled gem, so Bundler hides it unless it is listed. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
It is a bundled gem as of Ruby 4.0. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Neither 1.2.0 nor master ran on Ruby 3: file operations failed on their options, and master didn't load (an alias to a method that doesn't exist, from the last day's refactoring in 2012).
Shell
cdwith a block changes the process's directory, for the block.rm -r tmp, not an absolute path).shell / 'lib'gives a new shell in the same mode;shtakes a command in parts, returns whether it succeeded, and is silent in quiet mode; modes can be given per command.ShellUtilsrefactoring is removed.Batch and FileList
Batch#rmremoved nothing (list = list.to_ashadowed the method); the map methods ignored their options;exists?used a method Ruby dropped.Batch.newtakes options last, and destinations are taken from the batch's directory.FileList#extno longer needs Rake;pathmap, which did, is removed.Helpers
Ratch::Systemand the unfinishedRatch::Console.ludo
Rewritten. The old one had a Ruby 1.8 shebang, dropped arguments, could only run a script given as
./name, and said nothing when it found none.Packaging and tests
ratch.gemspec, Rakefile, CI on Ruby 3.1 to 4.0; version 2.0.0 (unreleased).🤖 Generated with Claude Code