Super-simple tool to package and upload gems to Gemfury.
Add this line to your gem's .gemspec:
Gem::Specification.new do |spec|
# ...
spec.add_development_dependency 'furious'
end
furious package
- build a gem packagefurious tag
- tags the version in the Git repositoryfurious push
- pushes the gem to Gemfury (requirespackage
to have been run successfully, aGEMFURY_TOKEN
environment variable to be set to your token, and aGEMFURY_ACCOUNT
environment variable to be set to your account name)
Running furious release
does all of the above, perfect for running in your CI environment for auto-releasing.
Run rake test
to run the tests. You can also run bin/console
for an interactive prompt that will allow you to experiment.
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 tags, and push the .gem
file to rubygems.org.
Bug reports and pull requests are welcome on GitHub at https://github.com/csutter/furious.
The gem is available as open source under the terms of the MIT License.