url_scrubber 0.8.3 → 0.8.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZWNmYjEyOTYxNjVmMGI4Mjg5ODVjMzc1ZjQ3ZmMwODA1NmYxZTMwNg==
4
+ YTc0NjgzNDE1YzE4ZjcxODZiNmQ2MWY4YWI0YzcwYjZlNmM1MjllNg==
5
5
  data.tar.gz: !binary |-
6
- N2Y4NzNkMWZkMWNlMjA4M2M2Y2QxZmQ0MWFmYTg0NzRlN2UxNmI3ZA==
6
+ ZWU2NWNlZjg3YmNlMDk3M2RlZTJiMjVlOWEzYzNlMDczOGRmMDZkZg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ZGY3NmVkOTBmNjI5ZDUzYmEwZDE2OTcwZWU2ZDM2YTJjMzI2NzQwYzNhMzdm
10
- MTIyNzUwNTY0M2Q3ODI0MzZlZWJhOGQ0M2Y4MzE0MWQ4ZjA4YjliZjIxZDdh
11
- MTZkNTM3YjNiN2U0NWViMmNjZTViOTBlN2E5NGVkNjkzNTQyZDI=
9
+ ODM3OGM0YzU5MWE5YzNjZmFkMmE4YzQzYzFiMDkyMGQ1NThkOWNhYWYxNTIx
10
+ NjJmOWE4MmNmNTE5MmE1ZjIyNDZjZTI0NDAyNWVhZmFiYTc2MDhkYmNkODNm
11
+ MjZiNjFlNTQ1ZWZhZjc2ZGQ2YjcwMWUxMzk4YzBmOTkzYTI2MTg=
12
12
  data.tar.gz: !binary |-
13
- YmExM2U0NjY4YzM1ZmY3ZTU2MmU0ZTdiNmY5ZDU5YzQ5ZWI4MWM1YWUwNjM0
14
- NmY2Y2Q5MDgwNWVjYWQ0Yzk5OTFmMWY3Nzg2MmYyZGExZWFkMzQ5NThmMjhm
15
- YzQ4YTY3ZDdkYjgwZGZkMzM5Y2U0ODMwNWFiNzM3NzY4MmFhZjk=
13
+ YWNlZTc0Yzc1MmRmNzMwODY2Yzc4OTEyZmM1MDE1NTY3MmE4YmIyY2QwYjMz
14
+ ZGVjYmYwNzBjYjNmMDI4YWYwM2RiYjA3ZjA2ZDE3MWM4Y2Y2ZDMyZTdmYTUz
15
+ MGZkZGVlMjU0NGJhMDg5N2I3NDgzNDhhZDFlYzU4ZmE0ZWNkNTA=
@@ -1,3 +1,3 @@
1
1
  module UrlScrubber
2
- VERSION = "0.8.3"
2
+ VERSION = "0.8.4"
3
3
  end
data/lib/url_scrubber.rb CHANGED
@@ -173,6 +173,7 @@ module UrlScrubber
173
173
  # url.sub!(%r{://www\d*\.}, '://')
174
174
  url.sub!(%r{^https?://www?w?\d*\.}i, 'http://')
175
175
  url.sub!(%r{^https?://m\d*\.}i, 'http://')
176
+ url.sub!(%r{^https?://mobile\d*\.}i, 'http://')
176
177
  url
177
178
  end
178
179
 
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.8.3
4
+ version: 0.8.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Colin Langton
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2016-12-03 00:00:00.000000000 Z
14
+ date: 2016-12-05 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: rspec