Sha256: 4e2ea00eb6ca1e3441fcb3d54b84beda0060de01cab79520781c98358a531d85

Contents?: true

Size: 818 Bytes

Versions: 6

Compression:

Stored size: 818 Bytes

Contents

source 'https://rubygems.org'

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

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

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.3'
              end

if activemodel_version < '6.1'
  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

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
type_validator-0.6.0 Gemfile
type_validator-0.5.0 Gemfile
type_validator-0.4.0 Gemfile
type_validator-0.3.0 Gemfile
type_validator-0.2.0 Gemfile
type_validator-0.1.0 Gemfile