Sha256: f0f73f4554c494c42d254581c7160807786fb4d259c180a008ce78a62a311a05

Contents?: true

Size: 916 Bytes

Versions: 6

Compression:

Stored size: 916 Bytes

Contents

source 'https://rubygems.org'

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

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

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.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

if RUBY_VERSION >= '2.6.0' && activemodel_version >= '6.0'
  gem 'coveralls', 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-1.0.0 Gemfile
type_validator-0.11.0 Gemfile
type_validator-0.10.0 Gemfile
type_validator-0.9.0 Gemfile
type_validator-0.8.0 Gemfile
type_validator-0.7.0 Gemfile