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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: d007b6cb0b14e9788a054d035734fcf354d1b40d
4
- data.tar.gz: 05b9333916a792ba92250583b43ae85bbe64cb57
2
+ SHA256:
3
+ metadata.gz: 1048ec2b1e36efb4eac95d7f876c1fdcfd7072f88b6ac3b0e0286ed4eff52367
4
+ data.tar.gz: f3218f98249657bcdccecac18dd5c2f2188598d32a7e2dedcb589aea3906246e
5
5
  SHA512:
6
- metadata.gz: 311001bda1e1c84d3931cfc435b47e10b0efdf5440f680cf4f12c5bdf8f79d73add003a144d29949b541da4594b665fbb86009909e90bde71193f1cfcd8dc57d
7
- data.tar.gz: a28e78440b4a6ec50a33583fb0bd3790eff5c7313c7951d328ac66328f3c34ed7f057f6b7ba9d97e646ac7f8d6a99f3e317d6eaad83a9f127cda2b3a39728e5d
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'``
@@ -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 = ["Greenhouse Software", "Adrian Bautista"]
10
- spec.email = ["support@greenhouse.io", "adrianbautista8@gmail.com"]
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
@@ -1,3 +1,3 @@
1
1
  module GreenhouseIo
2
- VERSION = "2.5.0"
2
+ VERSION = "2.5.1"
3
3
  end
@@ -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: get
5
- uri: https://api.greenhouse.io/v1/boards/generalassembly/embed/department?id=187
5
+ uri: https://boards-api.greenhouse.io/v1/boards/generalassembly/embed/department?id=187
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/departments
5
+ uri: https://boards-api.greenhouse.io/v1/boards/generalassembly/embed/departments
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: 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&question_2720=not_required
@@ -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/not-real-inc/embed/offices
5
+ uri: https://boards-api.greenhouse.io/v1/boards/not-real-inc/embed/offices
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: ''
@@ -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/jobs?content=
5
+ uri: https://boards-api.greenhouse.io/v1/boards/generalassembly/embed/jobs?content=
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/jobs?content=true
5
+ uri: https://boards-api.greenhouse.io/v1/boards/generalassembly/embed/jobs?content=true
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/office?id=0
5
+ uri: https://boards-api.greenhouse.io/v1/boards/generalassembly/embed/office?id=0
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/offices
5
+ uri: https://boards-api.greenhouse.io/v1/boards/generalassembly/embed/offices
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.0
4
+ version: 2.5.1
5
5
  platform: ruby
6
6
  authors:
7
- - Greenhouse Software
8
- - Adrian Bautista
9
- autorequire:
7
+ - Greenhouse
8
+ - Software
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-05-31 00:00:00.000000000 Z
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
- - support@greenhouse.io
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
- rubyforge_project:
190
- rubygems_version: 2.4.8
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: