jobparser 0.13.3 → 0.13.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/jobparser.rb +1 -5
- data/lib/jobparser/version.rb +1 -1
- metadata +2 -2
data/lib/jobparser.rb
CHANGED
@@ -28,7 +28,7 @@ module JobParser
|
|
28
28
|
end
|
29
29
|
|
30
30
|
def self.parse(url)
|
31
|
-
if JobParser.
|
31
|
+
if JobParser.has_cache_for_url?(url)
|
32
32
|
res = JobParser.cache.fetch_result_for_url(url)
|
33
33
|
if res[:schema]
|
34
34
|
ParseSchema.new(nil, url)
|
@@ -56,10 +56,6 @@ module JobParser
|
|
56
56
|
JobParser.config[:cache_on] && JobParser.cache.has_cache_for_url?(url) && !JobParser.cache.cache_expired?(url)
|
57
57
|
end
|
58
58
|
|
59
|
-
def self.get_cache_for_url(url)
|
60
|
-
|
61
|
-
end
|
62
|
-
|
63
59
|
def self.config
|
64
60
|
@config
|
65
61
|
end
|
data/lib/jobparser/version.rb
CHANGED
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.13.
|
4
|
+
version: 0.13.4
|
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-
|
12
|
+
date: 2013-08-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|