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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b1fbf814254206c49efcc797d87c28787d825ed5b624b497bc3e6effbe427cb5
4
- data.tar.gz: ba57d27a8d2b94a54255c86e587536701ab1979d7b82a3dea962e8f6db68cbcc
3
+ metadata.gz: 697533e6fdc7ccb89e21e823743f1af05bc94c480754056348758018659c856d
4
+ data.tar.gz: 59aa16d17c5069b788cd1093aa3bd473a18e61ac369e48d03895f639637c6711
5
5
  SHA512:
6
- metadata.gz: c8e059e8e7063c82ee36d433a8a6e26d405369719826f6bb6ef24c67e74e7201c2cc7b937ade21cabb88899c220fc49b2567cbc099d38465afea21c2be0fd18e
7
- data.tar.gz: 464edf9d6615639ff168e86755e6b7d380f7f2eba68ad09833ea6feb49853c5e18de3f948fc2804c57d3f790ef71924a381f0a43fa2332da3e9ce735d65bc0cf
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
@@ -1,3 +1,3 @@
1
1
  module ExplicitParameters
2
- VERSION = '0.4.0'
2
+ VERSION = '0.4.1'
3
3
  end
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.0
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: 2019-09-12 00:00:00.000000000 Z
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.0.4
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: