Sha256: b12ad28bb931d9e21ea9600bd1b24cdcea24d920f9adc8a4b181008495313f20

Contents?: true

Size: 637 Bytes

Versions: 4

Compression:

Stored size: 637 Bytes

Contents

# frozen_string_literal: true

rails_version = ENV.fetch("RAILS_VERSION")
@rails_gems_requirements = case rails_version
when "edge"         then { github: "rails/rails", branch: "main" }
when /\A\d+\.\d+\z/ then "~> #{rails_version}.0"
else                raise "Unsupported RAILS_VERSION: #{rails_version}"
end

eval_gemfile "../Gemfile"

# https://github.com/rails/rails/pull/44083
if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new("3.1") &&
    rails_version != "edge" && Gem::Version.new(rails_version) < Gem::Version.new("7")
  gem "net-imap", require: false
  gem "net-pop", require: false
  gem "net-smtp", require: false
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
job-iteration-1.7.0 gemfiles/rails_gems.gemfile
job-iteration-1.6.0 gemfiles/rails_gems.gemfile
job-iteration-1.5.1 gemfiles/rails_gems.gemfile
job-iteration-1.5.0 gemfiles/rails_gems.gemfile