smart_params 4.0.0 → 4.0.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: aa09497154b8fcffacbdb4a2d90e277eb00ca8b159279eb3220532c7cb604160
4
- data.tar.gz: ace3cfdc1a43e66979a5a562b2458321892c1b93c1bc50a2790ebd07b6886c35
3
+ metadata.gz: b6ba2f5aec658ea03696c44adb78d7672dfbdff38e09bb180747df60c052806f
4
+ data.tar.gz: 17b96fa105e034549bc1c27d6ed99cd4cc322a483a7c06a7248e01f980926c92
5
5
  SHA512:
6
- metadata.gz: 94e685f378e35aa4098d88c2c110abc7f101e60223202746b06aa70f45ee648f5203d1c4cb526072747505b30475ffa092a92d8db4c4b20ae7011053414b6b75
7
- data.tar.gz: 7761f7c49ab88765088d92864fc81735499b57b2388e0286a9a90f11a57d73c68101f6fa215b58f6c330e601e7a6898e1097189983a8e4ce9ee05b1694e424ca
6
+ metadata.gz: 2e0ec9ae013b8d240dfe0006d82d35cd954edad38813e2626e1a1eac2d414838f9afa415ff8b34c94a960afad83bb6e7d4b9bbf7e109c665e63d43453afb81d3
7
+ data.tar.gz: a08bf1ce80d8fcb4078d86ca5b4b7dd8899ecfc045401dff5cc1a8dc659cae0cfc6a524c65a51a92fb1424641460cd021b940790f0650a9fbb1a931bdaf7e2f0
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SmartParams
4
- VERSION = "4.0.0"
4
+ VERSION = "4.0.1"
5
5
  end
data/lib/smart_params.rb CHANGED
@@ -60,7 +60,9 @@ module SmartParams
60
60
  delegate :dig, to: :to_hash
61
61
  delegate :to_s, to: :to_hash
62
62
 
63
- def respond_to_missing? = true
63
+ def respond_to_missing?(name, include_private = false)
64
+ payload.respond_to?(name) || super
65
+ end
64
66
 
65
67
  def method_missing(name, *arguments, &)
66
68
  if payload.respond_to?(name)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smart_params
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0
4
+ version: 4.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kurtis Rainbolt-Greene