rails-mcp-server 1.2.0 → 1.2.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d223ba6b32da76211f1b0316c76156453acfc25f86a2b2750949b5747cf4c2b2
4
- data.tar.gz: c3bfbaa694738d88186f761c6053edffed7324d3a68a9168c91b63757250ad49
3
+ metadata.gz: 792112abb32a3ea437a5828bd6bd981d84e166a799a6112b757bc26fa4ff2ad2
4
+ data.tar.gz: 77876cb6f9932c94c071ad55b4e41ee1a3cf1197ce899fce072fe575ce42ab56
5
5
  SHA512:
6
- metadata.gz: '08cf5e172f3ad00d8e8fbcca061bd5c06fd3a6dfcac6610849f3cf9dda86a10a4bfa6c254804309e421bc64370382fe4a90e0456b82c3aa1aa14214d5f0a8be8'
7
- data.tar.gz: 6c8a18e379e46f5c3a55554f244b48b1f01477dc1283911f198c0876cbeeaa6fccb8dccb6a972cdc2a7a218b42a8e07e9928a3a2d8a457eafad4b33f625e995d
6
+ metadata.gz: 5ea2439046630ec5bdb2da2906797c30386ad612cccffa9e50ae3affdf1d8ef001e0579c0fd3361648b09172c125dadce695646781ead2ddfde3a8976c92e477
7
+ data.tar.gz: 2425c2668d2956fc24c2b1083f258f369e902db5bf9c9c710712cf4d85bf19fe1a2be1ce93d2d63250c8e61b48548587a14360f0866558c44d5fffeb4a14ff8a
data/CHANGELOG.md CHANGED
@@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## 1.2.1 - 2025-06-09
9
+
10
+ ### Fixed
11
+
12
+ - Fix a debug message generating invalid STDIO output.
13
+ - Fix tool name spelling.
14
+
8
15
  ## [1.2.0] - 2025-06-03
9
16
 
10
17
  ### Added
@@ -114,7 +121,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
114
121
  - `list_files`: Browse project files with glob pattern matching
115
122
  - `get_file`: Retrieve file contents with syntax highlighting
116
123
  - `get_routes`: Display all Rails routes (equivalent to `rails routes`)
117
- - `analize_models`: Analyze Active Record models, associations, and relationships
124
+ - `analyze_models`: Analyze Active Record models, associations, and relationships
118
125
  - `get_schema`: Retrieve database schema information and table structures
119
126
  - Basic file and project analysis capabilities
120
127
  - **Project Management System**:
data/README.md CHANGED
@@ -308,7 +308,7 @@ I need to understand the API endpoints available in this project. Can you list t
308
308
  Show me the routing configuration for this Rails app so I can see how the URLs are structured.
309
309
  ```
310
310
 
311
- ### 6. `analize_models`
311
+ ### 6. `analyze_models`
312
312
 
313
313
  **Description:** Retrieve detailed information about Active Record models in the project. When called without parameters, lists all model files. When a specific model is specified, returns its schema, associations (has_many, belongs_to, has_one), and complete source code.
314
314
 
data/exe/rails-mcp-server CHANGED
@@ -13,9 +13,6 @@ require "puma/configuration"
13
13
  require "puma/launcher"
14
14
  require_relative "../lib/rails_mcp_server"
15
15
 
16
- # Debug information
17
- puts "Extensions loaded: #{RailsMcpServer.extensions_loaded?}\n\n"
18
-
19
16
  if ARGV[0] == "version"
20
17
  puts "Rails MCP Server version #{RailsMcpServer::VERSION}"
21
18
  exit 0
@@ -1,6 +1,6 @@
1
1
  module RailsMcpServer
2
2
  class AnalyzeModels < BaseTool
3
- tool_name "analize_models"
3
+ tool_name "analyze_models"
4
4
 
5
5
  description "Retrieve detailed information about Active Record models in the project. When called without parameters, lists all model files. When a specific model is specified, returns its schema, associations (has_many, belongs_to, has_one), and complete source code."
6
6
 
@@ -1,3 +1,3 @@
1
1
  module RailsMcpServer
2
- VERSION = "1.2.0"
2
+ VERSION = "1.2.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails-mcp-server
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mario Alberto Chávez Cárdenas
@@ -171,7 +171,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
171
171
  - !ruby/object:Gem::Version
172
172
  version: '0'
173
173
  requirements: []
174
- rubygems_version: 3.6.8
174
+ rubygems_version: 3.6.9
175
175
  specification_version: 4
176
176
  summary: MCP server for Rails projects
177
177
  test_files: []