Skip to content

Commit

Permalink
Add standardrb
Browse files Browse the repository at this point in the history
  • Loading branch information
kyrylo committed Jun 5, 2024
1 parent 17a4909 commit bc9e75a
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 5 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/standardrb.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: StandardRB

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: "3.3"
bundler-cache: true

- name: Install gems
run: bundle install --jobs 4 --retry 3

- name: Run StandardRB
run: bundle exec standardrb --format progress
4 changes: 3 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,7 @@
source "https://rubygems.org"
gemspec

gem "rake", "~> 13.2"
gem "minitest", "~> 5.23"
gem "rake", "~> 13.2"

gem "standard", group: %i[development test]
9 changes: 5 additions & 4 deletions telebugs.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ Gem::Specification.new do |spec|
spec.email = ["help@telebugs.com"]

spec.summary = "Report errors to Telebugs with the offical Ruby SDK"
spec.description = <<DESC
Telebugs Ruby is an SDK for Telebugs (https://telebugs.com/), a simple error monitoring tool for developers. With
Telebugs, you can track production errors in real-time and report them to Telegram.
DESC
spec.description = <<~DESC
Telebugs Ruby is an SDK for Telebugs (https://telebugs.com/), a simple error monitoring tool for developers. With
Telebugs, you can track production errors in real-time and report them to Telegram.
DESC

spec.homepage = "https://telebugs.com"
spec.required_ruby_version = ">= 3.0.0"
Expand All @@ -37,4 +37,5 @@ DESC

# For more information and examples about making a new gem, check out our
# guide at: https://bundler.io/guides/creating_gem.html
spec.metadata["rubygems_mfa_required"] = "true"
end

0 comments on commit bc9e75a

Please sign in to comment.