All Projects → rootstrap → rsgem

rootstrap / rsgem

Licence: MIT license
Rootstrap way ® to generate gems

Programming Languages

ruby
36898 projects - #4 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to rsgem

reproducible-continual-learning
Continual learning baselines and strategies from popular papers, using Avalanche. We include EWC, SI, GEM, AGEM, LwF, iCarl, GDumb, and other strategies.
Stars: ✭ 118 (+353.85%)
Mutual labels:  gem
i18n lazy scope
Use lazy lookup with custom i18n scopes.
Stars: ✭ 11 (-57.69%)
Mutual labels:  gem
mixin bot
A simple API wrapper for Mixin Network in Ruby
Stars: ✭ 12 (-53.85%)
Mutual labels:  gem
hijri
Hijri date library for Ruby
Stars: ✭ 56 (+115.38%)
Mutual labels:  gem
active record-updated at
Touch `updated_at` by default with calls to `update_all` and `update_column(s)`
Stars: ✭ 27 (+3.85%)
Mutual labels:  gem
churnalizer
Analyze your Ruby app for Churn vs Complexity
Stars: ✭ 17 (-34.62%)
Mutual labels:  gem
warm-blanket
Ruby gem for warming up web services on boot
Stars: ✭ 1 (-96.15%)
Mutual labels:  gem
index shotgun
duplicate index checker 🔥 🔫 👮
Stars: ✭ 35 (+34.62%)
Mutual labels:  gem
exception hunter
Crash reporting engine to hunt down bugs 🐞
Stars: ✭ 78 (+200%)
Mutual labels:  gem
syobocal
Simle gem for Syboi Calendar
Stars: ✭ 13 (-50%)
Mutual labels:  gem
ewstools
Python package for early warning signals (EWS) of bifurcations in time series data.
Stars: ✭ 29 (+11.54%)
Mutual labels:  bootstrapping
southwest-checkin
Easy-to-use gem to check in to Southwest flights automatically. Also supports sending email notifications.
Stars: ✭ 67 (+157.69%)
Mutual labels:  gem
cutpointr
Optimal cutpoints in R: determining and validating optimal cutpoints in binary classification
Stars: ✭ 75 (+188.46%)
Mutual labels:  bootstrapping
ssrf filter
A ruby gem for defending against Server Side Request Forgery (SSRF) attacks
Stars: ✭ 68 (+161.54%)
Mutual labels:  gem
rails-heroicon
Ruby on Rails views helpers for the awesome heroicons by Steve Schoger.
Stars: ✭ 23 (-11.54%)
Mutual labels:  gem
click house
Modern Ruby database driver for ClickHouse
Stars: ✭ 133 (+411.54%)
Mutual labels:  gem
my api client
A framework of Web API Client. Provides features error handling, retrying, pagination and so on.
Stars: ✭ 19 (-26.92%)
Mutual labels:  gem
drape
Drape – Reincarnation of Draper for Rails 5
Stars: ✭ 57 (+119.23%)
Mutual labels:  gem
carender
📅 A monthly calendar for Rails application
Stars: ✭ 15 (-42.31%)
Mutual labels:  gem
backlog kit
Client library for the Nulab's Backlog API version 2 written in Ruby.
Stars: ✭ 28 (+7.69%)
Mutual labels:  gem

rsgem - Rootstrap's gem generator

Gem Version ci Maintainability Test Coverage

rsgem is a tool to help you start developing gems with the defaults we use at Rootstrap.

Installation

$ gem install rsgem

We highly suggest to not include rsgem in your Gemfile. rsgem is not a library, and should not affect the dependency tree of your project.

Usage

rsgem new NAME

RSGem will solve the following tasks for you:

  1. Create a folder for your gem leveraging bundler's defaults. (You need bundler in your system)
  2. Add the following dependencies:
  3. Add configuration files for Reek and Rubocop with default Rootstrap's configuration.
  4. Add a rake task to run Rubocop and Reek by calling rake code_analysis.
  5. Clean the Gemfile.
  6. Git ignore the Gemfile.lock
  7. Add a CI provider configuration. GitHub Actions and Travis are available providers. Travis is the default.
  8. Set the bundled files to be a short list of files. By default the gem will bundle:
    • LICENSE.txt
    • README.md
    • lib/**/* (everything inside lib)
  9. Apply Rubocop style fixes

Examples

rsgem new foo

Creates a new gem called foo.

rsgem new bar --ci=github_actions

Creates a new gem called bar that uses Github Actions as the CI provider.

rsgem new foo_bar --bundler=--ext

Creates a new gem called foo_bar and passes the --ext flag to bundler.

rsgem new bar_foo --bundler='--several --flags'

Creates a new gem passing several flags to bundler.

Help

rsgem -h

Displays global help.

rsgem new -h

Displays help for the new command.

Development

After checking out the repo, run bin/setup to install dependencies. Then, run bundle exec rspec to run the tests. 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 tags, and push the .gem file to rubygems.org.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/rootstrap/rsgem. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the code of conduct.

License

The gem is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the Rootstrap project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].