diff --git a/.gitignore b/.gitignore index 925dd0c..4633f6f 100644 --- a/.gitignore +++ b/.gitignore @@ -5,4 +5,4 @@ /doc/ /pkg/ /tmp/ -/.gem_rbs_collection +/.gems/ diff --git a/rbs_collection.lock.yaml b/rbs_collection.lock.yaml index 6de9e19..d55bb75 100644 --- a/rbs_collection.lock.yaml +++ b/rbs_collection.lock.yaml @@ -1,11 +1,16 @@ --- sources: +- type: git + name: apexatoll/gem_signatures + revision: 1094d5a2ee9a07f3fbf6880980eaa099fb655ba9 + remote: https://github.com/apexatoll/gem_signatures.git + repo_dir: sig - type: git name: ruby/gem_rbs_collection - revision: 267dd270bb5aabcc1e21c87f44360f0680a8501c + revision: 3e93a59bd5da185b68187991630ac9a54a2468a7 remote: https://github.com/ruby/gem_rbs_collection.git repo_dir: gems -path: ".gem_rbs_collection" +path: ".gems" gems: - name: bigdecimal version: '0' @@ -15,12 +20,60 @@ gems: version: '0' source: type: stdlib +- name: colorize + version: '1.1' + source: + type: git + name: apexatoll/gem_signatures + revision: 1094d5a2ee9a07f3fbf6880980eaa099fb655ba9 + remote: https://github.com/apexatoll/gem_signatures.git + repo_dir: sig +- name: dbm + version: '0' + source: + type: stdlib - name: erb version: '0' source: type: stdlib +- name: forwardable + version: '0' + source: + type: stdlib +- name: pathname + version: '0' + source: + type: stdlib +- name: pstore + version: '0' + source: + type: stdlib +- name: sequel + version: '5.72' + source: + type: git + name: apexatoll/gem_signatures + revision: 1094d5a2ee9a07f3fbf6880980eaa099fb655ba9 + remote: https://github.com/apexatoll/gem_signatures.git + repo_dir: sig - name: tempfile version: '0' source: type: stdlib +- name: yaml + version: '0' + source: + type: stdlib +- name: zeitwerk + version: '2.6' + source: + type: git + name: apexatoll/gem_signatures + revision: 1094d5a2ee9a07f3fbf6880980eaa099fb655ba9 + remote: https://github.com/apexatoll/gem_signatures.git + repo_dir: sig +- name: zirconia + version: 0.1.2 + source: + type: rubygems gemfile_lock_path: Gemfile.lock diff --git a/rbs_collection.yaml b/rbs_collection.yaml index be554ac..e18063d 100644 --- a/rbs_collection.yaml +++ b/rbs_collection.yaml @@ -7,11 +7,11 @@ sources: - type: git name: apexatoll/gem_signatures - remote: git@github.com:apexatoll/gem_signatures + remote: https://github.com/apexatoll/gem_signatures.git revision: main repo_dir: sig -path: .gem_rbs_collection +path: .gems gems: - name: rake @@ -22,3 +22,7 @@ gems: ignore: true - name: steep ignore: true + + - name: forwardable + - name: pathname + - name: yaml diff --git a/sig/colorize.rbs b/sig/colorize.rbs deleted file mode 100644 index 201b39d..0000000 --- a/sig/colorize.rbs +++ /dev/null @@ -1,32 +0,0 @@ -class String -def black: -> instance - def red: -> instance - def green: -> instance - def yellow: -> instance - def blue: -> instance - def magenta: -> instance - def cyan: -> instance - def white: -> instance - def default: -> instance - def light_black: -> instance - def light_red: -> instance - def light_green: -> instance - def light_yellow: -> instance - def light_blue: -> instance - def light_magenta: -> instance - def light_cyan: -> instance - def light_white: -> instance - def bold: -> instance - def dim: -> instance - def italic: -> instance - def underline: -> instance - def blink: -> instance - def blink_slow: -> instance - def blink_fast: -> instance - def invert: -> instance - def hide: -> instance - def strike: -> instance - def double_underline: -> instance - def reveal: -> instance - def overlined: -> instance -end diff --git a/sig/forwardable.rbs b/sig/forwardable.rbs deleted file mode 100644 index 2eb7c11..0000000 --- a/sig/forwardable.rbs +++ /dev/null @@ -1,3 +0,0 @@ -module Forwardable - def def_delegators: (Symbol, *Symbol) -> void -end diff --git a/sig/pathname.rbs b/sig/pathname.rbs deleted file mode 100644 index dfe3f42..0000000 --- a/sig/pathname.rbs +++ /dev/null @@ -1,17 +0,0 @@ -class Pathname - def initialize: (String path) -> void - - def read: -> String - - def write: (String contents) -> void - - def to_s: -> String - - def basename: (?String) -> Pathname - - def dirname: -> Pathname - - def exist?: -> bool - - def join: (*String) -> Pathname -end diff --git a/sig/sequel.rbs b/sig/sequel.rbs deleted file mode 100644 index 4de7381..0000000 --- a/sig/sequel.rbs +++ /dev/null @@ -1,5 +0,0 @@ -module Sequel - def self.sqlite: (String path) -> Database - - def self.extension: (Symbol) -> void -end diff --git a/sig/sequel/database.rbs b/sig/sequel/database.rbs deleted file mode 100644 index cb2c582..0000000 --- a/sig/sequel/database.rbs +++ /dev/null @@ -1,5 +0,0 @@ -module Sequel - class Database - - end -end diff --git a/sig/sequel/migrator.rbs b/sig/sequel/migrator.rbs deleted file mode 100644 index 1e4a008..0000000 --- a/sig/sequel/migrator.rbs +++ /dev/null @@ -1,5 +0,0 @@ -module Sequel - class Migrator - def self.run: (Sequel::Database, String) -> void - end -end diff --git a/sig/yaml.rbs b/sig/yaml.rbs deleted file mode 100644 index 93c0634..0000000 --- a/sig/yaml.rbs +++ /dev/null @@ -1,4 +0,0 @@ -module YAML - def self.load_file: (String) -> Hash[String, untyped] - | (String) -> Array[untyped] -end diff --git a/sig/zeitwerk/gem_inflector.rbs b/sig/zeitwerk/gem_inflector.rbs deleted file mode 100755 index 0fbb580..0000000 --- a/sig/zeitwerk/gem_inflector.rbs +++ /dev/null @@ -1,7 +0,0 @@ -module Zeitwerk - class GemInflector - def initialize: (String file) -> void - - def inflect: (Hash[String, String]) -> void - end -end diff --git a/sig/zeitwerk/loader.rbs b/sig/zeitwerk/loader.rbs deleted file mode 100755 index 9079d8e..0000000 --- a/sig/zeitwerk/loader.rbs +++ /dev/null @@ -1,13 +0,0 @@ -module Zeitwerk - class Loader - attr_accessor inflector: GemInflector - - def self.for_gem: (?warn_on_extra_files: bool) -> instance - - def collapse: (Array[String]) -> void - - def push_dir: (String dir, ?namespace: Module) -> void - - def setup: -> void - end -end