bundler_mcp 0.1.0 → 0.2.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/CHANGELOG.md +6 -0
- data/README.md +2 -1
- data/exe/bundler_mcp +1 -1
- data/lib/bundler_mcp/gem_resource.rb +1 -0
- data/lib/bundler_mcp/tool_collection.rb +2 -0
- data/lib/bundler_mcp/tools/get_gem_details.rb +1 -1
- data/lib/bundler_mcp/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ebe099eaeaf47f7e4aea183dc2ef3a13b90f691d6ed502943b5a456c76426b5a
|
4
|
+
data.tar.gz: 6e115d99d1921a57fa046902bc57ddc33dbf902abc75e8cf35db84840813dc08
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6df0fcef46000d2139fc810c77f139a4b2e90c8183ee80bb7ab0f4d303a614c114b0c36e41ebb351c5c98a7290dc4d02d4fd83280d2beae7e57113fe4ec11f9d
|
7
|
+
data.tar.gz: b0a27c61b03efda0982d3599ee737a9e215515f9fba86517418473e639f1059a105c153fa98f97ddbad03d30e5de1f006ba286437af3a734de18cd3935ae9ef3
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,12 @@
|
|
2
2
|
|
3
3
|
This project uses [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
4
4
|
|
5
|
+
## [0.2.0] - 2025-05-18
|
6
|
+
|
7
|
+
- Fix `BUNDLER_MCP_LOG_FILE` environment variable name bug
|
8
|
+
- Use case-insensitive matching to look up gem details
|
9
|
+
- Explicitly require `pathname` in files that use it
|
10
|
+
|
5
11
|
## [0.1.0] - 2025-05-18
|
6
12
|
|
7
13
|
- Initial release
|
data/README.md
CHANGED
@@ -1,8 +1,9 @@
|
|
1
1
|
# BundlerMCP
|
2
2
|
|
3
|
-
A Model Context Protocol (MCP) server enabling AI agents to query information about
|
3
|
+
A Model Context Protocol (MCP) server enabling AI agents to query information about dependencies in a Ruby project's `Gemfile`. Built with [fast-mcp](https://github.com/yjacquin/fast-mcp).
|
4
4
|
|
5
5
|
[](https://github.com/subelsky/bundler_mcp/actions/workflows/main.yml)
|
6
|
+
[](https://badge.fury.io/rb/bundler_mcp)
|
6
7
|
|
7
8
|
## Installation
|
8
9
|
|
data/exe/bundler_mcp
CHANGED
@@ -8,7 +8,7 @@ require_relative "../lib/bundler_mcp/server"
|
|
8
8
|
# your client will then able to run `bin/bundler_mcp`
|
9
9
|
# in the correct Bundler environment
|
10
10
|
|
11
|
-
logfile_path = ENV.fetch("
|
11
|
+
logfile_path = ENV.fetch("BUNDLER_MCP_LOG_FILE", nil)
|
12
12
|
logger = Logger.new(logfile_path || File::NULL)
|
13
13
|
|
14
14
|
BundlerMCP::Server.run(logger:)
|
@@ -33,7 +33,7 @@ module BundlerMCP
|
|
33
33
|
# @return [Hash] Contains the gem's details, or an error message if the gem is not found
|
34
34
|
def call(name:)
|
35
35
|
name = name.to_s.strip
|
36
|
-
gem_resource = resource_collection.find { |r| r.name
|
36
|
+
gem_resource = resource_collection.find { |r| r.name.casecmp?(name) }
|
37
37
|
|
38
38
|
data = if gem_resource
|
39
39
|
gem_resource.to_h(include_source_files: true)
|
data/lib/bundler_mcp/version.rb
CHANGED