xpose 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/xpose/exposed.rb +2 -1
- data/lib/xpose/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 81e66bd9db8fd263b28a2e98fa3e67d24839000f
|
4
|
+
data.tar.gz: 9faae608d90fcb69a76c94e824459df60ee054dc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '079cc21d48a0bbf9294f3216309c57b43dbcbbd53cec1924c5e2db17cce7271091b1184427b9af902a9ab450a21268b4f7bca653d8b385b4b190f2a8cc3e61a1'
|
7
|
+
data.tar.gz: d80ed79bf2eccce9a5c5c01b62bc4aac8f4fc5ef3b7b86943413d1cfc18ddc02faa66f480acc5a66640e9ab32523ea698a1114a6faaf8923b0b7c0308577c5ae
|
data/lib/xpose/exposed.rb
CHANGED
@@ -63,8 +63,9 @@ module Xpose
|
|
63
63
|
end
|
64
64
|
|
65
65
|
def params
|
66
|
+
byebug
|
66
67
|
@params ||=
|
67
|
-
if instance.respond_to?("#{conf.singularized_name}_params")
|
68
|
+
if instance.respond_to?("#{conf.singularized_name}_params", true)
|
68
69
|
instance.send("#{conf.singularized_name}_params")
|
69
70
|
else
|
70
71
|
{}
|
data/lib/xpose/version.rb
CHANGED