-
Notifications
You must be signed in to change notification settings - Fork 1
/
sanitized.gemspec
36 lines (27 loc) · 1.37 KB
/
sanitized.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
35
36
# frozen_string_literal: true
require_relative 'version'
Gem::Specification.new do |spec|
spec.platform = Gem::Platform::RUBY
spec.name = 'sanitized'
spec.version = Sanitized.gem_version
spec.summary = %( An elegant solution for sanitizing user input, with a number of
built-in options or your own custom code. )
spec.description = %(
An elegant solution for sanitizing user input. Cleaning & reformatting user data
is a necessary chore for all developers; but it no longer needs to be time-consuming!
The Sanitized suite of helpers allow you to quickly sanitize any ActiveRecord
attribute, and easily add your own custom code to catch those edge cases.
It will save you a surprisingly large amount of time!
).gsub("\n", ' ')
spec.author = 'CodeMeister'
spec.email = '[email protected]'
spec.homepage = 'https://github.com/Rubology/sanitized'
spec.license = 'MIT'
spec.files = Dir.glob('lib/**/*', File::FNM_DOTMATCH)
spec.require_paths = ['lib']
spec.required_ruby_version = '>= 2.5'
spec.metadata['homepage_uri'] = spec.homepage
spec.metadata['source_code_uri'] = spec.homepage
spec.metadata['changelog_uri'] = 'https://github.com/Rubology/sanitized/blob/master/CHANGELOG.md'
spec.add_runtime_dependency 'activerecord', '>= 5.0.0.beta1'
end # Gem::Specification.new