Skip to content

Commit

Permalink
Fix standardrb
Browse files Browse the repository at this point in the history
  • Loading branch information
ssaunier committed Dec 21, 2023
1 parent 85935df commit 4bdd45d
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 20 deletions.
52 changes: 34 additions & 18 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,22 @@ GEM
faraday (~> 2.0)
i18n (1.12.0)
concurrent-ruby (~> 1.0)
json (2.7.1)
language_server-protocol (3.17.0.3)
lint_roller (1.1.0)
minitest (5.18.0)
octokit (4.25.0)
faraday (>= 1, < 3)
sawyer (~> 0.9)
parallel (1.20.1)
parser (3.0.2.0)
parallel (1.24.0)
parser (3.2.2.4)
ast (~> 2.4.1)
racc
public_suffix (4.0.7)
rainbow (3.0.0)
regexp_parser (2.1.1)
rexml (3.2.5)
racc (1.7.3)
rainbow (3.1.1)
regexp_parser (2.8.3)
rexml (3.2.6)
rspec (3.10.0)
rspec-core (~> 3.10.0)
rspec-expectations (~> 3.10.0)
Expand All @@ -45,31 +50,42 @@ GEM
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.10.0)
rspec-support (3.10.1)
rubocop (1.18.4)
rubocop (1.57.2)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
parallel (~> 1.10)
parser (>= 3.0.0.0)
parser (>= 3.2.2.4)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 1.8, < 3.0)
rexml
rubocop-ast (>= 1.8.0, < 2.0)
rexml (>= 3.2.5, < 4.0)
rubocop-ast (>= 1.28.1, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 1.4.0, < 3.0)
rubocop-ast (1.10.0)
parser (>= 3.0.1.1)
rubocop-performance (1.11.4)
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.30.0)
parser (>= 3.2.1.0)
rubocop-performance (1.19.1)
rubocop (>= 1.7.0, < 2.0)
rubocop-ast (>= 0.4.0)
ruby-progressbar (1.11.0)
ruby-progressbar (1.13.0)
ruby2_keywords (0.0.5)
sawyer (0.9.2)
addressable (>= 2.3.5)
faraday (>= 0.17.3, < 3)
standard (1.1.7)
rubocop (= 1.18.4)
rubocop-performance (= 1.11.4)
standard (1.32.1)
language_server-protocol (~> 3.17.0.2)
lint_roller (~> 1.0)
rubocop (~> 1.57.2)
standard-custom (~> 1.0.0)
standard-performance (~> 1.2)
standard-custom (1.0.2)
lint_roller (~> 1.0)
rubocop (~> 1.50)
standard-performance (1.2.1)
lint_roller (~> 1.1)
rubocop-performance (~> 1.19.1)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
unicode-display_width (2.0.0)
unicode-display_width (2.5.0)
zeitwerk (2.6.7)

PLATFORMS
Expand Down
2 changes: 1 addition & 1 deletion app/services/github_checks_verifier.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# frozen_string_literal: true

require_relative "./application_service"
require_relative "application_service"
require_relative "../errors/check_conclusion_not_allowed_error"
require_relative "../errors/check_never_run_error"
require "active_support/configurable"
Expand Down
2 changes: 1 addition & 1 deletion entrypoint.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env ruby
require_relative "./app/services/github_checks_verifier"
require_relative "app/services/github_checks_verifier"
require "octokit"

allowed_conclusions = ENV["ALLOWED_CONCLUSIONS"]
Expand Down

0 comments on commit 4bdd45d

Please sign in to comment.