Skip to content

Commit

Permalink
Preparing the new v0.3.1 release
Browse files Browse the repository at this point in the history
  • Loading branch information
texpert committed Aug 25, 2024
1 parent 9dc9298 commit 62fce5a
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 11 deletions.
25 changes: 24 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,33 @@
# Changelog

## [v0.3.1](https://github.com/texpert/ngrok-wrapper/tree/v0.3.1) (2024-08-25)

[Full Changelog](https://github.com/texpert/ngrok-wrapper/compare/v0.3.0...v0.3.1)

### Maintenance release

Ruby, Rubocop, and CI upgrades

**Closed issues:**

- Config error with Ngrok v3.3.3 [\#31](https://github.com/texpert/ngrok-wrapper/issues/31)
- The ngrok agent \(v3\) only accepts long name flags prefixed with -- and will error if a single hyphen is used [\#20](https://github.com/texpert/ngrok-wrapper/issues/20)

**Merged pull requests:**

- Upgrade paambaati/codeclimate-action to version 9 [\#34](https://github.com/texpert/ngrok-wrapper/pull/34) ([texpert](https://github.com/texpert))
- Upgrade actions/checkout to version 4 [\#33](https://github.com/texpert/ngrok-wrapper/pull/33) ([texpert](https://github.com/texpert))
- Restrict Ruby minimal version to 3.1 [\#32](https://github.com/texpert/ngrok-wrapper/pull/32) ([texpert](https://github.com/texpert))
- Bump actions/checkout to 3.5.0 [\#30](https://github.com/texpert/ngrok-wrapper/pull/30) ([texpert](https://github.com/texpert))
- Bump actions/checkout to 3.3.0 [\#29](https://github.com/texpert/ngrok-wrapper/pull/29) ([texpert](https://github.com/texpert))
- Bump main Ruby version to 2.7.7 [\#28](https://github.com/texpert/ngrok-wrapper/pull/28) ([texpert](https://github.com/texpert))
- Fix Code Climate issues [\#27](https://github.com/texpert/ngrok-wrapper/pull/27) ([texpert](https://github.com/texpert))

## [v0.3.0](https://github.com/texpert/ngrok-wrapper/tree/v0.3.0) (2022-11-19)

[Full Changelog](https://github.com/texpert/ngrok-wrapper/compare/v0.2.0...v0.3.0)

Both Ngrok v2, and v3 are now supported.
### Both Ngrok v2, and v3 are now supported.

Tested and working on Ubuntu Linux and macOS.

Expand Down
20 changes: 11 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,32 +50,32 @@ Ngrok::Wrapper.start

# ngrok local_port
Ngrok::Wrapper.port
=> 3001
# => 3001

# ngrok external url
Ngrok::Wrapper.ngrok_url
=> "http://aaa0e65.ngrok.io"
# => "http://aaa0e65.ngrok.io"

Ngrok::Wrapper.ngrok_url_https
=> "https://aaa0e65.ngrok.io"
# => "https://aaa0e65.ngrok.io"

Ngrok::Wrapper.running?
=> true
# => true

Ngrok::Wrapper.stopped?
=> false
# => false

# ngrok process id
Ngrok::Wrapper.pid
=> 27384
# => 27384

# ngrok log file descriptor
Ngrok::Wrapper.log
=> #<File:/tmp/ngrok20141022-27376-cmmiq4>
# => #<File:/tmp/ngrok20141022-27376-cmmiq4>

# kill ngrok
Ngrok::Wrapper.stop
=> :stopped
# => :stopped

```

Expand Down Expand Up @@ -200,6 +200,7 @@ git pull
github_changelog_generator -u texpert -p ngrok-wrapper --future-release v0.1.0
```
Adjust the new gem version number in the `lib/ngrok/wrapper/version.rb` file.

Then add the changes to `git`, commit and push the `Preparing the new release` commit directly into the `main` branch:

Expand All @@ -221,7 +222,8 @@ gem owner ngrok-wrapper -a [email protected]

### Building a new gem version

Adjust the new gem version number in the `lib/ngrok/wrapper/version.rb` file. It is used when building the gem by the following command:
Check if the new gem version number in the `lib/ngrok/wrapper/version.rb` file has been specified.
It is used when building the gem by the following command:

```
gem build ngrok-wrapper.gemspec
Expand Down
2 changes: 1 addition & 1 deletion lib/ngrok/wrapper/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

module Ngrok
class Wrapper
VERSION = '0.3.0'
VERSION = '0.3.1'
end
end

0 comments on commit 62fce5a

Please sign in to comment.