url_scrubber 0.7.9 → 0.7.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,3 @@
1
1
  module UrlScrubber
2
- VERSION = "0.7.9"
2
+ VERSION = "0.7.10"
3
3
  end
data/lib/url_scrubber.rb CHANGED
@@ -202,6 +202,9 @@ module UrlScrubber
202
202
  elsif url.include?('linkedin.com/groups?home=&gid=')
203
203
  id_partition = url.partition('linkedin.com/groups?home=&gid=')
204
204
  url = "http://linkedin.com/groups?gid=" + drop_url_ampersand!(id_partition[2])
205
+ elsif url.include?('linkedin.com/groups?homeNewMember=&gid=')
206
+ id_partition = url.partition('linkedin.com/groups?homeNewMember=&gid=')
207
+ url = "http://linkedin.com/groups?gid=" + drop_url_ampersand!(id_partition[2])
205
208
  end
206
209
  url
207
210
  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.9
4
+ version: 0.7.10
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-18 00:00:00.000000000 Z
14
+ date: 2013-09-27 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: rspec