Skip to content

Commit

Permalink
add rbs_collection and faraday
Browse files Browse the repository at this point in the history
  • Loading branch information
teitei-tk committed Feb 16, 2023
1 parent 7fd96f0 commit 4b01cc9
Show file tree
Hide file tree
Showing 5 changed files with 154 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@
.rspec_status

Gemfile.lock

.gem_rbs_collection/
2 changes: 1 addition & 1 deletion Steepfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ target :lib do
signature "sig"

check "lib" # Directory name
library "logger"
collection_config "rbs_collection.yaml"
# check "Gemfile" # File name
# ignore "lib/templates/*.rb"

Expand Down
2 changes: 1 addition & 1 deletion hackernews_api_client.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Gem::Specification.new do |spec|
spec.require_paths = ["lib"]

# Uncomment to register a new dependency of your gem
# spec.add_dependency "example-gem", "~> 1.0"
spec.add_dependency "faraday", "~> 2.7"

# For more information and examples about making a new gem, check out our
# guide at: https://bundler.io/guides/creating_gem.html
Expand Down
129 changes: 129 additions & 0 deletions rbs_collection.lock.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,129 @@
---
sources:
- name: ruby/gem_rbs_collection
remote: https://github.com/ruby/gem_rbs_collection.git
revision: main
repo_dir: gems
path: ".gem_rbs_collection"
gems:
- name: logger
version: '0'
source:
type: stdlib
- name: faraday
version: '2.5'
source:
type: git
name: ruby/gem_rbs_collection
revision: c42c09528dd99252db98f0744181a6de54ec2f55
remote: https://github.com/ruby/gem_rbs_collection.git
repo_dir: gems
- name: activesupport
version: '7.0'
source:
type: git
name: ruby/gem_rbs_collection
revision: c42c09528dd99252db98f0744181a6de54ec2f55
remote: https://github.com/ruby/gem_rbs_collection.git
repo_dir: gems
- name: ast
version: '2.4'
source:
type: git
name: ruby/gem_rbs_collection
revision: c42c09528dd99252db98f0744181a6de54ec2f55
remote: https://github.com/ruby/gem_rbs_collection.git
repo_dir: gems
- name: concurrent-ruby
version: '1.1'
source:
type: git
name: ruby/gem_rbs_collection
revision: c42c09528dd99252db98f0744181a6de54ec2f55
remote: https://github.com/ruby/gem_rbs_collection.git
repo_dir: gems
- name: csv
version: '0'
source:
type: stdlib
- name: fileutils
version: '0'
source:
type: stdlib
- name: i18n
version: '1.10'
source:
type: git
name: ruby/gem_rbs_collection
revision: c42c09528dd99252db98f0744181a6de54ec2f55
remote: https://github.com/ruby/gem_rbs_collection.git
repo_dir: gems
- name: json
version: '0'
source:
type: stdlib
- name: listen
version: '3.2'
source:
type: git
name: ruby/gem_rbs_collection
revision: c42c09528dd99252db98f0744181a6de54ec2f55
remote: https://github.com/ruby/gem_rbs_collection.git
repo_dir: gems
- name: minitest
version: '0'
source:
type: stdlib
- name: parallel
version: '1.20'
source:
type: git
name: ruby/gem_rbs_collection
revision: c42c09528dd99252db98f0744181a6de54ec2f55
remote: https://github.com/ruby/gem_rbs_collection.git
repo_dir: gems
- name: rainbow
version: '3.0'
source:
type: git
name: ruby/gem_rbs_collection
revision: c42c09528dd99252db98f0744181a6de54ec2f55
remote: https://github.com/ruby/gem_rbs_collection.git
repo_dir: gems
- name: securerandom
version: '0'
source:
type: stdlib
- name: strscan
version: '0'
source:
type: stdlib
- name: monitor
version: '0'
source:
type: stdlib
- name: uri
version: '0'
source:
type: stdlib
- name: forwardable
version: '0'
source:
type: stdlib
- name: date
version: '0'
source:
type: stdlib
- name: mutex_m
version: '0'
source:
type: stdlib
- name: singleton
version: '0'
source:
type: stdlib
- name: time
version: '0'
source:
type: stdlib
gemfile_lock_path: Gemfile.lock
21 changes: 21 additions & 0 deletions rbs_collection.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Download sources
sources:
- name: ruby/gem_rbs_collection
remote: https://github.com/ruby/gem_rbs_collection.git
revision: main
repo_dir: gems

# A directory to install the downloaded RBSs
path: .gem_rbs_collection

gems:
# Skip loading rbs gem's RBS.
# It's unnecessary if you don't use rbs as a library.
- name: rbs
ignore: true
- name: steep
ignore: true
- name: hackernews_api_client
ignore: true
- name: logger
- name: faraday

0 comments on commit 4b01cc9

Please sign in to comment.