From 5471d240371a2091a681c098d177deab9f06ae09 Mon Sep 17 00:00:00 2001 From: Masataka Pocke Kuwabara Date: Thu, 25 Jan 2024 15:50:39 +0900 Subject: [PATCH] Fix type parameter mismatch on Concurrent::Map ref: https://github.com/ruby/gem_rbs_collection/pull/500 --- gems/actionview/6.0/actionview-generated.rbs | 2 +- gems/actionview/6.0/patch.rbs | 7 ------- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/gems/actionview/6.0/actionview-generated.rbs b/gems/actionview/6.0/actionview-generated.rbs index 1f9e2a874..597fecd44 100644 --- a/gems/actionview/6.0/actionview-generated.rbs +++ b/gems/actionview/6.0/actionview-generated.rbs @@ -10169,7 +10169,7 @@ module ActionView class Cache # Threadsafe template cache # nodoc: - class SmallCache < Concurrent::Map + class SmallCache < Concurrent::Map[untyped, untyped] def initialize: (?::Hash[untyped, untyped] options) -> untyped end diff --git a/gems/actionview/6.0/patch.rbs b/gems/actionview/6.0/patch.rbs index d52c946c7..14be489e1 100644 --- a/gems/actionview/6.0/patch.rbs +++ b/gems/actionview/6.0/patch.rbs @@ -5,13 +5,6 @@ module ActionView end end -# Remove the fake type for Concurrent::Map -# if the real types are available. -module Concurrent - class Map - end -end - # Remove the fake type for I18n::Config # if the real types are available. module I18n