Skip to content

Commit 3bd30fc

Browse files
committed
Use Tapioca; update generated code; get typechecking working
1 parent 9db78dd commit 3bd30fc

File tree

497 files changed

+66835
-48806
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

497 files changed

+66835
-48806
lines changed

Gemfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,16 @@ gemspec
44

55
group :development, :test do
66
gem 'kuby-core', path: '../kuby-core'
7-
gem 'kuby-crdb', path: '../kuby-crdb'
7+
gem 'kuby-crdb'
88
gem 'kube-dsl', path: '../kube-dsl'
99
gem 'kind-rb'
1010
gem 'pry-byebug'
1111
gem 'rake'
1212
end
1313

1414
group :development do
15-
gem 'sorbet', '= 0.5.6433'
15+
gem 'sorbet'
16+
gem 'tapioca', '~> 0.7'
1617
gem 'parlour', '~> 6.0'
1718
end
1819

bin/tapioca

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
#!/usr/bin/env ruby
2+
# frozen_string_literal: true
3+
4+
#
5+
# This file was generated by Bundler.
6+
#
7+
# The application 'tapioca' is installed as part of a gem, and
8+
# this file is here to facilitate running it.
9+
#
10+
11+
require "pathname"
12+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
13+
Pathname.new(__FILE__).realpath)
14+
15+
bundle_binstub = File.expand_path("../bundle", __FILE__)
16+
17+
if File.file?(bundle_binstub)
18+
if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
19+
load(bundle_binstub)
20+
else
21+
abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
22+
Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
23+
end
24+
end
25+
26+
require "rubygems"
27+
require "bundler/setup"
28+
29+
load Gem.bin_path("tapioca", "tapioca")

rbi/kuby-cert-manager.rbi

Lines changed: 4374 additions & 542 deletions
Large diffs are not rendered by default.

sorbet/config

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
--dir
22
.
3-
--ignore=/vendor/bundle

sorbet/rbi/gems/actionpack@7.0.2.4.rbi

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sorbet/rbi/gems/actionview@7.0.2.4.rbi

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)