fanforce 0.3.14 → 0.3.15

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.
@@ -102,9 +102,7 @@ module Fanforce::Utils
102
102
  end
103
103
 
104
104
  def to_param(obj, namespace=nil)
105
- if obj.is_a?(Object)
106
- obj.to_s
107
- elsif obj.is_a?(Array)
105
+ if obj.is_a?(Array)
108
106
  collect { |e| e.to_param }.join '/'
109
107
  elsif obj.is_a?(Hash)
110
108
  to_query_string(obj, namespace)
@@ -114,6 +112,8 @@ module Fanforce::Utils
114
112
  obj
115
113
  elsif obj.is_a?(FalseClass)
116
114
  obj
115
+ elsif obj.is_a?(Object)
116
+ obj.to_s
117
117
  end
118
118
  end
119
119
 
@@ -1,3 +1,3 @@
1
1
  class Fanforce
2
- VERSION = "0.3.14"
2
+ VERSION = "0.3.15"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fanforce
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.14
4
+ version: 0.3.15
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: