Sha256: 355f6a14b8f184fb48d2942dc1d93e6c77a1c7cb31ab4c8fe7bd0c8203fb454d

Contents?: true

Size: 1.21 KB

Versions: 8

Compression:

Stored size: 1.21 KB

Contents

source 'https://rubygems.org'

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

activemodel_version = ENV['ACTIVEMODEL_VERSION']

activemodel = case activemodel_version
              when '3.2' then '3.2.22'
              when '4.0' then '4.0.13'
              when '4.1' then '4.1.16'
              when '4.2' then '4.2.11'
              when '5.0' then '5.0.7'
              when '5.1' then '5.1.7'
              when '5.2' then '5.2.4'
              when '6.0' then '6.0.3.4'
              when '6.1' then '6.1.2'
              end

simplecov_version =
  case RUBY_VERSION
  when /\A2.[123]/ then '0.17.1'
  when /\A2.4/ then '~> 0.18.5'
  else '~> 0.19'
  end

is_ruby_2_1 = RUBY_VERSION <= '2.2.0'

minitest_version =
  if activemodel_version
    activemodel_version < '4.1' ? '~> 4.2' : '~> 5.0'
  else
    is_ruby_2_1 ? '~> 4.2' : '~> 5.0'
  end

group :test do
  if activemodel_version
    gem 'activesupport', activemodel, require: false
    gem 'activemodel'  , activemodel, require: false
  end

  gem 'minitest' , minitest_version
  gem 'simplecov', simplecov_version, require: false
end

gem 'rake', is_ruby_2_1 ? '~> 12.3' : '~> 13.0'

# Specify your gem's dependencies in type_validator.gemspec
gemspec

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
kind-5.7.0 Gemfile
kind-5.6.0 Gemfile
kind-5.5.0 Gemfile
kind-5.4.1 Gemfile
kind-5.4.0 Gemfile
kind-5.3.0 Gemfile
kind-5.2.0 Gemfile
kind-5.1.0 Gemfile