vidibus-permalink 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -111,6 +111,7 @@ class Permalink
111
111
 
112
112
  def scope_list(scope)
113
113
  return [] unless scope
114
+ return scope if scope.kind_of?(Array)
114
115
  scope.map {|key, value| "#{key}:#{value}"}
115
116
  end
116
117
  end
@@ -1,5 +1,5 @@
1
1
  module Vidibus
2
2
  module Permalink
3
- VERSION = "0.1.4"
3
+ VERSION = "0.1.5"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vidibus-permalink
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 4
10
- version: 0.1.4
9
+ - 5
10
+ version: 0.1.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Andre Pankratz