-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathfile_validators.gemspec
34 lines (28 loc) · 1.22 KB
/
file_validators.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# 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 = ['[email protected]']
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