url_scrubber 0.7.7 → 0.7.8

Sign up to get free protection for your applications and to get access to all the features.
data/lib/url_scrubber.rb CHANGED
@@ -16,7 +16,8 @@ module UrlScrubber
16
16
  url.sub!('#!/', '')
17
17
  url = downcase_domain(url)
18
18
  remove_www!(url)
19
- drop_anchor!(special_cases(url))
19
+ url = drop_anchor!(special_cases(url))
20
+ url.chomp!(',')
20
21
  end
21
22
 
22
23
  def self.service_of(url)
@@ -1,3 +1,3 @@
1
1
  module UrlScrubber
2
- VERSION = "0.7.7"
2
+ VERSION = "0.7.8"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: url_scrubber
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.7
4
+ version: 0.7.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2013-09-12 00:00:00.000000000 Z
14
+ date: 2013-09-18 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: rspec