Releases: texpert/ngrok-wrapper
Releases · texpert/ngrok-wrapper
0.3.1 Maintenance release
v0.3.1 (2024-08-25)
Maintenance release
Ruby, Rubocop, and CI upgrades
Closed issues:
- Config error with Ngrok v3.3.3 #31
- The ngrok agent (v3) only accepts long name flags prefixed with -- and will error if a single hyphen is used #20
Merged pull requests:
- Upgrade paambaati/codeclimate-action to version 9 #34 (texpert)
- Upgrade actions/checkout to version 4 #33 (texpert)
- Restrict Ruby minimal version to 3.1 #32 (texpert)
- Bump actions/checkout to 3.5.0 #30 (texpert)
- Bump actions/checkout to 3.3.0 #29 (texpert)
- Bump main Ruby version to 2.7.7 #28 (texpert)
- Fix Code Climate issues #27 (texpert)
Adding Ngrok v3.x support
v0.3.0 (2022-11-19)
Both Ngrok v2, and v3 are now supported.
Tested and working on Ubuntu Linux and macOS.
Merged pull requests:
- Added compatibility with Ngrok v3.x (specs also enhanced to test both 2 and 3 versions) #24 (texpert)
- Prepare for different ngrok versions params, still for version 2 #23 (texpert)
- Allow region subdomains - modify Rails config.hosts example to parse the host from NGROK_URL #22 (texpert)
- Set main Ruby version to 2.7.6 #21 (texpert)
- Bump actions/checkout from 2 to 3 #19 (texpert)
Making Ngrok process survive server stop on Linux
Making Ngrok process survive server stop on Linux
It was working OK on Mac OS on the 0.1.0 release, but not on Linux.
It came out that Process.setsid should be applied to the spawned process to establish this process as a new session and process group leader. This is completely detaching it from the parent process, so it won't be killed when the parent will go down.
Merged pull requests:
Support for persisting Ngrok process data
- Initial commit after forking and renaming the
ngrok-tunnel
gem - Support for persisting Ngrok process data for possible re-use when restarting the server
- Added
github_changelog_generator
to the gemspec #14 (texpert) - Described gem's usage in Rails, move the description from
examples
folder into README.md #13 (texpert) - Fix Codeclimate rubocop channel to beta to enable latest 1-24-1 #11 (texpert)
- Add codeclimate fixme and rubocop plugins #10 (texpert)
- Decompose
fetch_urls
for maintainability #9 (texpert) - Refactor
ngrok_running?
to re-usengrok_process_status_lines
instead of a shell process #8 (texpert) - Raise if Ngrok with the pid from persistence file is running on other port #7 (texpert)
- Refactor DRYing
ngrok_exec_params
method #6 (texpert) - Remove redundant methods and introduce
:params
read accessor #5 (texpert) - Don't forget to close the log file and don't use returns in a block #4 (texpert)
- Fix CI setup-ruby action to use Ruby version from strategy matrix #3 (texpert)
- Fix CodeClimate issue Class Wrapper has 22 methods (exceeds 20 allowed) #2 (texpert)
- Fix the specs to avoid trying to run real Ngrok when testing using fixture log files #1 (texpert)