Skip to content

Commit

Permalink
feat: configure rbs collection
Browse files Browse the repository at this point in the history
  • Loading branch information
Uaitt committed Aug 3, 2023
1 parent 21e581d commit 2abd95d
Show file tree
Hide file tree
Showing 6 changed files with 133 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/type_checking.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ jobs:
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- run: bin/steep check
- run: rbs collection install && bin/steep check
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
/.rubocop-*
/.gem_rbs_collection
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ gemspec

group :development, :test do
gem 'activerecord'
gem 'rake'
gem 'rbs'
gem 'rspec'
gem 'rubocop'
gem 'rubocop-performance'
Expand Down
5 changes: 4 additions & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
aasm_rbs (0.1.0)
aasm_rbs (0.2.0)
aasm (~> 5)

GEM
Expand Down Expand Up @@ -40,6 +40,7 @@ GEM
racc
racc (1.7.1)
rainbow (3.1.1)
rake (13.0.6)
rb-fsevent (0.11.2)
rb-inotify (0.10.1)
ffi (~> 1.0)
Expand Down Expand Up @@ -114,6 +115,8 @@ PLATFORMS
DEPENDENCIES
aasm_rbs!
activerecord
rake
rbs
rspec
rubocop
rubocop-performance
Expand Down
110 changes: 110 additions & 0 deletions rbs_collection.lock.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
---
sources:
- type: git
name: ruby/gem_rbs_collection
revision: d114ffa80f35b138aceb7660a224d78afa1b2a63
remote: https://github.com/ruby/gem_rbs_collection.git
repo_dir: gems
path: ".gem_rbs_collection"
gems:
- name: activemodel
version: '7.0'
source:
type: git
name: ruby/gem_rbs_collection
revision: d114ffa80f35b138aceb7660a224d78afa1b2a63
remote: https://github.com/ruby/gem_rbs_collection.git
repo_dir: gems
- name: activerecord
version: '7.0'
source:
type: git
name: ruby/gem_rbs_collection
revision: d114ffa80f35b138aceb7660a224d78afa1b2a63
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: d114ffa80f35b138aceb7660a224d78afa1b2a63
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: d114ffa80f35b138aceb7660a224d78afa1b2a63
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: d114ffa80f35b138aceb7660a224d78afa1b2a63
remote: https://github.com/ruby/gem_rbs_collection.git
repo_dir: gems
- name: date
version: '0'
source:
type: stdlib
- name: i18n
version: '1.10'
source:
type: git
name: ruby/gem_rbs_collection
revision: d114ffa80f35b138aceb7660a224d78afa1b2a63
remote: https://github.com/ruby/gem_rbs_collection.git
repo_dir: gems
- name: json
version: '0'
source:
type: stdlib
- name: logger
version: '0'
source:
type: stdlib
- name: minitest
version: '0'
source:
type: stdlib
- name: monitor
version: '0'
source:
type: stdlib
- name: mutex_m
version: '0'
source:
type: stdlib
- name: parallel
version: '1.20'
source:
type: git
name: ruby/gem_rbs_collection
revision: d114ffa80f35b138aceb7660a224d78afa1b2a63
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: d114ffa80f35b138aceb7660a224d78afa1b2a63
remote: https://github.com/ruby/gem_rbs_collection.git
repo_dir: gems
- name: securerandom
version: '0'
source:
type: stdlib
- name: singleton
version: '0'
source:
type: stdlib
- name: time
version: '0'
source:
type: stdlib
gemfile_lock_path: Gemfile.lock
15 changes: 15 additions & 0 deletions rbs_collection.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Download sources
sources:
- type: git
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: rbs
ignore: true
- name: steep
ignore: true

0 comments on commit 2abd95d

Please sign in to comment.