Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): bump puma from 5.6.7 to 6.4.0 #214

Closed
wants to merge 87 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
87 commits
Select commit Hold shift + click to select a range
fc10268
Prevent deletion of service keys by space supporters
philippthun Sep 11, 2023
6e71627
build(deps-dev): bump rubocop from 1.56.2 to 1.56.3
dependabot[bot] Sep 11, 2023
42a62b1
Merge pull request #3433 from cloudfoundry/dependabot/bundler/rubocop…
philippthun Sep 11, 2023
3223150
Merge pull request #3432 from sap-contributions/prevent-deletion-of-s…
philippthun Sep 12, 2023
7b9a280
build(deps): bump newrelic_rpm from 9.4.2 to 9.5.0
dependabot[bot] Sep 13, 2023
1ffadd1
Fix a performance regression in /v3/(space|organization)/:guid/users
FloThinksPi Sep 13, 2023
9c228b9
Merge pull request #3437 from cloudfoundry/fix_org_space_users_endpoi…
philippthun Sep 13, 2023
04701ea
Merge pull request #3436 from cloudfoundry/dependabot/bundler/newreli…
philippthun Sep 13, 2023
ff3f1bc
Remove dedicated org and space role classes
philippthun Sep 14, 2023
f9613ac
build(deps): bump json-schema from 4.0.0 to 4.1.1 (#3441)
dependabot[bot] Sep 15, 2023
0771dda
Add validation for resource match mode
philippthun Jun 29, 2023
6daa31b
Merge pull request #3439 from sap-contributions/remove-dedicated-org-…
philippthun Sep 19, 2023
69dfa67
Merge pull request #3414 from cloudfoundry/fix-mode-posix-permission
philippthun Sep 19, 2023
f493191
kpack_lifecycle_data_model_spec.rb was in the wrong folder, moving it…
kathap Sep 26, 2023
1264d43
Merge pull request #3447 from sap-contributions/move-spec-file-into-c…
philippthun Sep 26, 2023
0911a46
Display instance internal IP address on Process Stats endpoint (#3378)
tcdowney Sep 26, 2023
efc3d85
bump to 3.149.0
capi-bot Sep 26, 2023
99cb165
bump to 2.214.0
capi-bot Sep 26, 2023
97b3250
Bump v2 API docs version 2.214.0
capi-bot Sep 26, 2023
2ba8386
Introduce shared context for migrations and add documentation
FloThinksPi Aug 24, 2023
a65922d
Merge pull request #3407 from cloudfoundry/db_migration_test_framework
FloThinksPi Sep 28, 2023
bead39f
Enable new rubocop cops
FloThinksPi Sep 27, 2023
51c07d5
Add rubocop-sequel cops
FloThinksPi Sep 27, 2023
796a574
Add rubocop-rails cops
FloThinksPi Sep 27, 2023
2540595
build(deps): bump fog-aws from 3.19.0 to 3.20.0
dependabot[bot] Sep 28, 2023
7c9893a
Merge pull request #3449 from cloudfoundry/dependabot/bundler/fog-aws…
philippthun Sep 28, 2023
f1f6ba5
Add rubocop-rspec
FloThinksPi Sep 28, 2023
f11b687
Merge pull request #3448 from cloudfoundry/rubocop-overhaul
FloThinksPi Sep 28, 2023
d778e61
build(deps-dev): bump rubocop from 1.56.3 to 1.56.4
dependabot[bot] Sep 29, 2023
d9580c0
build(deps-dev): bump rspec-collection_matchers from 1.2.0 to 1.2.1
dependabot[bot] Sep 29, 2023
510a158
Merge pull request #3451 from cloudfoundry/dependabot/bundler/rubocop…
philippthun Sep 29, 2023
ab509ab
Merge pull request #3452 from cloudfoundry/dependabot/bundler/rspec-c…
philippthun Sep 29, 2023
0dc941c
build(deps-dev): bump rubocop-rails from 2.21.1 to 2.21.2
dependabot[bot] Oct 2, 2023
d1b6e3f
build(deps): bump sequel from 5.72.0 to 5.73.0
dependabot[bot] Oct 2, 2023
3e14ee1
build(deps): bump fog-aws from 3.20.0 to 3.21.0
dependabot[bot] Oct 2, 2023
6d9f297
Merge pull request #3456 from cloudfoundry/dependabot/bundler/rubocop…
philippthun Oct 2, 2023
b5e945e
Merge pull request #3457 from cloudfoundry/dependabot/bundler/sequel-…
philippthun Oct 2, 2023
7b1848e
Merge pull request #3458 from cloudfoundry/dependabot/bundler/fog-aws…
philippthun Oct 2, 2023
84320b7
Fix ambiguous column in AppListFetcher
philippthun Oct 2, 2023
4594078
fix app rivision pruning log to only include count of rows deleted
Oct 2, 2023
f045360
Merge pull request #3459 from sap-contributions/fix-ambiguous-column
philippthun Oct 4, 2023
0b3534e
Un-pluck Rubocop changes
philippthun Oct 2, 2023
e83202d
Subqueries are even better
philippthun Oct 2, 2023
6d23f0c
Merge pull request #3461 from Benjamintf1/app-rivisions-log
philippthun Oct 4, 2023
8a7a1f1
Merge pull request #3455 from sap-contributions/un-pluck
philippthun Oct 4, 2023
d3e6922
Restructure runner spec
svkrieger Oct 5, 2023
8b4f87c
Do some housekeeping
philippthun Oct 6, 2023
0bdd43d
build(deps-dev): bump parallel_tests from 4.2.2 to 4.3.0 (#3466)
dependabot[bot] Oct 9, 2023
9b08822
Merge pull request #3464 from sap-contributions/housekeeping
philippthun Oct 10, 2023
ce3ee7b
Add support for gcp fog storage options
johha Oct 6, 2023
db7c01d
Throw an error on sb bind when route binding status is delete_failed …
kathap Sep 19, 2023
63408d4
Adapt response handling for /v3/service_credential_bindings/:guid/par…
kathap Oct 10, 2023
1cc6974
Don't show service route binding parameters not in state create succe…
kathap Oct 10, 2023
f456e5d
bump to 3.150.0
capi-bot Oct 10, 2023
326fb3a
bump to 2.215.0
capi-bot Oct 10, 2023
9b6d373
Bump v2 API docs version 2.215.0
capi-bot Oct 10, 2023
de89476
Remove unnecessary test, refactor
svkrieger Oct 11, 2023
33a8005
build(deps): bump psych from 5.1.0 to 5.1.1
dependabot[bot] Oct 11, 2023
b571370
build(deps-dev): bump rubocop from 1.56.4 to 1.57.0
dependabot[bot] Oct 11, 2023
0e2034f
Merge pull request #3472 from cloudfoundry/dependabot/bundler/psych-5…
philippthun Oct 11, 2023
aeb8c47
Merge pull request #3469 from sap-contributions/fix-service-route-bin…
philippthun Oct 11, 2023
8f2ba75
Merge pull request #3462 from sap-contributions/restructure-runner-spec
philippthun Oct 11, 2023
e638a71
Fix rubocop offenses and add new cop
philippthun Oct 11, 2023
b5b010e
Merge pull request #3473 from cloudfoundry/dependabot/bundler/rubocop…
philippthun Oct 11, 2023
1bd2e1d
Use consistent hash structure for process stats
philippthun Oct 10, 2023
810e5e3
Exclude the newly added Readme.md file when checking applied migratio…
philippthun Oct 11, 2023
801bfa2
Connection should not fail in case of diego issues
iaftab-alam Oct 11, 2023
b2464ff
make use of utc time zone and appease linters
iaftab-alam Oct 11, 2023
efe0717
Run the ensure_migrations_are_current rake task in a spec
philippthun Oct 12, 2023
f1c270c
build(deps-dev): bump rubocop from 1.57.0 to 1.57.1 (#3477)
dependabot[bot] Oct 13, 2023
fc9600b
build(deps): bump honeycomb-beeline from 3.0.0 to 3.0.1 (#3478)
dependabot[bot] Oct 13, 2023
a1296f5
Merge pull request #3476 from sap-contributions/run-ensure-migrations…
philippthun Oct 17, 2023
779c887
Merge pull request #3470 from sap-contributions/consistent-stats-hash
philippthun Oct 17, 2023
e6e8528
build(deps): bump psych from 5.1.1 to 5.1.1.1
dependabot[bot] Oct 17, 2023
5e1c32e
build(deps): bump cf-uaa-lib from 4.0.3 to 4.0.4
dependabot[bot] Oct 17, 2023
5def195
Merge pull request #3481 from cloudfoundry/dependabot/bundler/psych-5…
philippthun Oct 17, 2023
e11485f
Merge pull request #3482 from cloudfoundry/dependabot/bundler/cf-uaa-…
philippthun Oct 17, 2023
f9ac6e5
Remove unneeded psych gem
moleske Oct 20, 2023
6630014
replace --auto-correct with --autocorrect
moleske Oct 20, 2023
d82a7bb
Merge pull request #3487 from cloudfoundry/fix-deprecated-rubocop-aut…
philippthun Oct 23, 2023
7a77042
Merge pull request #3486 from cloudfoundry/remove-unneeded-explicit-p…
philippthun Oct 23, 2023
173af17
build(deps): bump redis from 5.0.7 to 5.0.8
dependabot[bot] Oct 23, 2023
fb5d7a8
Merge pull request #3488 from cloudfoundry/dependabot/bundler/redis-5…
philippthun Oct 23, 2023
4fa2192
build(deps): bump puma from 5.6.7 to 6.4.0
dependabot[bot] Oct 23, 2023
7bc595a
Adapt Puma Launcher to use LogWriter
philippthun Oct 24, 2023
75b8ca7
Use Events:on_booted and Configuration:on_worker_shutdown events/hooks
philippthun Oct 24, 2023
2a0e0d8
Refactor tests
philippthun Oct 26, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
563 changes: 10 additions & 553 deletions .rubocop.yml

Large diffs are not rendered by default.

541 changes: 541 additions & 0 deletions .rubocop_cc.yml

Large diffs are not rendered by default.

737 changes: 737 additions & 0 deletions .rubocop_todo.yml

Large diffs are not rendered by default.

24 changes: 13 additions & 11 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,38 +13,37 @@ gem 'hashdiff'
gem 'honeycomb-beeline'
gem 'httpclient'
gem 'json-diff'
gem 'json-schema'
gem 'json_pure'
gem 'json-schema'
gem 'loggregator_emitter', '~> 5.0'
gem 'membrane', '~> 1.0'
gem 'mime-types', '~> 3.5'
gem 'mock_redis'
gem 'multi_json'
gem 'multipart-parser'
gem 'net-ssh'
gem 'netaddr', '>= 2.0.4'
gem 'net-ssh'
gem 'newrelic_rpm'
gem 'nokogiri', '>=1.10.5'
gem 'oj'
gem 'palm_civet'
gem 'posix-spawn', '~> 0.3.15'
gem 'prometheus-client'
gem 'public_suffix'
gem 'psych', '>= 4.0.4'
gem 'puma'
gem 'rake'
gem 'redis'
gem 'retryable'
gem 'rfc822'
gem 'rubyzip', '>= 1.3.0'
gem 'sequel', '~> 5.72'
gem 'sequel', '~> 5.73'
gem 'sequel_pg', require: 'sequel'
gem 'sinatra', '~> 3.1'
gem 'sinatra-contrib'
gem 'statsd-ruby', '~> 1.5.0'
gem 'prometheus-client'
gem 'steno'
gem 'talentbox-delayed_job_sequel', '~> 4.3.0'
gem 'thin'
gem 'puma'
gem 'unf'
gem 'vmstat', '~> 2.3'
gem 'yajl-ruby'
Expand All @@ -60,12 +59,12 @@ gem 'azure-storage-blob', git: 'https://github.com/sethboyles/azure-storage-ruby
gem 'fog-aliyun'
gem 'fog-aws'
gem 'fog-azure-rm', git: 'https://github.com/fog/fog-azure-rm.git', branch: 'fog-arm-cf'
gem 'fog-core', '~> 2.1.2'
gem 'fog-google', '~> 1.22.0'
gem 'fog-local'
gem 'fog-openstack'
gem 'fog-core', '~> 2.1.2'

gem 'cf-uaa-lib', '~> 4.0.3'
gem 'cf-uaa-lib', '~> 4.0.4'
gem 'vcap-concurrency', git: 'https://github.com/cloudfoundry/vcap-concurrency.git', ref: '2a5b0179'

group :db do
Expand All @@ -83,24 +82,27 @@ group :test do
gem 'parallel_tests'
gem 'rack-test'
gem 'rspec', '~> 3.12.0'
gem 'rspec_api_documentation', '>= 6.1.0'
gem 'rspec-collection_matchers'
gem 'rspec-instafail'
gem 'rspec-its'
gem 'rspec-rails', '~> 6.0.3'
gem 'rspec-wait'
gem 'rspec_api_documentation', '>= 6.1.0'
gem 'rubocop', '~> 1.56.2'
gem 'rubocop', '~> 1.57.1'
gem 'rubocop-rails', '~> 2.21'
gem 'rubocop-rspec', '~> 2.24'
gem 'rubocop-sequel', '~> 0.3.4'
gem 'timecop'
gem 'webmock', '> 2.3.1'
end

group :development do
gem 'byebug'
gem 'debug', '~> 1.8'
gem 'listen'
gem 'roodi'
gem 'solargraph'
gem 'spork', git: 'https://github.com/sporkrb/spork', ref: '224df49' # '~> 1.0rc'
gem 'spring'
gem 'spring-commands-rspec'
gem 'debug', '~> 1.8'
end
71 changes: 42 additions & 29 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ GEM
byebug (11.1.3)
cf-copilot (0.0.14)
grpc (~> 1.0)
cf-uaa-lib (4.0.3)
cf-uaa-lib (4.0.4)
addressable (~> 2.8, >= 2.8.0)
httpclient (~> 2.8, >= 2.8.2.4)
multi_json (>= 1.12.1, < 1.16)
Expand Down Expand Up @@ -148,15 +148,15 @@ GEM
eventmachine (>= 1.0.0.beta.4)
erubi (1.12.0)
eventmachine (1.2.7)
excon (0.100.0)
excon (0.104.0)
faraday (0.17.6)
multipart-post (>= 1.2, < 3)
faraday-cookie_jar (0.0.7)
faraday (>= 0.8.0)
http-cookie (~> 1.0.0)
faraday_middleware (0.14.0)
faraday (>= 0.7.4, < 1.0)
ffi (1.15.5)
ffi (1.16.3)
ffi-compiler (1.0.1)
ffi (>= 1.0.0)
rake
Expand All @@ -169,7 +169,7 @@ GEM
fog-json
ipaddress (~> 0.8)
xml-simple (~> 1.1)
fog-aws (3.19.0)
fog-aws (3.21.0)
fog-core (~> 2.1)
fog-json (~> 1.1)
fog-xml (~> 0.1)
Expand Down Expand Up @@ -254,7 +254,7 @@ GEM
google-protobuf (~> 3.23)
googleapis-common-protos-types (~> 1.0)
hashdiff (1.0.1)
honeycomb-beeline (3.0.0)
honeycomb-beeline (3.0.1)
libhoney (>= 1.14.2)
http (5.1.1)
addressable (~> 2.8)
Expand All @@ -276,7 +276,7 @@ GEM
jaro_winkler (1.5.4)
json (2.6.3)
json-diff (0.4.1)
json-schema (4.0.0)
json-schema (4.1.1)
addressable (>= 2.8)
json_pure (2.6.3)
jwt (2.7.1)
Expand Down Expand Up @@ -309,7 +309,7 @@ GEM
mime-types-data (3.2023.0808)
mini_mime (1.1.5)
mini_portile2 (2.8.4)
minitest (5.18.1)
minitest (5.20.0)
mock_redis (0.37.0)
ms_rest (0.6.4)
concurrent-ruby (~> 1.0)
Expand All @@ -331,7 +331,7 @@ GEM
net-ssh (7.2.0)
netaddr (2.0.6)
netrc (0.11.0)
newrelic_rpm (9.4.2)
newrelic_rpm (9.5.0)
nio4r (2.5.9)
nokogiri (1.15.4)
mini_portile2 (~> 2.8.2)
Expand All @@ -344,9 +344,9 @@ GEM
os (1.1.4)
palm_civet (1.1.0)
parallel (1.23.0)
parallel_tests (4.2.2)
parallel_tests (4.3.0)
parallel
parser (3.2.2.3)
parser (3.2.2.4)
ast (~> 2.4.1)
racc
pg (1.5.4)
Expand All @@ -358,10 +358,8 @@ GEM
pry-byebug (3.10.1)
byebug (~> 11.0)
pry (>= 0.13, < 0.15)
psych (5.1.0)
stringio
public_suffix (5.0.3)
puma (5.6.7)
puma (6.4.0)
nio4r (~> 2.0)
racc (1.7.1)
rack (2.2.8)
Expand All @@ -387,11 +385,11 @@ GEM
rb-inotify (0.10.1)
ffi (~> 1.0)
rbs (2.8.4)
redis (5.0.7)
redis-client (>= 0.9.0)
redis-client (0.15.0)
redis (5.0.8)
redis-client (>= 0.17.0)
redis-client (0.17.1)
connection_pool
regexp_parser (2.8.1)
regexp_parser (2.8.2)
reline (0.3.8)
io-console (~> 0.5)
representable (3.2.0)
Expand All @@ -415,7 +413,7 @@ GEM
rspec-core (~> 3.12.0)
rspec-expectations (~> 3.12.0)
rspec-mocks (~> 3.12.0)
rspec-collection_matchers (1.2.0)
rspec-collection_matchers (1.2.1)
rspec-expectations (>= 2.99.0.beta1)
rspec-core (3.12.2)
rspec-support (~> 3.12.0)
Expand All @@ -438,19 +436,19 @@ GEM
rspec-expectations (~> 3.12)
rspec-mocks (~> 3.12)
rspec-support (~> 3.12)
rspec-support (3.12.0)
rspec-support (3.12.1)
rspec-wait (0.0.9)
rspec (>= 3, < 4)
rspec_api_documentation (6.1.0)
activesupport (>= 3.0.0)
mustache (~> 1.0, >= 0.99.4)
rspec (~> 3.0)
rubocop (1.56.2)
rubocop (1.57.1)
base64 (~> 0.1.1)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
parallel (~> 1.10)
parser (>= 3.2.2.3)
parser (>= 3.2.2.4)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 1.8, < 3.0)
rexml (>= 3.2.5, < 4.0)
Expand All @@ -459,12 +457,26 @@ GEM
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.29.0)
parser (>= 3.2.1.0)
rubocop-capybara (2.19.0)
rubocop (~> 1.41)
rubocop-factory_bot (2.24.0)
rubocop (~> 1.33)
rubocop-rails (2.21.2)
activesupport (>= 4.2.0)
rack (>= 1.1)
rubocop (>= 1.33.0, < 2.0)
rubocop-rspec (2.24.1)
rubocop (~> 1.33)
rubocop-capybara (~> 2.17)
rubocop-factory_bot (~> 2.22)
rubocop-sequel (0.3.4)
rubocop (~> 1.0)
ruby-progressbar (1.13.0)
ruby2_keywords (0.0.5)
ruby_parser (3.8.3)
sexp_processor (~> 4.1)
rubyzip (2.3.2)
sequel (5.72.0)
sequel (5.73.0)
bigdecimal
sequel_pg (1.17.1)
pg (>= 0.18.0, != 1.2.0)
Expand Down Expand Up @@ -514,7 +526,6 @@ GEM
steno (1.3.4)
fluent-logger
yajl-ruby (~> 1.0)
stringio (3.0.5)
talentbox-delayed_job_sequel (4.3.0)
delayed_job (~> 4.1.0)
sequel (>= 3.38, < 6.0)
Expand All @@ -534,7 +545,7 @@ GEM
unf (0.1.4)
unf_ext
unf_ext (0.0.8.2)
unicode-display_width (2.4.2)
unicode-display_width (2.5.0)
vhd (0.0.4)
bit-struct
vmstat (2.3.1)
Expand All @@ -547,7 +558,7 @@ GEM
rexml
yajl-ruby (1.4.3)
yard (0.9.34)
zeitwerk (2.6.8)
zeitwerk (2.6.12)

PLATFORMS
ruby
Expand All @@ -563,7 +574,7 @@ DEPENDENCIES
azure-storage-blob!
byebug
cf-copilot (= 0.0.14)
cf-uaa-lib (~> 4.0.3)
cf-uaa-lib (~> 4.0.4)
clockwork
cloudfront-signer
codeclimate-test-reporter (>= 1.0.8)
Expand Down Expand Up @@ -605,7 +616,6 @@ DEPENDENCIES
posix-spawn (~> 0.3.15)
prometheus-client
pry-byebug
psych (>= 4.0.4)
public_suffix
puma
rack-test
Expand All @@ -622,9 +632,12 @@ DEPENDENCIES
rspec-rails (~> 6.0.3)
rspec-wait
rspec_api_documentation (>= 6.1.0)
rubocop (~> 1.56.2)
rubocop (~> 1.57.1)
rubocop-rails (~> 2.21)
rubocop-rspec (~> 2.24)
rubocop-sequel (~> 0.3.4)
rubyzip (>= 1.3.0)
sequel (~> 5.72)
sequel (~> 5.73)
sequel_pg
sinatra (~> 3.1)
sinatra-contrib
Expand Down
12 changes: 5 additions & 7 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ default_tasks = [:rubocop_autocorrect, 'spec:all', :check_doc_links]

task default: default_tasks

task :rubocop_autocorrect do
task rubocop_autocorrect: :environment do
require 'rubocop'
cli = RuboCop::CLI.new
exit_code = cli.run(%w(--auto-correct --fail-level autocorrect))
exit_code = cli.run(%w[--autocorrect --fail-level autocorrect])
exit(exit_code) if exit_code != 0
end

desc 'Check docs for broken links'
task :check_doc_links do
task check_doc_links: :environment do
require 'English'
require 'rainbow'

Expand All @@ -42,11 +42,9 @@ task :check_doc_links do
Dir.chdir('docs/v3') do
cmd = 'bundle install && npm install && npm run checkdocs'
py2_path = '/usr/bin/python2.7'
if File.exist?(py2_path)
cmd = "npm config set python #{py2_path} #{cmd}"
end
cmd = "npm config set python #{py2_path} #{cmd}" if File.exist?(py2_path)
status = system(cmd)
exit $CHILD_STATUS.exitstatus if !status
exit $CHILD_STATUS.exitstatus unless status
puts Rainbow('check_doc_links OK').green
end
end
Expand Down
Loading