linkedin 0.4.6 → 0.4.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (61) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +0 -1
  3. data/.yardopts +7 -0
  4. data/{changelog.markdown → CHANGELOG.md} +5 -1
  5. data/EXAMPLES.md +199 -0
  6. data/Gemfile +4 -0
  7. data/README.md +43 -0
  8. data/Rakefile +2 -7
  9. data/lib/linked_in/api.rb +34 -2
  10. data/lib/linked_in/api/communications.rb +44 -0
  11. data/lib/linked_in/api/companies.rb +128 -0
  12. data/lib/linked_in/api/groups.rb +115 -0
  13. data/lib/linked_in/api/jobs.rb +64 -0
  14. data/lib/linked_in/api/people.rb +72 -0
  15. data/lib/linked_in/api/query_helpers.rb +86 -0
  16. data/lib/linked_in/api/share_and_social_stream.rb +133 -0
  17. data/lib/linked_in/client.rb +7 -2
  18. data/lib/linked_in/errors.rb +12 -2
  19. data/lib/linked_in/mash.rb +31 -4
  20. data/lib/linked_in/search.rb +16 -1
  21. data/lib/linked_in/version.rb +1 -1
  22. data/lib/linkedin.rb +4 -1
  23. data/linkedin.gemspec +5 -3
  24. data/spec/cases/api_spec.rb +15 -5
  25. data/spec/cases/mash_spec.rb +30 -2
  26. data/spec/cases/oauth_spec.rb +5 -6
  27. data/spec/cases/search_spec.rb +53 -23
  28. data/spec/fixtures/cassette_library/LinkedIn_Api/Company_API.yml +3 -3
  29. data/spec/fixtures/cassette_library/LinkedIn_Api/Company_API/should_load_correct_company_data.yml +81 -0
  30. data/spec/fixtures/cassette_library/LinkedIn_Client/{_authorize_from_request.yml → _authorize_from_request/should_return_a_valid_access_token.yml} +0 -0
  31. data/spec/fixtures/cassette_library/LinkedIn_Client/_request_token/{with_a_callback_url.yml → with_a_callback_url/should_return_a_valid_access_token.yml} +0 -0
  32. data/spec/fixtures/cassette_library/LinkedIn_Client/_request_token/{with_default_options.yml → with_default_options/should_return_a_valid_request_token.yml} +0 -0
  33. data/spec/fixtures/cassette_library/LinkedIn_Search/_search/{by_company_name_option.yml → by_company_name_option/should_perform_a_search.yml} +8 -9
  34. data/spec/fixtures/cassette_library/LinkedIn_Search/_search/by_email_address/should_perform_a_people_search.yml +57 -0
  35. data/spec/fixtures/cassette_library/LinkedIn_Search/_search/{by_first_name_and_last_name_options.yml → by_first_name_and_last_name_options/should_perform_a_search.yml} +15 -15
  36. data/spec/fixtures/cassette_library/LinkedIn_Search/_search/by_first_name_and_last_name_options_with_fields/should_perform_a_search.yml +114 -0
  37. data/spec/fixtures/cassette_library/LinkedIn_Search/_search/{by_keywords_string_parameter.yml → by_keywords_string_parameter/should_perform_a_search.yml} +8 -9
  38. data/spec/fixtures/cassette_library/LinkedIn_Search/_search/by_multiple_email_address/should_perform_a_multi-email_search.yml +59 -0
  39. data/spec/fixtures/cassette_library/LinkedIn_Search/_search/{by_single_keywords_option.yml → by_single_keywords_option/should_perform_a_search.yml} +8 -9
  40. data/spec/fixtures/cassette_library/LinkedIn_Search/_search/{by_single_keywords_option_with_pagination.yml → by_single_keywords_option_with_pagination/should_perform_a_search.yml} +1 -3
  41. data/spec/fixtures/cassette_library/LinkedIn_Search/_search/email_search_returns_unauthorized/should_raise_an_unauthorized_error.yml +59 -0
  42. data/spec/fixtures/cassette_library/LinkedIn_Search/_search_company/by_keywords_options_with_fields/should_perform_a_search.yml +43 -0
  43. data/spec/fixtures/cassette_library/LinkedIn_Search/_search_company/{by_keywords_string_parameter.yml → by_keywords_string_parameter/should_perform_a_company_search.yml} +19 -19
  44. data/spec/fixtures/cassette_library/LinkedIn_Search/_search_company/{by_single_keywords_option.yml → by_single_keywords_option/should_perform_a_company_search.yml} +19 -19
  45. data/spec/fixtures/cassette_library/LinkedIn_Search/_search_company/{by_single_keywords_option_with_facets_to_return.yml → by_single_keywords_option_with_facets_to_return/should_return_a_facet.yml} +14 -14
  46. data/spec/fixtures/cassette_library/LinkedIn_Search/_search_company/{by_single_keywords_option_with_pagination.yml → by_single_keywords_option_with_pagination/should_perform_a_search.yml} +15 -15
  47. data/spec/helper.rb +9 -5
  48. metadata +76 -61
  49. data/.document +0 -5
  50. data/README.markdown +0 -84
  51. data/examples/authenticate.rb +0 -26
  52. data/examples/communication.rb +0 -7
  53. data/examples/network.rb +0 -12
  54. data/examples/profile.rb +0 -18
  55. data/examples/sinatra.rb +0 -77
  56. data/examples/status.rb +0 -6
  57. data/lib/linked_in/api/query_methods.rb +0 -176
  58. data/lib/linked_in/api/update_methods.rb +0 -85
  59. data/spec/fixtures/cassette_library/LinkedIn_Client/_request_token.yml +0 -37
  60. data/spec/fixtures/cassette_library/LinkedIn_Search/_search/by_first_name_and_last_name_options_with_fields.yml +0 -112
  61. data/spec/fixtures/cassette_library/LinkedIn_Search/_search_company/by_keywords_options_with_fields.yml +0 -232
@@ -37,9 +37,7 @@ http_interactions:
37
37
  - chunked
38
38
  body:
39
39
  encoding: UTF-8
40
- string: ! "{\n \"numResults\": 6,\n \"people\": {\n \"_count\": 1,\n \"_start\":
41
- 5,\n \"_total\": 6,\n \"values\": [{\n \"firstName\": \"Satish\",\n
42
- \ \"id\": \"V1FPuGot-I\",\n \"lastName\": \"Talim\"\n }]\n }\n}"
40
+ string: ! "{\n \"numResults\": 6,\n \"people\": {\n \"_count\": 1,\n \"_start\":5,\n \"_total\": 6,\n \"values\": [{\n \"firstName\": \"Satish\",\n\"id\": \"V1FPuGot-I\",\n \"lastName\": \"Talim\"\n }]\n }\n}"
43
41
  http_version: '1.1'
44
42
  recorded_at: Tue, 04 Jun 2013 03:42:37 GMT
45
43
  recorded_with: VCR 2.5.0
@@ -0,0 +1,59 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.linkedin.com/v1/people::(email=aa@bb.com):(id)
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ X-Li-Format:
11
+ - json
12
+ Accept-Encoding:
13
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
14
+ Accept:
15
+ - '*/*'
16
+ User-Agent:
17
+ - OAuth gem v0.4.7
18
+ Authorization:
19
+ - OAuth oauth_consumer_key="key", oauth_nonce="Ny9c0n0y0Eg7cnVjVbUlDPeQap8qjzhdPNY3sAi5K8",
20
+ oauth_signature="vd%2Fd5TC906HXqp50%2BRUT3ZeHC2E%3D", oauth_signature_method="HMAC-SHA1",
21
+ oauth_timestamp="1389716461", oauth_token="key", oauth_version="1.0"
22
+ response:
23
+ status:
24
+ code: 401
25
+ message: Unauthorized
26
+ headers:
27
+ Server:
28
+ - Apache-Coyote/1.1
29
+ X-Li-Request-Id:
30
+ - X1OTF3POH3
31
+ Date:
32
+ - Tue, 14 Jan 2014 16:20:58 GMT
33
+ Vary:
34
+ - '*'
35
+ X-Li-Format:
36
+ - json
37
+ Content-Type:
38
+ - application/json;charset=UTF-8
39
+ X-Li-Fabric:
40
+ - PROD-ELA4
41
+ Transfer-Encoding:
42
+ - chunked
43
+ Connection:
44
+ - keep-alive
45
+ X-Li-Pop:
46
+ - PROD-ELA4
47
+ X-Li-Uuid:
48
+ - iD/VocFDSROQ7fHxASsAAA==
49
+ Set-Cookie:
50
+ - lidc="b=LB37:g=42:u=1:i=1389716458:t=1389717058:s=1572779068"; Expires=Tue,
51
+ 14 Jan 2014 16:30:58 GMT; domain=.linkedin.com; Path=/
52
+ body:
53
+ encoding: UTF-8
54
+ string: ! "{\"errorCode\": 0,\"message\": \"Access to member by email address denied\",
55
+ \"requestId\": \"BRSUSQTPPW\",
56
+ \"status\": 403,
57
+ \"timestamp\": 1389727130475}"
58
+ http_version:
59
+ recorded_at: Tue, 14 Jan 2014 16:21:01 GMT
@@ -0,0 +1,43 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.linkedin.com/v1/company-search:(companies:(id,name,industries,description,specialties),num-results)?keywords=apple
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ X-Li-Format:
11
+ - json
12
+ Authorization:
13
+ - OAuth oauth_consumer_key="mpibxdpwbwry", oauth_nonce="XIAUlVH3VfeqacvVEQzCvdLSyy9swruF3mouF9mtc",
14
+ oauth_signature="ggZObnJ1w5zMIBixfluGoUYZVSg%3D", oauth_signature_method="HMAC-SHA1",
15
+ oauth_timestamp="1365631654", oauth_token="d9f69cd6-f3f3-4c26-9f2c-12cd8e228089",
16
+ oauth_version="1.0"
17
+ User-Agent:
18
+ - OAuth gem v0.4.7
19
+ response:
20
+ status:
21
+ code: 200
22
+ message: OK
23
+ headers:
24
+ X-Li-Request-Id:
25
+ - 68RH2HSO61
26
+ X-Li-Format:
27
+ - json
28
+ Date:
29
+ - Wed, 10 Apr 2013 22:07:35 GMT
30
+ Vary:
31
+ - ! '*'
32
+ Server:
33
+ - Apache-Coyote/1.1
34
+ Content-Type:
35
+ - application/json;charset=UTF-8
36
+ Transfer-Encoding:
37
+ - chunked
38
+ body:
39
+ encoding: UTF-8
40
+ string: ! "{ \"companies\": { \"_count\": 10, \"_start\": 0, \"_total\": 8450, \"values\": [ { \"description\": \"Apple designs Macs, the best personal computers in the world, along with OS X, iLife, iWork and professional software. Apple leads the digital music revolution with its iPods and iTunes online store. Apple has reinvented the mobile phone with its revolutionary iPhone and App Store, and is defining the future of mobile media and computing devices with iPad.\", \"id\": 162479, \"industries\": { \"_total\": 1, \"values\": [{ \"code\": \"24\", \"name\": \"Consumer Electronics\" }] }, \"name\": \"Apple\", \"specialties\":{ \"_total\": 4, \"values\": [ \"Innovative product development\", \"world class operations\", \"Retail\", \"Telephone Support\" ] } }, { \"description\": \"Experience the Difference. \\r\\nFor over 40 years, Apple Vacations has provided the most value in vacations to millions of people. Throughout the years, we\\u2019ve provided what you want in a vacation \\u2013 great service, convenience, and value. We understand just how important your vacation is. We know because, like you, vacations are important to us too. \\r\\n \\r\\nApple Vacations is a company of energetic, hardworking employees with the same entrepreneurial attitudes as our founders. Headquartered just outside Philadelphia with regional offices in Chicago and Boston, the company is completely focused on providing quality vacations for our customers. Employees are empowered to make decisions that impact the quality of their customers\\u2019 vacations on a daily basis. Since our humble beginnings, Apple Vacations has created the ultimate \\u201cbeginning-to-end\\u201d vacation experience for customers. Apple Vacations employees will greet you at your departure airport in more than 20 cities; and will meet your flight in our charter destinations. Apple Vacations\\u2019 sister companies, flies customers to their destinations from more than 20 U.S. cities; and Amstar, is the destination management company in-resort with uniformed representatives, who will greet you upon arrival and assist you while you are at your resort. Unlike any other travel company, Apple Vacations truly provides the ultimate in a quality vacation experience.\", \"id\": 19271, \"industries\": { \"_total\": 1, \"values\": [{ \"code\": \"30\", \"name\": \"Leisure & Travel\" }] }, \"name\": \"Apple Vacations\", \"specialties\": { \"_total\": 2, \"values\": [ \"Leisure travel\", \"all inclusive vacation packages\" ] } }, { \"description\": \"Big Apple International Realty has been listing, selling and managing Residential Real Estate in four counties of the Greater Orlando and Central Florida areas for over five years. Because our Property Management Division had grown substantially, and to fill the growing need for property management services in Central Florida, we founded Orlando Rental Store in 2008. In addition to providing \\\"Lease Only\\\" services at competitive prices, we currently manage close to 50 properties in the Greater Orlando Area.\", \"id\": 778626, \"industries\":{ \"_total\": 1, \"values\": [{ \"code\": \"44\", \"name\": \"Real Estate\" }] }, \"name\": \"Big Apple Holdings, Inc. dba Big Apple International Realty\" }, { \"description\": \"Apple & Associates is an executive search firm that specializes in the Pharmaceutical, Medical Device and Consumer Product Industries. We provide extensive coverage of these worldwide markets and have forged a solid reputation in the industry as a competent, aggressive, and resource-rich recruiting firm. We are a nation-wide company with offices through-out the United States. \\r\\n\\r\\nApple & Associates belongs to Intercity Personnel Associates (IPA) and the Top Echelon Network. Through these worldwide recruiting networks, we share confidentially coded information about available positions and receive qualified candidates within a short period of time. With one phone call you not only have rapid access to our candidates, but also to qualified candidates from over 1,000 of the nation\\u2019s other top recruiting firms. Because our executive recruiters specialize in different industry segments, we can give you the service you deserve in a fast, focused, and efficient manner and provide you with quality industry specific candidates. \\r\\n\\r\\nWe realize the importance of hiring professionals who understand and are able to assimilate with your company\\u2019s business model, culture, process, equipment, and materials. Our team has studied the hiring decisions that make the firms in the Pharmaceutical and Medical Device industries so successful. Our candidates will meet the standard your company demands, with the technical and industry background to match.\", \"id\": 112136, \"industries\": { \"_total\": 1, \"values\": [{ \"code\": \"104\", \"name\": \"Staffing & Recruiting\" }] }, \"name\": \"Apple & Associates\", \"specialties\":{ \"_total\": 20, \"values\": [ \"Medical Device\", \"Pharmaceutical\", \"Power\", \"Energy\", \"Consumer Products\", \"Supply Chain\", \"Purchasing\", \"Engineering\", \"Marketing\", \"Sales\", \"Human Resources\", \"Science\", \"Finance\", \"Manufacturing\", \"Operations\", \"R&D\", \"Six Sigma\", \"IT\", \"chemist\", \"Executive Management\" ] } }, { \"description\": \"Headquartered in Singapore and a presence in 9 countries globally, Stone Apple is a Specialized Consulting firm focused mainly on Business Intelligence & Analytics, Enterprise Resource Planning, Knowledge Management & Application Integration with a strong product portfolio, analytical applications, Proprietary Industry Solutions and strong services capability \\r\\n\\r\\nStone Apple has a strong offshore presence in SE Asia with development centers in Vietnam and Malaysia. The Company has a strong presence and networks in Asia Pacific, Europe and United States to support their rapidly growing MNC enterprise customer base \\r\\n\\r\\nStone Apple provides customized solutions to meet the changing needs of enterprises globally. From leading industry methodologies to in-house proven models, Stone Apple collaborates with their customers to deliver tangible business results that impact their bottom line.\", \"id\": 772044, \"industries\": { \"_total\": 1, \"values\": [{ \"code\": \"96\", \"name\": \"Information Technology & Services\" }] }, \"name\": \"Stone Apple Solutions\" }, { \"description\": \"iSquare S.A. is the Apple Authorised Distributor of Greece and Cyprus since September 2010. iSquare is distributing Apple products but also plans, implements and provides intergrated solutions, based on the innovative Apple products and technology. iSquare's strategic goal is to increase the use of Apple products among the Greek consumers, but also to provide users the ultimate Apple experience.\\r\\n\\r\\niSquare creates and provides a complete ecosystem for Apple products and services, aiming to bring Greek customers closer to Apple's philosophy. In order to do that, iSquare:\\r\\n\\r\\n- Creates a wide network of POS (Points Of Sales) that spreads throughout Greece and Cyprus\\r\\n\\r\\n- Develops its relations with major retail chains in order to promote Apple products to a wide range of customers\\r\\n\\r\\n- Creates a unique network of stores exclusively for Apple products, always in line with the high standards of \\r\\n Apple Premium Reseller program\\r\\n\\r\\n- Invests on continuous and in depth training of the sales network in order to provide the best before and after sale \\r\\n support, according to Apple's and iSquare's high standards\\r\\n\\r\\n- Focuses on the crucial sector of Education\\r\\n\\r\\n- Constantly works to improve the support of Apple products and solutions\\r\\n\\r\\n- Completes Apple's ecosystem as the distributor of software and peripherals from well known brands.\\r\\n\\r\\n\\r\\nWith a vision that derives from Apple's innovation, iSquare aspires to bring the Apple products at the stature they deserve within the Greek and Cypriot market.\", \"id\": 2135525, \"industries\":{ \"_total\": 1, \"values\": [{ \"code\": \"24\", \"name\": \"Consumer Electronics\" }] }, \"name\": \"iSquare - Apple Authorized Distributor in Greece & Cyprus\" }, { \"description\": \"Filex (Moj Apple DuÄ\u0087an i Servis) je autorizirani Apple partner za prodaju, servis i podrÅ¡ku.\\r\\n\\r\\nFilex je osnovan 1992 godine te od tada u kontinuitetu razvijamo i unapreÄ\u0091ujemo prepoznatljivost Apple tehnologija prezentirajuÄ\u0087i upotrebnu vrijednost Apple rjeÅ¡enja, na domaÄ\u0087em i regionalnom tržiÅ¡tu.\\r\\n\\r\\nNaÅ¡ fokus nije iskljuÄ\u008Divo na tehnologijama veÄ\u0087 kako te tehnologije podrediti potrebama korisnika. Sukladno tome, Filex nije samo joÅ¡ jedna u nizu trgovina u koju Ä\u0087ete doÄ\u0087i \\\"pokupiti\\\" svoj Apple ureÄ\u0091aj, veÄ\u0087 mjesto na kojem Ä\u0087ete postavljati pitanja, razgovarati i diskutirati te na kraju izaÄ\u0087i sa rjeÅ¡enjem - ma kako god ono na kraju izgledalo!\\r\\n\\r\\nKontaktirajte nas preko naÅ¡eg Internet Store-a (www.filex.hr), ili nam piÅ¡ite na prodaja@filx.hr ili servis@filex.hr.\\r\\nI svakako nam se pridružite na Facebook-u na http://www.facebook.com/pages/Filex-Moj-Apple-DuÄ\u0087an-i-Servis/131194173598671\\r\\n\\r\\nVaÅ¡e zadovoljstvo naÅ¡a je misija!\", \"id\": 2303504, \"industries\":{ \"_total\": 1, \"values\": [{ \"code\": \"3\", \"name\": \"Computer Hardware\" }] }, \"name\": \"Filex Apple Store & Support\", \"specialties\":{ \"_total\": 4, \"values\": [ \"Apple Store\", \"Apple PodrÅ¡ka i Servis\", \"Apple RjeÅ¡enja\", \"Apple B2B\" ] } }, { \"description\": \"Als Apple een nieuwssite zou maken in Vlaanderen, dan was het AppleVlaanderen. AppleVlaanderen is gemaakt met dezelfde passie en aandacht voor detail als de producten van Apple zelf.\\r\\n\\r\\nWe behandelen de nieuwsfeiten over Apple met zorg en proberen u zo goed mogelijk in te lichten als Apple-Fan in Vlaanderen. Dagelijks circuleren er duizenden geruchten over Apple in het algemeen, onze taak is deze te bundelen en u mee te delen.\\r\\n\\r\\nDit doen we met veel liefde voor de verschillende producten en voor Apple in het algemeen. Onze medewerkers werken allemaal op vrijwillige basis en hebben voldoende kennis over de producten van Apple.\", \"id\": 2419290, \"industries\": { \"_total\": 1, \"values\": [{ \"code\": \"81\", \"name\": \"Newspapers\" }] }, \"name\": \"Apple Nieuws Vlaanderen\", \"specialties\": { \"_total\": 4, \"values\": [ \"apple\", \"iPhone\", \"iPad\", \"mac\" ] } }, { \"description\": \"OGGO est une société de conseils et solutions Apple Macintosh basée à Genève, nous proposons notre savoir faire essentiellement aux PME et particuliers.\\r\\n\\r\\nNos services en un coup d'oeil :\\r\\n\\r\\n// Réparations\\r\\n// Optimisations matérielles\\r\\n// Contrats de maintenance\\r\\n// Dépannage sur site\\r\\n// Interventions urgentes\\r\\n// Maintenance\\r\\n// Aide à l'achat\\r\\n// Formations\", \"id\": 2260437, \"industries\": { \"_total\": 1, \"values\": [{ \"code\": \"96\", \"name\": \"Information Technology & Services\" }] }, \"name\": \"OGGO - Services Apple Macintosh\", \"specialties\": { \"_total\": 7, \"values\": [ \"Consulting & conseils Apple Macintosh\", \"Support Apple Macintosh\", \"Maintenance Mac OS X Server\", \"Dépannage Mac OS X\", \"Installation Mac OS X Server\", \"Interventions Apple Macintosh\", \"Formation Apple Macintosh\" ] } }, { \"description\": \"Apple-Crumble provides sound advice, sales and support for all apple mac products and related peripherals including external hard drives, printers, scanners and both apple and 3rd party software. Apple-Crumble are also experts in troubleshooting, repair and maintenance. Our staff are apple trained and certified with over 15 years experience.\\r\\n\\r\\nAll work is guaranteed and all enquiries are welcome.\\r\\n\\r\\nWe are obviously very \\u2018pro\\u2019 apple and firmly believe that once you go mac you never go back!\\r\\n\\r\\nFor your convenience Apple-Crumble have our own workshop and offices with free parking in Penzance, Cornwall so that you have the extra peace of mind knowing that your equipment is being serviced in a clean and safe environment. You may also view, demo and purchase new hardware or add-ons, as well as discussing tailor-made options for you and/or your business.\\r\\n\\r\\nApple-Crumble\\u2019s service extends to on-site visits for emergency or contract call-outs, as well as delivery and installation of new products and systems. We cover Penzance, Falmouth, Helston and the Lizard, St Ives, Hayle, Truro, Camborne, Redruth, and all surrounding areas including north Cornwall and Devon\\r\\n\\r\\nIn most cases it is safer and more cost effective to bring your hardware to us as we are geared up for any static or time delay issues, but it is very rare that we cannot provide a solution, wherever you may be!\", \"id\": 1049054, \"industries\": { \"_total\": 1, \"values\": [{ \"code\": \"3\", \"name\": \"Computer Hardware\" }] }, \"name\": \"Apple Crumble\" } ] }, \"numResults\": 8450}"
41
+ http_version: '1.1'
42
+ recorded_at: Tue, 04 Jun 2013 03:42:37 GMT
43
+ recorded_with: VCR 2.5.0
@@ -38,40 +38,40 @@ http_interactions:
38
38
  body:
39
39
  encoding: UTF-8
40
40
  string: ! "{\n \"companies\": {\n \"_count\": 10,\n \"_start\": 0,\n
41
- \ \"_total\": 8450,\n \"values\": [\n {\n \"id\": 162479,\n
42
- \ \"name\": \"Apple\"\n },\n {\n \"id\": 19271,\n \"name\":
41
+ \"_total\": 8450,\n \"values\": [\n {\n \"id\": 162479,\n
42
+ \"name\": \"Apple\"\n },\n {\n \"id\": 19271,\n \"name\":
43
43
  \"Apple Vacations\"\n },\n {\n \"id\": 778626,\n \"name\":
44
44
  \"Big Apple Holdings, Inc. dba Big Apple International Realty\"\n },\n
45
- \ {\n \"id\": 112136,\n \"name\": \"Apple & Associates\"\n
46
- \ },\n {\n \"id\": 772044,\n \"name\": \"Stone Apple
45
+ {\n \"id\": 112136,\n \"name\": \"Apple & Associates\"\n
46
+ },\n {\n \"id\": 772044,\n \"name\": \"Stone Apple
47
47
  Solutions\"\n },\n {\n \"id\": 2135525,\n \"name\":
48
48
  \"iSquare - Apple Authorized Distributor in Greece & Cyprus\"\n },\n
49
- \ {\n \"id\": 2303504,\n \"name\": \"Filex Apple Store &
49
+ {\n \"id\": 2303504,\n \"name\": \"Filex Apple Store &
50
50
  Support\"\n },\n {\n \"id\": 2419290,\n \"name\":
51
51
  \"Apple Nieuws Vlaanderen\"\n },\n {\n \"id\": 2260437,\n
52
- \ \"name\": \"OGGO - Services Apple Macintosh\"\n },\n {\n
53
- \ \"id\": 1049054,\n \"name\": \"Apple Crumble\"\n }\n ]\n
54
- \ },\n \"facets\": {\n \"_total\": 1,\n \"values\": [{\n \"buckets\":
55
- {\n \"_total\": 10,\n \"values\": [\n {\n \"code\":
52
+ \"name\": \"OGGO - Services Apple Macintosh\"\n },\n {\n
53
+ \"id\": 1049054,\n \"name\": \"Apple Crumble\"\n }\n ]\n
54
+ },\n \"facets\": {\n \"_total\": 1,\n \"values\": [{\n \"buckets\":{\n
55
+ \"_total\": 10,\n \"values\": [\n {\n \"code\":
56
56
  \"us:0\",\n \"count\": 2511,\n \"name\": \"United States\",\n
57
- \ \"selected\": false\n },\n {\n \"code\":
57
+ \"selected\": false\n },\n {\n \"code\":
58
58
  \"gb:0\",\n \"count\": 702,\n \"name\": \"United Kingdom\",\n
59
- \ \"selected\": false\n },\n {\n \"code\":
59
+ \"selected\": false\n },\n {\n \"code\":
60
60
  \"us:84\",\n \"count\": 322,\n \"name\": \"San Francisco
61
61
  Bay Area\",\n \"selected\": false\n },\n {\n
62
- \ \"code\": \"us:70\",\n \"count\": 285,\n \"name\":
62
+ \"code\": \"us:70\",\n \"count\": 285,\n \"name\":
63
63
  \"Greater New York City Area\",\n \"selected\": false\n },\n
64
- \ {\n \"code\": \"nl:0\",\n \"count\": 284,\n
65
- \ \"name\": \"Netherlands\",\n \"selected\": false\n
66
- \ },\n {\n \"code\": \"ca:0\",\n \"count\":
64
+ {\n \"code\": \"nl:0\",\n \"count\": 284,\n
65
+ \"name\": \"Netherlands\",\n \"selected\": false\n
66
+ },\n {\n \"code\": \"ca:0\",\n \"count\":
67
67
  266,\n \"name\": \"Canada\",\n \"selected\": false\n
68
- \ },\n {\n \"code\": \"au:0\",\n \"count\":
68
+ },\n {\n \"code\": \"au:0\",\n \"count\":
69
69
  195,\n \"name\": \"Australia\",\n \"selected\": false\n
70
- \ },\n {\n \"code\": \"in:0\",\n \"count\":
70
+ },\n {\n \"code\": \"in:0\",\n \"count\":
71
71
  186,\n \"name\": \"India\",\n \"selected\": false\n
72
- \ },\n {\n \"code\": \"it:0\",\n \"count\":
72
+ },\n {\n \"code\": \"it:0\",\n \"count\":
73
73
  177,\n \"name\": \"Italy\",\n \"selected\": false\n
74
- \ },\n {\n \"code\": \"us:49\",\n \"count\":
74
+ },\n {\n \"code\": \"us:49\",\n \"count\":
75
75
  173,\n \"name\": \"Greater Los Angeles Area\",\n \"selected\":
76
76
  false\n }\n ]\n },\n \"code\": \"location\",\n \"name\":
77
77
  \"Location\"\n }]\n },\n \"numResults\": 8450\n}"
@@ -38,40 +38,40 @@ http_interactions:
38
38
  body:
39
39
  encoding: UTF-8
40
40
  string: ! "{\n \"companies\": {\n \"_count\": 10,\n \"_start\": 0,\n
41
- \ \"_total\": 8450,\n \"values\": [\n {\n \"id\": 162479,\n
42
- \ \"name\": \"Apple\"\n },\n {\n \"id\": 19271,\n \"name\":
41
+ \"_total\": 8450,\n \"values\": [\n {\n \"id\": 162479,\n
42
+ \"name\": \"Apple\"\n },\n {\n \"id\": 19271,\n \"name\":
43
43
  \"Apple Vacations\"\n },\n {\n \"id\": 778626,\n \"name\":
44
44
  \"Big Apple Holdings, Inc. dba Big Apple International Realty\"\n },\n
45
- \ {\n \"id\": 112136,\n \"name\": \"Apple & Associates\"\n
46
- \ },\n {\n \"id\": 772044,\n \"name\": \"Stone Apple
45
+ {\n \"id\": 112136,\n \"name\": \"Apple & Associates\"\n
46
+ },\n {\n \"id\": 772044,\n \"name\": \"Stone Apple
47
47
  Solutions\"\n },\n {\n \"id\": 2135525,\n \"name\":
48
48
  \"iSquare - Apple Authorized Distributor in Greece & Cyprus\"\n },\n
49
- \ {\n \"id\": 2303504,\n \"name\": \"Filex Apple Store &
49
+ {\n \"id\": 2303504,\n \"name\": \"Filex Apple Store &
50
50
  Support\"\n },\n {\n \"id\": 2419290,\n \"name\":
51
51
  \"Apple Nieuws Vlaanderen\"\n },\n {\n \"id\": 2260437,\n
52
- \ \"name\": \"OGGO - Services Apple Macintosh\"\n },\n {\n
53
- \ \"id\": 1049054,\n \"name\": \"Apple Crumble\"\n }\n ]\n
54
- \ },\n \"facets\": {\n \"_total\": 1,\n \"values\": [{\n \"buckets\":
55
- {\n \"_total\": 10,\n \"values\": [\n {\n \"code\":
52
+ \"name\": \"OGGO - Services Apple Macintosh\"\n },\n {\n
53
+ \"id\": 1049054,\n \"name\": \"Apple Crumble\"\n }\n ]\n
54
+ },\n \"facets\": {\n \"_total\": 1,\n \"values\": [{\n \"buckets\":{\n
55
+ \"_total\": 10,\n \"values\": [\n {\n \"code\":
56
56
  \"us:0\",\n \"count\": 2511,\n \"name\": \"United States\",\n
57
- \ \"selected\": false\n },\n {\n \"code\":
57
+ \"selected\": false\n },\n {\n \"code\":
58
58
  \"gb:0\",\n \"count\": 702,\n \"name\": \"United Kingdom\",\n
59
- \ \"selected\": false\n },\n {\n \"code\":
59
+ \"selected\": false\n },\n {\n \"code\":
60
60
  \"us:84\",\n \"count\": 322,\n \"name\": \"San Francisco
61
61
  Bay Area\",\n \"selected\": false\n },\n {\n
62
- \ \"code\": \"us:70\",\n \"count\": 285,\n \"name\":
62
+ \"code\": \"us:70\",\n \"count\": 285,\n \"name\":
63
63
  \"Greater New York City Area\",\n \"selected\": false\n },\n
64
- \ {\n \"code\": \"nl:0\",\n \"count\": 284,\n
65
- \ \"name\": \"Netherlands\",\n \"selected\": false\n
66
- \ },\n {\n \"code\": \"ca:0\",\n \"count\":
64
+ {\n \"code\": \"nl:0\",\n \"count\": 284,\n
65
+ \"name\": \"Netherlands\",\n \"selected\": false\n
66
+ },\n {\n \"code\": \"ca:0\",\n \"count\":
67
67
  266,\n \"name\": \"Canada\",\n \"selected\": false\n
68
- \ },\n {\n \"code\": \"au:0\",\n \"count\":
68
+ },\n {\n \"code\": \"au:0\",\n \"count\":
69
69
  195,\n \"name\": \"Australia\",\n \"selected\": false\n
70
- \ },\n {\n \"code\": \"in:0\",\n \"count\":
70
+ },\n {\n \"code\": \"in:0\",\n \"count\":
71
71
  186,\n \"name\": \"India\",\n \"selected\": false\n
72
- \ },\n {\n \"code\": \"it:0\",\n \"count\":
72
+ },\n {\n \"code\": \"it:0\",\n \"count\":
73
73
  177,\n \"name\": \"Italy\",\n \"selected\": false\n
74
- \ },\n {\n \"code\": \"us:49\",\n \"count\":
74
+ },\n {\n \"code\": \"us:49\",\n \"count\":
75
75
  173,\n \"name\": \"Greater Los Angeles Area\",\n \"selected\":
76
76
  false\n }\n ]\n },\n \"code\": \"location\",\n \"name\":
77
77
  \"Location\"\n }]\n },\n \"numResults\": 8450\n}"
@@ -38,28 +38,28 @@ http_interactions:
38
38
  body:
39
39
  encoding: UTF-8
40
40
  string: ! "{\n \"companies\": {\n \"_count\": 10,\n \"_start\": 0,\n
41
- \ \"_total\": 8450,\n \"values\": [\n {\n \"id\": 162479,\n
42
- \ \"name\": \"Apple\"\n },\n {\n \"id\": 19271,\n \"name\":
41
+ \"_total\": 8450,\n \"values\": [\n {\n \"id\": 162479,\n
42
+ \"name\": \"Apple\"\n },\n {\n \"id\": 19271,\n \"name\":
43
43
  \"Apple Vacations\"\n },\n {\n \"id\": 778626,\n \"name\":
44
44
  \"Big Apple Holdings, Inc. dba Big Apple International Realty\"\n },\n
45
- \ {\n \"id\": 112136,\n \"name\": \"Apple & Associates\"\n
46
- \ },\n {\n \"id\": 772044,\n \"name\": \"Stone Apple
45
+ {\n \"id\": 112136,\n \"name\": \"Apple & Associates\"\n
46
+ },\n {\n \"id\": 772044,\n \"name\": \"Stone Apple
47
47
  Solutions\"\n },\n {\n \"id\": 2135525,\n \"name\":
48
48
  \"iSquare - Apple Authorized Distributor in Greece & Cyprus\"\n },\n
49
- \ {\n \"id\": 2303504,\n \"name\": \"Filex Apple Store &
49
+ {\n \"id\": 2303504,\n \"name\": \"Filex Apple Store &
50
50
  Support\"\n },\n {\n \"id\": 2419290,\n \"name\":
51
51
  \"Apple Nieuws Vlaanderen\"\n },\n {\n \"id\": 2260437,\n
52
- \ \"name\": \"OGGO - Services Apple Macintosh\"\n },\n {\n
53
- \ \"id\": 1049054,\n \"name\": \"Apple Crumble\"\n }\n ]\n
54
- \ },\n \"facets\": {\n \"_total\": 1,\n \"values\": [{\n \"buckets\":
55
- {\n \"_total\": 10,\n \"values\": [\n {\n \"code\":
52
+ \"name\": \"OGGO - Services Apple Macintosh\"\n },\n {\n
53
+ \"id\": 1049054,\n \"name\": \"Apple Crumble\"\n }\n ]\n
54
+ },\n \"facets\": {\n \"_total\": 1,\n \"values\": [{\n \"buckets\":{\n
55
+ \"_total\": 10,\n \"values\": [\n {\n \"code\":
56
56
  \"96\",\n \"count\": 2062,\n \"name\": \"Information
57
57
  Technology and Services\",\n \"selected\": false\n },\n
58
- \ {\n \"code\": \"4\",\n \"count\": 1031,\n
59
- \ \"name\": \"Computer Software\",\n \"selected\": false\n
60
- \ },\n {\n \"code\": \"6\",\n \"count\":
58
+ {\n \"code\": \"4\",\n \"count\": 1031,\n
59
+ \"name\": \"Computer Software\",\n \"selected\": false\n
60
+ },\n {\n \"code\": \"6\",\n \"count\":
61
61
  472,\n \"name\": \"Internet\",\n \"selected\": false\n
62
- \ },\n {\n \"code\": \"3\",\n \"count\":
62
+ },\n {\n \"code\": \"3\",\n \"count\":
63
63
  415,\n \"name\": \"Computer Hardware\",\n \"selected\":
64
64
  false\n },\n {\n \"code\": \"80\",\n \"count\":
65
65
  348,\n \"name\": \"Marketing and Advertising\",\n \"selected\":
@@ -67,7 +67,7 @@ http_interactions:
67
67
  312,\n \"name\": \"Consumer Electronics\",\n \"selected\":
68
68
  false\n },\n {\n \"code\": \"27\",\n \"count\":
69
69
  206,\n \"name\": \"Retail\",\n \"selected\": false\n
70
- \ },\n {\n \"code\": \"109\",\n \"count\":
70
+ },\n {\n \"code\": \"109\",\n \"count\":
71
71
  185,\n \"name\": \"Computer Games\",\n \"selected\":
72
72
  false\n },\n {\n \"code\": \"8\",\n \"count\":
73
73
  171,\n \"name\": \"Telecommunications\",\n \"selected\":
@@ -40,32 +40,32 @@ http_interactions:
40
40
  string: ! "{\n \"companies\": {\n \"_count\": 5,\n \"_start\": 5,\n \"_total\":
41
41
  8450,\n \"values\": [\n {\n \"id\": 2135525,\n \"name\":
42
42
  \"iSquare - Apple Authorized Distributor in Greece & Cyprus\"\n },\n
43
- \ {\n \"id\": 2303504,\n \"name\": \"Filex Apple Store &
43
+ {\n \"id\": 2303504,\n \"name\": \"Filex Apple Store &
44
44
  Support\"\n },\n {\n \"id\": 2419290,\n \"name\":
45
45
  \"Apple Nieuws Vlaanderen\"\n },\n {\n \"id\": 2260437,\n
46
- \ \"name\": \"OGGO - Services Apple Macintosh\"\n },\n {\n
47
- \ \"id\": 1049054,\n \"name\": \"Apple Crumble\"\n }\n ]\n
48
- \ },\n \"facets\": {\n \"_total\": 1,\n \"values\": [{\n \"buckets\":
49
- {\n \"_total\": 10,\n \"values\": [\n {\n \"code\":
46
+ \"name\": \"OGGO - Services Apple Macintosh\"\n },\n {\n
47
+ \"id\": 1049054,\n \"name\": \"Apple Crumble\"\n }\n ]\n
48
+ },\n \"facets\": {\n \"_total\": 1,\n \"values\": [{\n \"buckets\":{\n
49
+ \"_total\": 10,\n \"values\": [\n {\n \"code\":
50
50
  \"us:0\",\n \"count\": 2511,\n \"name\": \"United States\",\n
51
- \ \"selected\": false\n },\n {\n \"code\":
51
+ \"selected\": false\n },\n {\n \"code\":
52
52
  \"gb:0\",\n \"count\": 702,\n \"name\": \"United Kingdom\",\n
53
- \ \"selected\": false\n },\n {\n \"code\":
53
+ \"selected\": false\n },\n {\n \"code\":
54
54
  \"us:84\",\n \"count\": 322,\n \"name\": \"San Francisco
55
55
  Bay Area\",\n \"selected\": false\n },\n {\n
56
- \ \"code\": \"us:70\",\n \"count\": 285,\n \"name\":
56
+ \"code\": \"us:70\",\n \"count\": 285,\n \"name\":
57
57
  \"Greater New York City Area\",\n \"selected\": false\n },\n
58
- \ {\n \"code\": \"nl:0\",\n \"count\": 284,\n
59
- \ \"name\": \"Netherlands\",\n \"selected\": false\n
60
- \ },\n {\n \"code\": \"ca:0\",\n \"count\":
58
+ {\n \"code\": \"nl:0\",\n \"count\": 284,\n
59
+ \"name\": \"Netherlands\",\n \"selected\": false\n
60
+ },\n {\n \"code\": \"ca:0\",\n \"count\":
61
61
  266,\n \"name\": \"Canada\",\n \"selected\": false\n
62
- \ },\n {\n \"code\": \"au:0\",\n \"count\":
62
+ },\n {\n \"code\": \"au:0\",\n \"count\":
63
63
  195,\n \"name\": \"Australia\",\n \"selected\": false\n
64
- \ },\n {\n \"code\": \"in:0\",\n \"count\":
64
+ },\n {\n \"code\": \"in:0\",\n \"count\":
65
65
  186,\n \"name\": \"India\",\n \"selected\": false\n
66
- \ },\n {\n \"code\": \"it:0\",\n \"count\":
66
+ },\n {\n \"code\": \"it:0\",\n \"count\":
67
67
  177,\n \"name\": \"Italy\",\n \"selected\": false\n
68
- \ },\n {\n \"code\": \"us:49\",\n \"count\":
68
+ },\n {\n \"code\": \"us:49\",\n \"count\":
69
69
  173,\n \"name\": \"Greater Los Angeles Area\",\n \"selected\":
70
70
  false\n }\n ]\n },\n \"code\": \"location\",\n \"name\":
71
71
  \"Location\"\n }]\n },\n \"numResults\": 8450\n}"
@@ -1,21 +1,25 @@
1
1
  $:.unshift File.expand_path('..', __FILE__)
2
2
  $:.unshift File.expand_path('../../lib', __FILE__)
3
- require 'simplecov'
4
- SimpleCov.start
3
+ if ENV['COVERAGE'] == 't'
4
+ require 'simplecov'
5
+ SimpleCov.start
6
+ end
7
+
5
8
  require 'linkedin'
6
9
  require 'rspec'
7
10
  require 'webmock/rspec'
8
11
  require 'vcr'
9
12
 
10
- VCR.config do |c|
13
+ VCR.configure do |c|
11
14
  c.cassette_library_dir = 'spec/fixtures/cassette_library'
12
- c.stub_with :webmock
15
+ c.hook_into :webmock
13
16
  c.ignore_localhost = true
14
17
  c.default_cassette_options = { :record => :none }
18
+ c.configure_rspec_metadata!
15
19
  end
16
20
 
17
21
  RSpec.configure do |c|
18
- c.extend VCR::RSpec::Macros
22
+ c.treat_symbols_as_metadata_keys_with_true_values = true
19
23
  end
20
24
 
21
25
  def linkedin_url(url)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: linkedin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.6
4
+ version: 0.4.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthew Kirk
@@ -10,28 +10,22 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2014-01-16 00:00:00.000000000 Z
13
+ date: 2014-04-15 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: hashie
17
17
  requirement: !ruby/object:Gem::Requirement
18
18
  requirements:
19
- - - '>='
20
- - !ruby/object:Gem::Version
21
- version: '1.2'
22
- - - <
19
+ - - ~>
23
20
  - !ruby/object:Gem::Version
24
- version: '2.1'
21
+ version: '2.0'
25
22
  type: :runtime
26
23
  prerelease: false
27
24
  version_requirements: !ruby/object:Gem::Requirement
28
25
  requirements:
29
- - - '>='
30
- - !ruby/object:Gem::Version
31
- version: '1.2'
32
- - - <
26
+ - - ~>
33
27
  - !ruby/object:Gem::Version
34
- version: '2.1'
28
+ version: '2.0'
35
29
  - !ruby/object:Gem::Dependency
36
30
  name: multi_json
37
31
  requirement: !ruby/object:Gem::Requirement
@@ -75,19 +69,33 @@ dependencies:
75
69
  - !ruby/object:Gem::Version
76
70
  version: '10'
77
71
  - !ruby/object:Gem::Dependency
78
- name: rdoc
72
+ name: yard
79
73
  requirement: !ruby/object:Gem::Requirement
80
74
  requirements:
81
- - - ~>
75
+ - - '>='
82
76
  - !ruby/object:Gem::Version
83
- version: '4.0'
77
+ version: '0'
84
78
  type: :development
85
79
  prerelease: false
86
80
  version_requirements: !ruby/object:Gem::Requirement
87
81
  requirements:
88
- - - ~>
82
+ - - '>='
83
+ - !ruby/object:Gem::Version
84
+ version: '0'
85
+ - !ruby/object:Gem::Dependency
86
+ name: kramdown
87
+ requirement: !ruby/object:Gem::Requirement
88
+ requirements:
89
+ - - '>='
90
+ - !ruby/object:Gem::Version
91
+ version: '0'
92
+ type: :development
93
+ prerelease: false
94
+ version_requirements: !ruby/object:Gem::Requirement
95
+ requirements:
96
+ - - '>='
89
97
  - !ruby/object:Gem::Version
90
- version: '4.0'
98
+ version: '0'
91
99
  - !ruby/object:Gem::Dependency
92
100
  name: rspec
93
101
  requirement: !ruby/object:Gem::Requirement
@@ -154,25 +162,25 @@ extensions: []
154
162
  extra_rdoc_files: []
155
163
  files:
156
164
  - .autotest
157
- - .document
158
165
  - .gemtest
159
166
  - .gitignore
160
167
  - .rspec
161
168
  - .travis.yml
169
+ - .yardopts
170
+ - CHANGELOG.md
171
+ - EXAMPLES.md
162
172
  - Gemfile
163
173
  - LICENSE
164
- - README.markdown
174
+ - README.md
165
175
  - Rakefile
166
- - changelog.markdown
167
- - examples/authenticate.rb
168
- - examples/communication.rb
169
- - examples/network.rb
170
- - examples/profile.rb
171
- - examples/sinatra.rb
172
- - examples/status.rb
173
176
  - lib/linked_in/api.rb
174
- - lib/linked_in/api/query_methods.rb
175
- - lib/linked_in/api/update_methods.rb
177
+ - lib/linked_in/api/communications.rb
178
+ - lib/linked_in/api/companies.rb
179
+ - lib/linked_in/api/groups.rb
180
+ - lib/linked_in/api/jobs.rb
181
+ - lib/linked_in/api/people.rb
182
+ - lib/linked_in/api/query_helpers.rb
183
+ - lib/linked_in/api/share_and_social_stream.rb
176
184
  - lib/linked_in/client.rb
177
185
  - lib/linked_in/errors.rb
178
186
  - lib/linked_in/helpers.rb
@@ -189,24 +197,28 @@ files:
189
197
  - spec/cases/oauth_spec.rb
190
198
  - spec/cases/search_spec.rb
191
199
  - spec/fixtures/cassette_library/LinkedIn_Api/Company_API.yml
192
- - spec/fixtures/cassette_library/LinkedIn_Client/_authorize_from_request.yml
193
- - spec/fixtures/cassette_library/LinkedIn_Client/_request_token.yml
194
- - spec/fixtures/cassette_library/LinkedIn_Client/_request_token/with_a_callback_url.yml
195
- - spec/fixtures/cassette_library/LinkedIn_Client/_request_token/with_default_options.yml
196
- - spec/fixtures/cassette_library/LinkedIn_Search/_search/by_company_name_option.yml
197
- - spec/fixtures/cassette_library/LinkedIn_Search/_search/by_first_name_and_last_name_options.yml
198
- - spec/fixtures/cassette_library/LinkedIn_Search/_search/by_first_name_and_last_name_options_with_fields.yml
199
- - spec/fixtures/cassette_library/LinkedIn_Search/_search/by_keywords_string_parameter.yml
200
- - spec/fixtures/cassette_library/LinkedIn_Search/_search/by_single_keywords_option.yml
201
- - spec/fixtures/cassette_library/LinkedIn_Search/_search/by_single_keywords_option_with_pagination.yml
202
- - spec/fixtures/cassette_library/LinkedIn_Search/_search_company/by_keywords_options_with_fields.yml
203
- - spec/fixtures/cassette_library/LinkedIn_Search/_search_company/by_keywords_string_parameter.yml
204
- - spec/fixtures/cassette_library/LinkedIn_Search/_search_company/by_single_keywords_option.yml
205
- - spec/fixtures/cassette_library/LinkedIn_Search/_search_company/by_single_keywords_option_with_facets_to_return.yml
206
- - spec/fixtures/cassette_library/LinkedIn_Search/_search_company/by_single_keywords_option_with_pagination.yml
200
+ - spec/fixtures/cassette_library/LinkedIn_Api/Company_API/should_load_correct_company_data.yml
201
+ - spec/fixtures/cassette_library/LinkedIn_Client/_authorize_from_request/should_return_a_valid_access_token.yml
202
+ - spec/fixtures/cassette_library/LinkedIn_Client/_request_token/with_a_callback_url/should_return_a_valid_access_token.yml
203
+ - spec/fixtures/cassette_library/LinkedIn_Client/_request_token/with_default_options/should_return_a_valid_request_token.yml
204
+ - spec/fixtures/cassette_library/LinkedIn_Search/_search/by_company_name_option/should_perform_a_search.yml
205
+ - spec/fixtures/cassette_library/LinkedIn_Search/_search/by_email_address/should_perform_a_people_search.yml
206
+ - spec/fixtures/cassette_library/LinkedIn_Search/_search/by_first_name_and_last_name_options/should_perform_a_search.yml
207
+ - spec/fixtures/cassette_library/LinkedIn_Search/_search/by_first_name_and_last_name_options_with_fields/should_perform_a_search.yml
208
+ - spec/fixtures/cassette_library/LinkedIn_Search/_search/by_keywords_string_parameter/should_perform_a_search.yml
209
+ - spec/fixtures/cassette_library/LinkedIn_Search/_search/by_multiple_email_address/should_perform_a_multi-email_search.yml
210
+ - spec/fixtures/cassette_library/LinkedIn_Search/_search/by_single_keywords_option/should_perform_a_search.yml
211
+ - spec/fixtures/cassette_library/LinkedIn_Search/_search/by_single_keywords_option_with_pagination/should_perform_a_search.yml
212
+ - spec/fixtures/cassette_library/LinkedIn_Search/_search/email_search_returns_unauthorized/should_raise_an_unauthorized_error.yml
213
+ - spec/fixtures/cassette_library/LinkedIn_Search/_search_company/by_keywords_options_with_fields/should_perform_a_search.yml
214
+ - spec/fixtures/cassette_library/LinkedIn_Search/_search_company/by_keywords_string_parameter/should_perform_a_company_search.yml
215
+ - spec/fixtures/cassette_library/LinkedIn_Search/_search_company/by_single_keywords_option/should_perform_a_company_search.yml
216
+ - spec/fixtures/cassette_library/LinkedIn_Search/_search_company/by_single_keywords_option_with_facets_to_return/should_return_a_facet.yml
217
+ - spec/fixtures/cassette_library/LinkedIn_Search/_search_company/by_single_keywords_option_with_pagination/should_perform_a_search.yml
207
218
  - spec/helper.rb
208
219
  homepage: http://github.com/hexgnu/linkedin
209
- licenses: []
220
+ licenses:
221
+ - MIT
210
222
  metadata: {}
211
223
  post_install_message:
212
224
  rdoc_options: []
@@ -224,10 +236,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
224
236
  version: '0'
225
237
  requirements: []
226
238
  rubyforge_project:
227
- rubygems_version: 2.0.2
239
+ rubygems_version: 2.0.14
228
240
  signing_key:
229
241
  specification_version: 4
230
- summary: Ruby wrapper for the LinkedIn API
242
+ summary: This gem interfaces with the Linkedin XML and JSON APis
231
243
  test_files:
232
244
  - spec/cases/api_spec.rb
233
245
  - spec/cases/linkedin_spec.rb
@@ -235,19 +247,22 @@ test_files:
235
247
  - spec/cases/oauth_spec.rb
236
248
  - spec/cases/search_spec.rb
237
249
  - spec/fixtures/cassette_library/LinkedIn_Api/Company_API.yml
238
- - spec/fixtures/cassette_library/LinkedIn_Client/_authorize_from_request.yml
239
- - spec/fixtures/cassette_library/LinkedIn_Client/_request_token.yml
240
- - spec/fixtures/cassette_library/LinkedIn_Client/_request_token/with_a_callback_url.yml
241
- - spec/fixtures/cassette_library/LinkedIn_Client/_request_token/with_default_options.yml
242
- - spec/fixtures/cassette_library/LinkedIn_Search/_search/by_company_name_option.yml
243
- - spec/fixtures/cassette_library/LinkedIn_Search/_search/by_first_name_and_last_name_options.yml
244
- - spec/fixtures/cassette_library/LinkedIn_Search/_search/by_first_name_and_last_name_options_with_fields.yml
245
- - spec/fixtures/cassette_library/LinkedIn_Search/_search/by_keywords_string_parameter.yml
246
- - spec/fixtures/cassette_library/LinkedIn_Search/_search/by_single_keywords_option.yml
247
- - spec/fixtures/cassette_library/LinkedIn_Search/_search/by_single_keywords_option_with_pagination.yml
248
- - spec/fixtures/cassette_library/LinkedIn_Search/_search_company/by_keywords_options_with_fields.yml
249
- - spec/fixtures/cassette_library/LinkedIn_Search/_search_company/by_keywords_string_parameter.yml
250
- - spec/fixtures/cassette_library/LinkedIn_Search/_search_company/by_single_keywords_option.yml
251
- - spec/fixtures/cassette_library/LinkedIn_Search/_search_company/by_single_keywords_option_with_facets_to_return.yml
252
- - spec/fixtures/cassette_library/LinkedIn_Search/_search_company/by_single_keywords_option_with_pagination.yml
250
+ - spec/fixtures/cassette_library/LinkedIn_Api/Company_API/should_load_correct_company_data.yml
251
+ - spec/fixtures/cassette_library/LinkedIn_Client/_authorize_from_request/should_return_a_valid_access_token.yml
252
+ - spec/fixtures/cassette_library/LinkedIn_Client/_request_token/with_a_callback_url/should_return_a_valid_access_token.yml
253
+ - spec/fixtures/cassette_library/LinkedIn_Client/_request_token/with_default_options/should_return_a_valid_request_token.yml
254
+ - spec/fixtures/cassette_library/LinkedIn_Search/_search/by_company_name_option/should_perform_a_search.yml
255
+ - spec/fixtures/cassette_library/LinkedIn_Search/_search/by_email_address/should_perform_a_people_search.yml
256
+ - spec/fixtures/cassette_library/LinkedIn_Search/_search/by_first_name_and_last_name_options/should_perform_a_search.yml
257
+ - spec/fixtures/cassette_library/LinkedIn_Search/_search/by_first_name_and_last_name_options_with_fields/should_perform_a_search.yml
258
+ - spec/fixtures/cassette_library/LinkedIn_Search/_search/by_keywords_string_parameter/should_perform_a_search.yml
259
+ - spec/fixtures/cassette_library/LinkedIn_Search/_search/by_multiple_email_address/should_perform_a_multi-email_search.yml
260
+ - spec/fixtures/cassette_library/LinkedIn_Search/_search/by_single_keywords_option/should_perform_a_search.yml
261
+ - spec/fixtures/cassette_library/LinkedIn_Search/_search/by_single_keywords_option_with_pagination/should_perform_a_search.yml
262
+ - spec/fixtures/cassette_library/LinkedIn_Search/_search/email_search_returns_unauthorized/should_raise_an_unauthorized_error.yml
263
+ - spec/fixtures/cassette_library/LinkedIn_Search/_search_company/by_keywords_options_with_fields/should_perform_a_search.yml
264
+ - spec/fixtures/cassette_library/LinkedIn_Search/_search_company/by_keywords_string_parameter/should_perform_a_company_search.yml
265
+ - spec/fixtures/cassette_library/LinkedIn_Search/_search_company/by_single_keywords_option/should_perform_a_company_search.yml
266
+ - spec/fixtures/cassette_library/LinkedIn_Search/_search_company/by_single_keywords_option_with_facets_to_return/should_return_a_facet.yml
267
+ - spec/fixtures/cassette_library/LinkedIn_Search/_search_company/by_single_keywords_option_with_pagination/should_perform_a_search.yml
253
268
  - spec/helper.rb