clinch-talent 0.1 → 0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/Gemfile.lock +19 -21
- data/clinch-talent.gemspec +5 -6
- data/lib/clinch_talent.rb +0 -1
- data/test/clinch_talent/candidate_test.rb +4 -4
- metadata +7 -9
- data/lib/clinch_talent/social_profile.rb +0 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 3c91e6dc9be2c4c9b4a1e419160f7c365b3474812765a7a0948dad810565d52d
|
4
|
+
data.tar.gz: 7f41ff0f51fc0dfdae028a77ac8e0f79c07c1e7f9361d315249bfe60af814ada
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dee36046767ca1069f7d0a1b2ce452923dee4e854e0bab187755158b4717abf0613c8464890fcfbdda0a76a5ac124e729020a9f30bfbe4dceeb62e072e795a14
|
7
|
+
data.tar.gz: 0d1c72e1a4bf4d20a4d80bca2aed4c3db2b1c725096c31df8759115515dd6c538ccf54a151b34851ce173b19f4acaa1ebb82a09382c0fe9e43834beabd8ef8b2
|
data/Gemfile.lock
CHANGED
@@ -1,47 +1,45 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
clinch-talent (0.
|
5
|
-
json_api_client (~> 1.
|
4
|
+
clinch-talent (0.2)
|
5
|
+
json_api_client (~> 1.5)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
|
-
activemodel (
|
11
|
-
activesupport (=
|
12
|
-
|
13
|
-
|
14
|
-
i18n (
|
15
|
-
json (~> 1.7, >= 1.7.7)
|
10
|
+
activemodel (5.2.0)
|
11
|
+
activesupport (= 5.2.0)
|
12
|
+
activesupport (5.2.0)
|
13
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
14
|
+
i18n (>= 0.7, < 2)
|
16
15
|
minitest (~> 5.1)
|
17
|
-
thread_safe (~> 0.3, >= 0.3.4)
|
18
16
|
tzinfo (~> 1.1)
|
19
17
|
addressable (2.4.0)
|
20
|
-
|
18
|
+
concurrent-ruby (1.0.5)
|
21
19
|
crack (0.4.3)
|
22
20
|
safe_yaml (~> 1.0.0)
|
23
|
-
faraday (0.
|
21
|
+
faraday (0.15.2)
|
24
22
|
multipart-post (>= 1.2, < 3)
|
25
|
-
faraday_middleware (0.
|
26
|
-
faraday (>= 0.7.4, < 0
|
23
|
+
faraday_middleware (0.12.2)
|
24
|
+
faraday (>= 0.7.4, < 1.0)
|
27
25
|
hashdiff (0.2.3)
|
28
|
-
i18n (0.
|
29
|
-
|
30
|
-
json_api_client (1.
|
26
|
+
i18n (1.0.1)
|
27
|
+
concurrent-ruby (~> 1.0)
|
28
|
+
json_api_client (1.5.3)
|
31
29
|
activemodel (>= 3.2.0)
|
32
30
|
activesupport (>= 3.2.0)
|
33
31
|
addressable (~> 2.2)
|
34
|
-
faraday (
|
32
|
+
faraday (~> 0.9)
|
35
33
|
faraday_middleware (~> 0.9)
|
36
34
|
metaclass (0.0.4)
|
37
|
-
minitest (5.
|
35
|
+
minitest (5.11.3)
|
38
36
|
mocha (1.1.0)
|
39
37
|
metaclass (~> 0.0.1)
|
40
38
|
multipart-post (2.0.0)
|
41
39
|
rake (10.4.2)
|
42
40
|
safe_yaml (1.0.4)
|
43
|
-
thread_safe (0.3.
|
44
|
-
tzinfo (1.2.
|
41
|
+
thread_safe (0.3.6)
|
42
|
+
tzinfo (1.2.5)
|
45
43
|
thread_safe (~> 0.1)
|
46
44
|
webmock (1.22.3)
|
47
45
|
addressable (>= 2.3.6)
|
@@ -58,4 +56,4 @@ DEPENDENCIES
|
|
58
56
|
webmock
|
59
57
|
|
60
58
|
BUNDLED WITH
|
61
|
-
1.
|
59
|
+
1.16.1
|
data/clinch-talent.gemspec
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'clinch-talent'
|
3
|
-
s.version = '0.
|
4
|
-
s.date = '2015-12-11'
|
3
|
+
s.version = '0.2'
|
5
4
|
s.summary = 'A ruby client for the Clinch Talent API'
|
6
|
-
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://
|
7
|
-
s.authors = ['Damien Glancy', '
|
8
|
-
s.email = 'damien@
|
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
|
+
s.authors = ['Damien Glancy', 'Steve Quinlan']
|
7
|
+
s.email = 'damien@clinchtalent.com'
|
9
8
|
s.homepage = 'http://rubygems.org/gems/clinch-talent'
|
10
9
|
s.license = 'MIT'
|
11
|
-
s.add_dependency 'json_api_client', '~> 1.
|
10
|
+
s.add_dependency 'json_api_client', '~> 1.5'
|
12
11
|
s.add_development_dependency 'mocha', '~> 1.1'
|
13
12
|
s.add_development_dependency 'webmock'
|
14
13
|
|
data/lib/clinch_talent.rb
CHANGED
@@ -7,16 +7,16 @@ module ClinchTalent
|
|
7
7
|
|
8
8
|
# Having problem stubbing the body response, so not doing this now
|
9
9
|
|
10
|
-
stub_request(:get, 'https://api.clinchtalent.com/v1/candidates
|
10
|
+
stub_request(:get, 'https://api.clinchtalent.com/v1/candidates').
|
11
11
|
with(:headers => {'Accept' => 'application/vnd.api+json',
|
12
12
|
'Accept-Encoding' => 'gzip;q=1.0,deflate;q=0.6,identity;q=0.3',
|
13
|
-
'Authorization' => 'APIAuth access_id:
|
13
|
+
'Authorization' => 'APIAuth access_id:BNBb+1TD1ZW2v2KInKm0EtDCrdg=',
|
14
14
|
'Content-Md5' => '1B2M2Y8AsgTpgAmY7PhCfg==',
|
15
15
|
'Content-Type' => 'application/vnd.api+json',
|
16
16
|
'Date' => 'Wed, 01 Jan 2014 01:01:01 GMT',
|
17
|
-
'User-Agent' => 'Faraday v0.
|
17
|
+
'User-Agent' => 'Faraday v0.15.2'})
|
18
18
|
ClinchTalent::Base.config('access_id', 'secret')
|
19
|
-
ClinchTalent::Candidate.
|
19
|
+
ClinchTalent::Candidate.all
|
20
20
|
end
|
21
21
|
end
|
22
22
|
end
|
metadata
CHANGED
@@ -1,16 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: clinch-talent
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '0.
|
4
|
+
version: '0.2'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Damien Glancy
|
8
|
-
- Peter Keogh
|
9
8
|
- Steve Quinlan
|
10
9
|
autorequire:
|
11
10
|
bindir: bin
|
12
11
|
cert_chain: []
|
13
|
-
date:
|
12
|
+
date: 2018-06-25 00:00:00.000000000 Z
|
14
13
|
dependencies:
|
15
14
|
- !ruby/object:Gem::Dependency
|
16
15
|
name: json_api_client
|
@@ -18,14 +17,14 @@ dependencies:
|
|
18
17
|
requirements:
|
19
18
|
- - "~>"
|
20
19
|
- !ruby/object:Gem::Version
|
21
|
-
version: '1.
|
20
|
+
version: '1.5'
|
22
21
|
type: :runtime
|
23
22
|
prerelease: false
|
24
23
|
version_requirements: !ruby/object:Gem::Requirement
|
25
24
|
requirements:
|
26
25
|
- - "~>"
|
27
26
|
- !ruby/object:Gem::Version
|
28
|
-
version: '1.
|
27
|
+
version: '1.5'
|
29
28
|
- !ruby/object:Gem::Dependency
|
30
29
|
name: mocha
|
31
30
|
requirement: !ruby/object:Gem::Requirement
|
@@ -55,8 +54,8 @@ dependencies:
|
|
55
54
|
- !ruby/object:Gem::Version
|
56
55
|
version: '0'
|
57
56
|
description: A ruby client for the Clinch Talent API. Requests are HMAC signed. Responses
|
58
|
-
are in JSON API format (https://jsonapi.org). See https://
|
59
|
-
email: damien@
|
57
|
+
are in JSON API format (https://jsonapi.org). See https://support.clinchtalent.com/article/77-getting-started
|
58
|
+
email: damien@clinchtalent.com
|
60
59
|
executables: []
|
61
60
|
extensions: []
|
62
61
|
extra_rdoc_files: []
|
@@ -73,7 +72,6 @@ files:
|
|
73
72
|
- lib/clinch_talent/base.rb
|
74
73
|
- lib/clinch_talent/candidate.rb
|
75
74
|
- lib/clinch_talent/hmac_signing_middleware.rb
|
76
|
-
- lib/clinch_talent/social_profile.rb
|
77
75
|
- test/clinch_talent/candidate_test.rb
|
78
76
|
- test/test_helper.rb
|
79
77
|
homepage: http://rubygems.org/gems/clinch-talent
|
@@ -96,7 +94,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
96
94
|
version: '0'
|
97
95
|
requirements: []
|
98
96
|
rubyforge_project:
|
99
|
-
rubygems_version: 2.
|
97
|
+
rubygems_version: 2.7.6
|
100
98
|
signing_key:
|
101
99
|
specification_version: 4
|
102
100
|
summary: A ruby client for the Clinch Talent API
|