Sha256: 89fc78fc70c266908343fa3e0df0e02fa4d7120dba745b81f85dd562f2bf8efa

Contents?: true

Size: 734 Bytes

Versions: 4

Compression:

Stored size: 734 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", "6.0.0")

# bored of wrestling with rails...

gem("mongoid", "< 7.0") unless rails_version.to_i >= 6


gem "activerecord", "~> #{rails_version}"
gem "railties", "~> #{rails_version}"
if rails_version.to_i >= 6
  gem "sqlite3", "~> 1.4"
else
  gem "sqlite3", "~> 1.3", "< 1.4"
end
puts "Rails version #{rails_version}"

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
reform-rails-0.2.5 Gemfile
reform-rails-0.2.4 Gemfile
reform-rails-0.2.3 Gemfile
reform-rails-0.2.2 Gemfile