linkedin 0.4.7 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/EXAMPLES.md +2 -0
- data/lib/linked_in/api/people.rb +1 -0
- data/lib/linked_in/api/query_helpers.rb +1 -1
- data/lib/linked_in/version.rb +3 -3
- data/linkedin.gemspec +1 -1
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9f67b301e88eb48acaf8bc441846c87035e7e75a
|
4
|
+
data.tar.gz: 8d393c29d96b53b84e28e94ddb6c3a550520bc2a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 03220dbe3ea95107cf1dc78c45e99ed38345f1b4e95293730d4c17ba8540ff7e311ce50f609a13e4e6d7ef7e5ee3c9da63275abc36e0be8afe8b3abe2ecfd7ac
|
7
|
+
data.tar.gz: 5a9e5846a1039b69a791645725db15cc381f59907c83764bd49d2b980b04c0b87138dbfbca9409d894741ff7a6d64eb04be6dfeafb355cbfded20ed0189342c3
|
data/EXAMPLES.md
CHANGED
@@ -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
|
|
data/lib/linked_in/api/people.rb
CHANGED
@@ -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 += "
|
59
|
+
path += "/#{id}"
|
60
60
|
elsif url = options.delete(:url)
|
61
61
|
path += "/url=#{CGI.escape(url)}"
|
62
62
|
elsif name = options.delete(:name)
|
data/lib/linked_in/version.rb
CHANGED
data/linkedin.gemspec
CHANGED
@@ -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', '~>
|
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
|
+
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
|
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: '
|
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: '
|
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:
|