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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7f8f64feab9c59cab0b3a944eae235aa1d84397f
4
- data.tar.gz: 912d71186527db658cfbb5c1d1d9c888927f4979
3
+ metadata.gz: 81e66bd9db8fd263b28a2e98fa3e67d24839000f
4
+ data.tar.gz: 9faae608d90fcb69a76c94e824459df60ee054dc
5
5
  SHA512:
6
- metadata.gz: 6c152123e22eae8917dbf8f2f44fce660e9c7a75afb0aa6b2971e8b4fa4031e4e3b74e4748e4f82ce2681b896e4b9daf14499c2d46fc882c3e2b2fd53ac8333f
7
- data.tar.gz: 970e1792b97324131a45b36687c804842de080e449cb4f2e4096577206568c659f79f4e9cc2f648bea4d954fc9315ede9b4afa031a39e118738dc2687fb18f5a
6
+ metadata.gz: '079cc21d48a0bbf9294f3216309c57b43dbcbbd53cec1924c5e2db17cce7271091b1184427b9af902a9ab450a21268b4f7bca653d8b385b4b190f2a8cc3e61a1'
7
+ data.tar.gz: d80ed79bf2eccce9a5c5c01b62bc4aac8f4fc5ef3b7b86943413d1cfc18ddc02faa66f480acc5a66640e9ab32523ea698a1114a6faaf8923b0b7c0308577c5ae
@@ -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
  {}
@@ -1,3 +1,3 @@
1
1
  module Xpose
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xpose
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Younes SERRAJ