{"id":13463104,"url":"https://github.com/postmodern/rubygems-tasks","last_synced_at":"2025-04-09T10:08:58.744Z","repository":{"id":56893462,"uuid":"2317497","full_name":"postmodern/rubygems-tasks","owner":"postmodern","description":"Simple Rake tasks for managing and releasing Ruby projects.","archived":false,"fork":false,"pushed_at":"2023-09-07T23:08:44.000Z","size":212,"stargazers_count":77,"open_issues_count":6,"forks_count":5,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-04-02T08:11:08.461Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/postmodern.png","metadata":{"files":{"readme":"README.md","changelog":"ChangeLog.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2011-09-03T02:39:34.000Z","updated_at":"2024-11-10T18:44:06.000Z","dependencies_parsed_at":"2024-01-13T17:49:26.721Z","dependency_job_id":"704c116a-5a1a-49bd-82e3-10ba9996ce66","html_url":"https://github.com/postmodern/rubygems-tasks","commit_stats":{"total_commits":259,"total_committers":2,"mean_commits":129.5,"dds":"0.0038610038610038533","last_synced_commit":"c70565da4575cdc68c61ff7c40ca78ddf3f84cff"},"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/postmodern%2Frubygems-tasks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/postmodern%2Frubygems-tasks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/postmodern%2Frubygems-tasks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/postmodern%2Frubygems-tasks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/postmodern","download_url":"https://codeload.github.com/postmodern/rubygems-tasks/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248018061,"owners_count":21034048,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-31T13:00:46.058Z","updated_at":"2025-04-09T10:08:58.725Z","avatar_url":"https://github.com/postmodern.png","language":"Ruby","funding_links":[],"categories":["Developer Tools"],"sub_categories":["Gem Creation"],"readme":"# rubygems-tasks\n\n[![CI](https://github.com/postmodern/rubygems-tasks/actions/workflows/ruby.yml/badge.svg)](https://github.com/postmodern/rubygems-tasks/actions/workflows/ruby.yml)\n[![Code Climate](https://codeclimate.com/github/postmodern/rubygems-tasks.svg)](https://codeclimate.com/github/postmodern/rubygems-tasks)\n\n* [Source](https://github.com/postmodern/rubygems-tasks)\n* [Issues](https://github.com/postmodern/rubygems-tasks/issues)\n* [Email](mailto:postmodern.mod3 at gmail.com)\n\n## Description\n\nrubygems-tasks provides agnostic and unobtrusive Rake tasks for building,\ninstalling and releasing Ruby Gems.\n\n    require 'rubygems/tasks'\n    Gem::Tasks.new\n\n## Philosophy\n\nThe Rake tasks which you use to manage a Ruby project should not be coupled\nto the project generator which you used to create the project.\nProject generators have nothing to do with the Rake tasks used to build,\ninstall and release a Ruby project.\n\nRecently, many Ruby Developers began creating Ruby projects by hand,\nbuilding/releasing RubyGems using `gem build` / `gem push`. Sometimes this\nresulted in RubyGems being released with uncommitted changes, or the developer\nforgetting to tag the release. Ruby Developers should have access to\n**agnostic** and **unobtrusive** Rake tasks, to **automate** the release\nprocess.\n\nThis is what rubygems-tasks seeks to provide.\n\n## Features\n\n* Provides tasks to build, install and push gems to [rubygems.org].\n  * Loads all project metadata from the `.gemspec` file.\n  * Supports loading multiple `.gemspec` files.\n  * Supports pushing gems to alternate [gem server]s.\n* Supports optionally building `.tar.gz` and `.zip` archives.\n  * `build:tar`\n  * `build:zip`\n* Supports [Git], [Mercurial] and [SubVersion] Source-Code-Managers\n  (SCMs).\n  * Supports creating PGP signed Git/Mercurial tags.\n* Provides optional `sign` tasks for package integrity:\n  * `sign:checksum`\n  * `sign:pgp`\n* Provides a `console` task, for jumping right into your code.\n* Defines task aliases for users coming from [Jeweler] or [Hoe].\n* ANSI coloured messages!\n\n## Anti-Features\n\n* **Does not** parse project metadata from the README or the ChangeLog.\n* **Does not** generate or modify code.\n* **Does not** automatically commit changes.\n* **Does not** inject dependencies into gems.\n* **Zero** dependencies.\n\n## Requirements\n\n* [ruby] \u003e= 2.0.0\n* [rake]\n\n## Install\n\n    $ gem install rubygems-tasks\n\n## Examples\n\nSpecifying an alternate Ruby Console to run:\n\n    Gem::Tasks.new do |tasks|\n      tasks.console.command = 'pry'\n    end\n\nEnable pushing gems to an in-house [gem server]:\n\n    Gem::Tasks.new do |tasks|\n      tasks.push.host = 'gems.company.com'\n    end\n\nDisable the `push` task:\n\n    Gem::Tasks.new(push: false)\n\nEnable building `.tar.gz` and `.zip` archives:\n\n    Gem::Tasks.new(build: {tar: true, zip: true})\n\nEnable Checksums and PGP signatures for built packages:\n\n    Gem::Tasks.new(sign: {checksum: true, pgp: true})\n\nSelectively defining tasks:\n\n    Gem::Tasks::Build::Tar.new\n    Gem::Tasks::SCM::Status.new\n    Gem::Tasks::SCM::Tag.new(format: 'REL-%s')\n    Gem::Tasks::Sign::Checksum.new\n    Gem::Tasks::Console.new\n\n## Synopsis\n\n    rake build    # Builds all packages\n    rake console  # Spawns an Interactive Ruby Console\n    rake install  # Installs all built gem packages\n    rake release  # Performs a release\n\n## Copyright\n\nCopyright (c) 2011-2020 Hal Brodigan\n\nSee {file:LICENSE.txt} for details.\n\n[Git]: http://git-scm.com/\n[Mercurial]: http://mercurial.selenic.com/\n[SubVersion]: http://subversion.tigris.org/\n\n[Jeweler]: https://github.com/technicalpickles/jeweler#readme\n[Hoe]: https://github.com/seattlerb/hoe#readme\n\n[rubygems.org]: https://rubygems.org/\n[gem server]: https://github.com/rubygems/rubygems.org#readme\n\n[ruby]: https://www.ruby-lang.org/\n[rake]: https://rubygems.org/gems/rake\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpostmodern%2Frubygems-tasks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpostmodern%2Frubygems-tasks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpostmodern%2Frubygems-tasks/lists"}