Absolutely: `bundle gem` doesn’t really do anything for you.
`hoe`, with a few judicious plugins, makes the release process easy. It was
created by Ryan because he has a prodigious number of gems.
All of the gems that I am the primary maintainer for use Hoe, and have
since it was first released.
-
https://github.com/KineticCafe/app_identity/tree/main/ruby
-
https://github.com/mime-types/ruby-mime-types
-
https://github.com/mime-types/mime-types-data
-
https://github.com/halostatue/diff-lcs
Sure, there’s nothing that I *couldn’t* do with this, but when I get ready
for release, after updating the version, I basically do:
```sh
$ bundle exec rake git:manifest gemspec
$ git commit -am "Update manifest and gemspec"
$ bundle exec rake release VERSION=2.3 # or whatever the version number is
```
It can, as the first post in this thread shows, even email your
announcement to ruby-core, but I have disabled that in most of my gems (the
value has dropped). If Twitter were likely to be an ongoing concern, then
it might be possible to automate such posts *there*, too, with a hoe plugin.
You can write your gemspec manually, but why would you?
You could depend on the Gemfile, but why would you?
Far better to just do the right thing by default and use hoe.
-a
On Fri, Dec 16, 2022 at 5:47 PM Corey Donohoe <atmos(a)atmos.org> wrote:
Any reason to use this over the “bundle gem” command
so many of us adopted
over the last decade?
On Fri, Dec 16, 2022 at 11:56 AM Austin Ziegler via ruby-talk <
ruby-talk(a)ml.ruby-lang.org> wrote:
It doesn't look like seattlerb/hoe has been
updated. There’s no 4.0.0 tag
and no details on the upgrade path in the History.md.
On Thu, Dec 15, 2022 at 2:37 PM Ryan Davis <ryand-ruby(a)zenspider.com>
wrote:
hoe version 4.0.0 has been released!
* home: <http://www.zenspider.com/projects/hoe.html>
* code: <https://github.com/seattlerb/hoe>
* bugs: <https://github.com/seattlerb/hoe/issues>
* rdoc: <http://docs.seattlerb.org/hoe/>
* doco: <http://docs.seattlerb.org/hoe/Hoe.pdf>
* clog: <https://github.com/seattlerb/hoe/blob/master/History.rdoc>
* other: <http://github.com/jbarnette/hoe-plugin-examples>
Hoe is a rake/rubygems helper for project Rakefiles. It helps you
manage, maintain, and release your project and includes a dynamic
plug-in system allowing for easy extensibility. Hoe ships with
plug-ins for all your usual project tasks including rdoc generation,
testing, packaging, deployment, and announcement.
See class rdoc for help. Hint: `ri Hoe` or any of the plugins listed
below.
For extra goodness, see:
http://docs.seattlerb.org/hoe/Hoe.pdf
Changes:
### 3.26.0 / 2022-10-20
* 2 minor enhancements:
* Added warning to bundled minitest/test_task.
* Removed dead rcov plugin and added (simple)cov plugin.
* 1 bug fix:
* Fixed test task load path issue, prepend Hoe.include_dirs to ensure
they come first.
______________________________________________
ruby-talk mailing list -- ruby-talk(a)ml.ruby-lang.org
To unsubscribe send an email to ruby-talk-leave(a)ml.ruby-lang.org
ruby-talk info --
https://ml.ruby-lang.org/mailman3/postorius/lists/ruby-talk.ml.ruby-lang.or…
--
Austin Ziegler • halostatue(a)gmail.com • austin(a)halostatue.ca
http://www.halostatue.ca/ •
http://twitter.com/halostatue
______________________________________________
ruby-talk mailing list -- ruby-talk(a)ml.ruby-lang.org
To unsubscribe send an email to ruby-talk-leave(a)ml.ruby-lang.org
ruby-talk info --
https://ml.ruby-lang.org/mailman3/postorius/lists/ruby-talk.ml.ruby-lang.or…
--
Austin Ziegler • halostatue(a)gmail.com • austin(a)halostatue.ca
http://www.halostatue.ca/ •
http://twitter.com/halostatue