ruby-anything 0.2.1 → 0.2.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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ruby-anything",
3
- "owner": { "name": "akkisavi" },
3
+ "owner": { "name": "PortPilot" },
4
4
  "description": "ruby-anything: migrate any app to Ruby on Rails one piece at a time, and prove it still behaves the same.",
5
5
  "plugins": [
6
6
  {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ruby-anything",
3
- "version": "0.2.1",
3
+ "version": "0.2.3",
4
4
  "description": "Migrate any app to Ruby on Rails 8 with Hotwire, Tailwind and daisyUI, one piece at a time, checked against the original's recorded behavior at every step. Needs the ruby-anything CLI on PATH (npm i -g ruby-anything).",
5
5
  "license": "MIT",
6
6
  "keywords": [
@@ -10,5 +10,6 @@
10
10
  "daisyui",
11
11
  "migration",
12
12
  "mcp"
13
- ]
13
+ ],
14
+ "homepage": "https://ruby-anything.vercel.app"
14
15
  }
package/README.md CHANGED
@@ -1,15 +1,27 @@
1
+ <p align="center">
2
+ <a href="https://ruby-anything.vercel.app">
3
+ <img src="https://raw.githubusercontent.com/akkisavi/ruby-anything/master/packages/ruby-anything/docs/assets/logo.png" width="140" height="140" alt="The Ruby Anything gem">
4
+ </a>
5
+ </p>
6
+
1
7
  <h1 align="center">Ruby Anything</h1>
2
8
 
3
9
  <p align="center">
4
10
  <a href="https://www.npmjs.com/package/ruby-anything"><img src="https://img.shields.io/npm/v/ruby-anything?style=flat&colorA=111111&colorB=a51c1c&label=npm" alt="npm version"></a>
5
11
  <a href="https://www.npmjs.com/package/ruby-anything"><img src="https://img.shields.io/npm/d18m/ruby-anything?style=flat&colorA=111111&colorB=a51c1c&label=npm%20downloads" alt="npm downloads"></a>
12
+ <a href="https://github.com/akkisavi/ruby-anything/actions/workflows/ruby-anything.yml"><img src="https://github.com/akkisavi/ruby-anything/actions/workflows/ruby-anything.yml/badge.svg?branch=master" alt="tests"></a>
6
13
  <a href="#license"><img src="https://img.shields.io/badge/license-MIT-111111?style=flat&colorA=111111&colorB=a51c1c" alt="MIT license"></a>
14
+ <a href="https://m8ven.ai/mcp/akkisavi/ruby-anything?s=readme"><img src="https://m8ven.ai/badge/mcp/akkisavi/ruby-anything" alt="M8ven Score"></a>
7
15
  </p>
8
16
 
9
17
  <p align="center">
10
18
  Migrate your app to Ruby on Rails, and prove it still behaves the same.
11
19
  </p>
12
20
 
21
+ <p align="center">
22
+ <b>Website and docs:</b> <a href="https://ruby-anything.vercel.app">ruby-anything.vercel.app</a>
23
+ </p>
24
+
13
25
  <p align="center">
14
26
  Rails 8 · Hotwire (Turbo + Stimulus) · Tailwind CSS · daisyUI<br>
15
27
  from TypeScript, JavaScript, Python, Go, Java/Spring Boot, Kotlin, C#, PHP, Rust and Swift
@@ -31,7 +43,7 @@ Or install it yourself:
31
43
 
32
44
  ```sh
33
45
  npm install -g ruby-anything
34
- ruby-anything setup # adds it to Claude Code, Codex, Cursor, Gemini CLI and OpenCode
46
+ ruby-anything setup # adds it to Claude Code, Codex, Cursor, Gemini CLI, OpenCode, Windsurf, GitHub Copilot and Cline
35
47
  ruby-anything doctor # checks Ruby, Rails and the runtimes your original needs
36
48
  ```
37
49
 
@@ -65,7 +77,7 @@ ruby-anything doctor # checks Ruby, Rails and the runtimes your origina
65
77
 
66
78
  **Your agent writes the Ruby; you make the calls.** The agent skill grills you on the decisions (database, auth, equivalence bar, cut-over) and writes them down as ADRs, stops at the checkpoints you choose, and stops to ask when three attempts gain no matching case. Corrections you make become rules every later piece keeps (`ruby-anything rules --add`).
67
79
 
68
- **Agents.** `ruby-anything setup` adds the skill and the MCP server to Claude Code, Codex, Cursor, Gemini CLI and OpenCode. Any other MCP client can run `ruby-anything mcp`. As a Claude Code plugin: `claude plugin marketplace add <this repo>`, then `claude plugin install ruby-anything@ruby-anything`.
80
+ **Agents.** `ruby-anything setup` adds the skill and the MCP server to Claude Code, Codex, OpenCode and GitHub Copilot, and the MCP server to Cursor, Gemini CLI, Windsurf, GitHub Copilot in VS Code and Cline. Any other MCP client can run `ruby-anything mcp`. As a Claude Code plugin: `claude plugin marketplace add akkisavi/ruby-anything`, then `claude plugin install ruby-anything@ruby-anything`.
69
81
 
70
82
  Everything it writes lives in `<repo>/rails/`: the Rails app, and `rails/port/` with the plan, decisions, glossary, rules, recorded cases and the port map.
71
83
 
@@ -74,6 +86,7 @@ Everything it writes lives in `<repo>/rails/`: the Rails app, and `rails/port/`
74
86
  | Command | What it does |
75
87
  |---|---|
76
88
  | `ruby-anything go [-- <start command>]` | Move the migration to its next stage and write `rails/port/TASK.md` |
89
+ | `ruby-anything status [<repo>]` | Where the migration stopped: stage, next step, open units (read-only; run it first in a new session) |
77
90
  | `ruby-anything analyze <repo>` | Plan: routes, templates, functions in waves, dependencies, decisions |
78
91
  | `ruby-anything bridge <repo> <unit>` | Ruby skeleton for one function in `app/services` |
79
92
  | `ruby-anything record <repo> <unit>` | Record the original function on edge cases, `--inputs`, `--from-tests -- <test cmd>`, `--pin-clock` |
@@ -90,6 +103,18 @@ Everything it writes lives in `<repo>/rails/`: the Rails app, and `rails/port/`
90
103
  | `ruby-anything app lift <repo>` | Remove the proxy once nothing falls back |
91
104
  | `ruby-anything setup \| doctor \| mcp` | Install for agents, check runtimes, MCP server |
92
105
 
106
+ ## Tested
107
+
108
+ Every push runs the end-to-end suite on **Ubuntu, Windows and macOS** in
109
+ [GitHub Actions](https://github.com/akkisavi/ruby-anything/actions/workflows/ruby-anything.yml).
110
+ It drives real Python and Node originals through the recorders, real Ruby ports through the
111
+ replay harness, and real HTTP, SMTP and SQLite for side effects. It checks both that a correct
112
+ port passes and that a wrong one is caught: half-up vs banker's rounding, `1` vs `1.0`, a
113
+ forgotten email, a wrong exit code, an edited recording, a recorded answer pasted into the port.
114
+
115
+ **25 of 25 pass.** Every test, with its result and time: [test results](docs/test-results.md)
116
+ (regenerate with `npm run test:report`).
117
+
93
118
  ## In CI
94
119
 
95
120
  ```yaml