Sha256: 41895d8c7e277f3d1e2c5cac1335618eb33a669271e7ad5921678f140255f173

Contents?: true

Size: 958 Bytes

Versions: 7

Compression:

Stored size: 958 Bytes

Contents

source 'https://rubygems.org'

gem 'u-case', '~> 4.0'

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'
              when '6.0' then '6.0.0'
              end

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

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

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

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
u-attributes-2.6.0 Gemfile
u-attributes-2.5.0 Gemfile
u-attributes-2.4.0 Gemfile
u-attributes-2.3.0 Gemfile
u-attributes-2.2.0 Gemfile
u-attributes-2.1.1 Gemfile
u-attributes-2.1.0 Gemfile