fountain 0.0.18 → 0.0.20

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 471186a73e8ff23922b953d836dbef565794cae54d88f871957904c97d86cc19
4
- data.tar.gz: f27feb48183d28152db4912cd808080425b8ca46e3e4121ed8a8d56af6797058
3
+ metadata.gz: 4afc1087ee4684b2b55340e60b65a73b3ea23060411d604a278918418d434ee4
4
+ data.tar.gz: f8f4f231d255a442e6dcf35fe36ee94272047365490467d866db28611b04e64b
5
5
  SHA512:
6
- metadata.gz: 6ae200505a3d48511032e6d36bebb9859a63309bed26d471ef21a6072c26f4a9da32d458026a7fccc309a01e7337a4151a46f98e07a1ca74be41da9a923e20f1
7
- data.tar.gz: 8e523556f70028548224398a7a42d339ec94fe1f7eb1fb0245405d92330570761e21b4f2f62c49e29d1a513ccdd97293500ce0977b707c11e93f7846902c3b34
6
+ metadata.gz: c7ff7506d65ef67acde85b2b08ef5a4fc5fe4c3db1b281119cf7ccef551bff0413cdf760fb8d9d83dfe626ae520c5383a6de9bce6e2b152748654b3d059d1a37
7
+ data.tar.gz: d5f1f8e7fd32259c32be43738dc42a836ee0660e1ecd77a7a560bd53f2720160ba6409e449a823f10787db42f683e521d012309558377eccf3576de0daaa2b1a
data/CHANGELOG.md CHANGED
@@ -3,6 +3,22 @@
3
3
  ## Unreleased
4
4
  - None
5
5
 
6
+ ## [0.0.20](releases/tag/v0.0.20) - 2024-04-30
7
+ ### Added
8
+ - [#11] Fix query parameter bug in Applicants#advance_applicants ([@abrom][])
9
+
10
+ ## [0.0.19](releases/tag/v0.0.19) - 2024-04-30
11
+ ### Added
12
+ - [#10] Add `funnel_id` to Applicants#advance_applicant ([@abrom][])
13
+
14
+ ## [0.0.18](releases/tag/v0.0.18) - 2024-04-28
15
+ ### Added
16
+ - [#9] Bump Ruby versions to support v3.0 -> v3.3 ([@abrom][])
17
+
18
+ ## [0.0.17](releases/tag/v0.0.17) - 2023-05-18
19
+ ### Added
20
+ - [#9] Added support for Applicants#advance_applicants ([@saharvey][])
21
+
6
22
  ## [0.0.16](releases/tag/v0.0.16) - 2022-06-16
7
23
  ### Added
8
24
  - [#7] First/last name accessor methods to the Applicant class ([@noahkconley][])
@@ -17,37 +33,37 @@
17
33
 
18
34
  ## [0.0.13](releases/tag/v0.0.13) - 2021-09-24
19
35
  ### Fixed
20
- - [#3] Update applicants and notes APIs to use *new* expected return statuses from create actions
36
+ - [#3] Update applicants and notes APIs to use *new* expected return statuses from create actions ([@abrom][])
21
37
 
22
38
  ## [0.0.12](releases/tag/v0.0.12) - 2020-03-01
23
39
  ### Fixed
24
- - Address CVE-2020-8130 - `rake` OS command injection vulnerability
40
+ - Address CVE-2020-8130 - `rake` OS command injection vulnerability ([@abrom][])
25
41
 
26
42
  ## [0.0.11](releases/tag/v0.0.11) - 2018-06-02
27
43
  ### Fixed
28
- - Update applicants and notes APIs to check correct return status for create actions
44
+ - Update applicants and notes APIs to check correct return status for create actions ([@abrom][])
29
45
 
30
46
  ## [0.0.10](releases/tag/v0.0.10) - 2018-03-24
31
47
  ### Added
32
- - Funnel management API support
48
+ - Funnel management API support ([@abrom][])
33
49
 
34
50
  ## [0.0.9](releases/tag/v0.0.9) - 2018-03-24
35
51
  ### Added
36
- - Session/slot management API support
52
+ - Session/slot management API support ([@abrom][])
37
53
 
38
54
  ## [0.0.8](releases/tag/v0.0.8) - 2018-03-24
39
55
  ### Added
40
- - Note management API support
56
+ - Note management API support ([@abrom][])
41
57
  ### Fixed
42
- - Replace deprecated URI.encode with CGI.escape
58
+ - Replace deprecated URI.encode with CGI.escape ([@abrom][])
43
59
 
44
60
  ## [0.0.7](releases/tag/v0.0.7) - 2018-03-24
45
61
  ### Added
46
- - Label management API support
62
+ - Label management API support ([@abrom][])
47
63
 
48
64
  ## [0.0.6](releases/tag/v0.0.6) - 2018-03-22
49
65
  ### Added
50
- - Create applicant support
66
+ - Create applicant support ([@abrom][])
51
67
  - Delete applicant support
52
68
  - Get applicant support
53
69
  - get_secure_documents applicant support
@@ -58,18 +74,20 @@
58
74
 
59
75
  ## [0.0.5](releases/tag/v0.0.5) - 2018-03-20
60
76
  ### Fixed
61
- - Applicants inspect method
77
+ - Applicants inspect method ([@abrom][])
62
78
 
63
79
  ## [0.0.4](releases/tag/v0.0.4) - 2018-03-20
64
80
  ### Added
65
- - Applicants inspect method
81
+ - Applicants inspect method ([@abrom][])
66
82
 
67
83
  ## [0.0.3](releases/tag/v0.0.3) - 2018-03-20
68
84
  ### Added
69
- - Applicants wrapper to contain pagination cursors
85
+ - Applicants wrapper to contain pagination cursors ([@abrom][])
70
86
 
71
87
  ## [0.0.2](releases/tag/v0.0.2) - 2018-03-19
72
88
  ### Added
73
- - Support for applicant list and update
89
+ - Support for applicant list and update ([@abrom][])
74
90
 
91
+ [@abrom]: https://github.com/abrom
75
92
  [@noahkconley]: https://github.com/noahkconley
93
+ [@saharvey]: https://github.com/saharvey
@@ -130,7 +130,7 @@ module Fountain
130
130
  method: :put,
131
131
  body: Util.slice_hash(
132
132
  advance_options,
133
- :skip_automated_actions, :stage_id
133
+ :skip_automated_actions, :stage_id, :funnel_id
134
134
  )
135
135
  )
136
136
  check_response response, Net::HTTPNoContent
@@ -145,12 +145,12 @@ module Fountain
145
145
  # skip_automated_actions - `true` if you want to skip automated
146
146
  # actions when advancing the applicant
147
147
  # funnel_id - Used for bulk advancing applicants to a workflow-based funnel
148
- def self.advance_applicants(applicant_ids, stage_id, advance_options = {})
148
+ def self.advance_applicants(applicant_ids, stage_id, advanced_options = {})
149
149
  response = request(
150
- "/v2/applicants/advance?#{stage_id}",
150
+ "/v2/applicants/advance?stage_id=#{stage_id}",
151
151
  method: :post,
152
152
  body: Util.slice_hash(
153
- advance_options,
153
+ advanced_options,
154
154
  :skip_automated_actions, :funnel_id
155
155
  ).merge(ids: applicant_ids)
156
156
  )
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Fountain
4
- VERSION = '0.0.18'
4
+ VERSION = '0.0.20'
5
5
  end
data/lib/fountain.rb CHANGED
@@ -3,6 +3,7 @@
3
3
  require 'fountain/gem_version'
4
4
 
5
5
  require 'json'
6
+ require 'forwardable'
6
7
 
7
8
  require 'fountain/configuration'
8
9
  require 'fountain/util'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fountain
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.18
4
+ version: 0.0.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - abrom
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-04-28 00:00:00.000000000 Z
11
+ date: 2024-04-30 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Fountain REST API v2 wrapper for Ruby
14
14
  email: