Skip to content
Open
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
8 changes: 5 additions & 3 deletions .github/workflows/standardrb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,13 @@ name: StandardRB
on: [push]

jobs:
build:
standardrb:
runs-on: ubuntu-latest
permissions:
checks: write
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 }}
10 changes: 10 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,12 @@
AllCops:
TargetRubyVersion: 2.7

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
54 changes: 29 additions & 25 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,20 @@ PATH
GEM
remote: https://rubygems.org/
specs:
ast (2.4.2)
ast (2.4.3)
diff-lcs (1.5.0)
json (2.7.2)
language_server-protocol (3.17.0.3)
json (2.18.1)
language_server-protocol (3.17.0.5)
lint_roller (1.1.0)
parallel (1.24.0)
parser (3.3.1.0)
parallel (1.27.0)
parser (3.3.10.2)
ast (~> 2.4.1)
racc
racc (1.7.3)
prism (1.9.0)
racc (1.8.1)
rainbow (3.1.1)
rake (13.0.6)
regexp_parser (2.9.0)
rexml (3.2.6)
regexp_parser (2.11.3)
rspec (3.12.0)
rspec-core (~> 3.12.0)
rspec-expectations (~> 3.12.0)
Expand All @@ -34,37 +34,41 @@ 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)
stackprof (0.2.17)
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)
unicode-display_width (2.5.0)
rubocop-performance (~> 1.26.0)
unicode-display_width (3.2.0)
unicode-emoji (~> 4.1)
unicode-emoji (4.2.0)

PLATFORMS
ruby
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