greenhouse_io-gitlab 2.5.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +19 -0
- data/.travis.yml +11 -0
- data/CHANGES.md +41 -0
- data/Gemfile +11 -0
- data/LICENSE.txt +22 -0
- data/README.md +200 -0
- data/Rakefile +8 -0
- data/greenhouse_io.gemspec +29 -0
- data/lib/greenhouse_io.rb +9 -0
- data/lib/greenhouse_io/api.rb +19 -0
- data/lib/greenhouse_io/api/client.rb +145 -0
- data/lib/greenhouse_io/api/job_board.rb +66 -0
- data/lib/greenhouse_io/configuration.rb +21 -0
- data/lib/greenhouse_io/error.rb +10 -0
- data/lib/greenhouse_io/version.rb +3 -0
- data/spec/fixtures/cassettes/apply_to_job.yml +44 -0
- data/spec/fixtures/cassettes/client/activity_feed.yml +36 -0
- data/spec/fixtures/cassettes/client/all_scorecards.yml +38 -0
- data/spec/fixtures/cassettes/client/application.yml +36 -0
- data/spec/fixtures/cassettes/client/application_by_job_id.yml +139 -0
- data/spec/fixtures/cassettes/client/applications.yml +43 -0
- data/spec/fixtures/cassettes/client/candidate.yml +36 -0
- data/spec/fixtures/cassettes/client/candidates.yml +38 -0
- data/spec/fixtures/cassettes/client/create_candidate_note.yml +42 -0
- data/spec/fixtures/cassettes/client/create_candidate_note_invalid_candidate_id.yml +42 -0
- data/spec/fixtures/cassettes/client/create_candidate_note_invalid_missing_field.yml +42 -0
- data/spec/fixtures/cassettes/client/create_candidate_note_invalid_on_behalf_of.yml +42 -0
- data/spec/fixtures/cassettes/client/create_candidate_note_invalid_user_id.yml +42 -0
- data/spec/fixtures/cassettes/client/current_offer_for_application.yml +40 -0
- data/spec/fixtures/cassettes/client/department.yml +36 -0
- data/spec/fixtures/cassettes/client/departments.yml +38 -0
- data/spec/fixtures/cassettes/client/headers.yml +38 -0
- data/spec/fixtures/cassettes/client/job.yml +37 -0
- data/spec/fixtures/cassettes/client/job_post.yml +49 -0
- data/spec/fixtures/cassettes/client/jobs.yml +39 -0
- data/spec/fixtures/cassettes/client/offer.yml +48 -0
- data/spec/fixtures/cassettes/client/offers.yml +51 -0
- data/spec/fixtures/cassettes/client/offers_for_application.yml +40 -0
- data/spec/fixtures/cassettes/client/office.yml +36 -0
- data/spec/fixtures/cassettes/client/offices.yml +46 -0
- data/spec/fixtures/cassettes/client/scheduled_interviews.yml +38 -0
- data/spec/fixtures/cassettes/client/scorecards.yml +37 -0
- data/spec/fixtures/cassettes/client/source.yml +39 -0
- data/spec/fixtures/cassettes/client/sources.yml +37 -0
- data/spec/fixtures/cassettes/client/stages.yml +36 -0
- data/spec/fixtures/cassettes/client/user.yml +36 -0
- data/spec/fixtures/cassettes/client/users.yml +38 -0
- data/spec/fixtures/cassettes/department.yml +45 -0
- data/spec/fixtures/cassettes/departments.yml +45 -0
- data/spec/fixtures/cassettes/invalid_application.yml +43 -0
- data/spec/fixtures/cassettes/invalid_application_id.yml +44 -0
- data/spec/fixtures/cassettes/invalid_id.yml +40 -0
- data/spec/fixtures/cassettes/invalid_organization.yml +40 -0
- data/spec/fixtures/cassettes/job.yml +80 -0
- data/spec/fixtures/cassettes/job_with_questions.yml +85 -0
- data/spec/fixtures/cassettes/jobs.yml +44 -0
- data/spec/fixtures/cassettes/jobs_with_content.yml +118 -0
- data/spec/fixtures/cassettes/office.yml +45 -0
- data/spec/fixtures/cassettes/offices.yml +45 -0
- data/spec/greenhouse_io/api/client_spec.rb +679 -0
- data/spec/greenhouse_io/api/job_board_spec.rb +187 -0
- data/spec/greenhouse_io/configuration_spec.rb +71 -0
- data/spec/greenhouse_io/error_spec.rb +23 -0
- data/spec/spec_helper.rb +22 -0
- metadata +242 -0
@@ -0,0 +1,187 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe GreenhouseIo::JobBoard do
|
4
|
+
|
5
|
+
it "should have a base url for an API endpoint" do
|
6
|
+
expect(GreenhouseIo::JobBoard.base_uri).to eq("https://api.greenhouse.io/v1")
|
7
|
+
end
|
8
|
+
|
9
|
+
context "given an instance of GreenhouseIo::JobBoard" do
|
10
|
+
|
11
|
+
before do
|
12
|
+
GreenhouseIo.configuration.symbolize_keys = true
|
13
|
+
@client = GreenhouseIo::JobBoard.new('123FakeToken', organization: 'generalassembly')
|
14
|
+
end
|
15
|
+
|
16
|
+
describe "#initialize" do
|
17
|
+
it "has an api_token" do
|
18
|
+
expect(@client.api_token).to eq('123FakeToken')
|
19
|
+
end
|
20
|
+
|
21
|
+
it "has an organization" do
|
22
|
+
expect(@client.organization).to eq('generalassembly')
|
23
|
+
end
|
24
|
+
|
25
|
+
it "uses the configuration value when token is not specified" do
|
26
|
+
GreenhouseIo.configuration.api_token = '123FakeENV'
|
27
|
+
default_client = GreenhouseIo::JobBoard.new
|
28
|
+
expect(default_client.api_token).to eq('123FakeENV')
|
29
|
+
end
|
30
|
+
end
|
31
|
+
|
32
|
+
context "when an organization has not been set" do
|
33
|
+
it "raises an 'organization can't be blank' error" do
|
34
|
+
no_org_client = GreenhouseIo::JobBoard.new
|
35
|
+
expect{ no_org_client.offices }.to raise_error(GreenhouseIo::Error)
|
36
|
+
end
|
37
|
+
end
|
38
|
+
|
39
|
+
context "when an invalid organization is used" do
|
40
|
+
it "raises an HTTP Error" do
|
41
|
+
VCR.use_cassette('invalid_organization') do
|
42
|
+
invalid_org_client = GreenhouseIo::JobBoard.new(nil, organization: 'not-real-inc')
|
43
|
+
expect{ invalid_org_client.offices }.to raise_error(GreenhouseIo::Error)
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
context "when an invalid id is used" do
|
49
|
+
it "raises an HTTP Error" do
|
50
|
+
VCR.use_cassette('invalid_id') do
|
51
|
+
expect{ @client.job(123) }.to raise_error(GreenhouseIo::Error)
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
56
|
+
describe "#offices" do
|
57
|
+
it "grabs the latest jobs and departments for an organization by each office" do
|
58
|
+
VCR.use_cassette('offices') do
|
59
|
+
offices_hash_response = @client.offices
|
60
|
+
expect(offices_hash_response).to_not be_nil
|
61
|
+
expect(offices_hash_response[:offices]).to be_an_instance_of(Array)
|
62
|
+
end
|
63
|
+
end
|
64
|
+
end
|
65
|
+
|
66
|
+
describe "#office" do
|
67
|
+
it "grabs the latest jobs and deparments for a specific office" do
|
68
|
+
VCR.use_cassette('office') do
|
69
|
+
office_hash_response = @client.office(0)
|
70
|
+
expect(office_hash_response).to_not be_nil
|
71
|
+
expect(office_hash_response).to include(:id => 0)
|
72
|
+
expect(office_hash_response).to include(:name => 'No Office')
|
73
|
+
expect(office_hash_response[:departments]).to be_an_instance_of(Array)
|
74
|
+
end
|
75
|
+
end
|
76
|
+
end
|
77
|
+
|
78
|
+
describe "#departments" do
|
79
|
+
it "returns a list of an organization's departments and jobs" do
|
80
|
+
VCR.use_cassette('departments') do
|
81
|
+
departments_hash_response = @client.departments
|
82
|
+
expect(departments_hash_response).to_not be_nil
|
83
|
+
expect(departments_hash_response[:departments]).to be_an_instance_of(Array)
|
84
|
+
end
|
85
|
+
end
|
86
|
+
end
|
87
|
+
|
88
|
+
describe "#department" do
|
89
|
+
it "returns a list of jobs for a specific department" do
|
90
|
+
VCR.use_cassette('department') do
|
91
|
+
department_hash_response = @client.department(187)
|
92
|
+
expect(department_hash_response).to_not be_nil
|
93
|
+
expect(department_hash_response).to include(:id => 187)
|
94
|
+
expect(department_hash_response).to include(:name => 'Engineering')
|
95
|
+
expect(department_hash_response[:jobs]).to be_an_instance_of(Array)
|
96
|
+
end
|
97
|
+
end
|
98
|
+
end
|
99
|
+
|
100
|
+
describe "#jobs" do
|
101
|
+
it "returns the list of all jobs" do
|
102
|
+
VCR.use_cassette('jobs') do
|
103
|
+
jobs_hash_response = @client.jobs
|
104
|
+
expect(jobs_hash_response).to_not be_nil
|
105
|
+
expect(jobs_hash_response[:jobs]).to be_an_instance_of(Array)
|
106
|
+
end
|
107
|
+
end
|
108
|
+
|
109
|
+
it "returns a list of jobs and their job descriptions" do
|
110
|
+
VCR.use_cassette('jobs_with_content') do
|
111
|
+
jobs_description_hash_response = @client.jobs(:content => true)
|
112
|
+
expect(jobs_description_hash_response).to_not be_nil
|
113
|
+
expect(jobs_description_hash_response[:jobs]).to be_an_instance_of(Array)
|
114
|
+
expect(jobs_description_hash_response[:jobs].first).to include(:content)
|
115
|
+
end
|
116
|
+
end
|
117
|
+
end
|
118
|
+
|
119
|
+
describe "#job" do
|
120
|
+
it "returns the details for a specific job by ID" do
|
121
|
+
VCR.use_cassette('job') do
|
122
|
+
job_hash_response = @client.job(721)
|
123
|
+
expect(job_hash_response).to_not be_nil
|
124
|
+
expect(job_hash_response).to include(:id => 721)
|
125
|
+
expect(job_hash_response).to include(:content)
|
126
|
+
end
|
127
|
+
end
|
128
|
+
|
129
|
+
it "returns the details for a specific job and its application questions" do
|
130
|
+
VCR.use_cassette('job_with_questions') do
|
131
|
+
job_with_questions_hash_response = @client.job(721, :questions => true)
|
132
|
+
expect(job_with_questions_hash_response).to_not be_nil
|
133
|
+
expect(job_with_questions_hash_response).to include(:id => 721)
|
134
|
+
expect(job_with_questions_hash_response).to include(:content)
|
135
|
+
expect(job_with_questions_hash_response[:questions]).to be_an_instance_of(Array)
|
136
|
+
end
|
137
|
+
end
|
138
|
+
end
|
139
|
+
|
140
|
+
describe "#apply_to_job" do
|
141
|
+
it "posts an application to a specified job" do
|
142
|
+
VCR.use_cassette('apply_to_job') do
|
143
|
+
apply_to_job = @client.apply_to_job(
|
144
|
+
{
|
145
|
+
:id => 721,
|
146
|
+
:first_name => 'Richard',
|
147
|
+
:last_name => 'Feynman',
|
148
|
+
:email => 'richard123@test.ga.co'
|
149
|
+
}
|
150
|
+
)
|
151
|
+
expect(apply_to_job).to_not be_nil
|
152
|
+
expect(apply_to_job).to include(:success => 'Candidate saved successfully')
|
153
|
+
end
|
154
|
+
end
|
155
|
+
|
156
|
+
it "errors when missing required fields" do
|
157
|
+
VCR.use_cassette('invalid_application') do
|
158
|
+
expect {
|
159
|
+
@client.apply_to_job(
|
160
|
+
{
|
161
|
+
:id => 721,
|
162
|
+
:question_2720 => 'not_required'
|
163
|
+
}
|
164
|
+
)
|
165
|
+
}.to raise_error(GreenhouseIo::Error)
|
166
|
+
end
|
167
|
+
end
|
168
|
+
|
169
|
+
it "errors when given an invalid ID" do
|
170
|
+
VCR.use_cassette('invalid_application_id') do
|
171
|
+
expect {
|
172
|
+
@client.apply_to_job(
|
173
|
+
{
|
174
|
+
:id => 456,
|
175
|
+
:first_name => 'Gob',
|
176
|
+
:last_name => 'Bluth',
|
177
|
+
:email => 'gob@bluth.com'
|
178
|
+
}
|
179
|
+
)
|
180
|
+
}.to raise_error(GreenhouseIo::Error)
|
181
|
+
end
|
182
|
+
end
|
183
|
+
end
|
184
|
+
|
185
|
+
end
|
186
|
+
|
187
|
+
end
|
@@ -0,0 +1,71 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe GreenhouseIo::Configuration do
|
4
|
+
after { restore_default_config }
|
5
|
+
|
6
|
+
context "when no symbolize_keys is specified" do
|
7
|
+
before do
|
8
|
+
restore_default_config
|
9
|
+
end
|
10
|
+
|
11
|
+
it "returns the default value" do
|
12
|
+
expect(GreenhouseIo.configuration.symbolize_keys).to be false
|
13
|
+
end
|
14
|
+
end
|
15
|
+
|
16
|
+
context "when given a symbolize_keys value" do
|
17
|
+
before do
|
18
|
+
GreenhouseIo.configure do |config|
|
19
|
+
config.symbolize_keys = true
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
23
|
+
it "returns the specified value" do
|
24
|
+
expect(GreenhouseIo.configuration.symbolize_keys).to be true
|
25
|
+
end
|
26
|
+
end
|
27
|
+
|
28
|
+
context "when no organization is specified" do
|
29
|
+
before do
|
30
|
+
restore_default_config
|
31
|
+
end
|
32
|
+
|
33
|
+
it "returns nil" do
|
34
|
+
expect(GreenhouseIo.configuration.organization).to be_nil
|
35
|
+
end
|
36
|
+
end
|
37
|
+
|
38
|
+
context "when given an organization" do
|
39
|
+
before do
|
40
|
+
GreenhouseIo.configure do |config|
|
41
|
+
config.organization = "General Assembly"
|
42
|
+
end
|
43
|
+
end
|
44
|
+
|
45
|
+
it "returns the specified value" do
|
46
|
+
expect(GreenhouseIo.configuration.organization).to eq("General Assembly")
|
47
|
+
end
|
48
|
+
end
|
49
|
+
|
50
|
+
context "when no api token is specified" do
|
51
|
+
before do
|
52
|
+
restore_default_config
|
53
|
+
end
|
54
|
+
|
55
|
+
it "returns nil" do
|
56
|
+
expect(GreenhouseIo.configuration.api_token).to be_nil
|
57
|
+
end
|
58
|
+
end
|
59
|
+
|
60
|
+
context "when given an api token" do
|
61
|
+
before do
|
62
|
+
GreenhouseIo.configure do |config|
|
63
|
+
config.api_token = '123FakeToken'
|
64
|
+
end
|
65
|
+
end
|
66
|
+
|
67
|
+
it "returns the specified value" do
|
68
|
+
expect(GreenhouseIo.configuration.api_token).to eq('123FakeToken')
|
69
|
+
end
|
70
|
+
end
|
71
|
+
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe GreenhouseIo::Error do
|
4
|
+
|
5
|
+
describe "#inspect" do
|
6
|
+
|
7
|
+
context "when http error code is present" do
|
8
|
+
it "creates an error with the code" do
|
9
|
+
http_error = GreenhouseIo::Error.new(nil, 404)
|
10
|
+
expect(http_error.code).to eq(404)
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
14
|
+
context "when its an internal gem error" do
|
15
|
+
it "creates an error with a message" do
|
16
|
+
gem_error = GreenhouseIo::Error.new("organization can't be blank", nil)
|
17
|
+
expect(gem_error.message).to eq("organization can't be blank")
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
end
|
22
|
+
|
23
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
require "codeclimate-test-reporter"
|
2
|
+
CodeClimate::TestReporter.start
|
3
|
+
|
4
|
+
require 'rubygems'
|
5
|
+
require 'bundler'
|
6
|
+
require 'webmock/rspec'
|
7
|
+
require 'vcr'
|
8
|
+
require 'greenhouse_io'
|
9
|
+
|
10
|
+
RSpec.configure do |config|
|
11
|
+
end
|
12
|
+
|
13
|
+
VCR.configure do |config|
|
14
|
+
config.cassette_library_dir = 'spec/fixtures/cassettes'
|
15
|
+
config.hook_into :webmock
|
16
|
+
config.ignore_hosts 'codeclimate.com'
|
17
|
+
end
|
18
|
+
|
19
|
+
def restore_default_config
|
20
|
+
GreenhouseIo.configuration = nil
|
21
|
+
GreenhouseIo.configure {}
|
22
|
+
end
|
metadata
ADDED
@@ -0,0 +1,242 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: greenhouse_io-gitlab
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 2.5.3
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Greenhouse Software
|
8
|
+
- Adrian Bautista
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2021-02-02 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: httmultiparty
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
requirements:
|
18
|
+
- - "~>"
|
19
|
+
- !ruby/object:Gem::Version
|
20
|
+
version: 0.3.16
|
21
|
+
type: :runtime
|
22
|
+
prerelease: false
|
23
|
+
version_requirements: !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
25
|
+
- - "~>"
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
version: 0.3.16
|
28
|
+
- !ruby/object:Gem::Dependency
|
29
|
+
name: bundler
|
30
|
+
requirement: !ruby/object:Gem::Requirement
|
31
|
+
requirements:
|
32
|
+
- - "~>"
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: '1.3'
|
35
|
+
type: :development
|
36
|
+
prerelease: false
|
37
|
+
version_requirements: !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
39
|
+
- - "~>"
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: '1.3'
|
42
|
+
- !ruby/object:Gem::Dependency
|
43
|
+
name: rake
|
44
|
+
requirement: !ruby/object:Gem::Requirement
|
45
|
+
requirements:
|
46
|
+
- - ">="
|
47
|
+
- !ruby/object:Gem::Version
|
48
|
+
version: '0'
|
49
|
+
type: :development
|
50
|
+
prerelease: false
|
51
|
+
version_requirements: !ruby/object:Gem::Requirement
|
52
|
+
requirements:
|
53
|
+
- - ">="
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: '0'
|
56
|
+
- !ruby/object:Gem::Dependency
|
57
|
+
name: rspec
|
58
|
+
requirement: !ruby/object:Gem::Requirement
|
59
|
+
requirements:
|
60
|
+
- - "~>"
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: 3.4.0
|
63
|
+
type: :development
|
64
|
+
prerelease: false
|
65
|
+
version_requirements: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - "~>"
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: 3.4.0
|
70
|
+
- !ruby/object:Gem::Dependency
|
71
|
+
name: webmock
|
72
|
+
requirement: !ruby/object:Gem::Requirement
|
73
|
+
requirements:
|
74
|
+
- - "~>"
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: 1.22.6
|
77
|
+
type: :development
|
78
|
+
prerelease: false
|
79
|
+
version_requirements: !ruby/object:Gem::Requirement
|
80
|
+
requirements:
|
81
|
+
- - "~>"
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: 1.22.6
|
84
|
+
- !ruby/object:Gem::Dependency
|
85
|
+
name: vcr
|
86
|
+
requirement: !ruby/object:Gem::Requirement
|
87
|
+
requirements:
|
88
|
+
- - "~>"
|
89
|
+
- !ruby/object:Gem::Version
|
90
|
+
version: 3.0.1
|
91
|
+
type: :development
|
92
|
+
prerelease: false
|
93
|
+
version_requirements: !ruby/object:Gem::Requirement
|
94
|
+
requirements:
|
95
|
+
- - "~>"
|
96
|
+
- !ruby/object:Gem::Version
|
97
|
+
version: 3.0.1
|
98
|
+
description: Ruby bindings for the greenhouse.io Harvest API and Job Board API
|
99
|
+
email:
|
100
|
+
- support@greenhouse.io
|
101
|
+
- adrianbautista8@gmail.com
|
102
|
+
executables: []
|
103
|
+
extensions: []
|
104
|
+
extra_rdoc_files: []
|
105
|
+
files:
|
106
|
+
- ".gitignore"
|
107
|
+
- ".travis.yml"
|
108
|
+
- CHANGES.md
|
109
|
+
- Gemfile
|
110
|
+
- LICENSE.txt
|
111
|
+
- README.md
|
112
|
+
- Rakefile
|
113
|
+
- greenhouse_io.gemspec
|
114
|
+
- lib/greenhouse_io.rb
|
115
|
+
- lib/greenhouse_io/api.rb
|
116
|
+
- lib/greenhouse_io/api/client.rb
|
117
|
+
- lib/greenhouse_io/api/job_board.rb
|
118
|
+
- lib/greenhouse_io/configuration.rb
|
119
|
+
- lib/greenhouse_io/error.rb
|
120
|
+
- lib/greenhouse_io/version.rb
|
121
|
+
- spec/fixtures/cassettes/apply_to_job.yml
|
122
|
+
- spec/fixtures/cassettes/client/activity_feed.yml
|
123
|
+
- spec/fixtures/cassettes/client/all_scorecards.yml
|
124
|
+
- spec/fixtures/cassettes/client/application.yml
|
125
|
+
- spec/fixtures/cassettes/client/application_by_job_id.yml
|
126
|
+
- spec/fixtures/cassettes/client/applications.yml
|
127
|
+
- spec/fixtures/cassettes/client/candidate.yml
|
128
|
+
- spec/fixtures/cassettes/client/candidates.yml
|
129
|
+
- spec/fixtures/cassettes/client/create_candidate_note.yml
|
130
|
+
- spec/fixtures/cassettes/client/create_candidate_note_invalid_candidate_id.yml
|
131
|
+
- spec/fixtures/cassettes/client/create_candidate_note_invalid_missing_field.yml
|
132
|
+
- spec/fixtures/cassettes/client/create_candidate_note_invalid_on_behalf_of.yml
|
133
|
+
- spec/fixtures/cassettes/client/create_candidate_note_invalid_user_id.yml
|
134
|
+
- spec/fixtures/cassettes/client/current_offer_for_application.yml
|
135
|
+
- spec/fixtures/cassettes/client/department.yml
|
136
|
+
- spec/fixtures/cassettes/client/departments.yml
|
137
|
+
- spec/fixtures/cassettes/client/headers.yml
|
138
|
+
- spec/fixtures/cassettes/client/job.yml
|
139
|
+
- spec/fixtures/cassettes/client/job_post.yml
|
140
|
+
- spec/fixtures/cassettes/client/jobs.yml
|
141
|
+
- spec/fixtures/cassettes/client/offer.yml
|
142
|
+
- spec/fixtures/cassettes/client/offers.yml
|
143
|
+
- spec/fixtures/cassettes/client/offers_for_application.yml
|
144
|
+
- spec/fixtures/cassettes/client/office.yml
|
145
|
+
- spec/fixtures/cassettes/client/offices.yml
|
146
|
+
- spec/fixtures/cassettes/client/scheduled_interviews.yml
|
147
|
+
- spec/fixtures/cassettes/client/scorecards.yml
|
148
|
+
- spec/fixtures/cassettes/client/source.yml
|
149
|
+
- spec/fixtures/cassettes/client/sources.yml
|
150
|
+
- spec/fixtures/cassettes/client/stages.yml
|
151
|
+
- spec/fixtures/cassettes/client/user.yml
|
152
|
+
- spec/fixtures/cassettes/client/users.yml
|
153
|
+
- spec/fixtures/cassettes/department.yml
|
154
|
+
- spec/fixtures/cassettes/departments.yml
|
155
|
+
- spec/fixtures/cassettes/invalid_application.yml
|
156
|
+
- spec/fixtures/cassettes/invalid_application_id.yml
|
157
|
+
- spec/fixtures/cassettes/invalid_id.yml
|
158
|
+
- spec/fixtures/cassettes/invalid_organization.yml
|
159
|
+
- spec/fixtures/cassettes/job.yml
|
160
|
+
- spec/fixtures/cassettes/job_with_questions.yml
|
161
|
+
- spec/fixtures/cassettes/jobs.yml
|
162
|
+
- spec/fixtures/cassettes/jobs_with_content.yml
|
163
|
+
- spec/fixtures/cassettes/office.yml
|
164
|
+
- spec/fixtures/cassettes/offices.yml
|
165
|
+
- spec/greenhouse_io/api/client_spec.rb
|
166
|
+
- spec/greenhouse_io/api/job_board_spec.rb
|
167
|
+
- spec/greenhouse_io/configuration_spec.rb
|
168
|
+
- spec/greenhouse_io/error_spec.rb
|
169
|
+
- spec/spec_helper.rb
|
170
|
+
homepage: https://github.com/grnhse/greenhouse_io
|
171
|
+
licenses:
|
172
|
+
- MIT
|
173
|
+
metadata: {}
|
174
|
+
post_install_message:
|
175
|
+
rdoc_options: []
|
176
|
+
require_paths:
|
177
|
+
- lib
|
178
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
179
|
+
requirements:
|
180
|
+
- - ">="
|
181
|
+
- !ruby/object:Gem::Version
|
182
|
+
version: 1.9.3
|
183
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - ">="
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: '0'
|
188
|
+
requirements: []
|
189
|
+
rubygems_version: 3.0.3
|
190
|
+
signing_key:
|
191
|
+
specification_version: 4
|
192
|
+
summary: Ruby bindings for the greenhouse.io Harvest API and Job Board API
|
193
|
+
test_files:
|
194
|
+
- spec/fixtures/cassettes/apply_to_job.yml
|
195
|
+
- spec/fixtures/cassettes/client/activity_feed.yml
|
196
|
+
- spec/fixtures/cassettes/client/all_scorecards.yml
|
197
|
+
- spec/fixtures/cassettes/client/application.yml
|
198
|
+
- spec/fixtures/cassettes/client/application_by_job_id.yml
|
199
|
+
- spec/fixtures/cassettes/client/applications.yml
|
200
|
+
- spec/fixtures/cassettes/client/candidate.yml
|
201
|
+
- spec/fixtures/cassettes/client/candidates.yml
|
202
|
+
- spec/fixtures/cassettes/client/create_candidate_note.yml
|
203
|
+
- spec/fixtures/cassettes/client/create_candidate_note_invalid_candidate_id.yml
|
204
|
+
- spec/fixtures/cassettes/client/create_candidate_note_invalid_missing_field.yml
|
205
|
+
- spec/fixtures/cassettes/client/create_candidate_note_invalid_on_behalf_of.yml
|
206
|
+
- spec/fixtures/cassettes/client/create_candidate_note_invalid_user_id.yml
|
207
|
+
- spec/fixtures/cassettes/client/current_offer_for_application.yml
|
208
|
+
- spec/fixtures/cassettes/client/department.yml
|
209
|
+
- spec/fixtures/cassettes/client/departments.yml
|
210
|
+
- spec/fixtures/cassettes/client/headers.yml
|
211
|
+
- spec/fixtures/cassettes/client/job.yml
|
212
|
+
- spec/fixtures/cassettes/client/job_post.yml
|
213
|
+
- spec/fixtures/cassettes/client/jobs.yml
|
214
|
+
- spec/fixtures/cassettes/client/offer.yml
|
215
|
+
- spec/fixtures/cassettes/client/offers.yml
|
216
|
+
- spec/fixtures/cassettes/client/offers_for_application.yml
|
217
|
+
- spec/fixtures/cassettes/client/office.yml
|
218
|
+
- spec/fixtures/cassettes/client/offices.yml
|
219
|
+
- spec/fixtures/cassettes/client/scheduled_interviews.yml
|
220
|
+
- spec/fixtures/cassettes/client/scorecards.yml
|
221
|
+
- spec/fixtures/cassettes/client/source.yml
|
222
|
+
- spec/fixtures/cassettes/client/sources.yml
|
223
|
+
- spec/fixtures/cassettes/client/stages.yml
|
224
|
+
- spec/fixtures/cassettes/client/user.yml
|
225
|
+
- spec/fixtures/cassettes/client/users.yml
|
226
|
+
- spec/fixtures/cassettes/department.yml
|
227
|
+
- spec/fixtures/cassettes/departments.yml
|
228
|
+
- spec/fixtures/cassettes/invalid_application.yml
|
229
|
+
- spec/fixtures/cassettes/invalid_application_id.yml
|
230
|
+
- spec/fixtures/cassettes/invalid_id.yml
|
231
|
+
- spec/fixtures/cassettes/invalid_organization.yml
|
232
|
+
- spec/fixtures/cassettes/job.yml
|
233
|
+
- spec/fixtures/cassettes/job_with_questions.yml
|
234
|
+
- spec/fixtures/cassettes/jobs.yml
|
235
|
+
- spec/fixtures/cassettes/jobs_with_content.yml
|
236
|
+
- spec/fixtures/cassettes/office.yml
|
237
|
+
- spec/fixtures/cassettes/offices.yml
|
238
|
+
- spec/greenhouse_io/api/client_spec.rb
|
239
|
+
- spec/greenhouse_io/api/job_board_spec.rb
|
240
|
+
- spec/greenhouse_io/configuration_spec.rb
|
241
|
+
- spec/greenhouse_io/error_spec.rb
|
242
|
+
- spec/spec_helper.rb
|