smart_params 2.0.6 → 2.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/smart_params/error/invalid_property_type.rb +2 -2
- data/lib/smart_params/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eb250627f0fe0822ac3c22a3504c173796984e5b8a5a99bc2e26722802c76f9e
|
4
|
+
data.tar.gz: 97b668a1325a1bf6e1dfec2bcddf3acc9945bc71eb7797209b797f1eeddb755b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9b180e560b1795dd913bb1c7660d07045a838eedb57450b5ebd4f403d17fb08b0aac4ca4143defa0b2e9ad5a6d5acfb0c0b257a34857435a88dab8a837177d06
|
7
|
+
data.tar.gz: 31095d8e3df48bcdd69f76cab140481a9378456cd95c29586e0c815a8fc1ea75285894f4f8a0f9d10576ea3eb2f8570fd18adbcfe2263fb44005eba27ac80b33
|
data/README.md
CHANGED
@@ -12,13 +12,13 @@ module SmartParams
|
|
12
12
|
end
|
13
13
|
|
14
14
|
def message
|
15
|
-
"expected #{keychain.inspect} to be #{wanted.
|
15
|
+
"expected #{keychain.inspect} to be #{wanted.name}, but was #{raw.inspect}"
|
16
16
|
end
|
17
17
|
|
18
18
|
def as_json
|
19
19
|
{
|
20
20
|
"keychain" => keychain,
|
21
|
-
"wanted" => wanted.
|
21
|
+
"wanted" => wanted.name,
|
22
22
|
"raw" => raw
|
23
23
|
}
|
24
24
|
end
|
data/lib/smart_params/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: smart_params
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kurtis Rainbolt-Greene
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-05-
|
11
|
+
date: 2018-05-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|