Skip to content

Commit

Permalink
Gemfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
TonyCTHsu committed May 6, 2024
1 parent 11b7ea1 commit 04c3a76
Show file tree
Hide file tree
Showing 9 changed files with 76 additions and 10 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
/Gemfile.lock
/rbs_collection.lock.yaml
/.gem_rbs_collection
/tmp
15 changes: 5 additions & 10 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,15 @@

source "https://rubygems.org"

gem "rake", "~> 13.1.0"

gemspec

group :test do
gem "minitest", "~> 5.20.0"
end

group :check do
gem "standard", "~> 1.0", require: false
gem "steep", "~> 1.6.0", require: false
end
gem "rake", "~> 13.1.0"

group :debug do
gem "debug"
gem "irb"
end

# Load the gemfiles for the current Ruby version
gemfile = "#{RUBY_ENGINE}-#{RUBY_ENGINE_VERSION.split(".").take(2).join(".")}.rb"
eval_gemfile "gemfiles/#{gemfile}"
10 changes: 10 additions & 0 deletions gemfiles/ruby-2.5.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
source "https://rubygems.org" do
group :test do
gem "minitest"
end

group :check do
gem "standard", require: false
gem "steep", require: false
end
end
10 changes: 10 additions & 0 deletions gemfiles/ruby-2.6.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
source "https://rubygems.org" do
group :test do
gem "minitest"
end

group :check do
gem "standard", require: false
gem "steep", require: false
end
end
10 changes: 10 additions & 0 deletions gemfiles/ruby-2.7.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
source "https://rubygems.org" do
group :test do
gem "minitest"
end

group :check do
gem "standard", require: false
gem "steep", require: false
end
end
10 changes: 10 additions & 0 deletions gemfiles/ruby-3.0.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
source "https://rubygems.org" do
group :test do
gem "minitest", "~> 5.20.0"
end

group :check do
gem "standard", "~> 1.0", require: false
gem "steep", "~> 1.6.0", require: false
end
end
10 changes: 10 additions & 0 deletions gemfiles/ruby-3.1.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
source "https://rubygems.org" do
group :test do
gem "minitest", "~> 5.20.0"
end

group :check do
gem "standard", "~> 1.0", require: false
gem "steep", "~> 1.6.0", require: false
end
end
10 changes: 10 additions & 0 deletions gemfiles/ruby-3.2.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
source "https://rubygems.org" do
group :test do
gem "minitest", "~> 5.20.0"
end

group :check do
gem "standard", "~> 1.0", require: false
gem "steep", "~> 1.6.0", require: false
end
end
10 changes: 10 additions & 0 deletions gemfiles/ruby-3.3.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
source "https://rubygems.org" do
group :test do
gem "minitest", "~> 5.20.0"
end

group :check do
gem "standard", "~> 1.0", require: false
gem "steep", "~> 1.6.0", require: false
end
end

0 comments on commit 04c3a76

Please sign in to comment.