diff --git a/Gemfile.lock b/Gemfile.lock index 7ce8a362c..38a025bf8 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -393,12 +393,12 @@ GEM concurrent-ruby (~> 1.1) logger rack (>= 2.2.4, < 4) - sqlite3 (2.9.0-aarch64-linux-gnu) - sqlite3 (2.9.0-aarch64-linux-musl) - sqlite3 (2.9.0-arm64-darwin) - sqlite3 (2.9.0-x86_64-darwin) - sqlite3 (2.9.0-x86_64-linux-gnu) - sqlite3 (2.9.0-x86_64-linux-musl) + sqlite3 (2.9.6-aarch64-linux-gnu) + sqlite3 (2.9.6-aarch64-linux-musl) + sqlite3 (2.9.6-arm64-darwin) + sqlite3 (2.9.6-x86_64-darwin) + sqlite3 (2.9.6-x86_64-linux-gnu) + sqlite3 (2.9.6-x86_64-linux-musl) state_machines (0.202.0) stringio (3.2.0) thor (1.5.0) @@ -617,12 +617,12 @@ CHECKSUMS sorbet-static-and-runtime (0.6.13426) sha256=b5cd434598e3de7fa776b5d18fc6483b489ac062b955c51d5c0ec6e968528d10 spoom (1.8.7) sha256=81960502cdf23aa991f015988aa5dd43325e23ae4318b8e00d541299cbdb70f6 sprockets (4.3.0) sha256=9e162c8332bab700384ae42a0d464c7a852135e5274f3cd064d7d9e515a9257f - sqlite3 (2.9.0-aarch64-linux-gnu) sha256=cfe1e0216f46d7483839719bf827129151e6c680317b99d7b8fc1597a3e13473 - sqlite3 (2.9.0-aarch64-linux-musl) sha256=56a35cb2d70779afc2ac191baf2c2148242285ecfed72f9b021218c5c4917913 - sqlite3 (2.9.0-arm64-darwin) sha256=a917bd9b84285766ff3300b7d79cd583f5a067594c8c1263e6441618c04a6ed3 - sqlite3 (2.9.0-x86_64-darwin) sha256=59fe51baa3cb33c36d27ce78b4ed9360cd33ccca09498c2ae63850c97c0a6026 - sqlite3 (2.9.0-x86_64-linux-gnu) sha256=72fff9bd750070ba3af695511ba5f0e0a2d8a9206f84869640b3e99dfaf3d5a5 - sqlite3 (2.9.0-x86_64-linux-musl) sha256=ef716ba7a66d7deb1ccc402ac3a6d7343da17fac862793b7f0be3d2917253c90 + sqlite3 (2.9.6-aarch64-linux-gnu) sha256=d8b1f7d23efd7abac285775a9566562fc7debfef79d594e3a20354406fb7907c + sqlite3 (2.9.6-aarch64-linux-musl) sha256=3579e1c98cdc7ff5c3722847bb63ed4e1efb7ff675cb5e1e48ef2d4da5fb3bc9 + sqlite3 (2.9.6-arm64-darwin) sha256=849b5d7f795e60fe25076d62c72dd722beb45b3850b516ad978d60ee848ec15b + sqlite3 (2.9.6-x86_64-darwin) sha256=b5842fea77781c14da03fa7bc0feb82db03a69e135affcb6f5399cbd2797a5f3 + sqlite3 (2.9.6-x86_64-linux-gnu) sha256=613188ce02f614126ddbc38c5e217ccffd6306d0dcd9adca9764547aa890a634 + sqlite3 (2.9.6-x86_64-linux-musl) sha256=d493b11818a3573387a1d56e1ee8fa00da23a683a7a1cc063e7a0feeed843abf state_machines (0.202.0) sha256=20db5367b4541155fc6d764f8ba54182ba6d49ceac7d917598709a61143a16e1 stringio (3.2.0) sha256=c37cb2e58b4ffbd33fe5cd948c05934af997b36e0b6ca6fdf43afa234cf222e1 tapioca (0.19.2) diff --git a/sorbet/rbi/gems/sqlite3@2.9.0.rbi b/sorbet/rbi/gems/sqlite3@2.9.6.rbi similarity index 98% rename from sorbet/rbi/gems/sqlite3@2.9.0.rbi rename to sorbet/rbi/gems/sqlite3@2.9.6.rbi index b36430e4a..55440dc0b 100644 --- a/sorbet/rbi/gems/sqlite3@2.9.0.rbi +++ b/sorbet/rbi/gems/sqlite3@2.9.6.rbi @@ -552,7 +552,7 @@ class SQLite3::Database # is allowed to proceed. Returning 1 causes an authorization error to # occur, and returning 2 causes the access to be silently denied. # - # pkg:gem/sqlite3#lib/sqlite3/database.rb:207 + # pkg:gem/sqlite3#lib/sqlite3/database.rb:205 def authorizer(&block); end # Installs (or removes) a block that will be invoked for every access @@ -580,7 +580,7 @@ class SQLite3::Database # pkg:gem/sqlite3#lib/sqlite3/database.rb:693 def busy_handler_timeout=(milliseconds); end - # pkg:gem/sqlite3#lib/sqlite3/database.rb:387 + # pkg:gem/sqlite3#lib/sqlite3/database.rb:385 def busy_timeout(_arg0); end # pkg:gem/sqlite3#lib/sqlite3.rb:4 @@ -631,6 +631,8 @@ class SQLite3::Database # function invocation. It should invoke FunctionProxy#result= to # store the result of the function. # + # A reference to the block will be kept for the lifetime of the database object. + # # Example: # # db.create_aggregate( "lengths", 1 ) do @@ -649,7 +651,7 @@ class SQLite3::Database # See also #create_aggregate_handler for a more object-oriented approach to # aggregate functions. # - # pkg:gem/sqlite3#lib/sqlite3/database.rb:457 + # pkg:gem/sqlite3#lib/sqlite3/database.rb:459 def create_aggregate(name, arity, step = T.unsafe(nil), finalize = T.unsafe(nil), text_rep = T.unsafe(nil), &block); end # This is another approach to creating an aggregate function (see @@ -715,6 +717,8 @@ class SQLite3::Database # the FunctionProxy#result= method on the +func+ parameter and # indicate the return value that way. # + # A reference to the block will be kept for the lifetime of the database object. + # # Example: # # db.create_function( "maim", 1 ) do |func, value| @@ -757,7 +761,7 @@ class SQLite3::Database # # Fetch the encoding set on this database # - # pkg:gem/sqlite3#lib/sqlite3/database.rb:199 + # pkg:gem/sqlite3#lib/sqlite3/database.rb:197 def encoding; end # pkg:gem/sqlite3#lib/sqlite3.rb:4 @@ -781,7 +785,7 @@ class SQLite3::Database # See also #execute2, #query, and #execute_batch for additional ways of # executing statements. # - # pkg:gem/sqlite3#lib/sqlite3/database.rb:248 + # pkg:gem/sqlite3#lib/sqlite3/database.rb:246 def execute(sql, bind_vars = T.unsafe(nil), &block); end # Executes the given SQL statement, exactly as with #execute. However, the @@ -795,7 +799,7 @@ class SQLite3::Database # See also #execute, #query, and #execute_batch for additional ways of # executing statements. # - # pkg:gem/sqlite3#lib/sqlite3/database.rb:273 + # pkg:gem/sqlite3#lib/sqlite3/database.rb:271 def execute2(sql, *bind_vars); end # Executes all SQL statements in the given string. By contrast, the other @@ -809,7 +813,7 @@ class SQLite3::Database # See also #execute_batch2 for additional ways of # executing statements. # - # pkg:gem/sqlite3#lib/sqlite3/database.rb:297 + # pkg:gem/sqlite3#lib/sqlite3/database.rb:295 def execute_batch(sql, bind_vars = T.unsafe(nil)); end # Executes all SQL statements in the given string. By contrast, the other @@ -826,7 +830,7 @@ class SQLite3::Database # See also #execute_batch for additional ways of # executing statements. # - # pkg:gem/sqlite3#lib/sqlite3/database.rb:330 + # pkg:gem/sqlite3#lib/sqlite3/database.rb:328 def execute_batch2(sql, &block); end # pkg:gem/sqlite3#lib/sqlite3.rb:4 @@ -836,7 +840,7 @@ class SQLite3::Database # to "main". Main return `nil` or an empty string if the database is # temporary or in-memory. # - # pkg:gem/sqlite3#lib/sqlite3/database.rb:230 + # pkg:gem/sqlite3#lib/sqlite3/database.rb:228 def filename(db_name = T.unsafe(nil)); end # A convenience method for obtaining the first row of a result set, and @@ -844,7 +848,7 @@ class SQLite3::Database # # See also #get_first_value. # - # pkg:gem/sqlite3#lib/sqlite3/database.rb:369 + # pkg:gem/sqlite3#lib/sqlite3/database.rb:367 def get_first_row(sql, *bind_vars); end # A convenience method for obtaining the first value of the first row of a @@ -853,7 +857,7 @@ class SQLite3::Database # # See also #get_first_row. # - # pkg:gem/sqlite3#lib/sqlite3/database.rb:378 + # pkg:gem/sqlite3#lib/sqlite3/database.rb:376 def get_first_value(sql, *bind_vars); end # pkg:gem/sqlite3#lib/sqlite3/database.rb:738 @@ -894,7 +898,7 @@ class SQLite3::Database # # The Statement can then be executed using Statement#execute. # - # pkg:gem/sqlite3#lib/sqlite3/database.rb:216 + # pkg:gem/sqlite3#lib/sqlite3/database.rb:214 def prepare(sql); end # This is a convenience method for creating a statement, binding @@ -909,7 +913,7 @@ class SQLite3::Database # with a block, +close+ will be invoked implicitly when the block # terminates. # - # pkg:gem/sqlite3#lib/sqlite3/database.rb:352 + # pkg:gem/sqlite3#lib/sqlite3/database.rb:350 def query(sql, bind_vars = T.unsafe(nil)); end # Returns +true+ if the database has been open in readonly mode