Skip to content

Commit

Permalink
Prepare for 4.0.0.beta1 release (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
dimkl authored Feb 26, 2024
1 parent 8055960 commit d8f15b0
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 12 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
## unreleased

## 4.0.0.beta1 - 2024-02-26

- feat: replace interstitial with handshake (internal mechanisms) [https://github.com/clerk/clerk-sdk-ruby/pull/45]
- chore: re-organize and refactor internal code to extract functionality of rack middleware [https://github.com/clerk/clerk-sdk-ruby/pull/45]
- changed: `CLERK_PUBLISHABLE_KEY` or `publishable_key` in `Clerk.configure` is **required** [https://github.com/clerk/clerk-sdk-ruby/pull/46]

## 3.0.0 - 2024-01-09

Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
clerk-sdk-ruby (2.11.1)
clerk-sdk-ruby (4.0.0.beta1)
concurrent-ruby (~> 1.1)
faraday (>= 1.4.1, < 3.0)
jwt (~> 2.5)
Expand Down
29 changes: 20 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,18 +174,29 @@ After checking out the repo, run `bin/setup` to install dependencies. Then, run
`bundle exec rake` to run the tests. You can also run `bin/console` for an
interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run `bundle exec rake install`. To
release a new version, update the version number in `version.rb`, and then run
`bundle exec rake release`, which will create a git tag for the version, push
git commits and the created tag, and push the `.gem` file to
[rubygems.org](https://rubygems.org).
To install this gem onto your local machine, run `bundle exec rake install`.

## Release

To release a new version:
- update the version number in `version.rb`
- run `bundle exec rake release`

If gem publishing is NOT executed automatically:
- run `gem push pkg/clerk-sdk-ruby-{version}.gem` to push the `.gem` file to [rubygems.org](https://rubygems.org)

The `bundle exec rake release` command:
- creates a git tag with the version found in `version.rb`
- pushes the git tag

## Yank release

We should avoid yanking a releasing but if it's necessary execute `gem yank clerk-sdk-ruby -v {version}`

## Contributing

Bug reports and pull requests are welcome on GitHub at
https://github.com/clerkinc/clerk-sdk-ruby.
Bug reports and pull requests are welcome on GitHub at https://github.com/clerkinc/clerk-sdk-ruby.

## License

The gem is available as open source under the terms of the
[MIT License](https://opensource.org/licenses/MIT).
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
2 changes: 1 addition & 1 deletion lib/clerk/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module Clerk
VERSION = "3.0.0"
VERSION = "4.0.0.beta1"
end

0 comments on commit d8f15b0

Please sign in to comment.