lib/postrank-uri.rb in postrank-uri-1.0.11 vs lib/postrank-uri.rb in postrank-uri-1.0.12

- old
+ new

@@ -159,10 +159,10 @@ if u.host == 'twitter.com' && u.fragment && u.fragment.match(/^!(.*)/) u.fragment = nil u.path = $1 end - if u.host =~ /tumblr\.com$/ + if u.host =~ /tumblr\.com$/ && u.path =~ /\/post\/\d+\// u.path = u.path.gsub(/[^\/]+$/, '') end u end \ No newline at end of file