Sha256: 667cda53bb46e2a0febcbfd66f77825d6a0353dad69796cea5f9d892c7e04dc0

Contents?: true

Size: 1.22 KB

Versions: 4

Compression:

Stored size: 1.22 KB

Contents

# frozen_string_literal: true

$LOAD_PATH.push File.expand_path('lib', __dir__)

require 'file_validators/version'

Gem::Specification.new do |s|
  s.name        = 'file_validators'
  s.version     = FileValidators::VERSION
  s.authors     = ['Ahmad Musaffa']
  s.email       = ['musaffa_csemm@yahoo.com']
  s.summary     = 'ActiveModel file validators'
  s.description = 'Adds file validators to ActiveModel'
  s.homepage    = 'https://github.com/musaffa/file_validators'
  s.license     = 'MIT'

  s.files         = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
  s.executables   = s.files.grep(%r{^bin/}) { |f| File.basename(f) }
  s.test_files    = s.files.grep(%r{^spec/})
  s.require_paths = ['lib']

  s.add_dependency 'activemodel', '>= 3.2'
  s.add_dependency 'mime-types', '>= 1.0'

  s.add_development_dependency 'coveralls'
  s.add_development_dependency 'fastimage'
  s.add_development_dependency 'marcel', '~> 0.3' if RUBY_VERSION >= '2.2.0'
  s.add_development_dependency 'mimemagic', '>= 0.3.2'
  s.add_development_dependency 'mini_mime', '~> 1.0'
  s.add_development_dependency 'rack-test'
  s.add_development_dependency 'rake'
  s.add_development_dependency 'rspec', '~> 3.5.0'
  s.add_development_dependency 'rubocop', '~> 0.58.2'
end

Version data entries

4 entries across 3 versions & 2 rubygems

Version Path
trusty-cms-7.0.9.1 vendor/bundle/ruby/3.1.0/gems/file_validators-3.0.0/file_validators.gemspec
trusty-cms-7.0.9.1 vendor/bundle/ruby/3.3.0/gems/file_validators-3.0.0/file_validators.gemspec
file_validators-3.0.0 file_validators.gemspec
file_validators-3.0.0.beta2 file_validators.gemspec