explicit-parameters 0.4.0 → 0.4.1
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 +4 -4
- data/lib/explicit_parameters/parameters.rb +1 -1
- data/lib/explicit_parameters/version.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 697533e6fdc7ccb89e21e823743f1af05bc94c480754056348758018659c856d
|
4
|
+
data.tar.gz: 59aa16d17c5069b788cd1093aa3bd473a18e61ac369e48d03895f639637c6711
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9448bc7edbba405c2c328563b73fa71e309f076f866162447d354d8cdf6d05a40bd3e8f5fd607ffbae2d8aa35b91ad3ebd2468ffca1124a23d4b1bc9ef534406
|
7
|
+
data.tar.gz: 15c65810388a49398d1b752d0f1ac5bfa701905c06caa0196358a4e5880e5176de89e33813894c7ba68ae1fa7e596c9bf707b4df3645da330f7129048f7b53dc
|
@@ -95,7 +95,7 @@ module ExplicitParameters
|
|
95
95
|
super.except(*missing_attributes)
|
96
96
|
end
|
97
97
|
|
98
|
-
delegate :each, :stringify_keys, :reject, :select, to: :to_hash
|
98
|
+
delegate :each, :each_pair, :empty?, :stringify_keys, :reject, :select, to: :to_hash
|
99
99
|
delegate :[], to: :@original_attributes
|
100
100
|
|
101
101
|
private
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: explicit-parameters
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jean Boussier
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-03-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionpack
|
@@ -94,7 +94,7 @@ dependencies:
|
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '3.0'
|
97
|
-
description:
|
97
|
+
description:
|
98
98
|
email:
|
99
99
|
- jean.boussier@gmail.com
|
100
100
|
executables: []
|
@@ -124,7 +124,7 @@ homepage: https://github.com/byroot/explicit-parameters
|
|
124
124
|
licenses:
|
125
125
|
- MIT
|
126
126
|
metadata: {}
|
127
|
-
post_install_message:
|
127
|
+
post_install_message:
|
128
128
|
rdoc_options: []
|
129
129
|
require_paths:
|
130
130
|
- lib
|
@@ -139,8 +139,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
139
139
|
- !ruby/object:Gem::Version
|
140
140
|
version: '0'
|
141
141
|
requirements: []
|
142
|
-
rubygems_version: 3.
|
143
|
-
signing_key:
|
142
|
+
rubygems_version: 3.1.2
|
143
|
+
signing_key:
|
144
144
|
specification_version: 4
|
145
145
|
summary: Explicit parameters validation and casting for Rails APIs
|
146
146
|
test_files:
|