mcp-on-rails 0.3.2 โ†’ 0.3.3

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: 7145979c731192cebf86b91cdf29a8e9abc4704002ef0a353dd3d468e4288a26
4
- data.tar.gz: 90bfef4c67f2079c7fb4706403cc7c14a93db322fd3285960981d465c02ac814
3
+ metadata.gz: 508883489aa822494bda5ef430783adf91fe53024ab9d3e3cd2102b4dace3774
4
+ data.tar.gz: 6e22ee2159efefded627cc598d4ee23790c7d6ad966f4bd1a8666e6c5469ddef
5
5
  SHA512:
6
- metadata.gz: 7a631e46399eea8a614d2f2b1003260e68ca8f8bd1211e9d7157863d4b4554f0836c754bba9f5391cfd984fe8348cb44dad56f983afb5cd4d55800e0a2708080
7
- data.tar.gz: f30fd3669e3bf12b4a3aea1298cd16612bafd91c0667b61115cbb79a066247c80637b60b43ea5b6d1af114b5a91854f38d64b79aa2709de99f5843237cc01093
6
+ metadata.gz: a410decb113fd05348aed651ac3a02e0fedab881ae1331f9877652bb169e8dd48ad114ea224f437b611092c958becb43350554e142dbc1d05b5f086693baf1bf
7
+ data.tar.gz: 1daa2d26191e8eb94c53c01f81c4f1f08fdbfb501ad3a29d0a7096106d8004bcef42164a51da9e51117c8b44da7396dfc289ab588aec89a52f3965a3e997395f
@@ -29,7 +29,7 @@ This Rails project uses **MCP on Rails** configuration located in `.mcp-on-rails
29
29
 
30
30
  - **`requirement.md`** - Detailed requirements and acceptance criteria
31
31
  - **`design.md`** - Technical design, architecture decisions, and implementation approach
32
- - **MANDATORY**: Must query `rails-mcp-server` for latest Rails documentation(and `context7` for relevant context) before writing
32
+ - **MANDATORY**: Must query `context7` for latest Rails documentation before writing
33
33
  - **MANDATORY**: Include version-specific Rails patterns and best practices
34
34
  - **MANDATORY**: Reference current Rails guides for security, performance, and conventions
35
35
  - **`tasks.md`** - Step-by-step task breakdown with progress tracking
@@ -42,7 +42,7 @@ This Rails project uses **MCP on Rails** configuration located in `.mcp-on-rails
42
42
 
43
43
  ### ๐Ÿ” **Rails Documentation Integration**
44
44
 
45
- **Always leverage `rails-mcp-server` for up-to-date Rails guidance**:
45
+ **Always leverage `context7` for up-to-date Rails guidance**:
46
46
 
47
47
  1. **During design.md Creation** (MANDATORY):
48
48
 
@@ -281,7 +281,7 @@ Always follow:
281
281
  When asked to help with Rails development:
282
282
 
283
283
  1. **๐Ÿ“‹ CREATE SPECS FIRST** (MANDATORY): Always start with `.mcp-on-rails/specs/[feature-name]/` directory creation
284
- 2. **๐Ÿ” Query Rails MCP**: Use `rails-mcp-server` to get latest Rails documentation and best practices
284
+ 2. **๐Ÿ” Query Rails MCP**: Use `context7` to get latest Rails documentation and best practices
285
285
  3. **๐ŸŽฏ Identify the area** of work (models, controllers, views, etc.)
286
286
  4. **๐Ÿ“š Reference the appropriate prompt**: "Let me check .mcp-on-rails/prompts/[area].md for best practices"
287
287
  5. **๐Ÿ”ง Apply specialist knowledge** for that area with current Rails version considerations
@@ -289,11 +289,28 @@ When asked to help with Rails development:
289
289
  7. **๐Ÿงช Ensure comprehensive testing** and documentation
290
290
  8. **๐Ÿ“ Update progress**: Mark completed tasks in `tasks.md` throughout development
291
291
 
292
+ ### Rails Command Execution Guidelines
293
+
294
+ **โš ๏ธ IMPORTANT: Use Rails Runner Instead of Rails Console**
295
+
296
+ - **NEVER use `rails console`** - it's interactive and will cause infinite waiting
297
+ - **ALWAYS use `rails runner`** for executing Rails code in terminal
298
+ - **Example**: Instead of opening console and typing code, use:
299
+ ```bash
300
+ rails runner "User.create(name: 'John', email: 'john@example.com')"
301
+ rails runner "MyModel.find(1).update(status: 'active')"
302
+ rails runner "puts Rails.env"
303
+ ```
304
+ - **For complex operations**: Create a temporary script file and run it:
305
+ ```bash
306
+ rails runner script/temporary_operation.rb
307
+ ```
308
+
292
309
  ### Mandatory Pre-Development Checklist:
293
310
 
294
311
  - [ ] Created `.mcp-on-rails/specs/[feature-name]/` directory
295
312
  - [ ] Written comprehensive `requirement.md`
296
- - [ ] **MANDATORY**: Queried `rails-mcp-server` for latest Rails documentation and patterns
313
+ - [ ] **MANDATORY**: Queried `context7` for latest Rails documentation and patterns
297
314
  - [ ] **MANDATORY**: Incorporated current Rails version best practices into `design.md`
298
315
  - [ ] Designed technical approach in `design.md` with up-to-date Rails guidance
299
316
  - [ ] Planned step-by-step tasks in `tasks.md`
@@ -3,7 +3,7 @@
3
3
  module Mcp
4
4
  module On
5
5
  module Rails
6
- VERSION = "0.3.2"
6
+ VERSION = "0.3.3"
7
7
  end
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mcp-on-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - GoCoder