From 8e0c0bc8bbacde57b5843bc18779766fe308957b Mon Sep 17 00:00:00 2001 From: vitalie Date: Thu, 29 Dec 2022 21:08:56 +0200 Subject: [PATCH 1/2] Fix specs --- Gemfile.lock | 2 +- spec/v3/services/installation/find_spec.rb | 1 + spec/v3/services/organization/find_spec.rb | 6 ++++-- .../organizations/for_current_user_spec.rb | 3 ++- spec/v3/services/owner/find_spec.rb | 15 ++++++++++++--- spec/v3/services/user/find_spec.rb | 1 + .../services/v2_subscription/executions_spec.rb | 1 + 7 files changed, 22 insertions(+), 7 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 2589b5bf32..2d07ff3358 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -325,7 +325,7 @@ GEM rb-fsevent (0.9.8) rb-inotify (0.10.1) ffi (~> 1.0) - rbtrace (0.4.12) + rbtrace (0.4.14) ffi (>= 1.0.6) msgpack (>= 0.4.3) optimist (>= 3.0.0) diff --git a/spec/v3/services/installation/find_spec.rb b/spec/v3/services/installation/find_spec.rb index 9462d0ba16..7db97f122f 100644 --- a/spec/v3/services/installation/find_spec.rb +++ b/spec/v3/services/installation/find_spec.rb @@ -62,6 +62,7 @@ "@type" => "allowance", "id" => 1 }, + "custom_keys" => [], "allow_migration" => false, "recently_signed_up" => false, "secure_user_hash" => nil, diff --git a/spec/v3/services/organization/find_spec.rb b/spec/v3/services/organization/find_spec.rb index f93bb1a5b3..fd62a9c60a 100644 --- a/spec/v3/services/organization/find_spec.rb +++ b/spec/v3/services/organization/find_spec.rb @@ -28,7 +28,8 @@ "@type" => "allowance", "@representation" => "minimal", "id" => org.id - } + }, + "custom_keys" => [] }} end @@ -63,7 +64,8 @@ "@type" => "allowance", "@representation" => "minimal", "id" => org.id - } + }, + "custom_keys" => [] }} end diff --git a/spec/v3/services/organizations/for_current_user_spec.rb b/spec/v3/services/organizations/for_current_user_spec.rb index b60480f37d..a554f7453d 100644 --- a/spec/v3/services/organizations/for_current_user_spec.rb +++ b/spec/v3/services/organizations/for_current_user_spec.rb @@ -64,7 +64,8 @@ "@type" => "allowance", "@representation" => "minimal", "id" => org.id - } + }, + "custom_keys" => [] }] }} end diff --git a/spec/v3/services/owner/find_spec.rb b/spec/v3/services/owner/find_spec.rb index ffc531639d..fed9efe7ce 100644 --- a/spec/v3/services/owner/find_spec.rb +++ b/spec/v3/services/owner/find_spec.rb @@ -28,7 +28,8 @@ "@type" => "allowance", "@representation" => "minimal", "id" => org.id - } + }, + "custom_keys" => [] }} end @@ -54,7 +55,8 @@ "@type" => "allowance", "@representation" => "minimal", "id" => org.id - } + }, + "custom_keys" => [] }} end @@ -86,6 +88,7 @@ "@representation" => "minimal", "id" => org.id }, + "custom_keys" => [], "repositories" => [{ "@type" => "repository", "@href" => "/v3/repo/#{repo.id}", @@ -232,7 +235,8 @@ "@type" => "allowance", "@representation" => "minimal", "id" => org.id - } + }, + "custom_keys" => [] }} end @@ -263,6 +267,7 @@ "@representation" => "minimal", "id" => org.id }, + "custom_keys" => [], "@warnings" => [{ "@type" => "warning", "message" => "query parameter organization.id not safelisted, ignored", @@ -302,6 +307,7 @@ "@representation" => "minimal", "id" => user.id }, + "custom_keys" => [], "recently_signed_up"=>false, "secure_user_hash" => nil, "ro_mode" => false, @@ -334,6 +340,7 @@ "@representation" => "minimal", "id" => user.id }, + "custom_keys" => [], "recently_signed_up"=>false, "secure_user_hash" => nil, "ro_mode" => false, @@ -366,6 +373,7 @@ "@representation" => "minimal", "id" => user.id }, + "custom_keys" => [], "recently_signed_up"=>false, "secure_user_hash" => nil, "ro_mode" => false, @@ -402,6 +410,7 @@ "@representation" => "minimal", "id" => user.id }, + "custom_keys" => [], "recently_signed_up"=>false, "secure_user_hash" => nil, "ro_mode" => false, diff --git a/spec/v3/services/user/find_spec.rb b/spec/v3/services/user/find_spec.rb index 5639d24680..b544918ccf 100644 --- a/spec/v3/services/user/find_spec.rb +++ b/spec/v3/services/user/find_spec.rb @@ -42,6 +42,7 @@ "@representation" => "minimal", "id" => user.id }, + "custom_keys" => [], "recently_signed_up"=>false, "secure_user_hash" => nil, "ro_mode" => false, diff --git a/spec/v3/services/v2_subscription/executions_spec.rb b/spec/v3/services/v2_subscription/executions_spec.rb index df5c5647ca..2a0d433435 100644 --- a/spec/v3/services/v2_subscription/executions_spec.rb +++ b/spec/v3/services/v2_subscription/executions_spec.rb @@ -175,6 +175,7 @@ "@representation"=>"minimal", "id"=>1 }, + "custom_keys" => [], "email"=>"sven@fuchs.com", "is_syncing"=>nil, "synced_at"=>nil, From 267c5ee8a70143a37dd763339eb60c2083d5a1c1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 29 Dec 2022 19:14:22 +0000 Subject: [PATCH 2/2] Bump redcarpet from 3.5.0 to 3.5.1 Bumps [redcarpet](https://github.com/vmg/redcarpet) from 3.5.0 to 3.5.1. - [Release notes](https://github.com/vmg/redcarpet/releases) - [Changelog](https://github.com/vmg/redcarpet/blob/master/CHANGELOG.md) - [Commits](https://github.com/vmg/redcarpet/compare/v3.5.0...v3.5.1) Signed-off-by: dependabot[bot] --- Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index 2d07ff3358..3ecbb16770 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -329,7 +329,7 @@ GEM ffi (>= 1.0.6) msgpack (>= 0.4.3) optimist (>= 3.0.0) - redcarpet (3.5.0) + redcarpet (3.5.1) redis (3.3.5) redis-namespace (1.7.0) redis (>= 3.0.4)