stable-cli-rails 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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +7 -2
  3. metadata +10 -8
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cb7161cbe3a5e9ed3d651e059f0884fd065cf1281a13baf1ee7f518e47ce66c4
4
- data.tar.gz: 882e21ccd55072e66bf5f0e4dac8b023b41da126667d17de930876d69827d536
3
+ metadata.gz: bafe8b35c7bcdb9e006bb397cc8886bada3aa2a4c5d8b3fa1a9adb1b58acbeb7
4
+ data.tar.gz: 2588434d05a99499fbda818602bf90014f0c9371c775d59d7e3094a376faab32
5
5
  SHA512:
6
- metadata.gz: 4f093a5af1f22b2212280b57bc69afd934b44525378a707c5c0bb399b3645b4ee936aea242e316628015930b3ab4ee3ea0f99bd798dc1aa8514ef98aea775c30
7
- data.tar.gz: c87973bf27d5f0d297ebb7104d0197d5432ce360f278d0a5711fe639c928ee58a363a16f1bf07857e79c79ded85849d6721416be00e549019ae522d171a0fe57
6
+ metadata.gz: 121b37effd9a47901bd867be859899ef4c27aa12e03493480232848abd3bca22bad06d09752603ce8d07723a2e434484457084f9691696c9c2c4316d52409269
7
+ data.tar.gz: 6369c0e52982569c20516bea53c13dc04bd0c2ddf1893de486358dc3cb2a2c914fd3d60416b79ab1916cf6e1024a1de9d56a03eeefce0b3e2ab4508079324fcd
data/README.md CHANGED
@@ -24,10 +24,15 @@ cd stable-rails
24
24
  bundle install
25
25
  ```
26
26
 
27
- ### As a gem
27
+ ### As a gem from Rubygems registry
28
28
 
29
29
  ```bash
30
- gem install stable
30
+ gem install stable-cli-rails
31
+ ```
32
+
33
+ ### Or add it to your Gemfile
34
+ ```bash
35
+ gem "stable-cli-rails"
31
36
  ```
32
37
 
33
38
  ## Setup
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stable-cli-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Danny Simfukwe
@@ -44,13 +44,15 @@ description: "# Stable CLI (macOS)\n\nStable is a CLI tool to manage local Rails
44
44
  `/etc/hosts` for `.test` domains.\n- Start Rails apps with integrated Caddy reverse
45
45
  proxy.\n- Reload Caddy after adding/removing apps.\n- List all registered apps.\n\n##
46
46
  Installation\n\n### From source\n\n```bash\n# Clone the repository\ngit clone git@github.com:dannysimfukwe/stable-rails.git\ncd
47
- stable-rails\n\n# Install dependencies\nbundle install\n```\n\n### As a gem\n\n```bash\ngem
48
- install stable\n```\n\n## Setup\n\nInitialize Caddy home and required directories:\n\n```bash\nstable
49
- setup\n```\n\nThis will create: \n- `~/StableCaddy/` for Caddy configuration. \n-
50
- `~/StableCaddy/certs` for generated certificates. \n- `~/StableCaddy/Caddyfile`
51
- for Caddy configuration. \n\n## CLI Commands\n\n### List apps\n\n```bash\nstable
52
- list\n```\n\nLists all registered apps and their domains.\n\n### Add a Rails app\n\n```bash\nstable
53
- add /path/to/rails_app\n```\n\nThis will: \n- Register the app. \n- Add a `/etc/hosts`
47
+ stable-rails\n\n# Install dependencies\nbundle install\n```\n\n### As a gem from
48
+ Rubygems registry\n\n```bash\ngem install stable-cli-rails\n```\n\n### Or add it
49
+ to your Gemfile\n```bash\ngem \"stable-cli-rails\" \n```\n\n## Setup\n\nInitialize
50
+ Caddy home and required directories:\n\n```bash\nstable setup\n```\n\nThis will
51
+ create: \n- `~/StableCaddy/` for Caddy configuration. \n- `~/StableCaddy/certs`
52
+ for generated certificates. \n- `~/StableCaddy/Caddyfile` for Caddy configuration.
53
+ \ \n\n## CLI Commands\n\n### List apps\n\n```bash\nstable list\n```\n\nLists all
54
+ registered apps and their domains.\n\n### Add a Rails app\n\n```bash\nstable add
55
+ /path/to/rails_app\n```\n\nThis will: \n- Register the app. \n- Add a `/etc/hosts`
54
56
  entry. \n- Generate local trusted HTTPS certificates. \n- Add a Caddy reverse
55
57
  proxy block. \n- Reload Caddy.\n\n### Remove a Rails app\n\n```bash\nstable remove
56
58
  app_name\n```\n\nThis will: \n- Remove the app from registry. \n- Remove `/etc/hosts`