Skip to content

Commit 0ef596b

Browse files
committed
fix: declare ActionController::API in the RBS stubs
The static and sqlite CI jobs failed at RBS validation: the generated signature for TransmissionsController names ActionController::API as its superclass, and sig/support/framework.rbs only declared ActionController::Base. The local run before the push looked green because the exit code check read the tail of a grep pipeline, not rake itself; a fresh clone reproduced the failure immediately. The stub now declares the API class, and rake passes in a clean clone with its own exit code checked.
1 parent d358449 commit 0ef596b

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

sig/support/framework.rbs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ end
2121
module ActionController
2222
class Base
2323
end
24+
25+
class API
26+
end
2427
end
2528

2629
module Rails

0 commit comments

Comments
 (0)