As you see, I gave a command to Rultor, and it released a new version to RubyGems. I didn't do anything else.
Now let's see how you can do the same. How you can configure your project so that the release of its new version to RubyGems.org takes just a few seconds of your time.
By the way, I assume that you're hosting your project in GitHub. If not, this entire tutorial won't work. If you are still not in GitHub, I would strongly recommend moving there.
Create RubyGems Account
Create an account in RubyGems.org.
rubygems.yml file (you may already have it as
You should get this API key from RubyGems. To find your API key, click on your user name when logged in to RubyGems.org and then click on "Edit Profile."
rubygems.yml with a rultor remote:
me/test use the name of your GitHub project.
You will get a new file
rubygems.yml.asc. Add this file to the root directory of your project, commit and push. The file contains your secret information, but only the Rultor server can decrypt it.
gemspec file, make sure you use
1.0.snapshot as a version number:
This version name will be replaced by Rultor during deployment.
.rultor.yml file in the root directory of your project:
In this example, replace
foo with the name of your gem.
Now it's time to see how it all works. Create a new ticket in the GitHub issue tracker, and post something like that into it (read more about Rultor commands):
You will get a response in a few seconds. The rest will be done by Rultor.
BTW, if something doesn't work as I've explained, don't hesitate to submit a ticket to Rultor issue tracker. I will try to help you.