Skip to content

Releases: texpert/ngrok-wrapper

0.3.1 Maintenance release

25 Aug 14:38
Compare
Choose a tag to compare

v0.3.1 (2024-08-25)

Full Changelog

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:

Adding Ngrok v3.x support

19 Nov 23:19
Compare
Choose a tag to compare

v0.3.0 (2022-11-19)

Both Ngrok v2, and v3 are now supported.

Tested and working on Ubuntu Linux and macOS.

Full Changelog

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

19 Feb 21:33
Compare
Choose a tag to compare

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.

Full Changelog

Merged pull requests:

  • Add config.hosts example for Rails >= 6.0.0 #18 (texpert)
  • Ngrok.start should try to return first @ngrok_url_https or then @ngrok_url #17 (texpert)
  • Use fork, Process.setsid and spawn instead of just spawn, to change the owner of ngrok process #16 (texpert)

Support for persisting Ngrok process data

09 Jan 18:15
Compare
Choose a tag to compare
  • 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-use ngrok_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)