rails_validation_api 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7bf4211205049054bf10b62a8fbfed2d4ac067989040c4f33c79bdd549569d9b
|
4
|
+
data.tar.gz: 68ad48faa55a846431b5a0b09ae0cfeb380b08aaf06b263a37f318dfbd5f6631
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 66f22d26a6e9646bb16e394ca1e0cc9221f62d91554a3c71f3872c61e2daf01d9d3e2ab5d45b68a9b40a3ac5b1a5112feb90cbc686980e2df1bb9181ec4b534d
|
7
|
+
data.tar.gz: a00c52ce98c62d774849af3851020cf76d78cf48fb404f92d4ab651ef2893658a1acee2a830e1013a166ee7906c6d5ffd9aea4a3f5e8de0c77c9f853dd47b543
|
data/exe/rails_validation_api
CHANGED
data/lib/rails_validation_api.rb
CHANGED
@@ -9,11 +9,6 @@ require_relative "rails_validation_api/dsl"
|
|
9
9
|
require_relative "rails_validation_api/validator"
|
10
10
|
require "active_support/concern"
|
11
11
|
require "active_support/core_ext/string/inflections"
|
12
|
-
require "rails_param"
|
13
|
-
require "date"
|
14
|
-
require "time"
|
15
|
-
require "bigdecimal"
|
16
|
-
require "active_support/all"
|
17
12
|
|
18
13
|
module RailsValidationApi
|
19
14
|
class Error < StandardError
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails_validation_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Linh Nguyen Quang
|
@@ -66,7 +66,11 @@ dependencies:
|
|
66
66
|
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
|
-
description:
|
69
|
+
description: Rails Validation API provides a powerful DSL for validating request parameters
|
70
|
+
in Rails applications. Features include automatic validator loading based on controller/action
|
71
|
+
names, nested parameter validation, custom error handling, and seamless integration
|
72
|
+
with Rails controllers through concerns. Perfect for API applications requiring
|
73
|
+
robust parameter validation with minimal boilerplate code.
|
70
74
|
email:
|
71
75
|
- linhnq@gmail.com
|
72
76
|
executables:
|
@@ -81,7 +85,7 @@ files:
|
|
81
85
|
- lib/rails_validation_api/dsl.rb
|
82
86
|
- lib/rails_validation_api/validator.rb
|
83
87
|
- lib/rails_validation_api/version.rb
|
84
|
-
homepage: https://github.com/
|
88
|
+
homepage: https://github.com/linhnq-cs/rails_vailidation_api
|
85
89
|
licenses:
|
86
90
|
- MIT
|
87
91
|
metadata: {}
|
@@ -103,5 +107,6 @@ requirements: []
|
|
103
107
|
rubygems_version: 3.4.6
|
104
108
|
signing_key:
|
105
109
|
specification_version: 4
|
106
|
-
summary:
|
110
|
+
summary: Enhanced parameter validation system for Rails APIs with automatic controller
|
111
|
+
integration
|
107
112
|
test_files: []
|