Resources
12Install
npx skillscat add elysium-arc/webhook-retry Install via the SkillsCat registry.
SKILL.md
Custom Skills for WebhookRetry
/test
Run the test suite.
bundle exec rspec/test-file
Run tests for a specific file. Usage: /test-file spec/models/webhook_retry/webhook_spec.rb
bundle exec rspec $1/build
Build the gem package.
gem build webhook_retry.gemspec/install-local
Install the gem locally for testing.
gem build webhook_retry.gemspec && gem install webhook_retry-*.gem/console
Open an IRB console with the gem loaded.
cd spec/dummy && bundle exec rails console/migrate
Run migrations in the dummy app.
cd spec/dummy && bundle exec rails db:migrate/generate
Run the install generator in the dummy app.
cd spec/dummy && bundle exec rails g webhook_retry:install/lint
Run RuboCop linter.
bundle exec rubocop/lint-fix
Run RuboCop with auto-fix.
bundle exec rubocop -A/deps
Check gem dependencies.
bundle check || bundle install/clean
Remove built gem files.
rm -f webhook_retry-*.gem/coverage
Run tests with coverage report.
COVERAGE=true bundle exec rspec/dummy-server
Start the dummy Rails app server.
cd spec/dummy && bundle exec rails server -p 3001