pare-ruby

v0.24.2
io.github.Dave-London/pare-ruby Checked 1 hour ago Published 3 days ago

Pare Ruby — Structured Ruby & Bundler operations (run, check, gem, bundle) as typed JSON.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

run Ruby Run

Executes a Ruby script file and returns structured output (stdout, stderr, exit code, duration).

ParameterTypeDescription
file *stringPath to the Ruby file to execute
argsarrayArguments to pass to the Ruby script
compactbooleanPrefer compact output
pathstringProject root path

check Ruby Syntax Check

Checks a Ruby file for syntax errors using `ruby -c` and returns structured validation results.

ParameterTypeDescription
file *stringPath to the Ruby file to syntax-check
compactbooleanPrefer compact output
pathstringProject root path

gem-list Gem List

Lists installed Ruby gems with version information. Returns structured JSON with gem names and versions.

ParameterTypeDescription
compactbooleanPrefer compact output
filterstringRegex filter on gem names (client-side)
pathstringProject root path

gem-install Gem Install

Installs a Ruby gem using `gem install` and returns structured output with success status and duration.

ParameterTypeDescription
gem *stringName of the gem to install
compactbooleanPrefer compact output
pathstringProject root path
versionstringSpecific version to install (e.g., '1.2.3')

gem-outdated Gem Outdated

Lists outdated Ruby gems showing current and latest available versions.

ParameterTypeDescription
compactbooleanPrefer compact output
pathstringProject root path

bundle-install Bundle Install

Installs Gemfile dependencies using `bundle install` and returns structured output with success status and duration.

ParameterTypeDescription
compactbooleanPrefer compact output
pathstringProject root path

bundle-exec Bundle Exec

Executes a command in the context of the Gemfile bundle using `bundle exec` and returns structured output.

ParameterTypeDescription
command *stringCommand to execute in the bundle context (e.g., 'rake', 'rspec', 'rubocop')
argsarrayArguments to pass to the command
compactbooleanPrefer compact output
pathstringProject root path

bundle-check Bundle Check

Verifies that the Gemfile's dependencies are satisfied without installing them.

ParameterTypeDescription
compactbooleanPrefer compact output
pathstringProject root path