clinch-talent 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +25 -21
- data/clinch-talent.gemspec +4 -4
- data/test/clinch_talent/candidate_test.rb +3 -7
- data/test/clinch_talent/job_department_test.rb +1 -3
- metadata +11 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0a7b3e4d8e16be4a71ccb5e221af154e8dd9e5862e11c2a51df3cbe932036e2f
|
4
|
+
data.tar.gz: '0983ebaa1a56a9c1547c21df4e717a9476fbf371826981ba617399c29adaa675'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9614c1ba58bdfaac14091ccbb72dc58e5ec8bcffd5d960698b7ca48c15015c3a60200dcd2db09fb00355847f89d97583a85dab7aee83d8cbd7fa9ac3770c0475
|
7
|
+
data.tar.gz: d1a00b968dc52b4fa0209f5a95d309ec9b31daa2d5d0dac6971e7a36631d1d12d874323218b2795ca16b2752dac0902c2303da348c4b2cc9c32a7a9a73673ab1
|
data/Gemfile.lock
CHANGED
@@ -1,59 +1,63 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
clinch-talent (0.2.
|
5
|
-
json_api_client (~> 1.
|
4
|
+
clinch-talent (0.2.3)
|
5
|
+
json_api_client (~> 1.14)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
|
-
activemodel (5.2.
|
11
|
-
activesupport (= 5.2.
|
12
|
-
activesupport (5.2.
|
10
|
+
activemodel (5.2.3)
|
11
|
+
activesupport (= 5.2.3)
|
12
|
+
activesupport (5.2.3)
|
13
13
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
14
14
|
i18n (>= 0.7, < 2)
|
15
15
|
minitest (~> 5.1)
|
16
16
|
tzinfo (~> 1.1)
|
17
|
-
addressable (2.
|
18
|
-
|
17
|
+
addressable (2.6.0)
|
18
|
+
public_suffix (>= 2.0.2, < 4.0)
|
19
|
+
concurrent-ruby (1.1.5)
|
19
20
|
crack (0.4.3)
|
20
21
|
safe_yaml (~> 1.0.0)
|
21
|
-
faraday (0.15.
|
22
|
+
faraday (0.15.4)
|
22
23
|
multipart-post (>= 1.2, < 3)
|
23
|
-
faraday_middleware (0.
|
24
|
+
faraday_middleware (0.13.1)
|
24
25
|
faraday (>= 0.7.4, < 1.0)
|
25
|
-
hashdiff (0.
|
26
|
-
i18n (1.0
|
26
|
+
hashdiff (1.0.0)
|
27
|
+
i18n (1.6.0)
|
27
28
|
concurrent-ruby (~> 1.0)
|
28
|
-
json_api_client (1.
|
29
|
+
json_api_client (1.14.1)
|
29
30
|
activemodel (>= 3.2.0)
|
30
31
|
activesupport (>= 3.2.0)
|
31
32
|
addressable (~> 2.2)
|
32
|
-
faraday (~> 0.
|
33
|
+
faraday (~> 0.15, >= 0.15.2)
|
33
34
|
faraday_middleware (~> 0.9)
|
35
|
+
rack (>= 0.2)
|
34
36
|
metaclass (0.0.4)
|
35
37
|
minitest (5.11.3)
|
36
|
-
mocha (1.
|
38
|
+
mocha (1.9.0)
|
37
39
|
metaclass (~> 0.0.1)
|
38
|
-
multipart-post (2.
|
40
|
+
multipart-post (2.1.1)
|
41
|
+
public_suffix (3.1.1)
|
42
|
+
rack (2.0.7)
|
39
43
|
rake (10.4.2)
|
40
|
-
safe_yaml (1.0.
|
44
|
+
safe_yaml (1.0.5)
|
41
45
|
thread_safe (0.3.6)
|
42
46
|
tzinfo (1.2.5)
|
43
47
|
thread_safe (~> 0.1)
|
44
|
-
webmock (
|
48
|
+
webmock (3.6.2)
|
45
49
|
addressable (>= 2.3.6)
|
46
50
|
crack (>= 0.3.2)
|
47
|
-
hashdiff
|
51
|
+
hashdiff (>= 0.4.0, < 2.0.0)
|
48
52
|
|
49
53
|
PLATFORMS
|
50
54
|
ruby
|
51
55
|
|
52
56
|
DEPENDENCIES
|
53
57
|
clinch-talent!
|
54
|
-
mocha (~> 1.
|
58
|
+
mocha (~> 1.9)
|
55
59
|
rake
|
56
|
-
webmock
|
60
|
+
webmock (~> 3.6.2)
|
57
61
|
|
58
62
|
BUNDLED WITH
|
59
|
-
1.
|
63
|
+
1.17.3
|
data/clinch-talent.gemspec
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'clinch-talent'
|
3
|
-
s.version = '0.2.
|
3
|
+
s.version = '0.2.3'
|
4
4
|
s.summary = 'A ruby client for the Clinch Talent API'
|
5
5
|
s.description = 'A ruby client for the Clinch Talent API. Requests are HMAC signed. Responses are in JSON API format (https://jsonapi.org). See https://support.clinchtalent.com/article/77-getting-started'
|
6
6
|
s.authors = ['Damien Glancy', 'Steve Quinlan']
|
7
7
|
s.email = 'damien@clinchtalent.com'
|
8
8
|
s.homepage = 'http://rubygems.org/gems/clinch-talent'
|
9
9
|
s.license = 'MIT'
|
10
|
-
s.add_dependency 'json_api_client', '~> 1.
|
11
|
-
s.add_development_dependency 'mocha', '~> 1.
|
12
|
-
s.add_development_dependency 'webmock'
|
10
|
+
s.add_dependency 'json_api_client', '~> 1.14'
|
11
|
+
s.add_development_dependency 'mocha', '~> 1.9'
|
12
|
+
s.add_development_dependency 'webmock', '~> 3.6.2'
|
13
13
|
|
14
14
|
s.files = `git ls-files`.split("\n")
|
15
15
|
s.test_files = `git ls-files -- test/*`.split("\n")
|
@@ -8,12 +8,10 @@ class ClinchTalent::CandidateTest < Minitest::Test
|
|
8
8
|
def test_get_signing
|
9
9
|
stub_request(:get, 'https://api.clinchtalent.com/v1/candidates').
|
10
10
|
with(:headers => {'Accept' => 'application/vnd.api+json',
|
11
|
-
'Accept-Encoding' => 'gzip;q=1.0,deflate;q=0.6,identity;q=0.3',
|
12
11
|
'Authorization' => 'APIAuth access_id:BNBb+1TD1ZW2v2KInKm0EtDCrdg=',
|
13
12
|
'Content-Md5' => '1B2M2Y8AsgTpgAmY7PhCfg==',
|
14
13
|
'Content-Type' => 'application/vnd.api+json',
|
15
|
-
'Date' => 'Wed, 01 Jan 2014 01:01:01 GMT'
|
16
|
-
'User-Agent' => 'Faraday v0.15.2'})
|
14
|
+
'Date' => 'Wed, 01 Jan 2014 01:01:01 GMT'})
|
17
15
|
ClinchTalent::Base.config('access_id', 'secret')
|
18
16
|
ClinchTalent::Candidate.all
|
19
17
|
end
|
@@ -24,12 +22,10 @@ class ClinchTalent::CandidateTest < Minitest::Test
|
|
24
22
|
body: "{\"data\":{\"type\":\"candidates\",\"attributes\":{\"first_name\":\"Steve\",\"last_name\":\"Jobs\",\"email\":\"steve.jobs@example.com\"}}}",
|
25
23
|
headers: {
|
26
24
|
'Accept' => 'application/vnd.api+json',
|
27
|
-
'Accept-Encoding' => 'gzip;q=1.0,deflate;q=0.6,identity;q=0.3',
|
28
25
|
'Authorization' => 'APIAuth access_id:GpqVWbyL6re9hA4PVFciK9JGXtE=',
|
29
26
|
'Content-Md5' => 'BHelHgS90QHICtQEYCK1CA==',
|
30
27
|
'Content-Type' => 'application/vnd.api+json',
|
31
28
|
'Date' => 'Wed, 01 Jan 2014 01:01:01 GMT',
|
32
|
-
'User-Agent' => 'Faraday v0.15.2'
|
33
29
|
}).
|
34
30
|
to_return(status: 200, body: "", headers: {})
|
35
31
|
|
@@ -40,12 +36,12 @@ class ClinchTalent::CandidateTest < Minitest::Test
|
|
40
36
|
def test_post_signing_no_body
|
41
37
|
stub_request(:post, "https://api.clinchtalent.com/v1/candidates").
|
42
38
|
with(:body => "{\"data\":{\"type\":\"candidates\",\"attributes\":{}}}",
|
43
|
-
:headers => {'Accept' => 'application/vnd.api+json',
|
39
|
+
:headers => {'Accept' => 'application/vnd.api+json',
|
44
40
|
'Authorization' => 'APIAuth access_id:P9RDanGcxbHK/aWLPC/T6Eitplc=',
|
45
41
|
'Content-Md5' => 'hy9ALXrYXtG7YZXuVdXzjA==',
|
46
42
|
'Content-Type' => 'application/vnd.api+json',
|
47
43
|
'Date' => 'Wed, 01 Jan 2014 01:01:01 GMT',
|
48
|
-
|
44
|
+
}).
|
49
45
|
to_return(:status => 200, :body => "", :headers => {})
|
50
46
|
|
51
47
|
ClinchTalent::Base.config('access_id', 'secret')
|
@@ -8,12 +8,10 @@ class ClinchTalent::JobDepartmentTest < Minitest::Test
|
|
8
8
|
def test_get_signing
|
9
9
|
stub_request(:get, 'https://api.clinchtalent.com/v1/job_departments').
|
10
10
|
with(:headers => {'Accept' => 'application/vnd.api+json',
|
11
|
-
'Accept-Encoding' => 'gzip;q=1.0,deflate;q=0.6,identity;q=0.3',
|
12
11
|
'Authorization' => 'APIAuth access_id:a6qLnFKzp9cObEdcXmKw5zOtLRU=',
|
13
12
|
'Content-Md5' => '1B2M2Y8AsgTpgAmY7PhCfg==',
|
14
13
|
'Content-Type' => 'application/vnd.api+json',
|
15
|
-
'Date' => 'Wed, 01 Jan 2014 01:01:01 GMT'
|
16
|
-
'User-Agent' => 'Faraday v0.15.2'})
|
14
|
+
'Date' => 'Wed, 01 Jan 2014 01:01:01 GMT'})
|
17
15
|
ClinchTalent::Base.config('access_id', 'secret')
|
18
16
|
ClinchTalent::JobDepartment.all
|
19
17
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: clinch-talent
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Damien Glancy
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2019-08-09 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: json_api_client
|
@@ -17,42 +17,42 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - "~>"
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: '1.
|
20
|
+
version: '1.14'
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
25
|
- - "~>"
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version: '1.
|
27
|
+
version: '1.14'
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: mocha
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
31
31
|
requirements:
|
32
32
|
- - "~>"
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version: '1.
|
34
|
+
version: '1.9'
|
35
35
|
type: :development
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
39
|
- - "~>"
|
40
40
|
- !ruby/object:Gem::Version
|
41
|
-
version: '1.
|
41
|
+
version: '1.9'
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: webmock
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
45
45
|
requirements:
|
46
|
-
- - "
|
46
|
+
- - "~>"
|
47
47
|
- !ruby/object:Gem::Version
|
48
|
-
version:
|
48
|
+
version: 3.6.2
|
49
49
|
type: :development
|
50
50
|
prerelease: false
|
51
51
|
version_requirements: !ruby/object:Gem::Requirement
|
52
52
|
requirements:
|
53
|
-
- - "
|
53
|
+
- - "~>"
|
54
54
|
- !ruby/object:Gem::Version
|
55
|
-
version:
|
55
|
+
version: 3.6.2
|
56
56
|
description: A ruby client for the Clinch Talent API. Requests are HMAC signed. Responses
|
57
57
|
are in JSON API format (https://jsonapi.org). See https://support.clinchtalent.com/article/77-getting-started
|
58
58
|
email: damien@clinchtalent.com
|
@@ -95,8 +95,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0'
|
97
97
|
requirements: []
|
98
|
-
|
99
|
-
rubygems_version: 2.7.6
|
98
|
+
rubygems_version: 3.0.4
|
100
99
|
signing_key:
|
101
100
|
specification_version: 4
|
102
101
|
summary: A ruby client for the Clinch Talent API
|