port_of_call 0.1.0.alpha2 → 1.0.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/README.md +18 -16
- data/lib/port_of_call/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bbeb66e086b05f2a7d9c8515d91c481c92fb9e488d9cdb9560448f48be955ea5
|
4
|
+
data.tar.gz: a711f3987939e88e5599f36dc81bd20f7bc12584a06a3dd8e12380cf387bb0aa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f9b50b4755ed3ba80c0576139ea85c46a8131144485a774c4dc665fed1bcaad46b8f5a44f10fd2ce00275b3dc46e65db42eeaef54112ae02d7f85590e9deb0f9
|
7
|
+
data.tar.gz: d7066319108e1fb19b787b0d36f3886c6db7e5c10eefdd6b1ab3114e44b81d8262474968a2c2e5ec0fc0f590c4bdafeff6f6f24e2488265895ea5f30d3bdb6df
|
data/CHANGELOG.md
CHANGED
@@ -5,6 +5,12 @@ 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.0.0] - 2025-09-18
|
9
|
+
|
10
|
+
### Changed
|
11
|
+
- Graduated to stable 1.0.0 release
|
12
|
+
- Public API is now considered stable
|
13
|
+
|
8
14
|
## [0.1.0.alpha2] - 2025-03-25
|
9
15
|
|
10
16
|
### Fixed
|
data/README.md
CHANGED
@@ -12,10 +12,10 @@ Rails developers who tend to work on multiple applications simultaneously
|
|
12
12
|
=============================
|
13
13
|
Port of Call deterministically assigns port numbers to Rails applications:
|
14
14
|
|
15
|
-
1. It extracts your application's name from Git or directory name
|
16
|
-
2. It creates a hash of the name using SHA256
|
17
|
-
3. It maps this hash to a port number within your configured range (default: 3000-3999)
|
18
|
-
4. It automatically sets this port when you start your Rails server
|
15
|
+
1. It **extracts your application's name** from Git or directory name
|
16
|
+
2. It **creates a hash** of the name using SHA256
|
17
|
+
3. It **maps this hash to a port number** within your configured range (default: 3000-3999)
|
18
|
+
4. It **automatically sets this port** when you start your Rails server
|
19
19
|
|
20
20
|
The same app always gets the same port on any machine, avoiding conflicts!
|
21
21
|
|
@@ -54,33 +54,35 @@ Rake Tasks:
|
|
54
54
|
- `rake port_of_call:start` - Start Rails server
|
55
55
|
- `rake poc` - Shorthand for starting the server
|
56
56
|
|
57
|
+
|
58
|
+
## Development
|
59
|
+
|
60
|
+
- After checking out the repo,
|
61
|
+
- run `bin/setup` to install dependencies.
|
62
|
+
- Then, run `rake spec` to run the tests.
|
63
|
+
- You can also run `bin/console` for an interactive prompt.
|
64
|
+
|
57
65
|
⛵️⛵️⛵️⛵️⛵️ Extras
|
58
66
|
=============================
|
59
|
-
|
67
|
+
|
68
|
+
## Configuration:
|
60
69
|
```ruby
|
61
70
|
# In config/initializers/port_of_call.rb
|
62
71
|
PortOfCall.configure do |config|
|
63
72
|
# Change port range (default: 3000..3999)
|
64
73
|
config.port_range = 4000..4999
|
65
|
-
|
74
|
+
|
66
75
|
# Set custom project name
|
67
76
|
config.project_name = "my_unique_app_name"
|
68
|
-
|
77
|
+
|
69
78
|
# Avoid specific ports
|
70
79
|
config.reserved_ports = [4567, 5000]
|
71
80
|
end
|
72
81
|
```
|
73
82
|
|
74
|
-
Troubleshooting:
|
83
|
+
## Troubleshooting:
|
75
84
|
- If your port is already in use, Port of Call will warn you
|
76
85
|
- To check port availability: `rake port_of_call:check`
|
77
86
|
- For detailed info: `rake port_of_call:info`
|
78
87
|
|
79
|
-
|
80
|
-
|
81
|
-
License: MIT with additional [disclaimer](LICENSE.txt)
|
82
|
-
```
|
83
|
-
|
84
|
-
## Development
|
85
|
-
|
86
|
-
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt.
|
88
|
+
[](https://github.com/discoveryworks/readme-dot-lint)
|
data/lib/port_of_call/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: port_of_call
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- JPB
|
8
8
|
bindir: exe
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-
|
10
|
+
date: 2025-09-19 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: rails
|