{"id":18631732,"url":"https://github.com/esotericpig/raketeer","last_synced_at":"2025-11-04T05:30:37.352Z","repository":{"id":56890827,"uuid":"198267801","full_name":"esotericpig/raketeer","owner":"esotericpig","description":"💎🍂🗡️ Extra Ruby Rake Tasks.","archived":false,"fork":false,"pushed_at":"2021-06-21T17:46:15.000Z","size":95,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-28T00:24:32.093Z","etag":null,"topics":["bump","bumpversion","github-package","github-package-registry","github-packages","irb","nokogiri","rake","rake-task"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/esotericpig.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}},"created_at":"2019-07-22T17:01:04.000Z","updated_at":"2024-09-04T00:33:14.000Z","dependencies_parsed_at":"2022-08-20T15:20:51.217Z","dependency_job_id":null,"html_url":"https://github.com/esotericpig/raketeer","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/esotericpig%2Fraketeer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/esotericpig%2Fraketeer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/esotericpig%2Fraketeer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/esotericpig%2Fraketeer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/esotericpig","download_url":"https://codeload.github.com/esotericpig/raketeer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239425427,"owners_count":19636346,"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":["bump","bumpversion","github-package","github-package-registry","github-packages","irb","nokogiri","rake","rake-task"],"created_at":"2024-11-07T05:08:26.716Z","updated_at":"2025-02-18T07:21:01.525Z","avatar_url":"https://github.com/esotericpig.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Raketeer\n\n[![Gem Version](https://badge.fury.io/rb/raketeer.svg)](https://badge.fury.io/rb/raketeer)\n\n[![Source Code](https://img.shields.io/badge/source-github-%23A0522D.svg?style=for-the-badge)](https://github.com/esotericpig/raketeer)\n[![Changelog](https://img.shields.io/badge/changelog-md-%23A0522D.svg?style=for-the-badge)](CHANGELOG.md)\n[![License](https://img.shields.io/github/license/esotericpig/raketeer.svg?color=%23A0522D\u0026style=for-the-badge)](LICENSE.txt)\n\nExtra Ruby Rake Tasks.\n\nA [CLI app](https://github.com/esotericpig/raketary) is also available that uses these tasks, which is useful for tasks like *bump* (which bumps the version for your RubyGem project) so that you don't have to include this Gem as a development dependency for every project.\n\n## Contents\n\n- [Setup](#setup)\n- [Using](#using)\n- [Hacking](#hacking)\n- [License](#license)\n\n## [Setup](#contents)\n\nPick your poison...\n\nWith the RubyGems CLI package manager:\n\n`$ gem install raketeer`\n\nIn your *Gemspec* (*\u0026lt;project\u0026gt;.gemspec*):\n\n```Ruby\nspec.add_development_dependency 'raketeer', '~\u003e 0.2'\n```\n\nIn your *Gemfile*:\n\n```Ruby\ngem 'raketeer', '~\u003e 0.2', group: [:development, :test]\n\n# or...\ngem 'raketeer', git: 'https://github.com/esotericpig/raketeer.git',\n                tag: 'v0.2.10', group: [:development, :test]\n```\n\nManually:\n\n```\n$ git clone 'https://github.com/esotericpig/raketeer.git'\n$ cd raketeer\n$ bundle install\n$ bundle exec rake install:local\n```\n\n## [Using](#contents)\n\n**Rakefile**\n\nIn your *Rakefile*, you can either include all tasks...\n\n```Ruby\nrequire 'raketeer/all'\n```\n\nOr, include the specific tasks that you need:\n\n```Ruby\nrequire 'raketeer/bump'\nrequire 'raketeer/github_pkg'\nrequire 'raketeer/irb'\nrequire 'raketeer/nokogiri_installs'\nrequire 'raketeer/run'\n```\n\nIf you have conflicting tasks and/or you want to see what tasks have been included, you can put them in a namespace:\n\n```Ruby\nnamespace :rt do\n  require 'raketeer/all'\nend\n```\n\n**Included Tasks**\n\n```\nrake bump[version]      # Show/Set/Bump the version\nrake bump:build[build]  # Set/Erase the build metadata\nrake bump:bundle        # Bump the Gemfile.lock version\nrake bump:help          # Show the help/usage for bump tasks\nrake bump:major[major]  # Bump/Set the major version\nrake bump:minor[minor]  # Bump/Set the minor version\nrake bump:patch[patch]  # Bump/Set the patch version\nrake bump:pre[pre]      # Set/Erase the pre-release version\nrake github_pkg         # Publish this project's gem(s) to GitHub Packages\nrake irb                # Open an irb session loaded with this library\nrake nokogiri_apt       # Install Nokogiri libs for Ubuntu/Debian\nrake nokogiri_dnf       # Install Nokogiri libs for Fedora/CentOS/Red Hat\nrake nokogiri_other     # Install Nokogiri libs for other OSes\nrake run                # Run this project's main file: \"rake run -- --version\"\n```\n\n**bump:help**\n\n```\n$ rake bump:help\nrake bump  # Print the current version\n\n# You can run a dry run for any task (will not write to files)\nrake bump dryrun=true\n\nrake bump[1.2.3-alpha.4-beta.5]       # Set the version manually\nrake bump major=1 minor=2 patch=3     # Set the version numbers\nrake bump pre=alpha.4 build=beta.5    # Set the version extensions\nrake bump major=+1 minor=+1 patch=+1  # Bump the version numbers by 1\nrake bump major=+2 minor=+3 patch=+4  # Bump the version numbers by X\n\nrake bump:major          # Bump the major version by 1\nrake bump:major[1]       # Set the major version to 1\nrake bump:major[+2]      # Bump the major version by 2\nrake bump:minor          # Bump the minor version by 1\nrake bump:minor[2]       # Set the minor version to 2\nrake bump:minor[+3]      # Bump the minor version by 3\nrake bump:patch          # Bump the patch version by 1\nrake bump:patch[3]       # Set the patch version to 3\nrake bump:patch[+4]      # Bump the patch version by 4\nrake bump:pre            # Erase the pre-release version\nrake bump:pre[alpha.4]   # Set the pre-release version\nrake bump:build          # Erase the build metadata\nrake bump:build[beta.5]  # Set the build metadata\nrake bump:bundle         # Bump the Gemfile.lock version\n```\n\n**Modifying Tasks**\n\nIf you need more control, for now, please look at the accessors of each task (better documentation is planned for v1.0.0):\n\n- [BumpTask](lib/raketeer/bump_task.rb)\n- [GitHubPkgTask](lib/raketeer/github_pkg_task.rb)\n- [IRBTask](lib/raketeer/irb_task.rb)\n- [NokogiriAPTTask](lib/raketeer/nokogiri_install_tasks.rb)\n- [NokogiriDNFTask](lib/raketeer/nokogiri_install_tasks.rb)\n- [NokogiriOtherTask](lib/raketeer/nokogiri_install_tasks.rb)\n- [RunTask](lib/raketeer/run_task.rb)\n\nFor example, in your *Rakefile*:\n\n```Ruby\nrequire 'raketeer/bump_task'\n\nRaketeer::BumpTask.new() do |task|\n  task.strict = true\nend\n```\n\n```Ruby\nrequire 'raketeer/github_pkg_task'\n\nRaketeer::GitHubPkgTask.new() do |task|\n  task.deps \u003c\u003c 'test'\n  task.username = 'esotericpig'\nend\n```\n\n## [Hacking](#contents)\n\n```\n$ git clone 'https://github.com/esotericpig/raketeer.git'\n$ cd raketeer\n$ bundle install\n$ bundle exec rake -T\n```\n\n## [License](#contents)\n\n[GNU LGPL v3+](LICENSE.txt)\n\n\u003e Raketeer (\u003chttps://github.com/esotericpig/raketeer\u003e)  \n\u003e Copyright (c) 2019-2021 Jonathan Bradley Whited  \n\u003e \n\u003e Raketeer is free software: you can redistribute it and/or modify  \n\u003e it under the terms of the GNU Lesser General Public License as published by  \n\u003e the Free Software Foundation, either version 3 of the License, or  \n\u003e (at your option) any later version.  \n\u003e \n\u003e Raketeer is distributed in the hope that it will be useful,  \n\u003e but WITHOUT ANY WARRANTY; without even the implied warranty of  \n\u003e MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the  \n\u003e GNU Lesser General Public License for more details.  \n\u003e \n\u003e You should have received a copy of the GNU Lesser General Public License  \n\u003e along with Raketeer.  If not, see \u003chttps://www.gnu.org/licenses/\u003e.  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fesotericpig%2Fraketeer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fesotericpig%2Fraketeer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fesotericpig%2Fraketeer/lists"}