gotascii-crags 1.4.4 → 1.4.5
Sign up to get free protection for your applications and to get access to all the features.
- data/crags.gemspec +1 -1
- data/lib/crags/searcher.rb +2 -5
- data/lib/crags.rb +1 -1
- metadata +1 -1
data/crags.gemspec
CHANGED
data/lib/crags/searcher.rb
CHANGED
@@ -25,11 +25,8 @@ module Crags
|
|
25
25
|
|
26
26
|
def locations(country)
|
27
27
|
linkz = location_links(country)
|
28
|
-
if linkz.empty?
|
29
|
-
|
30
|
-
else
|
31
|
-
linkz.collect{|link| strip_http(link["href"]) }
|
32
|
-
end
|
28
|
+
linkz = [location_request(country).last_effective_url] if linkz.empty?
|
29
|
+
linkz.collect{|link| strip_http(link["href"]) }
|
33
30
|
end
|
34
31
|
|
35
32
|
def categories
|
data/lib/crags.rb
CHANGED