Skip to content

Commit

Permalink
Update sorbet and typings.
Browse files Browse the repository at this point in the history
  • Loading branch information
connorshea committed Jul 19, 2019
1 parent 6804887 commit 41193ac
Show file tree
Hide file tree
Showing 17 changed files with 146 additions and 266 deletions.
1 change: 1 addition & 0 deletions lib/sord/logging.rb
@@ -1,3 +1,4 @@
# typed: true
require 'rainbow'

module Sord
Expand Down
1 change: 1 addition & 0 deletions lib/sord/parlour_plugin.rb
@@ -1,3 +1,4 @@
# typed: true
require 'parlour'

module Sord
Expand Down
1 change: 1 addition & 0 deletions lib/sord/resolver.rb
@@ -1,3 +1,4 @@
# typed: false
require 'stringio'

module Sord
Expand Down
1 change: 1 addition & 0 deletions lib/sord/type_converter.rb
@@ -1,3 +1,4 @@
# typed: true
require 'yaml'
require 'sord/logging'
require 'sord/resolver'
Expand Down
2 changes: 1 addition & 1 deletion rbi/sord.rbi
@@ -1,4 +1,4 @@
# typed: strong
# typed: ignore
module Sord
module Logging
sig { returns(T::Array[Proc]) }
Expand Down
2 changes: 1 addition & 1 deletion sorbet/rbi/gems/docile.rbi
@@ -1,7 +1,7 @@
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
# srb rbi gems

# typed: true
# typed: strong
#
# If you would like to make changes to this file, great! Please create the gem's shim here:
#
Expand Down
4 changes: 2 additions & 2 deletions sorbet/rbi/gems/parlour.rbi
@@ -1,13 +1,13 @@
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
# srb rbi gems

# typed: true
# typed: strong
#
# If you would like to make changes to this file, great! Please create the gem's shim here:
#
# https://github.com/sorbet/sorbet-typed/new/master?filename=lib/parlour/all/parlour.rbi
#
# parlour-0.3.1
# parlour-0.4.0
module Parlour
end
class Parlour::Plugin
Expand Down
2 changes: 1 addition & 1 deletion sorbet/rbi/gems/rainbow.rbi
@@ -1,7 +1,7 @@
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
# srb rbi gems

# typed: true
# typed: strong
#
# If you would like to make changes to this file, great! Please create the gem's shim here:
#
Expand Down
2 changes: 1 addition & 1 deletion sorbet/rbi/gems/rspec.rbi
@@ -1,7 +1,7 @@
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
# srb rbi gems

# typed: true
# typed: strong
#
# If you would like to make changes to this file, great! Please create the gem's shim here:
#
Expand Down
2 changes: 1 addition & 1 deletion sorbet/rbi/gems/simplecov-html.rbi
@@ -1,7 +1,7 @@
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
# srb rbi gems

# typed: true
# typed: strong
#
# If you would like to make changes to this file, great! Please create the gem's shim here:
#
Expand Down
4 changes: 2 additions & 2 deletions sorbet/rbi/gems/sorbet-runtime.rbi
@@ -1,13 +1,13 @@
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
# srb rbi gems

# typed: true
# typed: false
#
# If you would like to make changes to this file, great! Please create the gem's shim here:
#
# https://github.com/sorbet/sorbet-typed/new/master?filename=lib/sorbet-runtime/all/sorbet-runtime.rbi
#
# sorbet-runtime-0.4.4410
# sorbet-runtime-0.4.4429
module T::Configuration
def self.call_validation_error_handler(signature, opts); end
def self.call_validation_error_handler=(value); end
Expand Down
120 changes: 26 additions & 94 deletions sorbet/rbi/hidden-definitions/errors.txt
Expand Up @@ -212,14 +212,11 @@
# wrong constant name div$2
# wrong constant name power$2
# wrong constant name to_s$1
# wrong constant name _load
# wrong constant name double_fig
# wrong constant name limit
# wrong constant name mode
# undefined singleton method `limit$1' for `BigDecimal'
# undefined singleton method `mode$1' for `BigDecimal'
# wrong constant name limit$1
# wrong constant name mode$1
# wrong constant name new
# wrong constant name save_exception_mode
# wrong constant name save_limit
# wrong constant name save_rounding_mode
# wrong constant name clone
# wrong constant name irb
# wrong constant name local_variable_defined?
Expand Down Expand Up @@ -323,6 +320,9 @@
# wrong constant name max_retries=
# wrong constant name redirect_limit
# wrong constant name redirect_limit=
# wrong constant name link
# wrong constant name cp_lr
# wrong constant name link_entry
# uninitialized constant Bundler::GemHelper::DEFAULT
# uninitialized constant Bundler::GemHelper::LN_SUPPORTED
# uninitialized constant Bundler::GemHelper::LOW_METHODS
Expand Down Expand Up @@ -353,7 +353,8 @@
# wrong constant name perform_git_push
# wrong constant name rubygem_push
# wrong constant name sh
# wrong constant name sh_with_code
# wrong constant name sh_with_input
# wrong constant name sh_with_status
# wrong constant name spec_path
# wrong constant name tag_version
# wrong constant name version
Expand Down Expand Up @@ -392,6 +393,7 @@
# wrong constant name run
# wrong constant name <static-init>
# wrong constant name <static-init>
# uninitialized constant Bundler::Index::Elem
# wrong constant name initialize
# wrong constant name inject
# wrong constant name remove
Expand All @@ -407,6 +409,8 @@
# wrong constant name ambiguous_gems
# wrong constant name ambiguous_gems=
# wrong constant name install
# uninitialized constant Bundler::Molinillo::DependencyGraph::Elem
# uninitialized constant Bundler::Molinillo::DependencyGraph::Log::Elem
# wrong constant name ==
# wrong constant name app_cache_dirname
# wrong constant name app_cache_path
Expand Down Expand Up @@ -500,6 +504,9 @@
# wrong constant name default_retries
# uninitialized constant Bundler::RubyGemsGemInstaller::ENV_PATHS
# wrong constant name <static-init>
# uninitialized constant Bundler::RubygemsIntegration::MoreFuture::EXT_LOCK
# Did you mean? Bundler::RubygemsIntegration::EXT_LOCK
# wrong constant name default_stubs
# wrong constant name ==
# wrong constant name fallback_timeout
# wrong constant name fallback_timeout=
Expand All @@ -524,6 +531,7 @@
# wrong constant name <static-init>
# wrong constant name <static-init>
# wrong constant name validate!
# uninitialized constant Bundler::SpecSet::Elem
# wrong constant name add_color
# wrong constant name ask
# wrong constant name confirm
Expand Down Expand Up @@ -778,7 +786,6 @@
# wrong constant name first$2
# wrong constant name grep_v
# wrong constant name inject$2
# wrong constant name lazy
# wrong constant name max$2
# wrong constant name max_by$2
# wrong constant name min$2
Expand Down Expand Up @@ -1025,11 +1032,9 @@
# wrong constant name lchown$1
# wrong constant name lutime
# wrong constant name mkfifo
# wrong constant name open!
# wrong constant name read_binary
# wrong constant name realdirpath$1
# wrong constant name realpath$1
# wrong constant name relative_path
# wrong constant name umask$1
# wrong constant name utime$1
# wrong constant name blockdev?
Expand Down Expand Up @@ -3062,7 +3067,6 @@
# undefined method `fetch$2' for class `Hash'
# undefined method `initialize$2' for class `Hash'
# Did you mean? initialize
# undefined method `merge$2' for class `Hash'
# wrong constant name <
# wrong constant name <=
# wrong constant name >
Expand All @@ -3079,7 +3083,6 @@
# wrong constant name flatten
# wrong constant name index
# wrong constant name initialize$2
# wrong constant name merge$2
# wrong constant name merge!
# wrong constant name replace
# wrong constant name slice
Expand Down Expand Up @@ -3220,78 +3223,8 @@
# wrong constant name to_bn
# wrong constant name to_s$1
# wrong constant name sqrt
# wrong constant name <Class:Generator>
# wrong constant name <Class:Parser>
# wrong constant name <Class:GeneratorMethods>
# wrong constant name <Class:State>
# wrong constant name <Class:Array>
# wrong constant name <Class:FalseClass>
# wrong constant name <Class:Float>
# wrong constant name <Class:Hash>
# wrong constant name <Class:Integer>
# wrong constant name <Class:NilClass>
# wrong constant name <Class:Object>
# wrong constant name <Class:String>
# wrong constant name <Class:TrueClass>
# wrong constant name to_json
# wrong constant name <static-init>
# wrong constant name to_json
# wrong constant name <static-init>
# wrong constant name to_json
# wrong constant name <static-init>
# wrong constant name to_json
# wrong constant name <static-init>
# wrong constant name to_json
# wrong constant name <static-init>
# wrong constant name to_json
# wrong constant name <static-init>
# wrong constant name to_json
# wrong constant name <static-init>
# wrong constant name <Class:Extend>
# wrong constant name to_json
# wrong constant name to_json_raw
# wrong constant name to_json_raw_object
# wrong constant name json_create
# wrong constant name <static-init>
# wrong constant name <static-init>
# wrong constant name to_json
# wrong constant name <static-init>
# wrong constant name <static-init>
# wrong constant name []
# wrong constant name []=
# wrong constant name allow_nan?
# wrong constant name array_nl
# wrong constant name array_nl=
# wrong constant name ascii_only?
# wrong constant name buffer_initial_length
# wrong constant name buffer_initial_length=
# wrong constant name check_circular?
# wrong constant name configure
# wrong constant name depth
# wrong constant name depth=
# wrong constant name generate
# wrong constant name indent
# wrong constant name indent=
# wrong constant name initialize
# wrong constant name max_nesting
# wrong constant name max_nesting=
# wrong constant name merge
# wrong constant name object_nl
# wrong constant name object_nl=
# wrong constant name space
# wrong constant name space=
# wrong constant name space_before
# wrong constant name space_before=
# wrong constant name to_h
# wrong constant name to_hash
# wrong constant name <static-init>
# wrong constant name from_state
# wrong constant name <static-init>
# wrong constant name initialize
# wrong constant name parse
# wrong constant name source
# wrong constant name <static-init>
# wrong constant name <static-init>
# undefined singleton method `dump$1' for `JSON'
# undefined singleton method `generate$1' for `JSON'
# undefined singleton method `pretty_generate$1' for `JSON'
Expand Down Expand Up @@ -3384,7 +3317,7 @@
# wrong constant name source_location
# wrong constant name super_method
# wrong constant name unbind
# undefined method `class_eval$1' for class `Module'
# undefined method `class_eval$2' for class `Module'
# Did you mean? class_eval
# undefined method `class_variables$1' for class `Module'
# Did you mean? class_variables
Expand All @@ -3405,7 +3338,7 @@
# undefined method `method_defined?$1' for class `Module'
# Did you mean? method_defined?
# method_undefined
# undefined method `module_eval$1' for class `Module'
# undefined method `module_eval$2' for class `Module'
# Did you mean? module_eval
# undefined method `private_instance_methods$1' for class `Module'
# Did you mean? private_instance_methods
Expand All @@ -3422,7 +3355,7 @@
# Did you mean? public_method_defined?
# undefined method `remove_method$1' for class `Module'
# Did you mean? remove_method
# wrong constant name class_eval$1
# wrong constant name class_eval$2
# wrong constant name class_variables$1
# wrong constant name const_defined?$1
# wrong constant name const_get$1
Expand All @@ -3431,7 +3364,7 @@
# wrong constant name deprecate_constant
# wrong constant name instance_methods$1
# wrong constant name method_defined?$1
# wrong constant name module_eval$1
# wrong constant name module_eval$2
# wrong constant name private_instance_methods$1
# wrong constant name private_method_defined?$1
# wrong constant name protected_instance_methods$1
Expand Down Expand Up @@ -3766,7 +3699,6 @@
# wrong constant name <<
# wrong constant name ===
# wrong constant name >>
# wrong constant name []
# wrong constant name clone
# wrong constant name curry$1
# wrong constant name lambda?
Expand Down Expand Up @@ -4259,9 +4191,6 @@
# wrong constant name wrap
# wrong constant name <static-init>
# wrong constant name encode_fallback
# uninitialized constant RSpec::Core::ExampleGroup::BE_PREDICATE_REGEX
# uninitialized constant RSpec::Core::ExampleGroup::DYNAMIC_MATCHER_REGEX
# uninitialized constant RSpec::Core::ExampleGroup::HAS_REGEX
# uninitialized constant RSpec::Core::ExampleGroup::NOT_YET_IMPLEMENTED
# uninitialized constant RSpec::Core::ExampleGroup::NO_REASON_GIVEN
# wrong constant name initialize
Expand Down Expand Up @@ -4508,7 +4437,7 @@
# wrong constant name <static-init>
# wrong constant name worse_than?
# wrong constant name +
# uninitialized constant #<Class:0x00007ff617c20640>::Elem
# uninitialized constant #<Class:0x00007fc333cd9af8>::Elem
# wrong constant name candidate?
# wrong constant name ideal?
# wrong constant name indeterminate_actual_indexes
Expand Down Expand Up @@ -5114,9 +5043,10 @@
# wrong constant name <static-init>
# wrong constant name cyan
# wrong constant name emojify
# wrong constant name init
# wrong constant name main
# wrong constant name make_step
# wrong constant name parse_command
# wrong constant name usage
# wrong constant name yellow
# wrong constant name <static-init>
# wrong constant name real_ancestors
Expand Down Expand Up @@ -5176,6 +5106,7 @@
# wrong constant name main
# wrong constant name output_file
# wrong constant name <static-init>
# wrong constant name <static-init>
# uninitialized constant SortedSet::InspectKey
# wrong constant name initialize
# wrong constant name setup
Expand Down Expand Up @@ -5203,6 +5134,7 @@
# undefined method `lines$1' for class `String'
# undefined method `ljust$1' for class `String'
# undefined method `match$2' for class `String'
# undefined method `match?$2' for class `String'
# undefined method `prepend$1' for class `String'
# Did you mean? prepend
# prepended
Expand Down Expand Up @@ -5257,7 +5189,7 @@
# wrong constant name lines$1
# wrong constant name ljust$1
# wrong constant name match$2
# wrong constant name match?
# wrong constant name match?$2
# wrong constant name prepend$1
# wrong constant name reverse!
# wrong constant name rindex$1
Expand Down

0 comments on commit 41193ac

Please sign in to comment.