rb-portless 0.1.0.dev.20260630.6937702 → 0.1.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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +0 -23
  3. data/lib/portless/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dbb403e7695e35174b4c26608080d221154e89fa5b7c0355c9fa4ad7ef76710c
4
- data.tar.gz: 0ecc3faedf5d9be80c7fc460ae8970ec7d3a00867850c15f20440585c993c674
3
+ metadata.gz: fe5a5a76f71f89027e083e3ba964520c22aef5f1a42ecefc3850e16a0ac16bb2
4
+ data.tar.gz: 13081e8f73114575b5a96ab27f9dec30c4949f333fa3c95ba0659f104cf16b19
5
5
  SHA512:
6
- metadata.gz: 95ab8466b764c4964ef72c5d9d99dda5d59645dec42c0e0e431dc07cf2b0ab9f67a9ddbc64802e92c82e0cbd488b05b3a89619de7ed9c15075557771cc7b18ec
7
- data.tar.gz: 751b9abd0a748bcbc8296cf62f08b45da5251685fa081cb8e62c24dd1520ea115d6200058644b854b5b39ffd18ddb8141e74821fac2f8c2d12ce8c1d52f21580
6
+ metadata.gz: 06a5c203d83b18de91ca2248744854e71933cdb4771626d8ae7af4e9bdbc2840c98edcfcc9cc51a9b88f9b6d6d9431c733118910bfcb380c372b9ad2151916e0
7
+ data.tar.gz: 44412d9c53a6c2990af830497f55bfd30cc5a3f4e9cd2032a9b5347cfc6853931e0754191ecb634607cfbaffc448e3ba4b333f259ae037d759ff6b15f31ccd3c
data/README.md CHANGED
@@ -164,29 +164,6 @@ boundary). For ports < 1024 it re-execs under `sudo` so the elevated process can
164
164
  bind the socket, then hands ownership of state files back to you. See
165
165
  [`AGENTS.md`](AGENTS.md) for the full architecture.
166
166
 
167
- ## Compared to portless (Node)
168
-
169
- The mental model is identical — `run` wraps your dev command, the proxy
170
- auto-starts, named `.localhost` URLs replace ports. The only Ruby-world addition
171
- is the one-line `require "portless/rails"` to satisfy Rails' host authorization.
172
-
173
- | | **portless (Node)** | **rb-portless (Ruby/Rails)** |
174
- |---|---|---|
175
- | Install | `npm i -g portless` | `gem install rb-portless` (or Gemfile dev group) |
176
- | Run a server | `portless run next dev` | `rb-portless run bin/rails server` |
177
- | Run the dev orchestrator | `portless` (runs `"dev"` script) | `rb-portless run bin/dev` (wraps Foreman) |
178
- | Bake into the project | `"dev": "portless run next dev"` → `npm run dev` | put `rb-portless run` in `bin/dev`, or use the binstub |
179
- | Name the URL | `portless myapp …` / `portless.json` | `portless.json` `{ "name": "myapp" }` (else dir/git root) |
180
- | Wildcard tenant subdomains | `tld` config | `portless.json` `{ "tld": "myapp.localhost" }` → `*.myapp.localhost` |
181
- | Pin the backend port | `--app-port` / `appPort` | `appPort` in `portless.json` |
182
- | Framework port injection | vite/astro/etc. auto | same (Rails/puma respect `PORT` natively) |
183
- | HTTPS trust | auto on first run (+ `portless trust`) | `rb-portless trust` (one-time) |
184
- | **Host allowlist** | not needed | **`gem "rb-portless", require: "portless/rails"`** (Rails-only) |
185
- | Privileged 443 bind | sudo re-exec (auto) | sudo re-exec (auto), `:1355` fallback |
186
- | Bind at boot (no sudo) | `portless service install` | `rb-portless service install` |
187
- | Inspect / manage | `portless list / doctor / clean` | `rb-portless list / doctor / clean` |
188
- | Static route (DB, etc.) | `portless alias pg 5432` | `rb-portless alias pg 5432` |
189
-
190
167
  ## Contributing
191
168
 
192
169
  ```bash
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Portless
4
- VERSION = "0.1.0.dev.20260630.6937702"
4
+ VERSION = "0.1.0"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rb-portless
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.dev.20260630.6937702
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Afonso