linkedin 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.4
1
+ 0.1.5
@@ -5,7 +5,11 @@ module LinkedIn
5
5
  xml_reader :id
6
6
  xml_reader :school_name
7
7
  xml_reader :degree
8
- xml_reader :start_date, :as => {:key => :name, :value => :content}
9
- xml_reader :end_date, :as => {:key => :name, :value => :content}
8
+ xml_reader :field_of_study
9
+ xml_reader :activities
10
+ xml_reader :start_year, :from => "start-date/year", :as => Integer
11
+ xml_reader :start_month, :from => "start-date/month", :as => Integer
12
+ xml_reader :end_year, :from => "end-date/year", :as => Integer
13
+ xml_reader :end_month, :from => "end-date/month", :as => Integer
10
14
  end
11
15
  end
@@ -15,11 +15,18 @@ module LinkedIn
15
15
  xml_reader :current_status_timestamp
16
16
  xml_reader :connections, :as => [Profile]
17
17
  xml_reader :summary
18
+ xml_reader :specialties
19
+ xml_reader :proposal_comments
20
+ xml_reader :associations
21
+ xml_reader :honors
22
+ xml_reader :interests
18
23
  xml_reader :positions, :as => [Position]
19
24
  xml_reader :education, :as => [Education]
25
+ xml_reader :three_current_positions, :as => [Position]
20
26
  xml_reader :member_url_resources, :as => [UrlResource], :from => 'member-url-resources/member-url'
21
27
  xml_reader :api_standard_profile_request
22
28
  xml_reader :site_standard_profile_request, :as => ApiStandardProfileRequest
23
29
  xml_reader :picture_url
30
+
24
31
  end
25
32
  end
@@ -23,6 +23,12 @@ class ClientTest < Test::Unit::TestCase
23
23
  hp.start_year.should == 2004
24
24
  hp.end_month.should == 6
25
25
  hp.end_year.should == 2007
26
+
27
+ education = p.education.first
28
+ education.start_month.should == 8
29
+ education.start_year.should == 1994
30
+ education.end_month.should == 5
31
+ education.end_year.should == 1998
26
32
  end
27
33
 
28
34
  should "retrieve a profile for a member by id" do
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.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wynn Netherland