rbs icon indicating copy to clipboard operation
rbs copied to clipboard

Update bundled RBS files for Ruby 3.1

Open soutaro opened this issue 4 years ago • 1 comments

There are some changes in method type definitions in Ruby 3.1 and many documentation changes since the RBS files in this repo is generated. So, let's update the RBS files!

We do 💪

  1. Update outdated documentations and fix minor problems of types (step 1)
  2. Add new methods (step 2)

We don't 🙈

  1. Add missing type signatures for classes/modules/methods, especially for stdlibs
  2. Fix method types
  3. Delete deprecated libraries, or move the RBS files to gem_rbs_collection

Step 1

Builtin classes

  • [ ] core/array.rbs
  • [ ] core/basic_object.rbs
  • [ ] core/binding.rbs
  • [ ] core/builtin.rbs
  • [ ] core/class.rbs
  • [ ] core/comparable.rbs
  • [ ] core/complex.rbs
  • [ ] core/constants.rbs
  • [ ] core/deprecated.rbs
  • [ ] core/dir.rbs
  • [ ] core/encoding.rbs
  • [ ] core/enumerable.rbs
  • [ ] core/enumerator.rbs
  • [ ] core/env.rbs
  • [ ] core/errno.rbs
  • [ ] core/errors.rbs
  • [ ] core/exception.rbs
  • [ ] core/false_class.rbs
  • [ ] core/fiber.rbs
  • [ ] core/fiber_error.rbs
  • [ ] core/file.rbs
  • [ ] core/file_test.rbs
  • [ ] core/float.rbs
  • [ ] core/gc.rbs
  • [ ] core/global_variables.rbs
  • [ ] core/hash.rbs
  • [ ] core/integer.rbs
  • [ ] core/io.rbs
  • [ ] core/io/wait.rbs
  • [ ] core/kernel.rbs
  • [ ] core/marshal.rbs
  • [ ] core/match_data.rbs
  • [ ] core/math.rbs
  • [ ] core/method.rbs
  • [ ] core/module.rbs
  • [ ] core/nil_class.rbs
  • [ ] core/numeric.rbs
  • [ ] core/object.rbs
  • [ ] core/object_space.rbs
  • [ ] core/proc.rbs
  • [ ] core/process.rbs
  • [ ] core/ractor.rbs
  • [ ] core/random.rbs
  • [ ] core/range.rbs
  • [ ] core/rational.rbs
  • [ ] core/rb_config.rbs
  • [ ] core/regexp.rbs
  • [ ] core/ruby_vm.rbs
  • [ ] core/signal.rbs
  • [ ] core/string.rbs
  • [ ] core/string_io.rbs
  • [ ] core/struct.rbs
  • [ ] core/symbol.rbs
  • [ ] core/thread.rbs
  • [ ] core/thread_group.rbs
  • [ ] core/time.rbs
  • [ ] core/trace_point.rbs
  • [ ] core/true_class.rbs
  • [ ] core/unbound_method.rbs
  • [ ] core/warning.rbs

stdlib

  • [ ] abbrev/
  • [ ] base64/
  • [ ] benchmark/
  • [ ] bigdecimal/
  • [ ] bigdecimal-math/
  • [ ] cgi/
  • [ ] coverage/
  • [ ] csv/
  • [ ] date/
  • [ ] dbm/
  • [ ] digest/
  • [ ] erb/
  • [ ] fiber/
  • [ ] fileutils/
  • [ ] find/
  • [ ] forwardable/
  • [ ] io-console/
  • [ ] ipaddr/
  • [ ] json/
  • [ ] logger/
  • [ ] monitor/
  • [ ] mutex_m/
  • [ ] net-http/
  • [ ] objspace/
  • [ ] openssl/
  • [ ] optparse/
  • [ ] pathname/
  • [ ] prettyprint/
  • [ ] prime/
  • [ ] pstore/
  • [ ] pty/
  • [ ] resolv/
  • [ ] rubygems/
  • [ ] securerandom/
  • [ ] set/
  • [ ] shellwords/
  • [ ] singleton/
  • [ ] socket/
  • [ ] strscan/
  • [ ] tempfile/
  • [ ] time/
  • [ ] timeout/
  • [ ] tmpdir/
  • [ ] tsort/
  • [ ] uri/
  • [ ] yaml/
  • [ ] zlib/ 

soutaro avatar Jan 18 '22 07:01 soutaro

I'm working for stdlib files now.

soutaro avatar Jan 18 '22 07:01 soutaro