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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f216f02ebccbcfbe69692ca651d6b498a32e0aad5489214fe5080c25fd16049c
4
- data.tar.gz: f378546a99befd976fe15792a44a596a2d46fca01df46cc908e5c0cea39ca0ac
3
+ metadata.gz: eb250627f0fe0822ac3c22a3504c173796984e5b8a5a99bc2e26722802c76f9e
4
+ data.tar.gz: 97b668a1325a1bf6e1dfec2bcddf3acc9945bc71eb7797209b797f1eeddb755b
5
5
  SHA512:
6
- metadata.gz: 6eeb0425ba7a69364842c3c56d6d29a57f4711d6ef7af9c29a658df1998c7b35c5782ec18c1e0c656dd7faa09bb00d1e1cdf41efd8ecebf5f7c6f9cb00b9f9e4
7
- data.tar.gz: b718ead8ded3f5d7bc6ff4ece9892051da9d580892b3087e2594c05211e1d0b92d84fd13ecaccb54aad5e7ff1b6417c44363f6823b6c5b5e10477995182acd14
6
+ metadata.gz: 9b180e560b1795dd913bb1c7660d07045a838eedb57450b5ebd4f403d17fb08b0aac4ca4143defa0b2e9ad5a6d5acfb0c0b257a34857435a88dab8a837177d06
7
+ data.tar.gz: 31095d8e3df48bcdd69f76cab140481a9378456cd95c29586e0c815a8fc1ea75285894f4f8a0f9d10576ea3eb2f8570fd18adbcfe2263fb44005eba27ac80b33
data/README.md CHANGED
@@ -132,7 +132,7 @@ Your model is already complex enough and it doesn't need the added baggage of fi
132
132
 
133
133
  Add this line to your application's Gemfile:
134
134
 
135
- gem "smart_params", "2.0.6"
135
+ gem "smart_params", "2.0.7"
136
136
 
137
137
  And then execute:
138
138
 
@@ -12,13 +12,13 @@ module SmartParams
12
12
  end
13
13
 
14
14
  def message
15
- "expected #{keychain.inspect} to be #{wanted.type.name}, but was #{raw.inspect}"
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.type.name,
21
+ "wanted" => wanted.name,
22
22
  "raw" => raw
23
23
  }
24
24
  end
@@ -1,3 +1,3 @@
1
1
  module SmartParams
2
- VERSION = "2.0.6"
2
+ VERSION = "2.0.7"
3
3
  end
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.6
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-09 00:00:00.000000000 Z
11
+ date: 2018-05-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler