strong_locals 0.1.0 → 0.1.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
  SHA1:
3
- metadata.gz: f44d25786974527d01bdad6d6d5c9c3019d2cf12
4
- data.tar.gz: 3fee10655b0c30e4a0812fd0cc2740802e9e4248
3
+ metadata.gz: 7abc2ed8a3a1c63761cfc58deea27d0b10a4cf9d
4
+ data.tar.gz: 9921dd08579c2db6a248d8a13a1d2248e3cd1578
5
5
  SHA512:
6
- metadata.gz: a9d1cafd6b14725d0c93163a7f684011efb049446a9d987c1f8532f8d217f0a7c23fa0a52bfec5a8393aeb991840749410d336c137bb76aba896b9f533f9825e
7
- data.tar.gz: fd726dd52821d2f74e34bc6b723dffeb58823366b8a54692caa6cefc019fa26f24d3548ef482ed4f403e5bc4d3888524e275637e09a8019cdaa4680b36621257
6
+ metadata.gz: 655a06874b502be0250e979b6a9fa53983700a2259e4bf884e8e0582fe4a01ef934ca16b23445ffd23512c876231f98a19418bd8f8b014fbb5d1764053b0ed55
7
+ data.tar.gz: 2aab6bbe48cfbdf0d61a114bb463786d47919f382bbe4e623b7ae874b962f2d8091655e2740f4024a98627ae1565954878c4f81a238125996ee2667672c5add2
@@ -55,7 +55,7 @@ RSpec.describe StrongLocals::Locals do
55
55
  add(:llama, model: true)
56
56
 
57
57
  expect(locals.validate(local_assigns)).to eq({
58
- ages: ["not model"]
58
+ llama: ["not model"]
59
59
  })
60
60
  end
61
61
 
@@ -66,7 +66,7 @@ RSpec.describe StrongLocals::Locals do
66
66
  add(:age, numeric: true)
67
67
 
68
68
  expect(locals.validate(local_assigns)).to eq({
69
- name: ["not numeric"]
69
+ age: ["not numeric"]
70
70
  })
71
71
  end
72
72
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: strong_locals
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leigh Halliday