jobparser 0.13.12 → 0.14.0

Sign up to get free protection for your applications and to get access to all the features.
data/lib/jobparser.rb CHANGED
@@ -2,7 +2,6 @@ require "jobparser/version"
2
2
  require "jobparser/parser"
3
3
  require "jobparser/parsehtml"
4
4
  require "jobparser/parseschema"
5
- require "jobparser/parseurl"
6
5
  require "jobparser/cleaner"
7
6
  require "jobparser/scorer"
8
7
  require "jobparser/specialcases"
@@ -21,6 +20,7 @@ require "jobparser/error"
21
20
 
22
21
  require "uri"
23
22
  require "open-uri"
23
+ require "open_uri_redirections"
24
24
 
25
25
  module JobParser
26
26
  def self.parser(url)
@@ -1,3 +1,3 @@
1
1
  module JobParser
2
- VERSION = "0.13.12"
2
+ VERSION = "0.14.0"
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.13.12
4
+ version: 0.14.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -162,7 +162,6 @@ files:
162
162
  - lib/jobparser/parsehtml.rb
163
163
  - lib/jobparser/parser.rb
164
164
  - lib/jobparser/parseschema.rb
165
- - lib/jobparser/parseurl.rb
166
165
  - lib/jobparser/regex.rb
167
166
  - lib/jobparser/scorer.rb
168
167
  - lib/jobparser/specialcases.rb
@@ -181,12 +180,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
181
180
  - - ! '>='
182
181
  - !ruby/object:Gem::Version
183
182
  version: '0'
183
+ segments:
184
+ - 0
185
+ hash: -2027331114120769746
184
186
  required_rubygems_version: !ruby/object:Gem::Requirement
185
187
  none: false
186
188
  requirements:
187
189
  - - ! '>='
188
190
  - !ruby/object:Gem::Version
189
191
  version: '0'
192
+ segments:
193
+ - 0
194
+ hash: -2027331114120769746
190
195
  requirements: []
191
196
  rubyforge_project:
192
197
  rubygems_version: 1.8.23
@@ -1,9 +0,0 @@
1
- require 'open_uri_redirections'
2
-
3
- module JobParser
4
- class ParseUrl
5
- def initialize(url)
6
- ParseHtml.new(open(url, :allow_redirections => :safe).read, url)
7
- end
8
- end
9
- end