diff --git a/.ruby-version b/.ruby-version new file mode 100644 index 0000000..47b322c --- /dev/null +++ b/.ruby-version @@ -0,0 +1 @@ +3.4.1 diff --git a/Gemfile b/Gemfile index fa24031..ae0b88f 100644 --- a/Gemfile +++ b/Gemfile @@ -5,6 +5,8 @@ source "https://rubygems.org" # Specify your gem's dependencies in mcp.gemspec gemspec +gem "pry" + gem "rake", "~> 13.0" gem "rake-compiler", "~> 1.2.0" diff --git a/Gemfile.lock b/Gemfile.lock index 3797bb6..8bfc9d4 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -8,14 +8,19 @@ GEM remote: https://rubygems.org/ specs: ast (2.4.2) + coderay (1.1.3) diff-lcs (1.6.0) json (2.10.2) language_server-protocol (3.17.0.4) lint_roller (1.1.0) + method_source (1.1.0) parallel (1.26.3) parser (3.3.7.1) ast (~> 2.4.1) racc + pry (0.15.2) + coderay (~> 1.1) + method_source (~> 1.0) racc (1.8.1) rainbow (3.1.1) rake (13.2.1) @@ -78,6 +83,7 @@ PLATFORMS DEPENDENCIES mcp! + pry rake (~> 13.0) rake-compiler (~> 1.2.0) rspec (~> 3.0) diff --git a/spec/mcp_spec.rb b/spec/mcp_spec.rb index 7ba6978..dd1bbf5 100644 --- a/spec/mcp_spec.rb +++ b/spec/mcp_spec.rb @@ -7,7 +7,6 @@ RSpec.describe Mcp do it "does something useful" do a = Mcp::Client.new("/Users/joshuacoles/.local/bin/mcp-server-fetch", []) - expect(a.connect).to eq(true) puts a.list_tools puts a.tools.fetch(url: 'http://example.com') end