indeed 0.0.1 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (6) hide show
  1. data/Gemfile +3 -1
  2. data/Rakefile +0 -1
  3. data/Readme.textile +7 -1
  4. data/VERSION +1 -1
  5. data/indeed.gemspec +58 -0
  6. metadata +15 -28
data/Gemfile CHANGED
@@ -2,7 +2,9 @@ source :gemcutter
2
2
 
3
3
  gem "rake"
4
4
  gem 'yajl-ruby'
5
- gem "jeweler"
5
+ group :development do
6
+ gem "jeweler"
7
+ end
6
8
  group :test do
7
9
  gem 'rspec', "1.3.0"
8
10
  gem "mocha", "0.9.8"
data/Rakefile CHANGED
@@ -18,7 +18,6 @@ Support search jobs API 2.0 and get jobs API
18
18
  gemspec.email = "agresso@gmail.com"
19
19
  gemspec.homepage = "http://github.com/railsware/indeed"
20
20
  gemspec.authors = ["Bogdan Gusiev"]
21
- gemspec.add_dependency "yajl-ruby"
22
21
  end
23
22
 
24
23
  Spec::Rake::SpecTask.new(:spec) do |spec|
data/Readme.textile CHANGED
@@ -1,6 +1,7 @@
1
1
  h1. Indeed integration plugin
2
2
 
3
3
  Simple integration plugin for Indeed.com XML feed api
4
+ https://ads.indeed.com/jobroll/xmlfeed (Require authorization)
4
5
 
5
6
 
6
7
  h3. Requirements
@@ -10,10 +11,15 @@ The following gems are required:
10
11
  * yajl-ruby
11
12
  * rake
12
13
 
14
+ h3. Installation
15
+
16
+ <pre><code>gem install indeed</code></pre>
17
+
13
18
  h3. Example
14
19
 
15
20
  <pre><code>require 'indeed'
16
21
  Indeed.key = &lt;publisher key&gt;
17
- Indeed.search(:q => "ruby", :l => "Boston")
22
+ result = Indeed.search(:q => "ruby", :l => "Boston")
23
+ result.total #indeed returns number of results
18
24
  Indeed.get('f8abbe5539f14420', '4fb26405a44d7eb8')
19
25
  </code></pre>
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.1
1
+ 0.1.0
data/indeed.gemspec ADDED
@@ -0,0 +1,58 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = %q{indeed}
8
+ s.version = "0.1.0"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Bogdan Gusiev"]
12
+ s.date = %q{2011-01-28}
13
+ s.description = %q{Simple wrapper for JSON api provided by indeed.
14
+ Original documentation at:
15
+ http://www.indeed.com/jsp/apiinfo.jsp (Require authorization)
16
+ Support search jobs API 2.0 and get jobs API
17
+ }
18
+ s.email = %q{agresso@gmail.com}
19
+ s.files = [
20
+ "Gemfile",
21
+ "Gemfile.lock",
22
+ "Rakefile",
23
+ "Readme.textile",
24
+ "VERSION",
25
+ "indeed.gemspec",
26
+ "lib/indeed.rb",
27
+ "spec/indeed_spec.rb",
28
+ "spec/spec_helper.rb"
29
+ ]
30
+ s.homepage = %q{http://github.com/railsware/indeed}
31
+ s.require_paths = ["lib"]
32
+ s.rubygems_version = %q{1.3.7}
33
+ s.summary = %q{Api wrap from Indeed service http://indeed.com}
34
+ s.test_files = [
35
+ "spec/indeed_spec.rb",
36
+ "spec/spec_helper.rb"
37
+ ]
38
+
39
+ if s.respond_to? :specification_version then
40
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
41
+ s.specification_version = 3
42
+
43
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
44
+ s.add_runtime_dependency(%q<rake>, [">= 0"])
45
+ s.add_runtime_dependency(%q<yajl-ruby>, [">= 0"])
46
+ s.add_development_dependency(%q<jeweler>, [">= 0"])
47
+ else
48
+ s.add_dependency(%q<rake>, [">= 0"])
49
+ s.add_dependency(%q<yajl-ruby>, [">= 0"])
50
+ s.add_dependency(%q<jeweler>, [">= 0"])
51
+ end
52
+ else
53
+ s.add_dependency(%q<rake>, [">= 0"])
54
+ s.add_dependency(%q<yajl-ruby>, [">= 0"])
55
+ s.add_dependency(%q<jeweler>, [">= 0"])
56
+ end
57
+ end
58
+
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: indeed
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 27
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
- - 0
9
8
  - 1
10
- version: 0.0.1
9
+ - 0
10
+ version: 0.1.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Bogdan Gusiev
@@ -20,21 +20,9 @@ default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
22
22
  name: rake
23
- requirement: &id001 !ruby/object:Gem::Requirement
24
- none: false
25
- requirements:
26
- - - ">="
27
- - !ruby/object:Gem::Version
28
- hash: 3
29
- segments:
30
- - 0
31
- version: "0"
32
23
  type: :runtime
33
24
  prerelease: false
34
- version_requirements: *id001
35
- - !ruby/object:Gem::Dependency
36
- name: yajl-ruby
37
- requirement: &id002 !ruby/object:Gem::Requirement
25
+ version_requirements: &id001 !ruby/object:Gem::Requirement
38
26
  none: false
39
27
  requirements:
40
28
  - - ">="
@@ -43,12 +31,12 @@ dependencies:
43
31
  segments:
44
32
  - 0
45
33
  version: "0"
34
+ requirement: *id001
35
+ - !ruby/object:Gem::Dependency
36
+ name: yajl-ruby
46
37
  type: :runtime
47
38
  prerelease: false
48
- version_requirements: *id002
49
- - !ruby/object:Gem::Dependency
50
- name: jeweler
51
- requirement: &id003 !ruby/object:Gem::Requirement
39
+ version_requirements: &id002 !ruby/object:Gem::Requirement
52
40
  none: false
53
41
  requirements:
54
42
  - - ">="
@@ -57,12 +45,12 @@ dependencies:
57
45
  segments:
58
46
  - 0
59
47
  version: "0"
60
- type: :runtime
61
- prerelease: false
62
- version_requirements: *id003
48
+ requirement: *id002
63
49
  - !ruby/object:Gem::Dependency
64
- name: yajl-ruby
65
- requirement: &id004 !ruby/object:Gem::Requirement
50
+ name: jeweler
51
+ type: :development
52
+ prerelease: false
53
+ version_requirements: &id003 !ruby/object:Gem::Requirement
66
54
  none: false
67
55
  requirements:
68
56
  - - ">="
@@ -71,9 +59,7 @@ dependencies:
71
59
  segments:
72
60
  - 0
73
61
  version: "0"
74
- type: :runtime
75
- prerelease: false
76
- version_requirements: *id004
62
+ requirement: *id003
77
63
  description: |
78
64
  Simple wrapper for JSON api provided by indeed.
79
65
  Original documentation at:
@@ -93,6 +79,7 @@ files:
93
79
  - Rakefile
94
80
  - Readme.textile
95
81
  - VERSION
82
+ - indeed.gemspec
96
83
  - lib/indeed.rb
97
84
  - spec/indeed_spec.rb
98
85
  - spec/spec_helper.rb