Sha256: 06ef1fb60124b4d009e5b2ad2940cb6135f1ff23c116b466145889ae2215489a

Contents?: true

Size: 1.06 KB

Versions: 6

Compression:

Stored size: 1.06 KB

Contents

source "https://rubygems.org"

git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }

activemodel_version = ENV.fetch('ACTIVEMODEL_VERSION', '6.1.0')

activemodel = case activemodel_version
              when '3.2' then '3.2.22'
              when '5.2' then '5.2.3'
              when '6.0' then '6.0.2'
              end

if activemodel_version < '6.1.0'
  gem 'activemodel', activemodel, require: false
  gem 'activesupport', activemodel, require: false
end

group :test do
  gem 'minitest', activemodel_version < '4.1' ? '~> 4.2' : '~> 5.0'
  gem 'simplecov', require: false
end

pry_byebug_version =
  case RUBY_VERSION
  when /\A2.[23]/ then '3.6'
  else '3.9'
  end

pry_version =
  case RUBY_VERSION
  when /\A2.2/ then '0.12.2'
  when /\A2.3/ then '0.12.2'
  else '0.13.1'
  end

group :development, :test do
  gem 'awesome_print', '~> 1.8'

  gem 'byebug', '~> 10.0', '>= 10.0.2' if RUBY_VERSION =~ /\A2.[23]/

  gem 'pry', "~> #{pry_version}"
  gem 'pry-byebug', "~> #{pry_byebug_version}"
end

# Specify your gem's dependencies in u-case.gemspec
gemspec

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
u-case-3.0.0 Gemfile
u-case-3.0.0.rc9 Gemfile
u-case-3.0.0.rc8 Gemfile
u-case-3.0.0.rc7 Gemfile
u-case-3.0.0.rc6 Gemfile
u-case-3.0.0.rc5 Gemfile