diff --git a/Gemfile.lock b/Gemfile.lock index 2e6511f..1cf972b 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -33,8 +33,8 @@ GEM csv (3.3.0) diff-lcs (1.5.1) drb (2.2.1) - ffi (1.17.0) - ffi (1.17.0-x86_64-linux-gnu) + ffi (1.17.1) + ffi (1.17.1-x86_64-linux-gnu) fileutils (1.7.2) i18n (1.14.6) concurrent-ruby (~> 1.0) @@ -43,7 +43,7 @@ GEM listen (3.9.0) rb-fsevent (~> 0.10, >= 0.10.3) rb-inotify (~> 0.9, >= 0.9.10) - logger (1.6.2) + logger (1.6.4) mini_mime (1.1.5) minitest (5.25.1) net-http (0.6.0) @@ -60,7 +60,7 @@ GEM rb-fsevent (0.11.2) rb-inotify (0.11.1) ffi (~> 1.0) - rbs (3.7.0) + rbs (3.8.1) logger rspec (3.13.0) rspec-core (~> 3.13.0) @@ -77,7 +77,7 @@ GEM rspec-support (3.13.1) securerandom (0.3.1) singleton (0.3.0) - steep (1.9.0) + steep (1.9.3) activesupport (>= 5.1) concurrent-ruby (>= 1.1.10) csv (>= 3.0.9) @@ -88,10 +88,11 @@ GEM logger (>= 1.3.0) parser (>= 3.1) rainbow (>= 2.2.2, < 4.0) - rbs (~> 3.7.0) + rbs (~> 3.8) securerandom (>= 0.1) strscan (>= 1.0.0) terminal-table (>= 2, < 4) + uri (>= 0.12.0) strscan (3.1.0) terminal-table (3.0.2) unicode-display_width (>= 1.1.1, < 3) diff --git a/rbs_collection.lock.yaml b/rbs_collection.lock.yaml index 1e32931..8459a9e 100644 --- a/rbs_collection.lock.yaml +++ b/rbs_collection.lock.yaml @@ -6,7 +6,7 @@ gems: source: type: git name: ruby/gem_rbs_collection - revision: ddba0c60808c22451a194c1b57504fceb4fafd23 + revision: '09beb2100db10cbf4773ed0e71ddf79280a2f275' remote: https://github.com/ruby/gem_rbs_collection.git repo_dir: gems - name: ast @@ -14,13 +14,17 @@ gems: source: type: git name: ruby/gem_rbs_collection - revision: ddba0c60808c22451a194c1b57504fceb4fafd23 + revision: '09beb2100db10cbf4773ed0e71ddf79280a2f275' remote: https://github.com/ruby/gem_rbs_collection.git repo_dir: gems - name: base64 version: '0' source: type: stdlib +- name: benchmark + version: '0' + source: + type: stdlib - name: bigdecimal version: '0' source: @@ -34,7 +38,7 @@ gems: source: type: git name: ruby/gem_rbs_collection - revision: ddba0c60808c22451a194c1b57504fceb4fafd23 + revision: '09beb2100db10cbf4773ed0e71ddf79280a2f275' remote: https://github.com/ruby/gem_rbs_collection.git repo_dir: gems - name: connection_pool @@ -42,7 +46,7 @@ gems: source: type: git name: ruby/gem_rbs_collection - revision: ddba0c60808c22451a194c1b57504fceb4fafd23 + revision: '09beb2100db10cbf4773ed0e71ddf79280a2f275' remote: https://github.com/ruby/gem_rbs_collection.git repo_dir: gems - name: csv @@ -58,9 +62,13 @@ gems: source: type: git name: ruby/gem_rbs_collection - revision: ddba0c60808c22451a194c1b57504fceb4fafd23 + revision: '09beb2100db10cbf4773ed0e71ddf79280a2f275' remote: https://github.com/ruby/gem_rbs_collection.git repo_dir: gems +- name: digest + version: '0' + source: + type: stdlib - name: erb version: '0' source: @@ -78,7 +86,7 @@ gems: source: type: git name: ruby/gem_rbs_collection - revision: ddba0c60808c22451a194c1b57504fceb4fafd23 + revision: '09beb2100db10cbf4773ed0e71ddf79280a2f275' remote: https://github.com/ruby/gem_rbs_collection.git repo_dir: gems - name: json @@ -90,7 +98,7 @@ gems: source: type: git name: ruby/gem_rbs_collection - revision: ddba0c60808c22451a194c1b57504fceb4fafd23 + revision: '09beb2100db10cbf4773ed0e71ddf79280a2f275' remote: https://github.com/ruby/gem_rbs_collection.git repo_dir: gems - name: logger @@ -102,7 +110,7 @@ gems: source: type: git name: ruby/gem_rbs_collection - revision: ddba0c60808c22451a194c1b57504fceb4fafd23 + revision: '09beb2100db10cbf4773ed0e71ddf79280a2f275' remote: https://github.com/ruby/gem_rbs_collection.git repo_dir: gems - name: minitest @@ -114,9 +122,9 @@ gems: source: type: stdlib - name: mutex_m - version: '0' + version: 0.3.0 source: - type: stdlib + type: rubygems - name: net-http version: '0' source: @@ -125,6 +133,10 @@ gems: version: '0' source: type: stdlib +- name: openssl + version: '0' + source: + type: stdlib - name: optparse version: '0' source: @@ -134,7 +146,7 @@ gems: source: type: git name: ruby/gem_rbs_collection - revision: ddba0c60808c22451a194c1b57504fceb4fafd23 + revision: '09beb2100db10cbf4773ed0e71ddf79280a2f275' remote: https://github.com/ruby/gem_rbs_collection.git repo_dir: gems - name: pathname @@ -146,7 +158,7 @@ gems: source: type: git name: ruby/gem_rbs_collection - revision: ddba0c60808c22451a194c1b57504fceb4fafd23 + revision: '09beb2100db10cbf4773ed0e71ddf79280a2f275' remote: https://github.com/ruby/gem_rbs_collection.git repo_dir: gems - name: rainbow @@ -154,7 +166,7 @@ gems: source: type: git name: ruby/gem_rbs_collection - revision: ddba0c60808c22451a194c1b57504fceb4fafd23 + revision: '09beb2100db10cbf4773ed0e71ddf79280a2f275' remote: https://github.com/ruby/gem_rbs_collection.git repo_dir: gems - name: rake @@ -162,11 +174,11 @@ gems: source: type: git name: ruby/gem_rbs_collection - revision: ddba0c60808c22451a194c1b57504fceb4fafd23 + revision: '09beb2100db10cbf4773ed0e71ddf79280a2f275' remote: https://github.com/ruby/gem_rbs_collection.git repo_dir: gems - name: rbs - version: 3.6.1 + version: 3.8.1 source: type: rubygems - name: rdoc @@ -181,6 +193,14 @@ gems: version: '0' source: type: stdlib +- name: socket + version: '0' + source: + type: stdlib +- name: stringio + version: '0' + source: + type: stdlib - name: strscan version: '0' source: @@ -206,11 +226,15 @@ gems: source: type: git name: ruby/gem_rbs_collection - revision: ddba0c60808c22451a194c1b57504fceb4fafd23 + revision: '09beb2100db10cbf4773ed0e71ddf79280a2f275' remote: https://github.com/ruby/gem_rbs_collection.git repo_dir: gems - name: uri version: '0' source: type: stdlib +- name: webrick + version: 1.9.1 + source: + type: rubygems gemfile_lock_path: Gemfile.lock diff --git a/sig/fetch/api.rbs b/sig/fetch/api.rbs index cb93cd3..0b6fa2b 100644 --- a/sig/fetch/api.rbs +++ b/sig/fetch/api.rbs @@ -1,5 +1,5 @@ module Fetch - class API + module API def self?.fetch: ( string, ?method: String | Symbol,