viva-resource_controller 0.6.5.1 → 0.6.5.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/urligence.rb +3 -1
  2. metadata +1 -1
data/lib/urligence.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  module Urligence
2
2
  def smart_url(*objects)
3
- urligence *attach_params(:nil, :url, *objects)
3
+ urligence *attach_params(nil, :url, *objects)
4
4
  end
5
5
 
6
6
  def smart_path(*objects)
@@ -26,7 +26,9 @@ module Urligence
26
26
  params = {}
27
27
  params.merge!(objects.pop) if objects.last.is_a?(Hash)
28
28
 
29
+ logger.debug("##### BEFORE:#{objects.inspect}")
29
30
  objects.reject! { |object| object.nil? }
31
+ logger.debug("##### AFTER:#{objects.inspect}")
30
32
 
31
33
  url_fragments = objects.collect do |obj|
32
34
  if obj.is_a? Symbol
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: viva-resource_controller
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.5.1
4
+ version: 0.6.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Golick