Skip to content

Commit

Permalink
Merge pull request #251 from simplybusiness/dependabot/bundler/simply…
Browse files Browse the repository at this point in the history
…cop-2.12.0

Bump simplycop from 2.9.1 to 2.12.0
  • Loading branch information
peaky76 authored Feb 5, 2025
2 parents 1516437 + f2b77e7 commit 48f5a41
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 23 deletions.
46 changes: 24 additions & 22 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ GEM
base64 (0.2.0)
benchmark (0.4.0)
bigdecimal (3.1.9)
concurrent-ruby (1.3.4)
connection_pool (2.4.1)
concurrent-ruby (1.3.5)
connection_pool (2.5.0)
crack (1.0.0)
bigdecimal
rexml
Expand All @@ -38,26 +38,26 @@ GEM
faraday-retry (2.2.1)
faraday (~> 2.0)
hashdiff (1.1.1)
i18n (1.14.6)
i18n (1.14.7)
concurrent-ruby (~> 1.0)
json (2.9.1)
jwt (2.10.1)
base64
language_server-protocol (3.17.0.3)
logger (1.6.4)
language_server-protocol (3.17.0.4)
logger (1.6.5)
minitest (5.25.4)
net-http (0.6.0)
uri
octokit (9.2.0)
faraday (>= 1, < 3)
sawyer (~> 0.9)
parallel (1.26.3)
parser (3.3.6.0)
parser (3.3.7.0)
ast (~> 2.4.1)
racc
public_suffix (6.0.1)
racc (1.8.1)
rack (3.1.8)
rack (3.1.9)
rainbow (3.1.1)
rbtree3 (0.7.1)
regexp_parser (2.10.0)
Expand All @@ -75,31 +75,31 @@ GEM
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.13.0)
rspec-support (3.13.0)
rubocop (1.68.0)
rubocop (1.71.0)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
parallel (~> 1.10)
parser (>= 3.3.0.2)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 2.4, < 3.0)
rubocop-ast (>= 1.32.2, < 2.0)
regexp_parser (>= 2.9.3, < 3.0)
rubocop-ast (>= 1.36.2, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.36.1)
unicode-display_width (>= 2.4.0, < 4.0)
rubocop-ast (1.38.0)
parser (>= 3.3.1.0)
rubocop-capybara (2.21.0)
rubocop (~> 1.41)
rubocop-factory_bot (2.26.1)
rubocop (~> 1.61)
rubocop-performance (1.23.0)
rubocop-performance (1.23.1)
rubocop (>= 1.48.1, < 2.0)
rubocop-ast (>= 1.31.1, < 2.0)
rubocop-rails (2.27.0)
rubocop-rails (2.29.1)
activesupport (>= 4.2.0)
rack (>= 1.1)
rubocop (>= 1.52.0, < 2.0)
rubocop-ast (>= 1.31.1, < 2.0)
rubocop-rspec (3.2.0)
rubocop-rspec (3.4.0)
rubocop (~> 1.61)
rubocop-rspec_rails (2.30.0)
rubocop (~> 1.61)
Expand All @@ -109,18 +109,20 @@ GEM
addressable (>= 2.3.5)
faraday (>= 0.17.3, < 3)
securerandom (0.4.1)
simplycop (2.9.1)
rubocop (= 1.68.0)
rubocop-ast (= 1.36.1)
simplycop (2.12.0)
rubocop (= 1.71.0)
rubocop-ast (= 1.38.0)
rubocop-capybara (= 2.21.0)
rubocop-factory_bot (= 2.26.1)
rubocop-performance (= 1.23.0)
rubocop-rails (= 2.27.0)
rubocop-rspec (= 3.2.0)
rubocop-performance (= 1.23.1)
rubocop-rails (= 2.29.1)
rubocop-rspec (= 3.4.0)
rubocop-rspec_rails (= 2.30.0)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
unicode-display_width (2.6.0)
unicode-display_width (3.1.4)
unicode-emoji (~> 4.0, >= 4.0.4)
unicode-emoji (4.0.4)
uri (1.0.2)
vcr (6.3.1)
base64
Expand Down
2 changes: 1 addition & 1 deletion lib/action.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
config = GithubApiConfig.new
case config.event_name
when 'pull_request', 'pull_request_target'
if config.event_payload['action'] == 'opened' || config.event_payload['action'] == 'synchronize'
if ['opened', 'synchronize'].include?(config.event_payload['action'])
puts 'Pull request is opened or synchronized'
puts '============================================='
PrDeployCheck.base_check(config, 'issues', config.event_payload['pull_request']['head']['sha'])
Expand Down

0 comments on commit 48f5a41

Please sign in to comment.