linkedin 0.4.7 → 1.0.0

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
  SHA1:
3
- metadata.gz: 4586ae7fcf4a2d1ed3767ba0f9f086366394f6b0
4
- data.tar.gz: 7d56220662ae630e2aebc568348ae46fd073b354
3
+ metadata.gz: 9f67b301e88eb48acaf8bc441846c87035e7e75a
4
+ data.tar.gz: 8d393c29d96b53b84e28e94ddb6c3a550520bc2a
5
5
  SHA512:
6
- metadata.gz: fc14611de8a4c196203fd8300e1af097067172b463d919102d635ffb24f27a7b8b5e787530a0ca0e5b2669dae1be632e116097d7691b03ff3964952750dcaf41
7
- data.tar.gz: 1a74bf22abe4fb30e037aeb004d3528965ed9050ab8bd416079cd1640223461a4bbc19c6c92172f2fd83068fbcf008111e7ac416bb02b3bba7983a1b86febdc4
6
+ metadata.gz: 03220dbe3ea95107cf1dc78c45e99ed38345f1b4e95293730d4c17ba8540ff7e311ce50f609a13e4e6d7ef7e5ee3c9da63275abc36e0be8afe8b3abe2ecfd7ac
7
+ data.tar.gz: 5a9e5846a1039b69a791645725db15cc381f59907c83764bd49d2b980b04c0b87138dbfbca9409d894741ff7a6d64eb04be6dfeafb355cbfded20ed0189342c3
@@ -98,6 +98,8 @@ client.connections
98
98
  ```
99
99
  # get the original picture-url for one of the connections
100
100
  client.picture_urls(:id => 'id_of_connection')
101
+ # get the image over https instead of http
102
+ client.picture_urls(:id => 'id_of_connection', :secure => "true")
101
103
 
102
104
  ## Update User's Status
103
105
 
@@ -60,6 +60,7 @@ module LinkedIn
60
60
  #
61
61
  # @options [String] :id, the id of the person for whom you want the profile picture
62
62
  # @options [String] :picture_size, default: 'original'
63
+ # @options [String] :secure, default: 'false', options: ['false','true']
63
64
  #
64
65
  # example for use in code: client.picture_urls(:id => 'id_of_connection')
65
66
  def picture_urls(options={})
@@ -56,7 +56,7 @@ module LinkedIn
56
56
  if domain = options.delete(:domain)
57
57
  path += "?email-domain=#{CGI.escape(domain)}"
58
58
  elsif id = options.delete(:id)
59
- path += "/id=#{id}"
59
+ path += "/#{id}"
60
60
  elsif url = options.delete(:url)
61
61
  path += "/url=#{CGI.escape(url)}"
62
62
  elsif name = options.delete(:name)
@@ -1,9 +1,9 @@
1
1
  module LinkedIn
2
2
 
3
3
  module VERSION #:nodoc:
4
- MAJOR = 0
5
- MINOR = 4
6
- PATCH = 7
4
+ MAJOR = 1
5
+ MINOR = 0
6
+ PATCH = 0
7
7
  PRE = nil
8
8
  STRING = [MAJOR, MINOR, PATCH, PRE].compact.join('.')
9
9
  end
@@ -2,7 +2,7 @@
2
2
  require File.expand_path('../lib/linked_in/version', __FILE__)
3
3
 
4
4
  Gem::Specification.new do |gem|
5
- gem.add_dependency 'hashie', '~> 2.0'
5
+ gem.add_dependency 'hashie', '~> 3.0'
6
6
  gem.add_dependency 'multi_json', '~> 1.0'
7
7
  gem.add_dependency 'oauth', '~> 0.4'
8
8
  # gem.add_development_dependency 'json', '~> 1.6'
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.7
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthew Kirk
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2014-04-15 00:00:00.000000000 Z
13
+ date: 2014-08-04 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: hashie
@@ -18,14 +18,14 @@ dependencies:
18
18
  requirements:
19
19
  - - ~>
20
20
  - !ruby/object:Gem::Version
21
- version: '2.0'
21
+ version: '3.0'
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  requirements:
26
26
  - - ~>
27
27
  - !ruby/object:Gem::Version
28
- version: '2.0'
28
+ version: '3.0'
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: multi_json
31
31
  requirement: !ruby/object:Gem::Requirement
@@ -266,3 +266,4 @@ test_files:
266
266
  - spec/fixtures/cassette_library/LinkedIn_Search/_search_company/by_single_keywords_option_with_facets_to_return/should_return_a_facet.yml
267
267
  - spec/fixtures/cassette_library/LinkedIn_Search/_search_company/by_single_keywords_option_with_pagination/should_perform_a_search.yml
268
268
  - spec/helper.rb
269
+ has_rdoc: