-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGemfile
More file actions
39 lines (33 loc) · 1003 Bytes
/
Gemfile
File metadata and controls
39 lines (33 loc) · 1003 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# frozen_string_literal: true
# rbs_inline: enabled
source 'https://rubygems.org'
gemspec
# Allow testing different Rails versions via environment variable
rails_version = ENV['RAILS_VERSION'] || '~> 8.0.0'
if rails_version.start_with?('~>')
# Version constraint specified (e.g., "~> 7.2.0")
gem 'actionpack', rails_version
gem 'activemodel', rails_version
else
# Legacy format support (e.g., "7.2")
gem_version = "~> #{rails_version}.0"
gem 'actionpack', gem_version
gem 'activemodel', gem_version
end
group :development, :test do
gem 'factory_bot'
gem 'lefthook', require: false
gem 'rake', '~> 13.0'
gem 'rspec', '~> 3.0'
gem 'rspec-parameterized'
gem 'rubocop'
gem 'rubocop-factory_bot', require: false
gem 'rubocop-rake', require: false
gem 'rubocop-rspec', require: false
# rbs-inline requires Ruby 3.3+
if RUBY_VERSION >= '3.3.0'
gem 'rbs-inline', require: false
gem 'rubocop-rbs_inline', require: false
gem 'steep', require: false
end
end