jobboards-parser 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/jobboards-parser.gemspec +2 -2
- data/lib/jobboards_parser.rb +8 -6
- metadata +4 -4
data/jobboards-parser.gemspec
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = "jobboards-parser"
|
3
|
-
s.version = "0.0.
|
3
|
+
s.version = "0.0.2"
|
4
4
|
s.date = "2010-05-15"
|
5
5
|
s.summary = "Simple ruby library for parsing tech jobboards"
|
6
6
|
s.email = "g.marcilhacy@gmail.com"
|
7
|
-
s.homepage = ""
|
7
|
+
s.homepage = "https://github.com/gregorym/jobboards-parser"
|
8
8
|
s.description = "Simple ruby library for parsing tech jobboards"
|
9
9
|
s.has_rdoc = false
|
10
10
|
s.authors = ["Grégory Marcilhacy"]
|
data/lib/jobboards_parser.rb
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
|
1
2
|
begin
|
2
3
|
require 'rubygems'
|
3
4
|
require 'boilerpipe'
|
@@ -53,11 +54,13 @@ module JobboardsParser
|
|
53
54
|
:startuply => { :url => "http://startuply.com/Rss/HomePage.aspx", :name => "Startuply" },
|
54
55
|
}.freeze
|
55
56
|
|
56
|
-
#
|
57
|
-
#
|
58
|
-
#
|
59
|
-
#
|
60
|
-
#
|
57
|
+
# Loads jobs from all jobboards or jobboards passed has arguments
|
58
|
+
# To load all jobboards do:
|
59
|
+
# JobboardsParser.load
|
60
|
+
# or
|
61
|
+
# JobboardsParser.load(:all)
|
62
|
+
# If you want lo load specifics jobboards do:
|
63
|
+
# JobboardsParser.load (:crunchboard, :github)
|
61
64
|
def self.load(*opts)
|
62
65
|
opts = BOARDS.keys if opts.first == :all || opts.blank?
|
63
66
|
|
@@ -74,4 +77,3 @@ module JobboardsParser
|
|
74
77
|
class InvalidJobboard < StandardError; end
|
75
78
|
|
76
79
|
end
|
77
|
-
print JobboardsParser.load(:crunchboard)
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jobboards-parser
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 27
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 2
|
10
|
+
version: 0.0.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- "Gr\xC3\xA9gory Marcilhacy"
|
@@ -90,7 +90,7 @@ files:
|
|
90
90
|
- lib/jobboards/boards/smashing_magazine.rb
|
91
91
|
- lib/jobboards/boards/startuply.rb
|
92
92
|
has_rdoc: true
|
93
|
-
homepage:
|
93
|
+
homepage: https://github.com/gregorym/jobboards-parser
|
94
94
|
licenses: []
|
95
95
|
|
96
96
|
post_install_message:
|