-
- Downloads
Introduce Gitlab.next_rails? for dual-booting
Showing
- Gemfile 10 additions, 1 deletionGemfile
- Gemfile.next 1 addition, 0 deletionsGemfile.next
- Gemfile.next.checksum 784 additions, 0 deletionsGemfile.next.checksum
- Gemfile.next.lock 2312 additions, 0 deletionsGemfile.next.lock
- lib/gitlab.rb 12 additions, 0 deletionslib/gitlab.rb
- spec/lib/gitlab_spec.rb 25 additions, 1 deletionspec/lib/gitlab_spec.rb
- vendor/gems/bundler-checksum/lib/bundler_checksum.rb 1 addition, 1 deletionvendor/gems/bundler-checksum/lib/bundler_checksum.rb
# frozen_string_literal: true | ||
def next? | ||
File.basename(__FILE__) == "Gemfile.next" | ||
end | ||
source 'https://rubygems.org' | ||
if ENV.fetch('BUNDLER_CHECKSUM_VERIFICATION_OPT_IN', 'false') != 'false' # this verification is still experimental | ||
... | ... | @@ -24,7 +28,12 @@ gem 'bundler-checksum', '~> 0.1.0', path: 'vendor/gems/bundler-checksum', requir |
# https://gitlab.com/gitlab-org/gitlab/-/issues/375713 | ||
# | ||
# See https://docs.gitlab.com/ee/development/gemfile.html#upgrade-rails for guidelines when upgrading Rails | ||
gem 'rails', '~> 7.0.8.4' # rubocop:todo Gemfile/MissingFeatureCategory | ||
if next? | ||
gem 'rails', '~> 7.1.3.4', feature_category: :shared | ||
else | ||
gem 'rails', '~> 7.0.8.4', feature_category: :shared | ||
end | ||
gem 'activerecord-gitlab', path: 'gems/activerecord-gitlab' # rubocop:todo Gemfile/MissingFeatureCategory | ||
... | ... |
Gemfile.next
0 → 120000
Gemfile.next.checksum
0 → 100644
This diff is collapsed.
Gemfile.next.lock
0 → 100644
This diff is collapsed.
Please register or sign in to comment