From 9098cd41623639ff92fbe05ceb4ca744ea465f18 Mon Sep 17 00:00:00 2001 From: a-akimov Date: Mon, 21 Sep 2026 21:58:33 +0200 Subject: [PATCH] Add Ruby lockfiles and remove them from gitignore --- .gitignore | 3 --- mcp-client-ruby/Gemfile.lock | 37 ++++++++++++++++++++++++++++++++ tests/utils.sh | 3 ++- weather-server-ruby/Gemfile.lock | 27 +++++++++++++++++++++++ 4 files changed, 66 insertions(+), 4 deletions(-) create mode 100644 mcp-client-ruby/Gemfile.lock create mode 100644 weather-server-ruby/Gemfile.lock diff --git a/.gitignore b/.gitignore index 8b2d761f..3ddccab8 100644 --- a/.gitignore +++ b/.gitignore @@ -10,9 +10,6 @@ dist/ wheels/ *.egg-info -# Bundler-generated files -Gemfile.lock - # Virtual environments .venv diff --git a/mcp-client-ruby/Gemfile.lock b/mcp-client-ruby/Gemfile.lock new file mode 100644 index 00000000..dec24fd1 --- /dev/null +++ b/mcp-client-ruby/Gemfile.lock @@ -0,0 +1,37 @@ +GEM + remote: https://rubygems.org/ + specs: + anthropic (1.72.0) + base64 (~> 0.1) + connection_pool (>= 2, < 4) + standardwebhooks (~> 1.0) + base64 (0.3.0) + bigdecimal (4.1.3) + connection_pool (3.0.2) + dotenv (3.2.0) + hana (1.3.7) + json_schemer (2.5.0) + bigdecimal + hana (~> 1.3) + regexp_parser (~> 2.0) + simpleidn (~> 0.2) + mcp (1.6.0) + json_schemer (>= 2.4) + regexp_parser (2.12.0) + simpleidn (0.3.0) + standardwebhooks (1.1.0) + +PLATFORMS + aarch64-linux + arm64-darwin + ruby + x86_64-darwin + x86_64-linux + +DEPENDENCIES + anthropic (>= 1.72.0) + dotenv + mcp (>= 1.6.0) + +BUNDLED WITH + 2.6.9 diff --git a/tests/utils.sh b/tests/utils.sh index 2a64af06..82b2b375 100644 --- a/tests/utils.sh +++ b/tests/utils.sh @@ -148,7 +148,8 @@ ensure_built() { # Ensure a Ruby project directory has its gems installed. # # Unlike ensure_built there is no artefact to test for -- a Ruby example has no -# build step and Gemfile.lock is gitignored -- so ask Bundler directly. +# build step, and a committed Gemfile.lock says which gems are wanted, not +# whether they are installed -- so ask Bundler directly. ensure_bundled() { local dir=$1 cd "${dir}" || return 1 diff --git a/weather-server-ruby/Gemfile.lock b/weather-server-ruby/Gemfile.lock new file mode 100644 index 00000000..26302b17 --- /dev/null +++ b/weather-server-ruby/Gemfile.lock @@ -0,0 +1,27 @@ +GEM + remote: https://rubygems.org/ + specs: + bigdecimal (4.1.3) + hana (1.3.7) + json_schemer (2.5.0) + bigdecimal + hana (~> 1.3) + regexp_parser (~> 2.0) + simpleidn (~> 0.2) + mcp (1.6.0) + json_schemer (>= 2.4) + regexp_parser (2.12.0) + simpleidn (0.3.0) + +PLATFORMS + aarch64-linux + arm64-darwin + ruby + x86_64-darwin + x86_64-linux + +DEPENDENCIES + mcp (>= 1.6.0) + +BUNDLED WITH + 2.6.9