fountain 0.0.16 → 0.0.17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +8 -0
- data/fountain.gemspec +0 -8
- data/lib/fountain/api/applicants.rb +21 -0
- data/lib/fountain/gem_version.rb +1 -1
- data/lib/fountain/util.rb +1 -1
- metadata +4 -114
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 686718bf0e8c60da329a3b3efed0a3bf6204d48fff02b9c21dfb6b7c05b72377
|
4
|
+
data.tar.gz: 032f5c9bb0b81f8f476f90e7ea24b89965ea0731a9345d0d9862db60c8f49a10
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 58412a9d1e10d46794d3f902a7f2e9489dadc3c835669efcdecce52055f927550e56e2ba465a3601430d7dc6c7aaa0ba4862455bbf6458491a093abb4a0251b1
|
7
|
+
data.tar.gz: a0a91fa1aa308587b7264e81f1a4b12092946e5d100c2cc0418acec9e0a0bb430b53f8302ed9e2ef26043b171719f812909335fc0ede589fc5c3275c99bd1520
|
data/Gemfile
CHANGED
@@ -4,3 +4,11 @@ source 'https://rubygems.org'
|
|
4
4
|
|
5
5
|
# Specify your gem's dependencies in fountain.gemspec
|
6
6
|
gemspec
|
7
|
+
|
8
|
+
gem 'rake', '~> 12.3', '>= 12.3.3'
|
9
|
+
gem 'rspec', '~> 3.0'
|
10
|
+
gem 'rubocop', '~> 1.21'
|
11
|
+
gem 'rubocop-rake', '~> 0.6'
|
12
|
+
gem 'rubocop-rspec', '~> 2.5'
|
13
|
+
gem 'simplecov', '~> 0.16', '< 0.18'
|
14
|
+
gem 'webmock', '~> 2.3'
|
data/fountain.gemspec
CHANGED
@@ -21,12 +21,4 @@ Gem::Specification.new do |spec|
|
|
21
21
|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
22
22
|
spec.require_paths = ['lib']
|
23
23
|
spec.metadata['rubygems_mfa_required'] = 'true'
|
24
|
-
|
25
|
-
spec.add_development_dependency 'rake', '~> 12.3', '>= 12.3.3'
|
26
|
-
spec.add_development_dependency 'rspec', '~> 3.0'
|
27
|
-
spec.add_development_dependency 'rubocop', '~> 1.21'
|
28
|
-
spec.add_development_dependency 'rubocop-rake', '~> 0.6'
|
29
|
-
spec.add_development_dependency 'rubocop-rspec', '~> 2.5'
|
30
|
-
spec.add_development_dependency 'simplecov', '~> 0.16', '< 0.18'
|
31
|
-
spec.add_development_dependency 'webmock', '~> 2.3'
|
32
24
|
end
|
@@ -137,6 +137,27 @@ module Fountain
|
|
137
137
|
true
|
138
138
|
end
|
139
139
|
|
140
|
+
#
|
141
|
+
# Advance multiple Applicants
|
142
|
+
# @param [String] applicant_id IDs of the Fountain applicants
|
143
|
+
# @param [String] Destination stage's ID
|
144
|
+
# @param [Hash] advance_options A hash of options to advance applicant
|
145
|
+
# skip_automated_actions - `true` if you want to skip automated
|
146
|
+
# actions when advancing the applicant
|
147
|
+
# funnel_id - Used for bulk advancing applicants to a workflow-based funnel
|
148
|
+
def self.advance_applicants(applicant_ids, stage_id, advance_options = {})
|
149
|
+
response = request(
|
150
|
+
"/v2/applicants/advance?#{stage_id}",
|
151
|
+
method: :post,
|
152
|
+
body: Util.slice_hash(
|
153
|
+
advance_options,
|
154
|
+
:skip_automated_actions, :funnel_id
|
155
|
+
).merge(ids: applicant_ids)
|
156
|
+
)
|
157
|
+
check_response response, Net::HTTPNoContent
|
158
|
+
true
|
159
|
+
end
|
160
|
+
|
140
161
|
#
|
141
162
|
# Get Interview Sessions
|
142
163
|
# @param [String] applicant_id ID of the Fountain applicant
|
data/lib/fountain/gem_version.rb
CHANGED
data/lib/fountain/util.rb
CHANGED
metadata
CHANGED
@@ -1,125 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fountain
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.17
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- abrom
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
12
|
-
dependencies:
|
13
|
-
- !ruby/object:Gem::Dependency
|
14
|
-
name: rake
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - "~>"
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '12.3'
|
20
|
-
- - ">="
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version: 12.3.3
|
23
|
-
type: :development
|
24
|
-
prerelease: false
|
25
|
-
version_requirements: !ruby/object:Gem::Requirement
|
26
|
-
requirements:
|
27
|
-
- - "~>"
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
version: '12.3'
|
30
|
-
- - ">="
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
version: 12.3.3
|
33
|
-
- !ruby/object:Gem::Dependency
|
34
|
-
name: rspec
|
35
|
-
requirement: !ruby/object:Gem::Requirement
|
36
|
-
requirements:
|
37
|
-
- - "~>"
|
38
|
-
- !ruby/object:Gem::Version
|
39
|
-
version: '3.0'
|
40
|
-
type: :development
|
41
|
-
prerelease: false
|
42
|
-
version_requirements: !ruby/object:Gem::Requirement
|
43
|
-
requirements:
|
44
|
-
- - "~>"
|
45
|
-
- !ruby/object:Gem::Version
|
46
|
-
version: '3.0'
|
47
|
-
- !ruby/object:Gem::Dependency
|
48
|
-
name: rubocop
|
49
|
-
requirement: !ruby/object:Gem::Requirement
|
50
|
-
requirements:
|
51
|
-
- - "~>"
|
52
|
-
- !ruby/object:Gem::Version
|
53
|
-
version: '1.21'
|
54
|
-
type: :development
|
55
|
-
prerelease: false
|
56
|
-
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
requirements:
|
58
|
-
- - "~>"
|
59
|
-
- !ruby/object:Gem::Version
|
60
|
-
version: '1.21'
|
61
|
-
- !ruby/object:Gem::Dependency
|
62
|
-
name: rubocop-rake
|
63
|
-
requirement: !ruby/object:Gem::Requirement
|
64
|
-
requirements:
|
65
|
-
- - "~>"
|
66
|
-
- !ruby/object:Gem::Version
|
67
|
-
version: '0.6'
|
68
|
-
type: :development
|
69
|
-
prerelease: false
|
70
|
-
version_requirements: !ruby/object:Gem::Requirement
|
71
|
-
requirements:
|
72
|
-
- - "~>"
|
73
|
-
- !ruby/object:Gem::Version
|
74
|
-
version: '0.6'
|
75
|
-
- !ruby/object:Gem::Dependency
|
76
|
-
name: rubocop-rspec
|
77
|
-
requirement: !ruby/object:Gem::Requirement
|
78
|
-
requirements:
|
79
|
-
- - "~>"
|
80
|
-
- !ruby/object:Gem::Version
|
81
|
-
version: '2.5'
|
82
|
-
type: :development
|
83
|
-
prerelease: false
|
84
|
-
version_requirements: !ruby/object:Gem::Requirement
|
85
|
-
requirements:
|
86
|
-
- - "~>"
|
87
|
-
- !ruby/object:Gem::Version
|
88
|
-
version: '2.5'
|
89
|
-
- !ruby/object:Gem::Dependency
|
90
|
-
name: simplecov
|
91
|
-
requirement: !ruby/object:Gem::Requirement
|
92
|
-
requirements:
|
93
|
-
- - "~>"
|
94
|
-
- !ruby/object:Gem::Version
|
95
|
-
version: '0.16'
|
96
|
-
- - "<"
|
97
|
-
- !ruby/object:Gem::Version
|
98
|
-
version: '0.18'
|
99
|
-
type: :development
|
100
|
-
prerelease: false
|
101
|
-
version_requirements: !ruby/object:Gem::Requirement
|
102
|
-
requirements:
|
103
|
-
- - "~>"
|
104
|
-
- !ruby/object:Gem::Version
|
105
|
-
version: '0.16'
|
106
|
-
- - "<"
|
107
|
-
- !ruby/object:Gem::Version
|
108
|
-
version: '0.18'
|
109
|
-
- !ruby/object:Gem::Dependency
|
110
|
-
name: webmock
|
111
|
-
requirement: !ruby/object:Gem::Requirement
|
112
|
-
requirements:
|
113
|
-
- - "~>"
|
114
|
-
- !ruby/object:Gem::Version
|
115
|
-
version: '2.3'
|
116
|
-
type: :development
|
117
|
-
prerelease: false
|
118
|
-
version_requirements: !ruby/object:Gem::Requirement
|
119
|
-
requirements:
|
120
|
-
- - "~>"
|
121
|
-
- !ruby/object:Gem::Version
|
122
|
-
version: '2.3'
|
11
|
+
date: 2023-05-18 00:00:00.000000000 Z
|
12
|
+
dependencies: []
|
123
13
|
description: Fountain REST API v2 wrapper for Ruby
|
124
14
|
email:
|
125
15
|
- a.bromwich@gmail.com
|
@@ -188,7 +78,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
188
78
|
- !ruby/object:Gem::Version
|
189
79
|
version: '0'
|
190
80
|
requirements: []
|
191
|
-
rubygems_version: 3.
|
81
|
+
rubygems_version: 3.3.7
|
192
82
|
signing_key:
|
193
83
|
specification_version: 4
|
194
84
|
summary: Fountain REST API v2 wrapper for Ruby
|