Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pocke/all-gem
all-gem runs various versions of command provided by gem.
https://github.com/pocke/all-gem
Last synced: about 2 months ago
JSON representation
all-gem runs various versions of command provided by gem.
- Host: GitHub
- URL: https://github.com/pocke/all-gem
- Owner: pocke
- License: mit
- Created: 2022-01-03T09:35:40.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-01-04T04:38:32.000Z (almost 3 years ago)
- Last Synced: 2024-10-20T20:28:21.867Z (2 months ago)
- Language: Ruby
- Homepage:
- Size: 51.8 KB
- Stars: 10
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# all-gem
all-gem runs various versions of command provided by gem.
It was inspired by [all-ruby](https://github.com/akr/all-ruby).
## Installation
Add this line to your application's Gemfile:
```ruby
gem 'all-gem'
```And then execute:
$ bundle install
Or install it yourself as:
$ gem install all-gem
## Usage
Example:
```bash
# Execute `rbs --version` command with all installed versions of rbs gem
$ all-gem rbs --version# Execute `rbs --version` command with all versions of rbs gem
# It installs gems before execution if it is not installed
$ all-gem --remote rbs --version# Execute `rbs --version` command with all latest major versions of rbs gem
$ all-gem --remote --major rbs --version
```See the result of `all-gem help`
## Development
After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
To install this gem onto your local machine, run `bundle exec rake install`. 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 the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
## Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/pocke/all-gem.