-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rails_fields.gemspec
37 lines (33 loc) · 1.45 KB
/
rails_fields.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
37
$LOAD_PATH.push File.expand_path("../lib", __FILE__)
require "rails_fields/version"
require "date"
Gem::Specification.new do |spec|
spec.name = "rails-fields"
spec.version = RailsFields::VERSION
spec.date = Date.today.to_s
spec.authors = ["Gaston Morixe"]
spec.email = ["[email protected]"]
spec.summary = "Enforce field types and attributes for ActiveRecord models in Ruby on Rails applications."
spec.description = <<-STRING
rails-fields gem provides robust field type enforcement for ActiveRecord models in Ruby on Rails applications.
It includes utility methods for type validation, logging, and field mappings between GraphQL and ActiveRecord types
Custom error classes provide clear diagnostics for field-related issues, making it easier to maintain consistent data models.
STRING
spec.homepage = "https://github.com/gastonmorixe/rails-fields"
spec.license = "MIT"
spec.files = Dir["lib/**/*", "README.md"]
spec.require_paths = ["lib"]
spec.metadata = {
"homepage_uri" => "https://rails-fields.dev",
"source_code_uri" => "https://github.com/gastonmorixe/rails-fields",
"bug_tracker_uri" => "https://github.com/gastonmorixe/rails-fields/issues"
}
# Ruby
spec.required_ruby_version = ">= 2.7"
# Dependencies
spec.add_dependency "rails", ">= 5.0"
# spec.add_dependency "graphql", ">= 2.0.0"
# Development Dependencies
spec.add_development_dependency "graphql"
spec.add_development_dependency "yard"
end