yam 2.4.1 → 2.5.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: afca8efcf863289c0df39f0710d81ab21ff81bd9
4
- data.tar.gz: aa9ef9c5ae93304e48801c2a03678c4be6847d64
3
+ metadata.gz: 185c4117b99902a304878291837a72d7f215e7ba
4
+ data.tar.gz: bd832d78c1f3c74402af1392b9487046affbb463
5
5
  SHA512:
6
- metadata.gz: 462bd56573c5028601d93e2ecc2da476a6b2cce953f208526be32d8ab11028a9e1dfeab33d91db55d668ab590af4f30c0e8d2689bc6618b64d59cf23d1940a26
7
- data.tar.gz: e080b5b6381efafbd4a5d138943e239384f7ae727f09c39f89573a6fe0c64d1b3cd78f1cf74bb89690c460d29b35325cc01cb12272127d8edad16d128646aa57
6
+ metadata.gz: 0e97d0e9cbc6e59bd368c85802f8ed71120000f73b0478314a2381f8440dc7024a4fa78f301dfbe623287ae7697be88073df2a332dd395db89694b263ff4d215
7
+ data.tar.gz: 337f30113bedd0713cd7a9d47f79110760bffcda3e4569c0d2df756c066fe7a58cb7e02f4f247f43f6b947f663ed973e9f5c1fc9a0164d3b4cd647f8f899bf05
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -1,7 +1,7 @@
1
1
  language: ruby
2
2
  rvm:
3
+ - 2.3.0
3
4
  - 2.0.0
4
- - 1.9.3
5
5
  - 1.9.2
6
6
 
7
7
  branches:
data/Gemfile CHANGED
@@ -23,7 +23,7 @@ group :test do
23
23
  gem 'rspec', '>= 2.11'
24
24
  gem 'simplecov', :require => false
25
25
  gem 'coveralls', :require => false
26
- gem 'webmock', '>= 1.10.1'
26
+ gem 'webmock', '>= 1.22.0'
27
27
  end
28
28
 
29
29
  gemspec
@@ -1,21 +1,21 @@
1
1
  -----BEGIN CERTIFICATE-----
2
- MIIDcDCCAligAwIBAgIBATANBgkqhkiG9w0BAQUFADA/MREwDwYDVQQDDAh0aWFi
3
- YXNuaz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 TkF5PVnWcPCUGrSAHkqZItH5Rm2A3ITvOKns04MbIdQfsaOniEEU063P2NbD1pHz
17
+ /R6R0cy79S781+akWDLxzYJkkc66/OcID1esKvRmkAwYJ6WQmPlRNmYCTLf19cmx
18
+ rioWlMxz7cJc3XMhdgFEn45S7/F+TyQdMt1LWoIK8J68dcuaGfW+hIq3edhVaASr
19
+ oaChqbGI6vlVXiNp6dEuMEUdFbxb+KbKc2GWfuNz+OerJIKH6eCcxcau2VA/Mzq2
20
+ XdGvB/v+GhpfWXG3egw7j9j4WrtfLVxGyCVxniOZA8/UGaBD
21
21
  -----END CERTIFICATE-----
@@ -147,10 +147,12 @@ module Yammer
147
147
  # @raise [Yammer::Error::Unauthorized] Error raised when supplied user credentials are not valid.
148
148
  # @return [Yammer::ApiResponse]
149
149
  # @param id [Integer] the ID of the user whose followers you want to get
150
+ # @param opts [Hash] A customizable set of opts.
151
+ # @option opts [Integer] :page
150
152
  # @example Fetch users from the authenticated user's network following user whose ID is provided
151
153
  # Yammer.users_following(1)
152
- def users_following(id)
153
- get("/api/v1/users/following/#{id}")
154
+ def users_following(id, opts={})
155
+ get("/api/v1/users/following/#{id}", opts)
154
156
  end
155
157
 
156
158
  # @rate_limited Yes
@@ -158,10 +160,12 @@ module Yammer
158
160
  # @raise [Yammer::Error::Unauthorized] Error raised when supplied user credentials are not valid.
159
161
  # @return [Yammer::ApiResponse]
160
162
  # @param id [Integer] the ID of the user for whom you want to get the users being followed
163
+ # @param opts [Hash] A customizable set of opts.
164
+ # @option opts [Integer] :page
161
165
  # @example Fetch users from the authenticated user's network followed by the user whose ID is provided
162
166
  # Yammer.users_followed(1)
163
- def users_followed_by(id)
164
- get("/api/v1/users/followed_by/#{id}")
167
+ def users_followed_by(id, opts={})
168
+ get("/api/v1/users/followed_by/#{id}", opts)
165
169
  end
166
170
 
167
171
  # @rate_limited Yes
@@ -33,7 +33,7 @@ module Yammer
33
33
  # Generates the Yammer URL that the user will be redirected to in order to
34
34
  # authorize your application
35
35
  #
36
- # @see https://developer.yammer.com/api/oauth2.html#client-side
36
+ # @see https://developer.yammer.com/v1.0/docs/oauth-2#client-side-flow
37
37
  #
38
38
  # @opts [Hash] additional parameters to be include in URL eg. scope, state, etc
39
39
  #
@@ -51,7 +51,7 @@ module Yammer
51
51
  # Generates the Yammer URL that the user will be redirected to in order to
52
52
  # authorize your application
53
53
  #
54
- # @see https://developer.yammer.com/api/oauth2.html#server-side
54
+ # @see https://developer.yammer.com/v1.0/docs/oauth-2#server-side-flow
55
55
  #
56
56
  # @opts [Hash] additional parameters to be include in URL eg. scope, state, etc
57
57
  #
@@ -70,7 +70,7 @@ module Yammer
70
70
  # Makes a request to Yammer server that will swap your authorization code for an access
71
71
  # token
72
72
  #
73
- # @see https://developer.yammer.com/api/oauth2.html#server-side
73
+ # @see https://developer.yammer.com/v1.0/docs/oauth-2#server-side-flow
74
74
  #
75
75
  # @opts [Hash] may include redirect uri and other query parameters
76
76
  #
@@ -1,13 +1,13 @@
1
1
  # Copyright (c) Microsoft Corporation
2
2
  # All rights reserved.
3
- # Licensed under the Apache License, Version 2.0 (the "License");
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
5
- # You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
5
+ # You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
6
6
  #
7
- # THIS CODE IS PROVIDED *AS IS* BASIS, WITHOUT WARRANTIES OR
8
- # CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING
7
+ # THIS CODE IS PROVIDED *AS IS* BASIS, WITHOUT WARRANTIES OR
8
+ # CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING
9
9
  # WITHOUT LIMITATION ANY IMPLIED WARRANTIES OR CONDITIONS OF TITLE,
10
- # FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABLITY OR NON-INFRINGEMENT.
10
+ # FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABLITY OR NON-INFRINGEMENT.
11
11
 
12
12
  # See the Apache Version 2.0 License for specific language governing
13
13
  # permissions and limitations under the License.
@@ -15,8 +15,8 @@
15
15
  module Yammer
16
16
  class Version
17
17
  MAJOR = 2 unless defined? Yammer::MAJOR
18
- MINOR = 4 unless defined? Yammer::MINOR
19
- PATCH = 1 unless defined? Yammer::PATCH
18
+ MINOR = 5 unless defined? Yammer::MINOR
19
+ PATCH = 0 unless defined? Yammer::PATCH
20
20
  PRE = nil unless defined? Yammer::PRE
21
21
 
22
22
  class << self
@@ -53,7 +53,7 @@ describe Yammer::Api::Activity do
53
53
  email: 'example@yammer-inc.com'
54
54
  }]
55
55
  }
56
- subject.should_receive(:post).with('/api/v1/activity', params)
56
+ expect(subject).to receive(:post).with('/api/v1/activity', params)
57
57
  @client.create_activity(params)
58
58
  end
59
59
  end
@@ -34,8 +34,8 @@ describe Yammer::Api::Autocomplete do
34
34
 
35
35
  describe '#autocomplete' do
36
36
  it 'should fetch autocomplete data' do
37
- subject.should_receive(:get).with('/api/v1/autocomplete/ranked', { :prefix => 'alc' })
37
+ expect(subject).to receive(:get).with('/api/v1/autocomplete/ranked', { :prefix => 'alc' })
38
38
  subject.autocomplete({ :prefix => 'alc' })
39
39
  end
40
40
  end
41
- end
41
+ end
@@ -34,15 +34,15 @@ describe Yammer::Api::GroupMembership do
34
34
 
35
35
  describe '#get_group_membership' do
36
36
  it 'should fetch a group membership' do
37
- subject.should_receive(:get).with('/api/v1/group_memberships/1')
37
+ expect(subject).to receive(:get).with('/api/v1/group_memberships/1')
38
38
  subject.get_group_membership(1)
39
39
  end
40
40
  end
41
41
 
42
42
  describe '#create_group_membership' do
43
43
  it 'should create a group membership' do
44
- subject.should_receive(:post).with('/api/v1/group_memberships', { :group_id => 2 })
44
+ expect(subject).to receive(:post).with('/api/v1/group_memberships', { :group_id => 2 })
45
45
  subject.create_group_membership(2)
46
46
  end
47
47
  end
48
- end
48
+ end
@@ -34,28 +34,28 @@ describe Yammer::Api::Group do
34
34
 
35
35
  describe '#all_groups' do
36
36
  it 'should fetch all groups in network' do
37
- subject.should_receive(:get).with('/api/v1/groups', {})
37
+ expect(subject).to receive(:get).with('/api/v1/groups', {})
38
38
  subject.all_groups
39
39
  end
40
40
  end
41
41
 
42
42
  describe '#groups_for_user' do
43
43
  it 'should fetch all groups for user' do
44
- subject.should_receive(:get).with('/api/v1/groups/for_user/2')
44
+ expect(subject).to receive(:get).with('/api/v1/groups/for_user/2')
45
45
  subject.groups_for_user(2)
46
46
  end
47
47
  end
48
48
 
49
49
  describe '#get_group' do
50
50
  it 'should fetch a thread' do
51
- subject.should_receive(:get).with('/api/v1/groups/1')
51
+ expect(subject).to receive(:get).with('/api/v1/groups/1')
52
52
  subject.get_group(1)
53
53
  end
54
54
  end
55
55
 
56
56
  describe '#create_group' do
57
57
  it 'should fetch a thread' do
58
- subject.should_receive(:post).with('/api/v1/groups', {
58
+ expect(subject).to receive(:post).with('/api/v1/groups', {
59
59
  :name => 'my group',
60
60
  :description => 'A test group',
61
61
  :private => false
@@ -66,11 +66,11 @@ describe Yammer::Api::Group do
66
66
 
67
67
  describe '#update_group' do
68
68
  it 'should fetch a thread' do
69
- subject.should_receive(:post).with('/api/v1/groups/2', {
69
+ expect(subject).to receive(:post).with('/api/v1/groups/2', {
70
70
  :name => 'another group',
71
71
  :description => 'A modified group description',
72
72
  })
73
73
  subject.update_group(2, :name => 'another group', :description => 'A modified group description')
74
74
  end
75
75
  end
76
- end
76
+ end
@@ -31,28 +31,28 @@ describe Yammer::Api::Search do
31
31
 
32
32
  context 'with single email as string' do
33
33
  it 'should invite users' do
34
- subject.should_receive(:post).with('/api/v1/invitations', { :email => 'alice@yammer.com' })
34
+ expect(subject).to receive(:post).with('/api/v1/invitations', { :email => 'alice@yammer.com' })
35
35
  subject.invite('alice@yammer.com ')
36
36
  end
37
37
  end
38
38
 
39
39
  context 'with single email as array' do
40
40
  it 'should invite users' do
41
- subject.should_receive(:post).with('/api/v1/invitations', { :email => 'bob@yammer.com' })
41
+ expect(subject).to receive(:post).with('/api/v1/invitations', { :email => 'bob@yammer.com' })
42
42
  subject.invite(%w{bob@yammer.com})
43
43
  end
44
44
  end
45
45
 
46
46
  context 'with multiple emails as string' do
47
47
  it 'should invite users' do
48
- subject.should_receive(:post).with('/api/v1/invitations', { :email => 'bob@yammer.com,alice@yammer.com' })
48
+ expect(subject).to receive(:post).with('/api/v1/invitations', { :email => 'bob@yammer.com,alice@yammer.com' })
49
49
  subject.invite(' bob@yammer.com,alice@yammer.com ')
50
50
  end
51
51
  end
52
52
 
53
53
  context 'with multiple emails as array' do
54
54
  it 'should invite users' do
55
- subject.should_receive(:post).with('/api/v1/invitations', { :email => 'bob@yammer.com,alice@yammer.com' })
55
+ expect(subject).to receive(:post).with('/api/v1/invitations', { :email => 'bob@yammer.com,alice@yammer.com' })
56
56
  subject.invite(%w{ bob@yammer.com alice@yammer.com })
57
57
  end
58
58
  end
@@ -29,17 +29,17 @@ describe Yammer::Api::Topic do
29
29
 
30
30
  describe '#likes' do
31
31
  it 'should check if user likes open graph object' do
32
- subject.should_receive(:get).with('/api/v1/likes/open_graph_object/1')
32
+ expect(subject).to receive(:get).with('/api/v1/likes/open_graph_object/1')
33
33
  subject.likes_open_graph_object?(1)
34
34
  end
35
35
 
36
36
  it 'should like open graph object' do
37
- subject.should_receive(:post).with('/api/v1/likes', :id => 1, :type => 'OpenGraphObject')
37
+ expect(subject).to receive(:post).with('/api/v1/likes', :id => 1, :type => 'OpenGraphObject')
38
38
  subject.like('OpenGraphObject', 1)
39
39
  end
40
40
 
41
41
  it 'should unlike open graph object' do
42
- subject.should_receive(:delete).with('/api/v1/likes/1')
42
+ expect(subject).to receive(:delete).with('/api/v1/likes/1')
43
43
  subject.unlike(1)
44
44
  end
45
45
  end
@@ -36,14 +36,14 @@ describe Yammer::Api::Message do
36
36
  context 'with options' do
37
37
  it 'should get_messages' do
38
38
  params = { :page => 1 }
39
- subject.should_receive(:get).with('/api/v1/messages', params)
39
+ expect(subject).to receive(:get).with('/api/v1/messages', params)
40
40
  subject.all_messages(params)
41
41
  end
42
42
  end
43
43
 
44
44
  context 'without options' do
45
45
  it 'should return all messages viewable by a user' do
46
- subject.should_receive(:get).with('/api/v1/messages', {})
46
+ expect(subject).to receive(:get).with('/api/v1/messages', {})
47
47
  subject.all_messages
48
48
  end
49
49
  end
@@ -52,98 +52,98 @@ describe Yammer::Api::Message do
52
52
  describe '#create_message' do
53
53
  it 'should create_message' do
54
54
  message = 'Greetings, we come in peace'
55
- subject.should_receive(:post).with('/api/v1/messages', :body => message)
55
+ expect(subject).to receive(:post).with('/api/v1/messages', :body => message)
56
56
  subject.create_message(message)
57
57
  end
58
58
  end
59
59
 
60
60
  describe '#message' do
61
61
  it 'should fetch a message' do
62
- subject.should_receive(:get).with('/api/v1/messages/3')
62
+ expect(subject).to receive(:get).with('/api/v1/messages/3')
63
63
  subject.get_message(3)
64
64
  end
65
65
  end
66
66
 
67
67
  describe '#delete_message' do
68
68
  it 'should delete a message' do
69
- subject.should_receive(:delete).with('/api/v1/messages/4')
69
+ expect(subject).to receive(:delete).with('/api/v1/messages/4')
70
70
  subject.delete_message(4)
71
71
  end
72
72
  end
73
73
 
74
74
  describe '#messages_sent' do
75
75
  it 'should fetch messages sent by a user' do
76
- subject.should_receive(:get).with('/api/v1/messages/sent', {})
76
+ expect(subject).to receive(:get).with('/api/v1/messages/sent', {})
77
77
  subject.messages_sent
78
78
  end
79
79
  end
80
80
 
81
81
  describe '#messages_received' do
82
82
  it 'should fetch messages received by a user' do
83
- subject.should_receive(:get).with('/api/v1/messages/received', {})
83
+ expect(subject).to receive(:get).with('/api/v1/messages/received', {})
84
84
  subject.messages_received
85
85
  end
86
86
  end
87
87
 
88
88
  describe '#private_messages' do
89
89
  it 'should fetch private messages' do
90
- subject.should_receive(:get).with('/api/v1/messages/private', {})
90
+ expect(subject).to receive(:get).with('/api/v1/messages/private', {})
91
91
  subject.private_messages
92
92
  end
93
93
  end
94
94
 
95
95
  describe '#followed_messages' do
96
96
  it 'should fetch messages followed by a user' do
97
- subject.should_receive(:get).with('/api/v1/messages/following', {})
97
+ expect(subject).to receive(:get).with('/api/v1/messages/following', {})
98
98
  subject.followed_messages
99
99
  end
100
100
  end
101
101
 
102
102
  describe '#messages_from_user' do
103
103
  it 'should fetch messages created by a user' do
104
- subject.should_receive(:get).with('/api/v1/messages/from_user/14', {})
104
+ expect(subject).to receive(:get).with('/api/v1/messages/from_user/14', {})
105
105
  subject.messages_from_user(14)
106
106
  end
107
107
  end
108
108
 
109
109
  describe '#messages_about_topic' do
110
110
  it 'should fetch messages about a topic' do
111
- subject.should_receive(:get).with('/api/v1/messages/about_topic/19', {})
111
+ expect(subject).to receive(:get).with('/api/v1/messages/about_topic/19', {})
112
112
  subject.messages_about_topic(19)
113
113
  end
114
114
  end
115
115
 
116
116
  describe '#messages_in_group' do
117
117
  it 'should fetch messages in group' do
118
- subject.should_receive(:get).with('/api/v1/messages/in_group/26', {})
118
+ expect(subject).to receive(:get).with('/api/v1/messages/in_group/26', {})
119
119
  subject.messages_in_group(26)
120
120
  end
121
121
  end
122
122
 
123
123
  describe '#messages_liked_by' do
124
124
  it 'should fetch messages liked by user' do
125
- subject.should_receive(:get).with('/api/v1/messages/liked_by/58', {})
125
+ expect(subject).to receive(:get).with('/api/v1/messages/liked_by/58', {})
126
126
  subject.messages_liked_by(58)
127
127
  end
128
128
  end
129
129
 
130
130
  describe '#like_message' do
131
131
  it 'should like the message as a the specified user' do
132
- subject.should_receive(:post).with('/api/v1/messages/liked_by/current.json?message_id=97', {})
132
+ expect(subject).to receive(:post).with('/api/v1/messages/liked_by/current.json?message_id=97', {})
133
133
  subject.like_message(97)
134
134
  end
135
135
  end
136
136
 
137
137
  describe '#unlike_message' do
138
138
  it 'should unlike the message as a the specified user' do
139
- subject.should_receive(:delete).with('/api/v1/messages/liked_by/current.json?message_id=97', {})
139
+ expect(subject).to receive(:delete).with('/api/v1/messages/liked_by/current.json?message_id=97', {})
140
140
  subject.unlike_message(97)
141
141
  end
142
142
  end
143
143
 
144
144
  describe '#messages_in_thread' do
145
145
  it 'should fetch messages in thread' do
146
- subject.should_receive(:get).with('/api/v1/messages/in_thread/97', {})
146
+ expect(subject).to receive(:get).with('/api/v1/messages/in_thread/97', {})
147
147
  subject.messages_in_thread(97)
148
148
  end
149
149
  end
@@ -34,7 +34,7 @@ describe Yammer::Api::Network do
34
34
 
35
35
  describe '#networks_current' do
36
36
  it 'should fetch network data' do
37
- subject.should_receive(:get).with('/api/v1/networks/current', { :include_suspended => true })
37
+ expect(subject).to receive(:get).with('/api/v1/networks/current', { :include_suspended => true })
38
38
  subject.current_networks({ :include_suspended => true })
39
39
  end
40
40
  end
@@ -34,7 +34,7 @@ describe Yammer::Api::Notification do
34
34
 
35
35
  describe '#notifications' do
36
36
  it "should fetch authenticated user's notifications" do
37
- subject.should_receive(:get).with('/api/v1/streams/notifications')
37
+ expect(subject).to receive(:get).with('/api/v1/streams/notifications')
38
38
  subject.notifications
39
39
  end
40
40
  end
@@ -39,7 +39,7 @@ describe Yammer::Api::Search do
39
39
  :site_name => 'Microsoft',
40
40
  :image => 'https://example.com/global/images/test.jpg'
41
41
  }
42
- subject.should_receive(:post).with('/api/v1/open_graph_objects', {
42
+ expect(subject).to receive(:post).with('/api/v1/open_graph_objects', {
43
43
  :url=>"http://www.example.com",
44
44
  :properties => {
45
45
  :site_name => "Microsoft",
@@ -50,17 +50,17 @@ describe Yammer::Api::Search do
50
50
  end
51
51
 
52
52
  it 'should follow open graph object' do
53
- subject.should_receive(:post).with('/api/v1/subscriptions', :target_id => 7, :target_type => 'OpenGraphObject')
53
+ expect(subject).to receive(:post).with('/api/v1/subscriptions', :target_id => 7, :target_type => 'OpenGraphObject')
54
54
  subject.follow_open_graph_object(7)
55
55
  end
56
56
 
57
57
  it 'should follow opnen graph object' do
58
- subject.should_receive(:get).with('/api/v1/subscriptions/to_open_graph_object/5')
58
+ expect(subject).to receive(:get).with('/api/v1/subscriptions/to_open_graph_object/5')
59
59
  subject.is_following_open_graph_object?(5)
60
60
  end
61
61
 
62
62
  it 'should fetch open graph objects in user activity stream' do
63
- subject.should_receive(:get).with('/api/v1/streams/activities', :owner_type => 'open_graph_object', :owner_id => 4)
63
+ expect(subject).to receive(:get).with('/api/v1/streams/activities', :owner_type => 'open_graph_object', :owner_id => 4)
64
64
  subject.get_activity_stream_open_graph_objects(4)
65
65
  end
66
66
  end
@@ -34,14 +34,14 @@ describe Yammer::Api::PendingAttachment do
34
34
 
35
35
  describe '#get_pending_attachment' do
36
36
  it 'should fetch a pending attachment' do
37
- subject.should_receive(:get).with('/api/v1/pending_attachments/2')
37
+ expect(subject).to receive(:get).with('/api/v1/pending_attachments/2')
38
38
  subject.get_pending_attachment(2)
39
39
  end
40
40
  end
41
41
 
42
42
  describe '#delete_pending_attachment' do
43
43
  it 'should delete a pending attachment' do
44
- subject.should_receive(:delete).with('/api/v1/pending_attachments/1')
44
+ expect(subject).to receive(:delete).with('/api/v1/pending_attachments/1')
45
45
  subject.delete_pending_attachment(1)
46
46
  end
47
47
  end
@@ -49,7 +49,7 @@ describe Yammer::Api::PendingAttachment do
49
49
  describe '#create_pending_attachment' do
50
50
  it 'should create a pending attachment' do
51
51
  attachment = upload('attachment.txt')
52
- subject.should_receive(:post).with('/api/v1/pending_attachments', :attachment => attachment)
52
+ expect(subject).to receive(:post).with('/api/v1/pending_attachments', :attachment => attachment)
53
53
  subject.create_pending_attachment(attachment)
54
54
  end
55
55
  end
@@ -34,7 +34,7 @@ describe Yammer::Api::Search do
34
34
 
35
35
  describe '#search' do
36
36
  it 'should search for stuff' do
37
- subject.should_receive(:get).with('/api/v1/search', { :search => 'tdd dojo' })
37
+ expect(subject).to receive(:get).with('/api/v1/search', { :search => 'tdd dojo' })
38
38
  subject.search(:search => 'tdd dojo')
39
39
  end
40
40
  end
@@ -34,7 +34,7 @@ describe Yammer::Api::Search do
34
34
 
35
35
  describe '#subscription' do
36
36
  it 'should create new subscription' do
37
- subject.should_receive(:post).with('/api/v1/subscriptions', :target_type =>'OpenGraphObject', :target_id => 1)
37
+ expect(subject).to receive(:post).with('/api/v1/subscriptions', :target_type =>'OpenGraphObject', :target_id => 1)
38
38
  subject.create_subscription('OpenGraphObject', 1)
39
39
  end
40
40
  end
@@ -34,7 +34,7 @@ describe Yammer::Api::Thread do
34
34
 
35
35
  describe '#get_thread' do
36
36
  it 'should fetch a thread' do
37
- subject.should_receive(:get).with('/api/v1/threads/1', {})
37
+ expect(subject).to receive(:get).with('/api/v1/threads/1', {})
38
38
  subject.get_thread(1)
39
39
  end
40
40
  end
@@ -34,7 +34,7 @@ describe Yammer::Api::Topic do
34
34
 
35
35
  describe '#topics' do
36
36
  it 'should fetch topic' do
37
- subject.should_receive(:get).with('/api/v1/topics/1',{ :is_followed_by => 2 })
37
+ expect(subject).to receive(:get).with('/api/v1/topics/1',{ :is_followed_by => 2 })
38
38
  subject.get_topic(1, :is_followed_by => 2)
39
39
  end
40
40
  end
@@ -35,7 +35,7 @@ describe Yammer::Api::User do
35
35
 
36
36
  describe 'all_users' do
37
37
  it 'makes an http request' do
38
- @client.should_receive(:get).with('/api/v1/users', { :page => 1, :letter => 'm' })
38
+ expect(@client).to receive(:get).with('/api/v1/users', { :page => 1, :letter => 'm' })
39
39
  @client.all_users({:page => 1, :letter => 'm'})
40
40
  end
41
41
  end
@@ -43,14 +43,14 @@ describe Yammer::Api::User do
43
43
  describe 'create_user' do
44
44
  it 'makes an http request' do
45
45
  params = {:first_name => 'john', :last_name => 'doe', :email => 'jdoe@yammer-inc.com'}
46
- @client.should_receive(:post).with('/api/v1/users', params)
46
+ expect(@client).to receive(:post).with('/api/v1/users', params)
47
47
  @client.create_user(params)
48
48
  end
49
49
  end
50
50
 
51
51
  describe 'get_user' do
52
52
  it 'makes an http request' do
53
- @client.should_receive(:get).with('/api/v1/users/1')
53
+ expect(@client).to receive(:get).with('/api/v1/users/1')
54
54
  @client.get_user(1)
55
55
  end
56
56
  end
@@ -58,14 +58,14 @@ describe Yammer::Api::User do
58
58
  describe 'update_user' do
59
59
  it 'makes an http request' do
60
60
  params = {:first_name => 'jane', :last_name => 'smith'}
61
- @client.should_receive(:put).with('/api/v1/users/1', params)
61
+ expect(@client).to receive(:put).with('/api/v1/users/1', params)
62
62
  @client.update_user(1, params)
63
63
  end
64
64
 
65
65
  context 'with id as a string' do
66
66
  it 'updates user' do
67
67
  params = {:first_name => 'jane', :last_name => 'smith'}
68
- @client.should_receive(:put).with('/api/v1/users/current', params)
68
+ expect(@client).to receive(:put).with('/api/v1/users/current', params)
69
69
  subject.update_user('current', params)
70
70
  end
71
71
  end
@@ -73,47 +73,47 @@ describe Yammer::Api::User do
73
73
 
74
74
  describe 'delete_user' do
75
75
  it 'makes an http request' do
76
- @client.should_receive(:delete).with('/api/v1/users/1')
76
+ expect(@client).to receive(:delete).with('/api/v1/users/1')
77
77
  @client.delete_user(1)
78
78
  end
79
79
  end
80
80
 
81
81
  describe 'get_user_by_email' do
82
82
  it 'makes an http request' do
83
- @client.should_receive(:get).with('/api/v1/users/by_email', :email => 'bob@yammer-inc.com')
83
+ expect(@client).to receive(:get).with('/api/v1/users/by_email', :email => 'bob@yammer-inc.com')
84
84
  @client.get_user_by_email('bob@yammer-inc.com')
85
85
  end
86
86
  end
87
87
 
88
88
  describe 'current_user' do
89
89
  it 'makes an http request' do
90
- @client.should_receive(:get).with('/api/v1/users/current')
90
+ expect(@client).to receive(:get).with('/api/v1/users/current')
91
91
  @client.current_user
92
92
  end
93
93
  end
94
94
 
95
95
  describe 'users_following' do
96
96
  it 'makes an http request' do
97
- @client.should_receive(:get).with('/api/v1/users/following/3')
98
- @client.users_following(3)
97
+ expect(@client).to receive(:get).with('/api/v1/users/following/3', {:page => 2})
98
+ @client.users_following(3, page: 2)
99
99
  end
100
100
  end
101
101
 
102
102
  describe 'users_followed_by' do
103
103
  it 'makes an http request' do
104
- @client.should_receive(:get).with('/api/v1/users/followed_by/4')
105
- @client.users_followed_by(4)
104
+ expect(@client).to receive(:get).with('/api/v1/users/followed_by/4', {:page => 2})
105
+ @client.users_followed_by(4, page: 2)
106
106
  end
107
107
  end
108
108
 
109
109
  describe 'users_in_group' do
110
110
  it 'makes an http request without' do
111
- @client.should_receive(:get).with('/api/v1/users/in_group/5', {})
111
+ expect(@client).to receive(:get).with('/api/v1/users/in_group/5', {})
112
112
  @client.users_in_group(5)
113
113
  end
114
-
114
+
115
115
  it 'makes an http request with optional parameters' do
116
- @client.should_receive(:get).with('/api/v1/users/in_group/5', {:page => 2})
116
+ expect(@client).to receive(:get).with('/api/v1/users/in_group/5', {:page => 2})
117
117
  @client.users_in_group(5, {:page => 2})
118
118
  end
119
119
  end
@@ -131,7 +131,7 @@ describe Yammer::Client do
131
131
  describe "#request" do
132
132
  context "when method is not supported" do
133
133
  it "raises an error" do
134
- expect {subject.send(:request, :patch, '/')}.to raise_error
134
+ expect {subject.send(:request, :patch, '/')}.to raise_error(RuntimeError)
135
135
  end
136
136
  end
137
137
 
@@ -361,4 +361,4 @@ describe Yammer::Client do
361
361
  end
362
362
  end
363
363
  end
364
- end
364
+ end
@@ -150,12 +150,12 @@ describe Yammer::Resources::Base do
150
150
 
151
151
  it 'should update model' do
152
152
  api_handler = double("ApiHandler")
153
- api_handler.should_receive(:update_dummy_model).with(42, hash_including(
153
+ expect(api_handler).to receive(:update_dummy_model).with(42, hash_including(
154
154
  :first_name =>'john',
155
155
  :last_name => 'smith')
156
156
  ).and_return(double('Response', :success? => true, :created? => true, :body => {:id => 2}))
157
157
 
158
- subject.stub(:api_handler).and_return(api_handler)
158
+ expect(subject).to receive(:api_handler).and_return(api_handler)
159
159
  subject.first_name = 'john'
160
160
  subject.last_name = 'smith'
161
161
  subject.save
@@ -167,11 +167,11 @@ describe Yammer::Resources::Base do
167
167
 
168
168
  it 'should do nothing' do
169
169
  api_handler = double("ApiHandler")
170
- api_handler.should_receive(:create_dummy_model).with(
170
+ expect(api_handler).to receive(:create_dummy_model).with(
171
171
  hash_including(:first_name =>'jim', :last_name => 'peters')
172
172
  ).and_return(double('Response', :success? => true, :created? => true, :body => {:id => '2'}))
173
173
 
174
- subject.stub(:api_handler).and_return(api_handler)
174
+ expect(subject).to receive(:api_handler).and_return(api_handler)
175
175
  subject.save
176
176
  end
177
177
  end
@@ -181,16 +181,16 @@ describe Yammer::Resources::Base do
181
181
 
182
182
  it 'should create model' do
183
183
  api_handler = double("ApiHandler")
184
- api_handler.should_receive(:create_dummy_model).with({
184
+ expect(api_handler).to receive(:create_dummy_model).with({
185
185
  :first_name =>'john',
186
186
  :last_name => 'peters'
187
187
  }).and_return(double('Response', :success? => true, :created? => true, :body => {:id => 2}))
188
188
 
189
- subject.stub(:api_handler).and_return(api_handler)
189
+ expect(subject).to receive(:api_handler).and_return(api_handler)
190
190
  subject.first_name = 'john'
191
191
  subject.save
192
192
  end
193
193
  end
194
194
  end
195
195
  end
196
- end
196
+ end
@@ -20,15 +20,10 @@
20
20
  require 'simplecov'
21
21
  require 'coveralls'
22
22
 
23
- SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
24
- SimpleCov::Formatter::HTMLFormatter,
25
- Coveralls::SimpleCov::Formatter
26
- ]
27
23
  SimpleCov.start
28
24
 
29
25
  require 'yammer'
30
26
  require 'rspec'
31
- require 'rspec/autorun'
32
27
  require 'webmock/rspec'
33
28
 
34
29
  WebMock.disable_net_connect!(:allow => 'coveralls.io')
@@ -70,4 +65,4 @@ end
70
65
 
71
66
  def upload(file)
72
67
  File.new("#{mock_path}/#{file}")
73
- end
68
+ end
@@ -43,17 +43,17 @@ Gem::Specification.new do |s|
43
43
  s.cert_chain = ['certs/public.pem']
44
44
  s.signing_key = File.expand_path("~/.gem/certs/private_key.pem") if $0 =~ /gem\z/
45
45
 
46
- s.add_dependency 'oj', '~> 2.0'
47
- s.add_dependency 'multi_json', '~> 1.10'
48
- s.add_dependency 'rest-client', '~> 1.6'
49
- s.add_dependency 'addressable', '~> 2.3'
46
+ s.add_dependency 'oj', '~> 2.14'
47
+ s.add_dependency 'multi_json', '~> 1.8'
48
+ s.add_dependency 'rest-client', '~> 1.8'
49
+ s.add_dependency 'addressable', '~> 2.4'
50
50
  s.add_dependency 'oauth2-client', '~> 2.0'
51
51
 
52
- s.add_development_dependency 'rake'
53
- s.add_development_dependency 'rspec'
54
- s.add_development_dependency 'simplecov', '~> 0.8'
55
- s.add_development_dependency 'webmock', '~> 1.9'
56
- s.add_development_dependency 'yard', '>= 0.8'
52
+ s.add_development_dependency 'rake', '~> 0'
53
+ s.add_development_dependency 'rspec', '~> 0'
54
+ s.add_development_dependency 'simplecov', '~> 0.11.1'
55
+ s.add_development_dependency 'webmock', '~> 1.17', '>= 1.17.0'
56
+ s.add_development_dependency 'yard', '~> 0.8', '>= 0.8.7'
57
57
 
58
58
  s.post_install_message = %q{ Thanks for installing! For API help go to http://developer.yammer.com }
59
59
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yam
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.1
4
+ version: 2.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin Mutyaba
@@ -10,27 +10,27 @@ bindir: bin
10
10
  cert_chain:
11
11
  - |
12
12
  -----BEGIN CERTIFICATE-----
13
- MIIDcDCCAligAwIBAgIBATANBgkqhkiG9w0BAQUFADA/MREwDwYDVQQDDAh0aWFi
14
- YXNuazEVMBMGCgmSJomT8ixkARkWBWdtYWlsMRMwEQYKCZImiZPyLGQBGRYDY29t
15
- MB4XDTE0MTExMDIzNDYxNloXDTE1MTExMDIzNDYxNlowPzERMA8GA1UEAwwIdGlh
16
- YmFzbmsxFTATBgoJkiaJk/IsZAEZFgVnbWFpbDETMBEGCgmSJomT8ixkARkWA2Nv
17
- bTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAL0rWUkIWOqkowk7uTqx
18
- ODLUzGbjvzOcUXIsvffq3JysAzaQv0inAsF82yS6OAYi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GyCVxniOZA8/UGaBD
32
32
  -----END CERTIFICATE-----
33
- date: 2014-12-12 00:00:00.000000000 Z
33
+ date: 2016-01-22 00:00:00.000000000 Z
34
34
  dependencies:
35
35
  - !ruby/object:Gem::Dependency
36
36
  name: oj
@@ -38,56 +38,56 @@ dependencies:
38
38
  requirements:
39
39
  - - "~>"
40
40
  - !ruby/object:Gem::Version
41
- version: '2.0'
41
+ version: '2.14'
42
42
  type: :runtime
43
43
  prerelease: false
44
44
  version_requirements: !ruby/object:Gem::Requirement
45
45
  requirements:
46
46
  - - "~>"
47
47
  - !ruby/object:Gem::Version
48
- version: '2.0'
48
+ version: '2.14'
49
49
  - !ruby/object:Gem::Dependency
50
50
  name: multi_json
51
51
  requirement: !ruby/object:Gem::Requirement
52
52
  requirements:
53
53
  - - "~>"
54
54
  - !ruby/object:Gem::Version
55
- version: '1.10'
55
+ version: '1.8'
56
56
  type: :runtime
57
57
  prerelease: false
58
58
  version_requirements: !ruby/object:Gem::Requirement
59
59
  requirements:
60
60
  - - "~>"
61
61
  - !ruby/object:Gem::Version
62
- version: '1.10'
62
+ version: '1.8'
63
63
  - !ruby/object:Gem::Dependency
64
64
  name: rest-client
65
65
  requirement: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - "~>"
68
68
  - !ruby/object:Gem::Version
69
- version: '1.6'
69
+ version: '1.8'
70
70
  type: :runtime
71
71
  prerelease: false
72
72
  version_requirements: !ruby/object:Gem::Requirement
73
73
  requirements:
74
74
  - - "~>"
75
75
  - !ruby/object:Gem::Version
76
- version: '1.6'
76
+ version: '1.8'
77
77
  - !ruby/object:Gem::Dependency
78
78
  name: addressable
79
79
  requirement: !ruby/object:Gem::Requirement
80
80
  requirements:
81
81
  - - "~>"
82
82
  - !ruby/object:Gem::Version
83
- version: '2.3'
83
+ version: '2.4'
84
84
  type: :runtime
85
85
  prerelease: false
86
86
  version_requirements: !ruby/object:Gem::Requirement
87
87
  requirements:
88
88
  - - "~>"
89
89
  - !ruby/object:Gem::Version
90
- version: '2.3'
90
+ version: '2.4'
91
91
  - !ruby/object:Gem::Dependency
92
92
  name: oauth2-client
93
93
  requirement: !ruby/object:Gem::Requirement
@@ -106,28 +106,28 @@ dependencies:
106
106
  name: rake
107
107
  requirement: !ruby/object:Gem::Requirement
108
108
  requirements:
109
- - - ">="
109
+ - - "~>"
110
110
  - !ruby/object:Gem::Version
111
111
  version: '0'
112
112
  type: :development
113
113
  prerelease: false
114
114
  version_requirements: !ruby/object:Gem::Requirement
115
115
  requirements:
116
- - - ">="
116
+ - - "~>"
117
117
  - !ruby/object:Gem::Version
118
118
  version: '0'
119
119
  - !ruby/object:Gem::Dependency
120
120
  name: rspec
121
121
  requirement: !ruby/object:Gem::Requirement
122
122
  requirements:
123
- - - ">="
123
+ - - "~>"
124
124
  - !ruby/object:Gem::Version
125
125
  version: '0'
126
126
  type: :development
127
127
  prerelease: false
128
128
  version_requirements: !ruby/object:Gem::Requirement
129
129
  requirements:
130
- - - ">="
130
+ - - "~>"
131
131
  - !ruby/object:Gem::Version
132
132
  version: '0'
133
133
  - !ruby/object:Gem::Dependency
@@ -136,42 +136,54 @@ dependencies:
136
136
  requirements:
137
137
  - - "~>"
138
138
  - !ruby/object:Gem::Version
139
- version: '0.8'
139
+ version: 0.11.1
140
140
  type: :development
141
141
  prerelease: false
142
142
  version_requirements: !ruby/object:Gem::Requirement
143
143
  requirements:
144
144
  - - "~>"
145
145
  - !ruby/object:Gem::Version
146
- version: '0.8'
146
+ version: 0.11.1
147
147
  - !ruby/object:Gem::Dependency
148
148
  name: webmock
149
149
  requirement: !ruby/object:Gem::Requirement
150
150
  requirements:
151
151
  - - "~>"
152
152
  - !ruby/object:Gem::Version
153
- version: '1.9'
153
+ version: '1.17'
154
+ - - ">="
155
+ - !ruby/object:Gem::Version
156
+ version: 1.17.0
154
157
  type: :development
155
158
  prerelease: false
156
159
  version_requirements: !ruby/object:Gem::Requirement
157
160
  requirements:
158
161
  - - "~>"
159
162
  - !ruby/object:Gem::Version
160
- version: '1.9'
163
+ version: '1.17'
164
+ - - ">="
165
+ - !ruby/object:Gem::Version
166
+ version: 1.17.0
161
167
  - !ruby/object:Gem::Dependency
162
168
  name: yard
163
169
  requirement: !ruby/object:Gem::Requirement
164
170
  requirements:
165
- - - ">="
171
+ - - "~>"
166
172
  - !ruby/object:Gem::Version
167
173
  version: '0.8'
174
+ - - ">="
175
+ - !ruby/object:Gem::Version
176
+ version: 0.8.7
168
177
  type: :development
169
178
  prerelease: false
170
179
  version_requirements: !ruby/object:Gem::Requirement
171
180
  requirements:
172
- - - ">="
181
+ - - "~>"
173
182
  - !ruby/object:Gem::Version
174
183
  version: '0.8'
184
+ - - ">="
185
+ - !ruby/object:Gem::Version
186
+ version: 0.8.7
175
187
  description: A Ruby wrapper for accessing Yammer's REST API
176
188
  email: kmutyaba@yammer-inc.com
177
189
  executables: []
metadata.gz.sig CHANGED
Binary file