Sha256: 63c841af373ed1613de16fed783b6e9ebcb1fffa218c933400dcb9ee7d67ac85

Contents?: true

Size: 811 Bytes

Versions: 1

Compression:

Stored size: 811 Bytes

Contents

git_source(:github) do |repo_name|
  repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/")
  "https://github.com/#{repo_name}.git"
end

source "https://rubygems.org"
gemspec

gem 'pry-byebug'
gem "minitest-line"

case ENV["GEMS_SOURCE"]
  when "local"
    gem "reform", path: "../reform"
  when "github"
    gem "reform", github: "trailblazer/reform"
end

rails_version = ENV.fetch("RAILS_VERSION", "5.2.0")

# bored of wrestling with rails...
if rails_version.include? "4.0"
  gem "mongoid", "~> 4"
else
  gem("mongoid", "< 7.0") unless rails_version.include?('6.0')
end

gem "activerecord", "~> #{rails_version}"
gem "railties", "~> #{rails_version}"
if rails_version.include?('6.0')
  gem "sqlite3", "~> 1.4"
else
  gem "sqlite3", "~> 1.3", "< 1.4"
end
puts "Rails version #{rails_version}"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
reform-rails-0.2.0.rc3 Gemfile