linkedin-v2 0.1.4 → 0.1.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (34) hide show
  1. checksums.yaml +5 -5
  2. data/lib/linked_in/api.rb +6 -2
  3. data/lib/linked_in/api_resource.rb +1 -1
  4. data/lib/linked_in/media.rb +5 -4
  5. data/lib/linked_in/organizations.rb +10 -1
  6. data/lib/linked_in/raise_error.rb +1 -2
  7. data/lib/linked_in/share_and_social_stream.rb +34 -4
  8. data/lib/linked_in/version.rb +1 -1
  9. data/linkedin-v2.gemspec +2 -2
  10. data/spec/vcr_cassettes/access_token_success.yml +19 -19
  11. data/spec/vcr_cassettes/bad_code.yml +19 -19
  12. data/spec/vcr_cassettes/organization_data.yml +8 -8
  13. data/spec/vcr_cassettes/people_picture_urls.yml +8 -8
  14. data/spec/vcr_cassettes/people_profile_connections_fields.yml +8 -8
  15. data/spec/vcr_cassettes/people_profile_connections_other.yml +8 -8
  16. data/spec/vcr_cassettes/people_profile_connections_self.yml +8 -8
  17. data/spec/vcr_cassettes/people_profile_fields_complex.yml +8 -8
  18. data/spec/vcr_cassettes/people_profile_fields_simple.yml +8 -8
  19. data/spec/vcr_cassettes/people_profile_lang_spanish.yml +8 -8
  20. data/spec/vcr_cassettes/people_profile_multiple_fields.yml +8 -8
  21. data/spec/vcr_cassettes/people_profile_multiple_uids.yml +8 -8
  22. data/spec/vcr_cassettes/people_profile_multiple_uids_and_urls.yml +8 -8
  23. data/spec/vcr_cassettes/people_profile_multiple_urls.yml +8 -8
  24. data/spec/vcr_cassettes/people_profile_new_connections_fields.yml +8 -8
  25. data/spec/vcr_cassettes/people_profile_new_connections_other.yml +8 -8
  26. data/spec/vcr_cassettes/people_profile_new_connections_self.yml +8 -8
  27. data/spec/vcr_cassettes/people_profile_other_uid.yml +9 -9
  28. data/spec/vcr_cassettes/people_profile_other_url.yml +7 -7
  29. data/spec/vcr_cassettes/people_profile_own.yml +9 -9
  30. data/spec/vcr_cassettes/people_profile_own_secure.yml +8 -8
  31. data/spec/vcr_cassettes/people_profile_skills.yml +8 -8
  32. data/spec/vcr_cassettes/unavailable.yml +19 -19
  33. metadata +10 -12
  34. data/pkg/linkedin-oauth2-2.0.0.gem +0 -0
@@ -12,7 +12,7 @@ http_interactions:
12
12
  Authorization:
13
13
  - Bearer AQVM91zzF-bLiOfCsTi8ktxnq99l-tW9meri8F9ZEWAuHf5g1bO_Pa4p0nFwKvZ7VFdSERAnJZq3eNOq6BzDPFNIyGIy50s-7HkLq2hE5uy6HrAQrsMAQR_qZxnBrSD11g_M2sF5XB5fUHZOXEQFgFaXB0M19VUAsvsz3yg-7zMI7w9Zn_DYTLO1e2W9VEZrOgVmRNt1XBIT_pdQO7pQkKv4702yJTrIBOuhZWNLZRClPHd2RRhPf2SJeTkodbnL4xSvzcyEPpLaTPyZIVJnBcsAzYFiG_pJtyGs7x-iWbUZsYgnUVSy8Wg-5eqmvze5tuZdICIP0PJ0AVMNGOxRRiLOEh8MSg
14
14
  User-Agent:
15
- - Faraday v0.10.1
15
+ - Faraday v0.12.2
16
16
  Accept-Encoding:
17
17
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
18
18
  Accept:
@@ -27,7 +27,7 @@ http_interactions:
27
27
  Content-Type:
28
28
  - application/json
29
29
  Date:
30
- - Thu, 10 May 2018 16:18:22 GMT
30
+ - Mon, 21 May 2018 18:34:06 GMT
31
31
  X-Li-Fabric:
32
32
  - prod-lva1
33
33
  Transfer-Encoding:
@@ -35,18 +35,18 @@ http_interactions:
35
35
  Connection:
36
36
  - keep-alive
37
37
  X-Li-Pop:
38
- - prod-ech2
38
+ - prod-edc2
39
39
  X-Li-Proto:
40
40
  - http/1.1
41
41
  Set-Cookie:
42
- - lidc="b=VB96:g=1157:u=18:i=1525969102:t=1526048328:s=AQHUUC-2Fn8U2-xzVbjjJtVPmskmb6lH"
42
+ - lidc="b=VB96:g=1172:u=20:i=1526927646:t=1527014039:s=AQH70OsvZigtL0Vvbzxes8DIaiz2upjx"
43
43
  X-Li-Route-Key:
44
- - '"b=VB96:g=1157:u=18:i=1525969102:t=1526048328:s=AQHUUC-2Fn8U2-xzVbjjJtVPmskmb6lH"'
44
+ - '"b=VB96:g=1172:u=20:i=1526927646:t=1527014039:s=AQH70OsvZigtL0Vvbzxes8DIaiz2upjx"'
45
45
  X-Li-Uuid:
46
- - 6WayYNBULRUADwYScisAAA==
46
+ - BXX9uZq8MBVggWfs1CoAAA==
47
47
  body:
48
48
  encoding: UTF-8
49
49
  string: '{"serviceErrorCode":0,"message":"Resource me does not exist","status":404}'
50
50
  http_version:
51
- recorded_at: Thu, 10 May 2018 16:18:22 GMT
52
- recorded_with: VCR 3.0.3
51
+ recorded_at: Mon, 21 May 2018 18:34:06 GMT
52
+ recorded_with: VCR 4.0.0
@@ -12,7 +12,7 @@ http_interactions:
12
12
  Authorization:
13
13
  - Bearer AQVM91zzF-bLiOfCsTi8ktxnq99l-tW9meri8F9ZEWAuHf5g1bO_Pa4p0nFwKvZ7VFdSERAnJZq3eNOq6BzDPFNIyGIy50s-7HkLq2hE5uy6HrAQrsMAQR_qZxnBrSD11g_M2sF5XB5fUHZOXEQFgFaXB0M19VUAsvsz3yg-7zMI7w9Zn_DYTLO1e2W9VEZrOgVmRNt1XBIT_pdQO7pQkKv4702yJTrIBOuhZWNLZRClPHd2RRhPf2SJeTkodbnL4xSvzcyEPpLaTPyZIVJnBcsAzYFiG_pJtyGs7x-iWbUZsYgnUVSy8Wg-5eqmvze5tuZdICIP0PJ0AVMNGOxRRiLOEh8MSg
14
14
  User-Agent:
15
- - Faraday v0.10.1
15
+ - Faraday v0.12.2
16
16
  Accept-Encoding:
17
17
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
18
18
  Accept:
@@ -27,7 +27,7 @@ http_interactions:
27
27
  X-Restli-Protocol-Version:
28
28
  - 1.0.0
29
29
  Date:
30
- - Thu, 10 May 2018 16:18:18 GMT
30
+ - Mon, 21 May 2018 18:34:01 GMT
31
31
  X-Li-Fabric:
32
32
  - prod-lva1
33
33
  Transfer-Encoding:
@@ -35,23 +35,23 @@ http_interactions:
35
35
  Connection:
36
36
  - keep-alive
37
37
  X-Li-Pop:
38
- - prod-ech2
38
+ - prod-edc2
39
39
  X-Li-Proto:
40
40
  - http/1.1
41
41
  Set-Cookie:
42
- - lidc="b=VB96:g=1157:u=18:i=1525969097:t=1526048328:s=AQFfgdQhiI7ihzGEEFXX9YowlR7uvr8q"
42
+ - lidc="b=VB96:g=1172:u=20:i=1526927641:t=1527014039:s=AQFnfvd17C3wntwvnDGCCgAhGHxsNmrS"
43
43
  X-Li-Route-Key:
44
- - '"b=VB96:g=1157:u=18:i=1525969097:t=1526048328:s=AQFfgdQhiI7ihzGEEFXX9YowlR7uvr8q"'
44
+ - '"b=VB96:g=1172:u=20:i=1526927641:t=1527014039:s=AQFnfvd17C3wntwvnDGCCgAhGHxsNmrS"'
45
45
  X-Li-Uuid:
46
- - D/t5Qs9ULRVQboaWCSsAAA==
46
+ - I0OanJm8MBWQcFrp1CoAAA==
47
47
  body:
48
48
  encoding: UTF-8
49
49
  string: '{"industryName":{"localized":{"en_US":"Public Relations"},"preferredLocale":{"country":"US","language":"en"}},"localizedLastName":"Santos
50
50
  del Nariz","lastName":{"localized":{"en_US":"Santos del Nariz"},"preferredLocale":{"country":"US","language":"en"}},"vanityName":"miguel-santos-del-nariz","positions":{"1231524997":{"startMonthYear":{"year":2014},"companyName":{"localized":{"en_US":"Ceres
51
51
  Logic"},"preferredLocale":{"country":"US","language":"en"}},"title":{"localized":{"en_US":"Social
52
52
  Media Specialist"},"preferredLocale":{"country":"US","language":"en"}}},"1069560016":{"startMonthYear":{"year":2009},"endMonthYear":{"year":2014},"companyName":{"localized":{"en_US":"Winletric"},"preferredLocale":{"country":"US","language":"en"}},"title":{"localized":{"en_US":"Warehouse
53
- Manager"},"preferredLocale":{"country":"US","language":"en"}}}},"pictureInfo":{"croppedImage":"urn:li:media:/gcrc/dms/image/C4E03AQEmhyl0HXzfGQ/profile-displayphoto-shrink_800_800/0?e=1531353600&v=beta&t=Bvfb2MAIeoVtSJZAjfnLYM1pxkyjOcD5_BTO9uyNG8I","masterImage":"urn:li:media:/gcrc/dms/image/C4E00AQFBxXq_zXDwiw/profile-originalphoto-shrink_900_1200/0?e=1526058000&v=beta&t=XHr0XI053AtrWMRpEIvvZaiEQHzc2H0I9ncI3S5Qvj0","photoFilterEditInfo":{"bottomLeft":{"x":-6.178632484870436E-17,"y":1.0},"saturation":0.0,"brightness":0.0,"vignette":0.0,"photoFilterType":"ORIGINAL","bottomRight":{"x":1.0,"y":1.0},"topLeft":{"x":-6.178632484870436E-17,"y":0.0},"contrast":0.0,"topRight":{"x":1.0,"y":0.0}}},"firstName":{"localized":{"en_US":"Miguel"},"preferredLocale":{"country":"US","language":"en"}},"profilePicture":{"displayImage":"urn:li:digitalmediaAsset:C4E03AQEmhyl0HXzfGQ","created":1505332528742,"lastModified":1505332528742,"photoFilterEditInfo":{"bottomLeft":{"x":-6.178632484870436E-17,"y":1.0},"saturation":0.0,"brightness":0.0,"vignette":0.0,"photoFilterType":"ORIGINAL","bottomRight":{"x":1.0,"y":1.0},"topLeft":{"x":-6.178632484870436E-17,"y":0.0},"contrast":0.0,"topRight":{"x":1.0,"y":0.0}}},"industryId":"urn:li:industry:4","location":{"countryCode":"us","postalCode":"04768","userSelectedGeoPlaceCode":"5-2-0-2-29","standardizedLocationUrn":"urn:li:standardizedLocationKey:(us,04768)"},"id":"MpkAFJTlPY","lastModified":1524678302559,"headline":{"localized":{"en_US":"Social
53
+ Manager"},"preferredLocale":{"country":"US","language":"en"}}}},"pictureInfo":{"croppedImage":"urn:li:media:/gcrc/dms/image/C4E03AQEmhyl0HXzfGQ/profile-displayphoto-shrink_800_800/0?e=1532563200&v=beta&t=YgAaVHRcz-kCCjO0q4tLFqKCfagER0x4cba-AnuCFlY","masterImage":"urn:li:media:/gcrc/dms/image/C4E00AQFBxXq_zXDwiw/profile-originalphoto-shrink_900_1200/0?e=1527015600&v=beta&t=h4OmZxStzQ30Db1m1Qxe8h9Ll54_Z_eXZqYsBtfGia4","photoFilterEditInfo":{"bottomLeft":{"x":-6.178632484870436E-17,"y":1.0},"saturation":0.0,"brightness":0.0,"vignette":0.0,"photoFilterType":"ORIGINAL","bottomRight":{"x":1.0,"y":1.0},"topLeft":{"x":-6.178632484870436E-17,"y":0.0},"contrast":0.0,"topRight":{"x":1.0,"y":0.0}}},"firstName":{"localized":{"en_US":"Miguel"},"preferredLocale":{"country":"US","language":"en"}},"profilePicture":{"displayImage":"urn:li:digitalmediaAsset:C4E03AQEmhyl0HXzfGQ","created":1505332528742,"lastModified":1505332528742,"photoFilterEditInfo":{"bottomLeft":{"x":-6.178632484870436E-17,"y":1.0},"saturation":0.0,"brightness":0.0,"vignette":0.0,"photoFilterType":"ORIGINAL","bottomRight":{"x":1.0,"y":1.0},"topLeft":{"x":-6.178632484870436E-17,"y":0.0},"contrast":0.0,"topRight":{"x":1.0,"y":0.0}}},"industryId":"urn:li:industry:4","location":{"countryCode":"us","postalCode":"04768","userSelectedGeoPlaceCode":"5-2-0-2-29","standardizedLocationUrn":"urn:li:standardizedLocationKey:(us,04768)"},"id":"MpkAFJTlPY","lastModified":1524678302559,"headline":{"localized":{"en_US":"Social
54
54
  Media Specialist at Ceres Logic"},"preferredLocale":{"country":"US","language":"en"}},"localizedFirstName":"Miguel"}'
55
55
  http_version:
56
- recorded_at: Thu, 10 May 2018 16:18:18 GMT
57
- recorded_with: VCR 3.0.3
56
+ recorded_at: Mon, 21 May 2018 18:34:01 GMT
57
+ recorded_with: VCR 4.0.0
@@ -12,7 +12,7 @@ http_interactions:
12
12
  Authorization:
13
13
  - Bearer AQVM91zzF-bLiOfCsTi8ktxnq99l-tW9meri8F9ZEWAuHf5g1bO_Pa4p0nFwKvZ7VFdSERAnJZq3eNOq6BzDPFNIyGIy50s-7HkLq2hE5uy6HrAQrsMAQR_qZxnBrSD11g_M2sF5XB5fUHZOXEQFgFaXB0M19VUAsvsz3yg-7zMI7w9Zn_DYTLO1e2W9VEZrOgVmRNt1XBIT_pdQO7pQkKv4702yJTrIBOuhZWNLZRClPHd2RRhPf2SJeTkodbnL4xSvzcyEPpLaTPyZIVJnBcsAzYFiG_pJtyGs7x-iWbUZsYgnUVSy8Wg-5eqmvze5tuZdICIP0PJ0AVMNGOxRRiLOEh8MSg
14
14
  User-Agent:
15
- - Faraday v0.10.1
15
+ - Faraday v0.12.2
16
16
  Accept-Encoding:
17
17
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
18
18
  Accept:
@@ -37,18 +37,18 @@ http_interactions:
37
37
  Connection:
38
38
  - keep-alive
39
39
  X-Li-Pop:
40
- - prod-ech2
40
+ - prod-edc2
41
41
  X-Li-Proto:
42
42
  - http/1.1
43
43
  Set-Cookie:
44
- - lidc="b=VB96:g=1157:u=18:i=1525969098:t=1526048328:s=AQFsglQG0tHgtEQoYHSbKI59OEvH-kte"
44
+ - lidc="b=VB96:g=1172:u=20:i=1526927642:t=1527014039:s=AQHHr3k2NymZYYLggEBOGWkjd-EZukzd"
45
45
  X-Li-Route-Key:
46
- - '"b=VB96:g=1157:u=18:i=1525969098:t=1526048328:s=AQFsglQG0tHgtEQoYHSbKI59OEvH-kte"'
46
+ - '"b=VB96:g=1172:u=20:i=1526927642:t=1527014039:s=AQHHr3k2NymZYYLggEBOGWkjd-EZukzd"'
47
47
  X-Li-Uuid:
48
- - 4S1QWc9ULRWwFpbwcSsAAA==
48
+ - NUsjt5m8MBVQrG50SysAAA==
49
49
  body:
50
50
  encoding: UTF-8
51
51
  string: '{"message":"INTERNAL SERVER ERROR","status":500}'
52
52
  http_version:
53
- recorded_at: Thu, 10 May 2018 16:18:18 GMT
54
- recorded_with: VCR 3.0.3
53
+ recorded_at: Mon, 21 May 2018 18:34:02 GMT
54
+ recorded_with: VCR 4.0.0
@@ -12,7 +12,7 @@ http_interactions:
12
12
  Authorization:
13
13
  - Bearer AQVM91zzF-bLiOfCsTi8ktxnq99l-tW9meri8F9ZEWAuHf5g1bO_Pa4p0nFwKvZ7VFdSERAnJZq3eNOq6BzDPFNIyGIy50s-7HkLq2hE5uy6HrAQrsMAQR_qZxnBrSD11g_M2sF5XB5fUHZOXEQFgFaXB0M19VUAsvsz3yg-7zMI7w9Zn_DYTLO1e2W9VEZrOgVmRNt1XBIT_pdQO7pQkKv4702yJTrIBOuhZWNLZRClPHd2RRhPf2SJeTkodbnL4xSvzcyEPpLaTPyZIVJnBcsAzYFiG_pJtyGs7x-iWbUZsYgnUVSy8Wg-5eqmvze5tuZdICIP0PJ0AVMNGOxRRiLOEh8MSg
14
14
  User-Agent:
15
- - Faraday v0.10.1
15
+ - Faraday v0.12.2
16
16
  Accept-Encoding:
17
17
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
18
18
  Accept:
@@ -27,7 +27,7 @@ http_interactions:
27
27
  X-Restli-Protocol-Version:
28
28
  - 1.0.0
29
29
  Date:
30
- - Thu, 10 May 2018 16:18:15 GMT
30
+ - Mon, 21 May 2018 18:33:59 GMT
31
31
  X-Li-Fabric:
32
32
  - prod-lva1
33
33
  Transfer-Encoding:
@@ -35,23 +35,23 @@ http_interactions:
35
35
  Connection:
36
36
  - keep-alive
37
37
  X-Li-Pop:
38
- - prod-ech2
38
+ - prod-edc2
39
39
  X-Li-Proto:
40
40
  - http/1.1
41
41
  Set-Cookie:
42
- - lidc="b=VB96:g=1157:u=18:i=1525969095:t=1526048328:s=AQGktxst47rMEDHNlwIcK9zGWDunDoNN"
42
+ - lidc="b=VB96:g=1172:u=20:i=1526927639:t=1527014039:s=AQFF3tE_rEXlxNHLXP4mAUnpECGyTyuo"
43
43
  X-Li-Route-Key:
44
- - '"b=VB96:g=1157:u=18:i=1525969095:t=1526048328:s=AQGktxst47rMEDHNlwIcK9zGWDunDoNN"'
44
+ - '"b=VB96:g=1172:u=20:i=1526927639:t=1527014039:s=AQFF3tE_rEXlxNHLXP4mAUnpECGyTyuo"'
45
45
  X-Li-Uuid:
46
- - UlFmss5ULRUAAJRwXisAAA==
46
+ - M+8bBpm8MBVQMf3i1CoAAA==
47
47
  body:
48
48
  encoding: UTF-8
49
49
  string: '{"industryName":{"localized":{"en_US":"Public Relations"},"preferredLocale":{"country":"US","language":"en"}},"localizedLastName":"Santos
50
50
  del Nariz","lastName":{"localized":{"en_US":"Santos del Nariz"},"preferredLocale":{"country":"US","language":"en"}},"vanityName":"miguel-santos-del-nariz","positions":{"1231524997":{"startMonthYear":{"year":2014},"companyName":{"localized":{"en_US":"Ceres
51
51
  Logic"},"preferredLocale":{"country":"US","language":"en"}},"title":{"localized":{"en_US":"Social
52
52
  Media Specialist"},"preferredLocale":{"country":"US","language":"en"}}},"1069560016":{"startMonthYear":{"year":2009},"endMonthYear":{"year":2014},"companyName":{"localized":{"en_US":"Winletric"},"preferredLocale":{"country":"US","language":"en"}},"title":{"localized":{"en_US":"Warehouse
53
- Manager"},"preferredLocale":{"country":"US","language":"en"}}}},"pictureInfo":{"croppedImage":"urn:li:media:/gcrc/dms/image/C4E03AQEmhyl0HXzfGQ/profile-displayphoto-shrink_800_800/0?e=1531353600&v=beta&t=Bvfb2MAIeoVtSJZAjfnLYM1pxkyjOcD5_BTO9uyNG8I","masterImage":"urn:li:media:/gcrc/dms/image/C4E00AQFBxXq_zXDwiw/profile-originalphoto-shrink_900_1200/0?e=1526058000&v=beta&t=XHr0XI053AtrWMRpEIvvZaiEQHzc2H0I9ncI3S5Qvj0","created":1505332528742,"lastModified":1505332528742},"firstName":{"localized":{"en_US":"Miguel"},"preferredLocale":{"country":"US","language":"en"}},"profilePicture":{"displayImage":"urn:li:digitalmediaAsset:C4E03AQEmhyl0HXzfGQ","created":1505332528742,"lastModified":1505332528742,"originalImage":"urn:li:digitalmediaAsset:C4E04AQFBxXq_zXDwiw","photoFilterEditInfo":{"bottomLeft":{"x":-6.178632484870436E-17,"y":1.0},"saturation":0.0,"brightness":0.0,"vignette":0.0,"photoFilterType":"ORIGINAL","bottomRight":{"x":1.0,"y":1.0},"topLeft":{"x":-6.178632484870436E-17,"y":0.0},"contrast":0.0,"topRight":{"x":1.0,"y":0.0}}},"industryId":"urn:li:industry:4","location":{"countryCode":"us","postalCode":"04768","userSelectedGeoPlaceCode":"5-2-0-2-29","standardizedLocationUrn":"urn:li:standardizedLocationKey:(us,04768)"},"id":"MpkAFJTlPY","lastModified":1524678302559,"headline":{"localized":{"en_US":"Social
53
+ Manager"},"preferredLocale":{"country":"US","language":"en"}}}},"pictureInfo":{"croppedImage":"urn:li:media:/gcrc/dms/image/C4E03AQEmhyl0HXzfGQ/profile-displayphoto-shrink_800_800/0?e=1532563200&v=beta&t=YgAaVHRcz-kCCjO0q4tLFqKCfagER0x4cba-AnuCFlY","masterImage":"urn:li:media:/gcrc/dms/image/C4E00AQFBxXq_zXDwiw/profile-originalphoto-shrink_900_1200/0?e=1527015600&v=beta&t=h4OmZxStzQ30Db1m1Qxe8h9Ll54_Z_eXZqYsBtfGia4","created":1505332528742,"lastModified":1505332528742},"firstName":{"localized":{"en_US":"Miguel"},"preferredLocale":{"country":"US","language":"en"}},"profilePicture":{"displayImage":"urn:li:digitalmediaAsset:C4E03AQEmhyl0HXzfGQ","created":1505332528742,"lastModified":1505332528742,"originalImage":"urn:li:digitalmediaAsset:C4E04AQFBxXq_zXDwiw","photoFilterEditInfo":{"bottomLeft":{"x":-6.178632484870436E-17,"y":1.0},"saturation":0.0,"brightness":0.0,"vignette":0.0,"photoFilterType":"ORIGINAL","bottomRight":{"x":1.0,"y":1.0},"topLeft":{"x":-6.178632484870436E-17,"y":0.0},"contrast":0.0,"topRight":{"x":1.0,"y":0.0}}},"industryId":"urn:li:industry:4","location":{"countryCode":"us","postalCode":"04768","userSelectedGeoPlaceCode":"5-2-0-2-29","standardizedLocationUrn":"urn:li:standardizedLocationKey:(us,04768)"},"id":"MpkAFJTlPY","lastModified":1524678302559,"headline":{"localized":{"en_US":"Social
54
54
  Media Specialist at Ceres Logic"},"preferredLocale":{"country":"US","language":"en"}},"localizedFirstName":"Miguel"}'
55
55
  http_version:
56
- recorded_at: Thu, 10 May 2018 16:18:15 GMT
57
- recorded_with: VCR 3.0.3
56
+ recorded_at: Mon, 21 May 2018 18:33:59 GMT
57
+ recorded_with: VCR 4.0.0
@@ -12,7 +12,7 @@ http_interactions:
12
12
  Authorization:
13
13
  - Bearer AQVM91zzF-bLiOfCsTi8ktxnq99l-tW9meri8F9ZEWAuHf5g1bO_Pa4p0nFwKvZ7VFdSERAnJZq3eNOq6BzDPFNIyGIy50s-7HkLq2hE5uy6HrAQrsMAQR_qZxnBrSD11g_M2sF5XB5fUHZOXEQFgFaXB0M19VUAsvsz3yg-7zMI7w9Zn_DYTLO1e2W9VEZrOgVmRNt1XBIT_pdQO7pQkKv4702yJTrIBOuhZWNLZRClPHd2RRhPf2SJeTkodbnL4xSvzcyEPpLaTPyZIVJnBcsAzYFiG_pJtyGs7x-iWbUZsYgnUVSy8Wg-5eqmvze5tuZdICIP0PJ0AVMNGOxRRiLOEh8MSg
14
14
  User-Agent:
15
- - Faraday v0.10.1
15
+ - Faraday v0.12.2
16
16
  Accept-Encoding:
17
17
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
18
18
  Accept:
@@ -27,7 +27,7 @@ http_interactions:
27
27
  Content-Type:
28
28
  - application/json
29
29
  Date:
30
- - Thu, 10 May 2018 16:18:16 GMT
30
+ - Mon, 21 May 2018 18:33:59 GMT
31
31
  X-Li-Fabric:
32
32
  - prod-lva1
33
33
  Transfer-Encoding:
@@ -35,19 +35,19 @@ http_interactions:
35
35
  Connection:
36
36
  - keep-alive
37
37
  X-Li-Pop:
38
- - prod-ech2
38
+ - prod-edc2
39
39
  X-Li-Proto:
40
40
  - http/1.1
41
41
  Set-Cookie:
42
- - lidc="b=VB96:g=1157:u=18:i=1525969096:t=1526048328:s=AQGJ2igEcsUxnykQWJzDA4YvuXRIAaX6"
42
+ - lidc="b=VB96:g=1172:u=20:i=1526927639:t=1527014039:s=AQFF3tE_rEXlxNHLXP4mAUnpECGyTyuo"
43
43
  X-Li-Route-Key:
44
- - '"b=VB96:g=1157:u=18:i=1525969096:t=1526048328:s=AQGJ2igEcsUxnykQWJzDA4YvuXRIAaX6"'
44
+ - '"b=VB96:g=1172:u=20:i=1526927639:t=1527014039:s=AQFF3tE_rEXlxNHLXP4mAUnpECGyTyuo"'
45
45
  X-Li-Uuid:
46
- - 2I0K3c5ULRVgh83wPSsAAA==
46
+ - EhBZKpm8MBWAHOVjdSsAAA==
47
47
  body:
48
48
  encoding: UTF-8
49
49
  string: '{"serviceErrorCode":100,"message":"Unpermitted fields present in PARAMETER:
50
50
  Data Processing Exception while processing fields [/secure]","status":403}'
51
51
  http_version:
52
- recorded_at: Thu, 10 May 2018 16:18:16 GMT
53
- recorded_with: VCR 3.0.3
52
+ recorded_at: Mon, 21 May 2018 18:33:59 GMT
53
+ recorded_with: VCR 4.0.0
@@ -12,7 +12,7 @@ http_interactions:
12
12
  Authorization:
13
13
  - Bearer AQVM91zzF-bLiOfCsTi8ktxnq99l-tW9meri8F9ZEWAuHf5g1bO_Pa4p0nFwKvZ7VFdSERAnJZq3eNOq6BzDPFNIyGIy50s-7HkLq2hE5uy6HrAQrsMAQR_qZxnBrSD11g_M2sF5XB5fUHZOXEQFgFaXB0M19VUAsvsz3yg-7zMI7w9Zn_DYTLO1e2W9VEZrOgVmRNt1XBIT_pdQO7pQkKv4702yJTrIBOuhZWNLZRClPHd2RRhPf2SJeTkodbnL4xSvzcyEPpLaTPyZIVJnBcsAzYFiG_pJtyGs7x-iWbUZsYgnUVSy8Wg-5eqmvze5tuZdICIP0PJ0AVMNGOxRRiLOEh8MSg
14
14
  User-Agent:
15
- - Faraday v0.10.1
15
+ - Faraday v0.12.2
16
16
  Accept-Encoding:
17
17
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
18
18
  Accept:
@@ -27,7 +27,7 @@ http_interactions:
27
27
  Content-Type:
28
28
  - application/json
29
29
  Date:
30
- - Thu, 10 May 2018 16:18:24 GMT
30
+ - Mon, 21 May 2018 18:34:08 GMT
31
31
  X-Li-Fabric:
32
32
  - prod-lva1
33
33
  Transfer-Encoding:
@@ -35,18 +35,18 @@ http_interactions:
35
35
  Connection:
36
36
  - keep-alive
37
37
  X-Li-Pop:
38
- - prod-ech2
38
+ - prod-edc2
39
39
  X-Li-Proto:
40
40
  - http/1.1
41
41
  Set-Cookie:
42
- - lidc="b=VB96:g=1157:u=18:i=1525969104:t=1526048328:s=AQFkaMzpKX9Tmcm_kKen6K69DPm7HLwJ"
42
+ - lidc="b=VB96:g=1172:u=20:i=1526927648:t=1527014039:s=AQFJz1E6LhBREEpyVTwL3BUCK1v6VMsD"
43
43
  X-Li-Route-Key:
44
- - '"b=VB96:g=1157:u=18:i=1525969104:t=1526048328:s=AQFkaMzpKX9Tmcm_kKen6K69DPm7HLwJ"'
44
+ - '"b=VB96:g=1172:u=20:i=1526927648:t=1527014039:s=AQFJz1E6LhBREEpyVTwL3BUCK1v6VMsD"'
45
45
  X-Li-Uuid:
46
- - Yfh8vNBULRWwih4+XSsAAA==
46
+ - WI5lF5u8MBWggUJ7disAAA==
47
47
  body:
48
48
  encoding: UTF-8
49
49
  string: '{"serviceErrorCode":0,"message":"Resource me does not exist","status":404}'
50
50
  http_version:
51
- recorded_at: Thu, 10 May 2018 16:18:24 GMT
52
- recorded_with: VCR 3.0.3
51
+ recorded_at: Mon, 21 May 2018 18:34:08 GMT
52
+ recorded_with: VCR 4.0.0
@@ -8,7 +8,7 @@ http_interactions:
8
8
  string: client_id=dummy_client_id&client_secret=dummy_client_secret&code=dummy_code&grant_type=authorization_code&raise_errors=true&redirect_uri=http%3A%2F%2Flvh.me%3A5000
9
9
  headers:
10
10
  User-Agent:
11
- - Faraday v0.10.1
11
+ - Faraday v0.12.2
12
12
  Content-Type:
13
13
  - application/x-www-form-urlencoded
14
14
  Accept-Encoding:
@@ -31,11 +31,11 @@ http_interactions:
31
31
  Content-Language:
32
32
  - en-US
33
33
  Content-Length:
34
- - '249'
34
+ - '250'
35
35
  Date:
36
- - Thu, 10 May 2018 16:18:30 GMT
36
+ - Mon, 21 May 2018 18:34:12 GMT
37
37
  X-Fs-Uuid:
38
- - 448e3869d2542d1570bbcd263d2b0000
38
+ - 70f4ba4e9cbc301530a927905a2b0000
39
39
  Strict-Transport-Security:
40
40
  - max-age=2592000
41
41
  X-Content-Type-Options:
@@ -55,23 +55,23 @@ http_interactions:
55
55
  - prod-lva1
56
56
  Set-Cookie:
57
57
  - _lipt=deleteMe; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/
58
- - bcookie="v=2&57127e54-ab18-4107-8b9f-3298be428fd4"; domain=.linkedin.com;
59
- Path=/; Expires=Sun, 10-May-2020 03:56:03 GMT
60
- - bscookie="v=1&20180510161831d455cf9a-2517-49f7-8e87-e574f25eb077AQE1eL_BMaUnMptBf-TMOKYQ7rYnVA8D";
61
- domain=.www.linkedin.com; Path=/; Secure; Expires=Sun, 10-May-2020 03:56:03
58
+ - bcookie="v=2&53734286-2ff6-4775-8815-fb329908620f"; domain=.linkedin.com;
59
+ Path=/; Expires=Thu, 21-May-2020 06:11:45 GMT
60
+ - bscookie="v=1&201805211834135fe5a5cf-44d0-4436-8f0a-c872fcd931dcAQGDUaCE6UL5S3Rii7Hpf080T2rndw2V";
61
+ domain=.www.linkedin.com; Path=/; Secure; Expires=Thu, 21-May-2020 06:11:45
62
62
  GMT; HttpOnly
63
63
  - lang="v=2&lang=en-us"; Version=1; Domain=linkedin.com; Path=/
64
- - leo_auth_token="GST:UTUKHc_xEF4m8KzLLa9g6EegZCiwiClfaRfoEY_TYb4mMakLSTcFCk:1525969111:d924d4fd17dbfad1c5597f48a383653b8fd28710";
65
- Version=1; Max-Age=1799; Expires=Thu, 10-May-2018 16:48:30 GMT; Path=/
66
- - lidc="b=VB47:g=1394:u=1:i=1525969111:t=1526055511:s=AQGvFYAKwRpI24fOOZpv7J2WLQX7Dl5U";
67
- Expires=Fri, 11 May 2018 16:18:31 GMT; domain=.linkedin.com; Path=/
64
+ - leo_auth_token="GST:ZBKfsZrol-x9QKXHTYkddKM6Nuoe6ZMrcIkduMMlrtNRkRFbRQfQSF:1526927653:0814bcf68c5f7c1fee95187ee3d6278a384a0c5f";
65
+ Version=1; Max-Age=1799; Expires=Mon, 21-May-2018 19:04:12 GMT; Path=/
66
+ - lidc="b=VB13:g=1687:u=1:i=1526927653:t=1527014053:s=AQF5cIoIh2QDyMB69542xhzXMDBRDl3Q";
67
+ Expires=Tue, 22 May 2018 18:34:13 GMT; domain=.linkedin.com; Path=/
68
68
  - s_leo_auth_token="delete me"; Version=1; Max-Age=0; Expires=Thu, 01-Jan-1970
69
69
  00:00:10 GMT; Path=/
70
70
  - sl="delete me"; Version=1; Domain=.www.linkedin.com; Max-Age=0; Expires=Thu,
71
71
  01-Jan-1970 00:00:10 GMT; Path=/
72
72
  - sl="delete me"; Version=1; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT;
73
73
  Path=/
74
- - visit="v=1&G"; Version=1; Max-Age=63072000; Expires=Sat, 09-May-2020 16:18:31
74
+ - visit="v=1&G"; Version=1; Max-Age=63072000; Expires=Wed, 20-May-2020 18:34:13
75
75
  GMT; Path=/
76
76
  X-Li-Proto:
77
77
  - http/1.1
@@ -85,15 +85,15 @@ http_interactions:
85
85
  Connection:
86
86
  - keep-alive
87
87
  X-Li-Pop:
88
- - prod-ech2
88
+ - prod-edc2
89
89
  X-Li-Uuid:
90
- - CA+XY9JULRWQOm7NPSsAAA==
90
+ - Qq0pTpy8MBUA9OfbWSsAAA==
91
91
  body:
92
92
  encoding: ASCII-8BIT
93
93
  string: '{"error_description":"the authorization server is currently unable
94
- to handle the request : RestException{_response=RestResponse[headers={Content-Length=9511,
95
- Content-Type=application/json, X-RestLi-Error-Response=true, X-RestLi-Protocol-Version=2.0.0}cookies=[],status=404,entityLength=9511]}
94
+ to handle the request : RestException{_response=RestResponse[headers={Content-Length=10592,
95
+ Content-Type=application/json, X-RestLi-Error-Response=true, X-RestLi-Protocol-Version=2.0.0}cookies=[],status=404,entityLength=10592]}
96
96
  ","error":"temporarily_unavailable"}'
97
97
  http_version:
98
- recorded_at: Thu, 10 May 2018 16:18:31 GMT
99
- recorded_with: VCR 3.0.3
98
+ recorded_at: Mon, 21 May 2018 18:34:13 GMT
99
+ recorded_with: VCR 4.0.0
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: linkedin-v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Desjardins
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-05-10 00:00:00.000000000 Z
11
+ date: 2021-01-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: oauth2
@@ -44,26 +44,26 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '0.11'
47
+ version: '1.0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '0.11'
54
+ version: '1.0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: mime-types
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - "~>"
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
61
  version: '1.16'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - "~>"
66
+ - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '1.16'
69
69
  - !ruby/object:Gem::Dependency
@@ -196,7 +196,6 @@ files:
196
196
  - lib/linked_in/version.rb
197
197
  - lib/linkedin-v2.rb
198
198
  - linkedin-v2.gemspec
199
- - pkg/linkedin-oauth2-2.0.0.gem
200
199
  - spec/linked_in/api/api_spec.rb
201
200
  - spec/linked_in/api/communications_spec.rb
202
201
  - spec/linked_in/api/jobs_spec.rb
@@ -240,7 +239,7 @@ homepage: http://github.com/mdesjardins/linkedin-v2
240
239
  licenses:
241
240
  - MIT
242
241
  metadata: {}
243
- post_install_message:
242
+ post_install_message:
244
243
  rdoc_options: []
245
244
  require_paths:
246
245
  - lib
@@ -255,9 +254,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
255
254
  - !ruby/object:Gem::Version
256
255
  version: '0'
257
256
  requirements: []
258
- rubyforge_project:
259
- rubygems_version: 2.6.10
260
- signing_key:
257
+ rubygems_version: 3.1.2
258
+ signing_key:
261
259
  specification_version: 4
262
260
  summary: Ruby wrapper for the LinkedIn v2 API
263
261
  test_files: