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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b9c3819d6e08575fd1ec7435051ad6f550a5ad845889e7227b7afa0ac0c9096e
4
- data.tar.gz: e41c5379774318f32a6541cd468fc49d7fea4ac455b7a3e4512aa8221ab08955
3
+ metadata.gz: 0a7b3e4d8e16be4a71ccb5e221af154e8dd9e5862e11c2a51df3cbe932036e2f
4
+ data.tar.gz: '0983ebaa1a56a9c1547c21df4e717a9476fbf371826981ba617399c29adaa675'
5
5
  SHA512:
6
- metadata.gz: 664999636ba42e68ec81db9860ac86a6049d6b96f3541ec8a3279907340955557f31f50b464f6f37cddaeb1004a41239375a05e6e35d4ce9aa3637949e204fdc
7
- data.tar.gz: a24ddeee7f89986f3c836e4a6e457ab8191cde3bf1236f0976e5dd5b6683ac731e49c76ed78dd3457a159a767a608417bedaac5e1467d4e9b8f8ab15ecc3abeb
6
+ metadata.gz: 9614c1ba58bdfaac14091ccbb72dc58e5ec8bcffd5d960698b7ca48c15015c3a60200dcd2db09fb00355847f89d97583a85dab7aee83d8cbd7fa9ac3770c0475
7
+ data.tar.gz: d1a00b968dc52b4fa0209f5a95d309ec9b31daa2d5d0dac6971e7a36631d1d12d874323218b2795ca16b2752dac0902c2303da348c4b2cc9c32a7a9a73673ab1
@@ -1,59 +1,63 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- clinch-talent (0.2.2)
5
- json_api_client (~> 1.5)
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.0)
11
- activesupport (= 5.2.0)
12
- activesupport (5.2.0)
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.4.0)
18
- concurrent-ruby (1.0.5)
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.2)
22
+ faraday (0.15.4)
22
23
  multipart-post (>= 1.2, < 3)
23
- faraday_middleware (0.12.2)
24
+ faraday_middleware (0.13.1)
24
25
  faraday (>= 0.7.4, < 1.0)
25
- hashdiff (0.2.3)
26
- i18n (1.0.1)
26
+ hashdiff (1.0.0)
27
+ i18n (1.6.0)
27
28
  concurrent-ruby (~> 1.0)
28
- json_api_client (1.5.3)
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.9)
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.1.0)
38
+ mocha (1.9.0)
37
39
  metaclass (~> 0.0.1)
38
- multipart-post (2.0.0)
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.4)
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 (1.22.3)
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.1)
58
+ mocha (~> 1.9)
55
59
  rake
56
- webmock
60
+ webmock (~> 3.6.2)
57
61
 
58
62
  BUNDLED WITH
59
- 1.16.1
63
+ 1.17.3
@@ -1,15 +1,15 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'clinch-talent'
3
- s.version = '0.2.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.5'
11
- s.add_development_dependency 'mocha', '~> 1.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', 'Accept-Encoding' => 'gzip;q=1.0,deflate;q=0.6,identity;q=0.3',
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
- 'User-Agent' => 'Faraday v0.15.2'}).
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.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: 2018-06-28 00:00:00.000000000 Z
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.5'
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.5'
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.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.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: '0'
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: '0'
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
- rubyforge_project:
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