Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions .github/workflows/standardrb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,13 @@ name: StandardRB
on: [push]

jobs:
build:
standardrb:
runs-on: ubuntu-latest
permissions:
checks: write
contents: read
contents: write
steps:
- uses: actions/checkout@v1
- name: StandardRB Linter
uses: standardrb/standard-ruby-action@v0.0.5
uses: standardrb/standard-ruby-action@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
12 changes: 11 additions & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,12 @@
AllCops:
TargetRubyVersion: 2.7
TargetRubyVersion: 3.2

require:
- standard
- standard-custom
- standard-performance

inherit_gem:
standard: config/base.yml
standard-custom: config/base.yml
standard-performance: config/base.yml
2 changes: 0 additions & 2 deletions .standard.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
fix: true
format: progress
extend_config:
- .rubocop.yml
53 changes: 28 additions & 25 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ GEM
securerandom (>= 0.3)
tzinfo (~> 2.0, >= 2.0.5)
uri (>= 0.13.1)
ast (2.4.2)
ast (2.4.3)
base64 (0.3.0)
bigdecimal (4.0.1)
concurrent-ruby (1.3.6)
Expand All @@ -34,26 +34,25 @@ GEM
activesupport (>= 6.1)
i18n (1.14.8)
concurrent-ruby (~> 1.0)
json (2.18.1)
language_server-protocol (3.17.0.3)
json (2.19.1)
language_server-protocol (3.17.0.5)
lint_roller (1.1.0)
logger (1.7.0)
minitest (6.0.2)
drb (~> 2.0)
prism (~> 1.5)
parallel (1.24.0)
parser (3.3.1.0)
parallel (1.27.0)
parser (3.3.10.2)
ast (~> 2.4.1)
racc
prism (1.9.0)
racc (1.7.3)
racc (1.8.1)
rack (3.2.5)
rainbow (3.1.1)
rake (13.0.6)
redis-client (0.26.4)
connection_pool
regexp_parser (2.9.0)
rexml (3.4.2)
regexp_parser (2.11.3)
rspec (3.12.0)
rspec-core (~> 3.12.0)
rspec-expectations (~> 3.12.0)
Expand All @@ -67,22 +66,24 @@ GEM
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.12.0)
rspec-support (3.12.0)
rubocop (1.62.1)
rubocop (1.84.2)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
language_server-protocol (~> 3.17.0.2)
lint_roller (~> 1.1.0)
parallel (~> 1.10)
parser (>= 3.3.0.2)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 1.8, < 3.0)
rexml (>= 3.2.5, < 4.0)
rubocop-ast (>= 1.31.1, < 2.0)
regexp_parser (>= 2.9.3, < 3.0)
rubocop-ast (>= 1.49.0, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.31.3)
parser (>= 3.3.1.0)
rubocop-performance (1.20.2)
rubocop (>= 1.48.1, < 2.0)
rubocop-ast (>= 1.30.0, < 2.0)
unicode-display_width (>= 2.4.0, < 4.0)
rubocop-ast (1.49.0)
parser (>= 3.3.7.2)
prism (~> 1.7)
rubocop-performance (1.26.1)
lint_roller (~> 1.1)
rubocop (>= 1.75.0, < 2.0)
rubocop-ast (>= 1.47.1, < 2.0)
ruby-progressbar (1.13.0)
securerandom (0.4.1)
sidekiq (8.1.1)
Expand All @@ -92,21 +93,23 @@ GEM
rack (>= 3.2.0)
redis-client (>= 0.26.0)
stackprof (0.2.28)
standard (1.35.1)
standard (1.54.0)
language_server-protocol (~> 3.17.0.2)
lint_roller (~> 1.0)
rubocop (~> 1.62.0)
rubocop (~> 1.84.0)
standard-custom (~> 1.0.0)
standard-performance (~> 1.3)
standard-performance (~> 1.8)
standard-custom (1.0.2)
lint_roller (~> 1.0)
rubocop (~> 1.50)
standard-performance (1.3.1)
standard-performance (1.9.0)
lint_roller (~> 1.1)
rubocop-performance (~> 1.20.2)
rubocop-performance (~> 1.26.0)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
unicode-display_width (2.5.0)
unicode-display_width (3.2.0)
unicode-emoji (~> 4.1)
unicode-emoji (4.2.0)
uri (1.1.1)

PLATFORMS
Expand Down
1 change: 0 additions & 1 deletion lib/singed.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

require "json"
require "stackprof"
require "pathname"

module Singed
extend self
Expand Down
1 change: 0 additions & 1 deletion lib/singed/cli.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
require "shellwords"
require "tmpdir"
require "optionparser"
require "pathname"

# NOTE: we defer requiring singed until we run. that lets Rails load it if its in the gemfile, so the railtie has had a chance to run

Expand Down
1 change: 0 additions & 1 deletion spec/singed_spec.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# frozen_string_literal: true

require "tempfile"
require "pathname"

RSpec.describe Singed do
around do |example|
Expand Down
Loading