greenhouse_io 2.5.0 → 2.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/CHANGES.md +11 -1
- data/greenhouse_io.gemspec +11 -2
- data/lib/greenhouse_io/api/job_board.rb +1 -1
- data/lib/greenhouse_io/version.rb +1 -1
- data/spec/fixtures/cassettes/apply_to_job.yml +1 -1
- data/spec/fixtures/cassettes/department.yml +1 -1
- data/spec/fixtures/cassettes/departments.yml +1 -1
- data/spec/fixtures/cassettes/invalid_application.yml +1 -1
- data/spec/fixtures/cassettes/invalid_application_id.yml +1 -1
- data/spec/fixtures/cassettes/invalid_id.yml +1 -1
- data/spec/fixtures/cassettes/invalid_organization.yml +1 -1
- data/spec/fixtures/cassettes/job.yml +1 -1
- data/spec/fixtures/cassettes/job_with_questions.yml +1 -1
- data/spec/fixtures/cassettes/jobs.yml +1 -1
- data/spec/fixtures/cassettes/jobs_with_content.yml +1 -1
- data/spec/fixtures/cassettes/office.yml +1 -1
- data/spec/fixtures/cassettes/offices.yml +1 -1
- data/spec/greenhouse_io/api/job_board_spec.rb +1 -1
- metadata +13 -11
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 1048ec2b1e36efb4eac95d7f876c1fdcfd7072f88b6ac3b0e0286ed4eff52367
|
|
4
|
+
data.tar.gz: f3218f98249657bcdccecac18dd5c2f2188598d32a7e2dedcb589aea3906246e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 954f3b49ae51190b56c1b727e901473cb79f4f1ae486a43c432675ff4165d10e1eba689e3dfedd48f74728ac1c073595cf266e1ebe33f32eb1c0df3f326e80f8
|
|
7
|
+
data.tar.gz: ff03142502defd7c3a8a5d6035e56cbac3ed96efc8eef5b852677e53c16d19bd8949469a76dcdfe9069e1486383fafbedbf518285718264d5389487c7aa83768
|
data/CHANGES.md
CHANGED
|
@@ -2,6 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
This project follows [semantic versioning](http://semver.org/). This changelog follows suggestions from [keepachangelog.com](http://keepachangelog.com/).
|
|
4
4
|
|
|
5
|
+
## Version 2.5.1
|
|
6
|
+
Released 2026-01-21.
|
|
7
|
+
|
|
8
|
+
#### Added
|
|
9
|
+
- Post-install message directing users to directly source the gem from the [Github public repository](https://github.com/grnhse/greenhouse_io).
|
|
10
|
+
- Notice for decomissioning of Harvest V1/V2, August 2026.
|
|
11
|
+
|
|
12
|
+
#### Added
|
|
13
|
+
- Added methods for retrieving offers for an application: `current_offer_for_application` and `offers_for_application`
|
|
14
|
+
|
|
5
15
|
## Version 2.5.0
|
|
6
16
|
Released 2016-05-31. Contributed by [@theshanx](https://github.com/theshanx). Thanks! :)
|
|
7
17
|
|
|
@@ -38,4 +48,4 @@ Released 2016-02-03.
|
|
|
38
48
|
|
|
39
49
|
##### Changed
|
|
40
50
|
- Upgraded dependencies: `multi_json` (now ~>1.11.2), and development gems
|
|
41
|
-
- Added version dependency for `httmultiparty`: ``'~> 0.3.16'``
|
|
51
|
+
- Added version dependency for `httmultiparty`: ``'~> 0.3.16'``
|
data/greenhouse_io.gemspec
CHANGED
|
@@ -6,13 +6,22 @@ require 'greenhouse_io/version'
|
|
|
6
6
|
Gem::Specification.new do |spec|
|
|
7
7
|
spec.name = "greenhouse_io"
|
|
8
8
|
spec.version = GreenhouseIo::VERSION
|
|
9
|
-
spec.authors =
|
|
10
|
-
spec.email =
|
|
9
|
+
spec.authors = %w(Greenhouse Software)
|
|
10
|
+
spec.email = %w(tech@greenhouse.io)
|
|
11
11
|
spec.description = %q{Ruby bindings for the greenhouse.io Harvest API and Job Board API}
|
|
12
12
|
spec.summary = %q{Ruby bindings for the greenhouse.io Harvest API and Job Board API}
|
|
13
13
|
spec.license = "MIT"
|
|
14
14
|
spec.homepage = "https://github.com/grnhse/greenhouse_io"
|
|
15
15
|
|
|
16
|
+
spec.post_install_message = %q{
|
|
17
|
+
greenhouse_io will be removed from Rubygems.org on Friday, April 3, 2026.
|
|
18
|
+
Please install using a direct link to the Github repo:
|
|
19
|
+
|
|
20
|
+
gem "greenhouse_io", git: "git@github.com:grnhse/greenhouse_io.git", branch: "master"
|
|
21
|
+
|
|
22
|
+
Additionally, Harvest V1/V2 will be decomissioned in August 2026.
|
|
23
|
+
}
|
|
24
|
+
|
|
16
25
|
spec.files = `git ls-files`.split($/)
|
|
17
26
|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
|
18
27
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
|
@@ -3,7 +3,7 @@ module GreenhouseIo
|
|
|
3
3
|
include HTTMultiParty
|
|
4
4
|
include GreenhouseIo::API
|
|
5
5
|
attr_accessor :api_token, :organization
|
|
6
|
-
base_uri 'https://api.greenhouse.io/v1'
|
|
6
|
+
base_uri 'https://boards-api.greenhouse.io/v1'
|
|
7
7
|
|
|
8
8
|
def initialize(api_token = nil, default_options = {})
|
|
9
9
|
@api_token = api_token || GreenhouseIo.configuration.api_token
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
http_interactions:
|
|
3
3
|
- request:
|
|
4
4
|
method: post
|
|
5
|
-
uri: https://123FakeToken:@api.greenhouse.io/v1/applications
|
|
5
|
+
uri: https://123FakeToken:@boards-api.greenhouse.io/v1/applications
|
|
6
6
|
body:
|
|
7
7
|
encoding: US-ASCII
|
|
8
8
|
string: id=721&first_name=Richard&last_name=Feynman&email=richard123%40test.ga.co
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
http_interactions:
|
|
3
3
|
- request:
|
|
4
4
|
method: post
|
|
5
|
-
uri: https://123FakeToken:@api.greenhouse.io/v1/applications
|
|
5
|
+
uri: https://123FakeToken:@boards-api.greenhouse.io/v1/applications
|
|
6
6
|
body:
|
|
7
7
|
encoding: US-ASCII
|
|
8
8
|
string: id=456&first_name=Gob&last_name=Bluth&email=gob%40bluth.com
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
http_interactions:
|
|
3
3
|
- request:
|
|
4
4
|
method: get
|
|
5
|
-
uri: https://api.greenhouse.io/v1/boards/generalassembly/embed/job?id=123&questions=
|
|
5
|
+
uri: https://boards-api.greenhouse.io/v1/boards/generalassembly/embed/job?id=123&questions=
|
|
6
6
|
body:
|
|
7
7
|
encoding: US-ASCII
|
|
8
8
|
string: ''
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
http_interactions:
|
|
3
3
|
- request:
|
|
4
4
|
method: get
|
|
5
|
-
uri: https://api.greenhouse.io/v1/boards/generalassembly/embed/job?id=721&questions=
|
|
5
|
+
uri: https://boards-api.greenhouse.io/v1/boards/generalassembly/embed/job?id=721&questions=
|
|
6
6
|
body:
|
|
7
7
|
encoding: US-ASCII
|
|
8
8
|
string: ''
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
http_interactions:
|
|
3
3
|
- request:
|
|
4
4
|
method: get
|
|
5
|
-
uri: https://api.greenhouse.io/v1/boards/generalassembly/embed/job?id=721&questions=true
|
|
5
|
+
uri: https://boards-api.greenhouse.io/v1/boards/generalassembly/embed/job?id=721&questions=true
|
|
6
6
|
body:
|
|
7
7
|
encoding: US-ASCII
|
|
8
8
|
string: ''
|
|
@@ -3,7 +3,7 @@ require 'spec_helper'
|
|
|
3
3
|
describe GreenhouseIo::JobBoard do
|
|
4
4
|
|
|
5
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")
|
|
6
|
+
expect(GreenhouseIo::JobBoard.base_uri).to eq("https://boards-api.greenhouse.io/v1")
|
|
7
7
|
end
|
|
8
8
|
|
|
9
9
|
context "given an instance of GreenhouseIo::JobBoard" do
|
metadata
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: greenhouse_io
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.5.
|
|
4
|
+
version: 2.5.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
|
-
- Greenhouse
|
|
8
|
-
-
|
|
9
|
-
autorequire:
|
|
7
|
+
- Greenhouse
|
|
8
|
+
- Software
|
|
9
|
+
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date:
|
|
12
|
+
date: 2026-01-21 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: httmultiparty
|
|
@@ -97,8 +97,7 @@ dependencies:
|
|
|
97
97
|
version: 3.0.1
|
|
98
98
|
description: Ruby bindings for the greenhouse.io Harvest API and Job Board API
|
|
99
99
|
email:
|
|
100
|
-
-
|
|
101
|
-
- adrianbautista8@gmail.com
|
|
100
|
+
- tech@greenhouse.io
|
|
102
101
|
executables: []
|
|
103
102
|
extensions: []
|
|
104
103
|
extra_rdoc_files: []
|
|
@@ -171,7 +170,11 @@ homepage: https://github.com/grnhse/greenhouse_io
|
|
|
171
170
|
licenses:
|
|
172
171
|
- MIT
|
|
173
172
|
metadata: {}
|
|
174
|
-
post_install_message:
|
|
173
|
+
post_install_message: "\n greenhouse_io will be removed from Rubygems.org on Friday,
|
|
174
|
+
April 3, 2026.\n Please install using a direct link to the Github repo:\n \n
|
|
175
|
+
\ gem \"greenhouse_io\", git: \"git@github.com:grnhse/greenhouse_io.git\", branch:
|
|
176
|
+
\"master\"\n\n Additionally, Harvest V1/V2 will be decomissioned in August 2026.\n
|
|
177
|
+
\ "
|
|
175
178
|
rdoc_options: []
|
|
176
179
|
require_paths:
|
|
177
180
|
- lib
|
|
@@ -186,9 +189,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
186
189
|
- !ruby/object:Gem::Version
|
|
187
190
|
version: '0'
|
|
188
191
|
requirements: []
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
signing_key:
|
|
192
|
+
rubygems_version: 3.3.26
|
|
193
|
+
signing_key:
|
|
192
194
|
specification_version: 4
|
|
193
195
|
summary: Ruby bindings for the greenhouse.io Harvest API and Job Board API
|
|
194
196
|
test_files:
|