greenhouse_io-gitlab 2.5.7 → 2.5.9

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
2
  SHA256:
3
- metadata.gz: 9cab2766ea46a0929a7e1bb415005df363686b4d0c4ccc084d58d8232757b25f
4
- data.tar.gz: 7c296d1ea1ac9ebdc9564f4ab454dd13dbb04a2f65631bc7e97e955e30e1e969
3
+ metadata.gz: 27dcb626611ce0beb4d90b5fc58a9ecfe04690c513f3ca8bf82f27fd07ccd6c0
4
+ data.tar.gz: 779f1673dce87c5c387fa1785fb3ddaf098757c3930185e78722157ecd19bed1
5
5
  SHA512:
6
- metadata.gz: b8aadda45efd3fa7f3a4726aec81bc346af80838bd3f6aa112695a91050e3bd8994b3beed6b298ddceecc94602372003a6fdd29e4a306b7ec6b353b74545b267
7
- data.tar.gz: 51b232adb0ba740f35c70391d4e2aa1685aa25523f2d03ef6a05bac280d02995f593de4d6ba82e6ba95b4959c6019f2b7c469f0a7eb1910e9e791f5f82668f67
6
+ metadata.gz: 3c892e86d4aa1c95967e804d2f63d0b0b41b8271e483f14bcab11775fdb7c52d7eed4d5b6d482d83f0ec4c526412461de9043e58411b38dc803fe8f9c689d514
7
+ data.tar.gz: aff2fb5087e472c867a52f177e18d9f72c3bc093085ddaa637836b95773f25d31daa45deb753604d0e393a712d8329052193518e2929a7d9c9256adbf77d4223
data/CHANGES.md CHANGED
@@ -2,6 +2,21 @@
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.9
6
+
7
+ - Adds missing endpoint options for `candidates`. Adds the following options:
8
+ - `candidate_ids`
9
+ - `email`
10
+ - `skip_count`
11
+ - `created_before`
12
+ - `created_after`
13
+ - `updated_before`
14
+ - `updated_after`
15
+
16
+ ## Version 2.5.8
17
+
18
+ - Allows `:created_after`, `:created_before`, `:updated_after`, `:updated_before`, `skip_count`, query parameters for `client#all_scorecards`.
19
+
5
20
  ## Version 2.5.0
6
21
  Released 2016-05-31. Contributed by [@theshanx](https://github.com/theshanx). Thanks! :)
7
22
 
@@ -5,7 +5,16 @@ module GreenhouseIo
5
5
  PERMITTED_OPTIONS = [:page, :per_page, :job_id]
6
6
  PERMITTED_OPTIONS_PER_ENDPOINT = {
7
7
  'offers' => [:status, :resolved_after],
8
- 'candidates' => [:updated_after, :email]
8
+ 'candidates' => [
9
+ :skip_count,
10
+ :created_before,
11
+ :created_after,
12
+ :updated_before,
13
+ :updated_after,
14
+ :email,
15
+ :candidate_ids
16
+ ],
17
+ 'all_scorecards' => [:created_after, :created_before, :updated_after, :updated_before, :skip_count]
9
18
  }
10
19
 
11
20
  attr_accessor :api_token, :rate_limit, :rate_limit_remaining, :link
@@ -60,7 +69,7 @@ module GreenhouseIo
60
69
  end
61
70
 
62
71
  def all_scorecards(id = nil, options = {})
63
- get_from_harvest_api "#{BASE_URL}/scorecards/#{id}", options
72
+ get_from_harvest_api "#{BASE_URL}/scorecards/#{id}", options, "all_scorecards"
64
73
  end
65
74
 
66
75
  def scheduled_interviews(id, options = {})
@@ -1,3 +1,3 @@
1
1
  module GreenhouseIo
2
- VERSION = "2.5.7"
2
+ VERSION = "2.5.9"
3
3
  end
metadata CHANGED
@@ -1,15 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: greenhouse_io-gitlab
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.7
4
+ version: 2.5.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Greenhouse Software
8
8
  - Adrian Bautista
9
- autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2021-07-26 00:00:00.000000000 Z
11
+ date: 2025-03-19 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: rest-client
@@ -161,7 +160,6 @@ homepage: https://github.com/grnhse/greenhouse_io
161
160
  licenses:
162
161
  - MIT
163
162
  metadata: {}
164
- post_install_message:
165
163
  rdoc_options: []
166
164
  require_paths:
167
165
  - lib
@@ -176,8 +174,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
176
174
  - !ruby/object:Gem::Version
177
175
  version: '0'
178
176
  requirements: []
179
- rubygems_version: 3.0.1
180
- signing_key:
177
+ rubygems_version: 3.6.2
181
178
  specification_version: 4
182
179
  summary: Ruby bindings for the greenhouse.io Harvest API and Job Board API
183
180
  test_files: