cerulean 0.12.0 → 0.12.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/cerulean.rb +1 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 467b5c285e4662a969f2e165030aaf74adad6653
4
- data.tar.gz: 2a97a0f4bb5bb68d3c2e855c780a8cf15812a534
3
+ metadata.gz: 9790519a85cc87e8f646d299fb79118161460a73
4
+ data.tar.gz: 4b0b488d32d3e6a03a3fee2fc0715df653e08f67
5
5
  SHA512:
6
- metadata.gz: 62d8dff7f6e662b24d581c30837a453d68f09e34af38b75e972070f714c3a3015b2512099c36e4287a7033b811431ef99f68c2d037e9a4d49c4a3fd5403da9fe
7
- data.tar.gz: 762d1ec824d4a595c89ef585dd86b6bf1cf145c1667c014526c4e42836e4ec8a15d5122b19faa72943e30e32599318b18fbba90ffa772de0907cb6ea412ef84d
6
+ metadata.gz: 62b10a23ea05fdda685ed6b1b61188b68496996c161c59b79215d41f4009b0aa2a55df11811aa22ea1a8050d7867155d3aeae966ea1c4405f4489504f63dc315
7
+ data.tar.gz: cf9bdb8deabbccac6d5cecc0e9c516c9bf22296c924db3b522106bb14ff5b8e946f759c2f2817eb890d2d4efcf7149a962e8bf838bc7427c4fe707bc26e284ab
@@ -169,7 +169,7 @@ module Cerulean
169
169
 
170
170
  @declared[param] = p
171
171
  else
172
- params[param] = opts[:default] if opts.has_key?(:default)
172
+ @declared[param] = opts[:default] if opts.has_key?(:default)
173
173
  if opts[:required]
174
174
  errors[param] ||= []
175
175
  errors[param] << "is required"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cerulean
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.12.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyle Kestell