jobparser 0.7.1 → 0.7.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -6,7 +6,7 @@ module JobParser
6
6
  elements["a"].each do |anchor|
7
7
  APPLY_LINK_REGEX.match(anchor.content) { link = anchor }
8
8
  end
9
- if link
9
+ if link && link.attributes["href"].to_s.downcase.include?("javascript:") == false
10
10
  Cleaner.make_link_absolute(@url, link.attributes["href"].to_s.gsub(" ", "%20"))
11
11
  else
12
12
  @url
@@ -1,3 +1,3 @@
1
1
  module JobParser
2
- VERSION = "0.7.1"
2
+ VERSION = "0.7.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jobparser
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.1
4
+ version: 0.7.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-08-05 00:00:00.000000000 Z
12
+ date: 2013-08-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler