Repository navigation
Expand file tree
/
Copy pathhas_normalized_attributes.gemspec
More file actions
51 lines (41 loc) · 2.05 KB
/
Copy pathhas_normalized_attributes.gemspec
File metadata and controls
51 lines (41 loc) · 2.05 KB
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# -*- encoding: utf-8 -*-
# frozen_string_literal: true
lib = File.expand_path("../lib/", __FILE__)
$:.unshift lib unless $:.include?(lib)
require "has_normalized_attributes/version"
Gem::Specification.new do |s|
s.name = "has_normalized_attributes"
s.version = HasNormalizedAttributes::VERSION
s.authors = ["Kyle Ginavan"]
s.email = ["kylejginavan@gmail.com"]
s.date = "2010-05-18"
s.summary = "Normalize user-provided data before save"
s.description = <<~DESC
has_normalized_attributes is a Ruby on Rails gem that lets you normalize user data
for an improved user experience. It takes messy user input and normalizes it into
a clean, standard format.
DESC
s.homepage = "https://github.com/kylejginavan/has_normalized_attributes"
s.required_ruby_version = ">= 3.4.0", "< 4.0.0"
s.files = Dir.chdir(__dir__) do
`git ls-files -z`.split("\x0").reject do |f|
f.match?(%r{\A(?:test|spec|features)/}) ||
f.end_with?(".gem")
end
end
s.require_paths = ["lib"]
s.extra_rdoc_files = [ "README.rdoc" ]
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
# ActiveSupport 8.0 passes quirks_mode, which JSON 3 rejects.
s.add_dependency "json", "< 3"
s.add_dependency "activerecord", ">= 8.0", "< 8.2"
s.add_development_dependency "byebug", "~> 12.0"
s.add_development_dependency "database_cleaner", "~> 2.1"
s.add_development_dependency "rspec", "~> 3.13"
s.add_development_dependency "rspec_junit_formatter", "~> 0.6"
s.add_development_dependency "rubocop", "~> 1.81" # code quality check for sonarqube
s.add_development_dependency "rubocop-performance", "~> 1.26"
s.add_development_dependency "rubocop-rails", "~> 2.34"
s.add_development_dependency "sqlite3", "~> 2.9"
end