stronger_parameters 2.5.0 → 2.6.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9cee9c15067d436594362c541eda36feab8727e6
|
4
|
+
data.tar.gz: ff64518e518b16e4077a9539a056c4906bfbaf43
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 28f33d4429925ec7e889dfa42ccb7c8efc0c06d3a8d7da778c584f17483de9b3585e28c2d8ad3725a975fe7171e9ed457fb53c539a59f84520e337a6d93f25c2
|
7
|
+
data.tar.gz: ce86345534a475a3030ceefffa52d0de28619373c7bc57f07c63666199c9814118a8e87470e62cdb2fc91c104d2849ef8f9ad73a4b2cfb41330d1d1d6ef769ad
|
data/README.md
CHANGED
@@ -182,4 +182,5 @@ ActionController::Parameters.action_on_invalid_parameters = :log
|
|
182
182
|
| Parameters.nil | value is nil |
|
183
183
|
| Parameters.nil_string | value is nil, '', 'undefined' |
|
184
184
|
| Parameters.file | File, StringIO, Rack::Test::UploadedFile, ActionDispatch::Http::UploadedFile or subclasses |
|
185
|
-
| Parameters.decimal(8,2) | value is a String, Integer or Float with a precision of
|
185
|
+
| Parameters.decimal(8,2) | value is a String, Integer or Float with a precision of 9 and scale of 2 |
|
186
|
+
| Parameters.hex | value is a String that matches the hexadecimal format |
|
@@ -91,3 +91,4 @@ require 'stronger_parameters/constraints/comparison_constraints'
|
|
91
91
|
require 'stronger_parameters/constraints/nil_string_constraint'
|
92
92
|
require 'stronger_parameters/constraints/file_constraint'
|
93
93
|
require 'stronger_parameters/constraints/decimal_constraint'
|
94
|
+
require 'stronger_parameters/constraints/hex_constraint'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stronger_parameters
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mick Staugaard
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-02-
|
11
|
+
date: 2016-02-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -189,6 +189,7 @@ files:
|
|
189
189
|
- lib/stronger_parameters/constraints/file_constraint.rb
|
190
190
|
- lib/stronger_parameters/constraints/float_constraint.rb
|
191
191
|
- lib/stronger_parameters/constraints/hash_constraint.rb
|
192
|
+
- lib/stronger_parameters/constraints/hex_constraint.rb
|
192
193
|
- lib/stronger_parameters/constraints/integer_constraint.rb
|
193
194
|
- lib/stronger_parameters/constraints/nil_constraint.rb
|
194
195
|
- lib/stronger_parameters/constraints/nil_string_constraint.rb
|