twitter 5.7.0 → 5.7.1

Sign up to get free protection for your applications and to get access to all the features.
data.tar.gz.sig CHANGED
Binary file
@@ -1,3 +1,8 @@
1
+ 5.7.1
2
+ -----
3
+ * [Only warn if entities are not included](https://github.com/sferik/twitter/commit/82ed19e69c03ccaccc366744421b3bb3ee444625) ([@matthewrudy](https://twitter.com/matthewrudy))
4
+ * [Fix typos in documentation](https://github.com/sferik/twitter/pull/531) ([@attilaolah](https://twitter.com/attilaolah))
5
+
1
6
  5.7.0
2
7
  -----
3
8
  * [Remove `Twitter::Base.from_response` method](https://github.com/sferik/twitter/commit/6f9a352adaa5eee0611fa8d2e45fc7349b5cecae)
@@ -82,7 +82,7 @@ module Twitter
82
82
  # @param klass [Class]
83
83
  # @param key [Symbol]
84
84
  def entities(klass, key)
85
- if entities?
85
+ if !@attrs[:entities].nil?
86
86
  Array(@attrs[:entities][key.to_sym]).collect do |entity|
87
87
  klass.new(entity)
88
88
  end
@@ -21,13 +21,11 @@ module Twitter
21
21
  # Returns an array of numeric IDs for every user the authenticated user is following
22
22
  #
23
23
  # @param options [Hash] A customizable set of options.
24
- # @option options [Integer] :cursor (-1) Breaks the results into pages. This is recommended for users who are following many users. Provide a value of -1 to begin paging. Provide values as returned in the response body's next_cursor and previous_cursor attributes to page back and forth in the list.
25
24
  # @overload friend_ids(user, options = {})
26
25
  # Returns an array of numeric IDs for every user the specified user is following
27
26
  #
28
27
  # @param user [Integer, String, Twitter::User] A Twitter user ID, screen name, URI, or object.
29
28
  # @param options [Hash] A customizable set of options.
30
- # @option options [Integer] :cursor (-1) Breaks the results into pages. Provide values as returned in the response objects's next_cursor and previous_cursor attributes to page back and forth in the list.
31
29
  def friend_ids(*args)
32
30
  cursor_from_response_with_user(:ids, nil, :get, '/1.1/friends/ids.json', args)
33
31
  end
@@ -41,13 +39,11 @@ module Twitter
41
39
  # Returns an array of numeric IDs for every user following the authenticated user
42
40
  #
43
41
  # @param options [Hash] A customizable set of options.
44
- # @option options [Integer] :cursor (-1) Breaks the results into pages. Provide values as returned in the response objects's next_cursor and previous_cursor attributes to page back and forth in the list.
45
42
  # @overload follower_ids(user, options = {})
46
43
  # Returns an array of numeric IDs for every user following the specified user
47
44
  #
48
45
  # @param user [Integer, String, Twitter::User] A Twitter user ID, screen name, URI, or object.
49
46
  # @param options [Hash] A customizable set of options.
50
- # @option options [Integer] :cursor (-1) Breaks the results into pages. This is recommended for users who are following many users. Provide a value of -1 to begin paging. Provide values as returned in the response body's next_cursor and previous_cursor attributes to page back and forth in the list.
51
47
  def follower_ids(*args)
52
48
  cursor_from_response_with_user(:ids, nil, :get, '/1.1/followers/ids.json', args)
53
49
  end
@@ -78,7 +74,6 @@ module Twitter
78
74
  # @raise [Twitter::Error::Unauthorized] Error raised when supplied user credentials are not valid.
79
75
  # @return [Twitter::Cursor]
80
76
  # @param options [Hash] A customizable set of options.
81
- # @option options [Integer] :cursor (-1) Breaks the results into pages. Provide values as returned in the response objects's next_cursor and previous_cursor attributes to page back and forth in the list.
82
77
  def friendships_incoming(options = {})
83
78
  perform_with_cursor(:get, '/1.1/friendships/incoming.json', options, :ids)
84
79
  end
@@ -91,7 +86,6 @@ module Twitter
91
86
  # @raise [Twitter::Error::Unauthorized] Error raised when supplied user credentials are not valid.
92
87
  # @return [Twitter::Cursor]
93
88
  # @param options [Hash] A customizable set of options.
94
- # @option options [Integer] :cursor (-1) Breaks the results into pages. Provide values as returned in the response objects's next_cursor and previous_cursor attributes to page back and forth in the list.
95
89
  def friendships_outgoing(options = {})
96
90
  perform_with_cursor(:get, '/1.1/friendships/outgoing.json', options, :ids)
97
91
  end
@@ -223,7 +217,6 @@ module Twitter
223
217
  # Returns a cursored collection of user objects for users following the authenticated user.
224
218
  #
225
219
  # @param options [Hash] A customizable set of options.
226
- # @option options [Integer] :cursor (-1) Breaks the results into pages. This is recommended for users who are following many users. Provide a value of -1 to begin paging. Provide values as returned in the response body's next_cursor and previous_cursor attributes to page back and forth in the list.
227
220
  # @option options [Boolean, String, Integer] :skip_status Do not include contributee's Tweets when set to true, 't' or 1.
228
221
  # @option options [Boolean, String, Integer] :include_user_entities The user entities node will be disincluded when set to false.
229
222
  # @overload followers(user, options = {})
@@ -231,7 +224,6 @@ module Twitter
231
224
  #
232
225
  # @param user [Integer, String, Twitter::User] A Twitter user ID, screen name, URI, or object.
233
226
  # @param options [Hash] A customizable set of options.
234
- # @option options [Integer] :cursor (-1) Breaks the results into pages. Provide values as returned in the response objects's next_cursor and previous_cursor attributes to page back and forth in the list.
235
227
  # @option options [Boolean, String, Integer] :skip_status Do not include contributee's Tweets when set to true, 't' or 1.
236
228
  # @option options [Boolean, String, Integer] :include_user_entities The user entities node will be disincluded when set to false.
237
229
  def followers(*args)
@@ -240,16 +232,15 @@ module Twitter
240
232
 
241
233
  # Returns a cursored collection of user objects for every user the specified user is following (otherwise known as their "friends").
242
234
  #
243
- # @see https://dev.twitter.com/docs/api/1.1/get/friendships/show
235
+ # @see https://dev.twitter.com/docs/api/1.1/get/friends/list
244
236
  # @rate_limited Yes
245
237
  # @authentication Requires user context
246
- # @raise [Twittera:Error::Unauthorized] Error raised when supplied user credentials are not valid.
238
+ # @raise [Twitter::Error::Unauthorized] Error raised when supplied user credentials are not valid.
247
239
  # @return [Twitter::Cursor]
248
240
  # @overload friends(options = {})
249
241
  # Returns a cursored collection of user objects for every user the authenticated user is following (otherwise known as their "friends").
250
242
  #
251
243
  # @param options [Hash] A customizable set of options.
252
- # @option options [Integer] :cursor (-1) Breaks the results into pages. This is recommended for users who are following many users. Provide a value of -1 to begin paging. Provide values as returned in the response body's next_cursor and previous_cursor attributes to page back and forth in the list.
253
244
  # @option options [Boolean, String, Integer] :skip_status Do not include contributee's Tweets when set to true, 't' or 1.
254
245
  # @option options [Boolean, String, Integer] :include_user_entities The user entities node will be disincluded when set to false.
255
246
  # @overload friends(user, options = {})
@@ -257,7 +248,6 @@ module Twitter
257
248
  #
258
249
  # @param user [Integer, String, Twitter::User] A Twitter user ID, screen name, URI, or object.
259
250
  # @param options [Hash] A customizable set of options.
260
- # @option options [Integer] :cursor (-1) Breaks the results into pages. Provide values as returned in the response objects's next_cursor and previous_cursor attributes to page back and forth in the list.
261
251
  # @option options [Boolean, String, Integer] :skip_status Do not include contributee's Tweets when set to true, 't' or 1.
262
252
  # @option options [Boolean, String, Integer] :include_user_entities The user entities node will be disincluded when set to false.
263
253
  def friends(*args)
@@ -92,12 +92,10 @@ module Twitter
92
92
  # @return [Twitter::Cursor]
93
93
  # @overload memberships(options = {})
94
94
  # @param options [Hash] A customizable set of options.
95
- # @option options [Integer] :cursor (-1) Breaks the results into pages. Provide values as returned in the response objects's next_cursor and previous_cursor attributes to page back and forth in the list.
96
95
  # @option options [Boolean, String, Integer] :filter_to_owned_lists When set to true, t or 1, will return just lists the authenticating user owns, and the user represented by user_id or screen_name is a member of.
97
96
  # @overload memberships(user, options = {})
98
97
  # @param user [Integer, String, Twitter::User] A Twitter user ID, screen name, URI, or object.
99
98
  # @param options [Hash] A customizable set of options.
100
- # @option options [Integer] :cursor (-1) Breaks the results into pages. Provide values as returned in the response objects's next_cursor and previous_cursor attributes to page back and forth in the list.
101
99
  # @option options [Boolean, String, Integer] :filter_to_owned_lists When set to true, t or 1, will return just lists the authenticating user owns, and the user represented by user_id or screen_name is a member of.
102
100
  def memberships(*args)
103
101
  cursor_from_response_with_user(:lists, Twitter::List, :get, '/1.1/lists/memberships.json', args)
@@ -113,12 +111,10 @@ module Twitter
113
111
  # @overload list_subscribers(list, options = {})
114
112
  # @param list [Integer, String, Twitter::List] A Twitter list ID, slug, URI, or object.
115
113
  # @param options [Hash] A customizable set of options.
116
- # @option options [Integer] :cursor (-1) Breaks the results into pages. Provide values as returned in the response objects's next_cursor and previous_cursor attributes to page back and forth in the list.
117
114
  # @overload list_subscribers(user, list, options = {})
118
115
  # @param user [Integer, String, Twitter::User] A Twitter user ID, screen name, URI, or object.
119
116
  # @param list [Integer, String, Twitter::List] A Twitter list ID, slug, URI, or object.
120
117
  # @param options [Hash] A customizable set of options.
121
- # @option options [Integer] :cursor (-1) Breaks the results into pages. Provide values as returned in the response objects's next_cursor and previous_cursor attributes to page back and forth in the list.
122
118
  def list_subscribers(*args)
123
119
  cursor_from_response_with_list(:get, '/1.1/lists/subscribers.json', args)
124
120
  end
@@ -232,12 +228,10 @@ module Twitter
232
228
  # @overload list_members(list, options = {})
233
229
  # @param list [Integer, String, Twitter::List] A Twitter list ID, slug, URI, or object.
234
230
  # @param options [Hash] A customizable set of options.
235
- # @option options [Integer] :cursor (-1) Breaks the results into pages. Provide values as returned in the response objects's next_cursor and previous_cursor attributes to page back and forth in the list.
236
231
  # @overload list_members(user, list, options = {})
237
232
  # @param user [Integer, String, Twitter::User] A Twitter user ID, screen name, URI, or object.
238
233
  # @param list [Integer, String, Twitter::List] A Twitter list ID, slug, URI, or object.
239
234
  # @param options [Hash] A customizable set of options.
240
- # @option options [Integer] :cursor (-1) Breaks the results into pages. Provide values as returned in the response objects's next_cursor and previous_cursor attributes to page back and forth in the list.
241
235
  def list_members(*args)
242
236
  cursor_from_response_with_list(:get, '/1.1/lists/members.json', args)
243
237
  end
@@ -351,11 +345,9 @@ module Twitter
351
345
  # @return [Twitter::Cursor]
352
346
  # @overload subscriptions(options = {})
353
347
  # @param options [Hash] A customizable set of options.
354
- # @option options [Integer] :cursor (-1) Breaks the results into pages. Provide values as returned in the response objects's next_cursor and previous_cursor attributes to page back and forth in the list.
355
348
  # @overload subscriptions(user, options = {})
356
349
  # @param user [Integer, String, Twitter::User] A Twitter user ID, screen name, URI, or object.
357
350
  # @param options [Hash] A customizable set of options.
358
- # @option options [Integer] :cursor (-1) Breaks the results into pages. Provide values as returned in the response objects's next_cursor and previous_cursor attributes to page back and forth in the list.
359
351
  def subscriptions(*args)
360
352
  cursor_from_response_with_user(:lists, Twitter::List, :get, '/1.1/lists/subscriptions.json', args)
361
353
  end
@@ -13,21 +13,16 @@ module Twitter
13
13
  # @rate_limited Yes
14
14
  # @authentication Requires user context
15
15
  # @raise [Twitter::Error::Unauthorized] Error raised when supplied user credentials are not valid.
16
- #
16
+ # @return [Twitter::Cursor]
17
17
  # @overload following_followers_of(options = {})
18
18
  # Returns users following followers of the specified user
19
19
  #
20
20
  # @param options [Hash] A customizable set of options.
21
- # @option options [Integer] :cursor (-1) Breaks the results into pages. Provide values as returned in the response objects's next_cursor and previous_cursor attributes to page back and forth in the list.
22
- # @return [Twitter::Cursor]
23
- #
24
21
  # @overload following_followers_of(user, options = {})
25
22
  # Returns users following followers of the authenticated user
26
23
  #
27
24
  # @param user [Integer, String, Twitter::User] A Twitter user ID, screen name, URI, or object.
28
25
  # @param options [Hash] A customizable set of options.
29
- # @option options [Integer] :cursor (-1) Breaks the results into pages. Provide values as returned in the response objects's next_cursor and previous_cursor attributes to page back and forth in the list.
30
- # @return [Twitter::Cursor]
31
26
  def following_followers_of(*args)
32
27
  cursor_from_response_with_user(:users, Twitter::User, :get, '/users/following_followers_of.json', args)
33
28
  end
@@ -2,7 +2,7 @@ module Twitter
2
2
  class Version
3
3
  MAJOR = 5
4
4
  MINOR = 7
5
- PATCH = 0
5
+ PATCH = 1
6
6
  PRE = nil
7
7
 
8
8
  class << self
@@ -133,26 +133,51 @@ describe Twitter::Tweet do
133
133
  end
134
134
 
135
135
  describe '#hashtags' do
136
- it 'returns an array of Entity::Hashtag when entities are set' do
137
- hashtags_array = [
138
- {
136
+ context 'when entities are set' do
137
+ let(:hashtags_array) do
138
+ [{
139
139
  :text => 'twitter',
140
140
  :indices => [10, 33],
141
- }
142
- ]
143
- hashtags = Twitter::Tweet.new(:id => 28_669_546_014, :entities => {:hashtags => hashtags_array}).hashtags
144
- expect(hashtags).to be_an Array
145
- expect(hashtags.first).to be_a Twitter::Entity::Hashtag
146
- expect(hashtags.first.indices).to eq([10, 33])
147
- expect(hashtags.first.text).to eq('twitter')
141
+ }]
142
+ end
143
+
144
+ let(:subject) do
145
+ Twitter::Tweet.new(:id => 28_669_546_014, :entities => {:hashtags => hashtags_array})
146
+ end
147
+
148
+ it 'returns an array of Entity::Hashtag' do
149
+ hashtags = subject.hashtags
150
+ expect(hashtags).to be_an Array
151
+ expect(hashtags.first).to be_a Twitter::Entity::Hashtag
152
+ expect(hashtags.first.indices).to eq([10, 33])
153
+ expect(hashtags.first.text).to eq('twitter')
154
+ end
148
155
  end
149
- it 'is empty when not set' do
150
- hashtags = Twitter::Tweet.new(:id => 28_669_546_014).hashtags
151
- expect(hashtags).to be_empty
156
+
157
+ context 'when entities are set, but empty' do
158
+ subject { Twitter::Tweet.new(:id => 28_669_546_014, :entities => {:hashtags => []}) }
159
+
160
+ it 'is empty' do
161
+ expect(subject.hashtags).to be_empty
162
+ end
163
+
164
+ it 'does not warn' do
165
+ subject.hashtags
166
+ expect($stderr.string).to be_empty
167
+ end
152
168
  end
153
- it 'warns when not set' do
154
- Twitter::Tweet.new(:id => 28_669_546_014).hashtags
155
- expect($stderr.string).to match(/To get hashtags, you must pass `:include_entities => true` when requesting the Twitter::Tweet\./)
169
+
170
+ context 'when entities are not set' do
171
+ subject { Twitter::Tweet.new(:id => 28_669_546_014) }
172
+
173
+ it 'is empty' do
174
+ expect(subject.hashtags).to be_empty
175
+ end
176
+
177
+ it 'warns' do
178
+ subject.hashtags
179
+ expect($stderr.string).to match(/To get hashtags, you must pass `:include_entities => true` when requesting the Twitter::Tweet\./)
180
+ end
156
181
  end
157
182
  end
158
183
 
metadata CHANGED
@@ -1,15 +1,10 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: twitter
3
- version: !ruby/object:Gem::Version
4
- hash: 43
3
+ version: !ruby/object:Gem::Version
4
+ version: 5.7.1
5
5
  prerelease:
6
- segments:
7
- - 5
8
- - 7
9
- - 0
10
- version: 5.7.0
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Erik Michaels-Ober
14
9
  - John Nunemaker
15
10
  - Wynn Netherland
@@ -17,7 +12,7 @@ authors:
17
12
  - Steve Agalloco
18
13
  autorequire:
19
14
  bindir: bin
20
- cert_chain:
15
+ cert_chain:
21
16
  - |
22
17
  -----BEGIN CERTIFICATE-----
23
18
  MIIDLjCCAhagAwIBAgIBADANBgkqhkiG9w0BAQUFADA9MQ8wDQYDVQQDDAZzZmVy
@@ -39,192 +34,192 @@ cert_chain:
39
34
  Sf3lVKpBCWgRpGTvy45XVpB+59y33PJmEuQ1PTEOYvQyao9UKMAAaAN/7qWQtjl0
40
35
  hlw=
41
36
  -----END CERTIFICATE-----
42
-
43
- date: 2014-02-10 00:00:00 Z
44
- dependencies:
45
- - !ruby/object:Gem::Dependency
46
- type: :runtime
47
- requirement: &id001 !ruby/object:Gem::Requirement
48
- none: false
49
- requirements:
50
- - - ~>
51
- - !ruby/object:Gem::Version
52
- hash: 5
53
- segments:
54
- - 2
55
- - 3
56
- version: "2.3"
57
- version_requirements: *id001
37
+ date: 2014-02-12 00:00:00.000000000 Z
38
+ dependencies:
39
+ - !ruby/object:Gem::Dependency
58
40
  name: addressable
59
- prerelease: false
60
- - !ruby/object:Gem::Dependency
41
+ requirement: !ruby/object:Gem::Requirement
42
+ none: false
43
+ requirements:
44
+ - - "~>"
45
+ - !ruby/object:Gem::Version
46
+ version: '2.3'
61
47
  type: :runtime
62
- requirement: &id002 !ruby/object:Gem::Requirement
48
+ prerelease: false
49
+ version_requirements: !ruby/object:Gem::Requirement
63
50
  none: false
64
- requirements:
65
- - - ~>
66
- - !ruby/object:Gem::Version
67
- hash: 23
68
- segments:
69
- - 0
70
- - 2
71
- - 0
72
- version: 0.2.0
73
- version_requirements: *id002
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '2.3'
55
+ - !ruby/object:Gem::Dependency
74
56
  name: buftok
75
- prerelease: false
76
- - !ruby/object:Gem::Dependency
57
+ requirement: !ruby/object:Gem::Requirement
58
+ none: false
59
+ requirements:
60
+ - - "~>"
61
+ - !ruby/object:Gem::Version
62
+ version: 0.2.0
77
63
  type: :runtime
78
- requirement: &id003 !ruby/object:Gem::Requirement
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
79
66
  none: false
80
- requirements:
81
- - - ~>
82
- - !ruby/object:Gem::Version
83
- hash: 13
84
- segments:
85
- - 0
86
- - 0
87
- - 9
88
- version: 0.0.9
89
- version_requirements: *id003
67
+ requirements:
68
+ - - "~>"
69
+ - !ruby/object:Gem::Version
70
+ version: 0.2.0
71
+ - !ruby/object:Gem::Dependency
90
72
  name: equalizer
91
- prerelease: false
92
- - !ruby/object:Gem::Dependency
73
+ requirement: !ruby/object:Gem::Requirement
74
+ none: false
75
+ requirements:
76
+ - - "~>"
77
+ - !ruby/object:Gem::Version
78
+ version: 0.0.9
93
79
  type: :runtime
94
- requirement: &id004 !ruby/object:Gem::Requirement
80
+ prerelease: false
81
+ version_requirements: !ruby/object:Gem::Requirement
95
82
  none: false
96
- requirements:
97
- - - ~>
98
- - !ruby/object:Gem::Version
99
- hash: 59
100
- segments:
101
- - 0
102
- - 9
103
- - 0
104
- version: 0.9.0
105
- version_requirements: *id004
83
+ requirements:
84
+ - - "~>"
85
+ - !ruby/object:Gem::Version
86
+ version: 0.0.9
87
+ - !ruby/object:Gem::Dependency
106
88
  name: faraday
107
- prerelease: false
108
- - !ruby/object:Gem::Dependency
89
+ requirement: !ruby/object:Gem::Requirement
90
+ none: false
91
+ requirements:
92
+ - - "~>"
93
+ - !ruby/object:Gem::Version
94
+ version: 0.9.0
109
95
  type: :runtime
110
- requirement: &id005 !ruby/object:Gem::Requirement
96
+ prerelease: false
97
+ version_requirements: !ruby/object:Gem::Requirement
111
98
  none: false
112
- requirements:
113
- - - ~>
114
- - !ruby/object:Gem::Version
115
- hash: 11
116
- segments:
117
- - 0
118
- - 5
119
- - 0
120
- version: 0.5.0
121
- version_requirements: *id005
99
+ requirements:
100
+ - - "~>"
101
+ - !ruby/object:Gem::Version
102
+ version: 0.9.0
103
+ - !ruby/object:Gem::Dependency
122
104
  name: http
123
- prerelease: false
124
- - !ruby/object:Gem::Dependency
105
+ requirement: !ruby/object:Gem::Requirement
106
+ none: false
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: 0.5.0
125
111
  type: :runtime
126
- requirement: &id006 !ruby/object:Gem::Requirement
112
+ prerelease: false
113
+ version_requirements: !ruby/object:Gem::Requirement
127
114
  none: false
128
- requirements:
129
- - - ~>
130
- - !ruby/object:Gem::Version
131
- hash: 7
132
- segments:
133
- - 0
134
- - 6
135
- - 0
136
- version: 0.6.0
137
- version_requirements: *id006
115
+ requirements:
116
+ - - "~>"
117
+ - !ruby/object:Gem::Version
118
+ version: 0.5.0
119
+ - !ruby/object:Gem::Dependency
138
120
  name: http_parser.rb
139
- prerelease: false
140
- - !ruby/object:Gem::Dependency
121
+ requirement: !ruby/object:Gem::Requirement
122
+ none: false
123
+ requirements:
124
+ - - "~>"
125
+ - !ruby/object:Gem::Version
126
+ version: 0.6.0
141
127
  type: :runtime
142
- requirement: &id007 !ruby/object:Gem::Requirement
128
+ prerelease: false
129
+ version_requirements: !ruby/object:Gem::Requirement
143
130
  none: false
144
- requirements:
145
- - - ~>
146
- - !ruby/object:Gem::Version
147
- hash: 31
148
- segments:
149
- - 1
150
- - 8
151
- version: "1.8"
152
- version_requirements: *id007
131
+ requirements:
132
+ - - "~>"
133
+ - !ruby/object:Gem::Version
134
+ version: 0.6.0
135
+ - !ruby/object:Gem::Dependency
153
136
  name: json
154
- prerelease: false
155
- - !ruby/object:Gem::Dependency
137
+ requirement: !ruby/object:Gem::Requirement
138
+ none: false
139
+ requirements:
140
+ - - "~>"
141
+ - !ruby/object:Gem::Version
142
+ version: '1.8'
156
143
  type: :runtime
157
- requirement: &id008 !ruby/object:Gem::Requirement
144
+ prerelease: false
145
+ version_requirements: !ruby/object:Gem::Requirement
158
146
  none: false
159
- requirements:
160
- - - ~>
161
- - !ruby/object:Gem::Version
162
- hash: 15
163
- segments:
164
- - 0
165
- - 4
166
- - 0
167
- version: 0.4.0
168
- version_requirements: *id008
147
+ requirements:
148
+ - - "~>"
149
+ - !ruby/object:Gem::Version
150
+ version: '1.8'
151
+ - !ruby/object:Gem::Dependency
169
152
  name: memoizable
170
- prerelease: false
171
- - !ruby/object:Gem::Dependency
153
+ requirement: !ruby/object:Gem::Requirement
154
+ none: false
155
+ requirements:
156
+ - - "~>"
157
+ - !ruby/object:Gem::Version
158
+ version: 0.4.0
172
159
  type: :runtime
173
- requirement: &id009 !ruby/object:Gem::Requirement
160
+ prerelease: false
161
+ version_requirements: !ruby/object:Gem::Requirement
174
162
  none: false
175
- requirements:
176
- - - ~>
177
- - !ruby/object:Gem::Version
178
- hash: 15
179
- segments:
180
- - 1
181
- - 0
182
- version: "1.0"
183
- version_requirements: *id009
163
+ requirements:
164
+ - - "~>"
165
+ - !ruby/object:Gem::Version
166
+ version: 0.4.0
167
+ - !ruby/object:Gem::Dependency
184
168
  name: naught
185
- prerelease: false
186
- - !ruby/object:Gem::Dependency
169
+ requirement: !ruby/object:Gem::Requirement
170
+ none: false
171
+ requirements:
172
+ - - "~>"
173
+ - !ruby/object:Gem::Version
174
+ version: '1.0'
187
175
  type: :runtime
188
- requirement: &id010 !ruby/object:Gem::Requirement
176
+ prerelease: false
177
+ version_requirements: !ruby/object:Gem::Requirement
189
178
  none: false
190
- requirements:
191
- - - ~>
192
- - !ruby/object:Gem::Version
193
- hash: 23
194
- segments:
195
- - 0
196
- - 2
197
- - 0
198
- version: 0.2.0
199
- version_requirements: *id010
179
+ requirements:
180
+ - - "~>"
181
+ - !ruby/object:Gem::Version
182
+ version: '1.0'
183
+ - !ruby/object:Gem::Dependency
200
184
  name: simple_oauth
185
+ requirement: !ruby/object:Gem::Requirement
186
+ none: false
187
+ requirements:
188
+ - - "~>"
189
+ - !ruby/object:Gem::Version
190
+ version: 0.2.0
191
+ type: :runtime
201
192
  prerelease: false
202
- - !ruby/object:Gem::Dependency
203
- type: :development
204
- requirement: &id011 !ruby/object:Gem::Requirement
193
+ version_requirements: !ruby/object:Gem::Requirement
205
194
  none: false
206
- requirements:
207
- - - ~>
208
- - !ruby/object:Gem::Version
209
- hash: 15
210
- segments:
211
- - 1
212
- - 0
213
- version: "1.0"
214
- version_requirements: *id011
195
+ requirements:
196
+ - - "~>"
197
+ - !ruby/object:Gem::Version
198
+ version: 0.2.0
199
+ - !ruby/object:Gem::Dependency
215
200
  name: bundler
201
+ requirement: !ruby/object:Gem::Requirement
202
+ none: false
203
+ requirements:
204
+ - - "~>"
205
+ - !ruby/object:Gem::Version
206
+ version: '1.0'
207
+ type: :development
216
208
  prerelease: false
209
+ version_requirements: !ruby/object:Gem::Requirement
210
+ none: false
211
+ requirements:
212
+ - - "~>"
213
+ - !ruby/object:Gem::Version
214
+ version: '1.0'
217
215
  description: A Ruby interface to the Twitter API.
218
- email:
216
+ email:
219
217
  - sferik@gmail.com
220
218
  executables: []
221
-
222
219
  extensions: []
223
-
224
220
  extra_rdoc_files: []
225
-
226
- files:
227
- - .yardopts
221
+ files:
222
+ - ".yardopts"
228
223
  - CHANGELOG.md
229
224
  - CONTRIBUTING.md
230
225
  - LICENSE.md
@@ -435,41 +430,34 @@ files:
435
430
  - spec/twitter/tweet_spec.rb
436
431
  - spec/twitter/user_spec.rb
437
432
  homepage: http://sferik.github.com/twitter/
438
- licenses:
433
+ licenses:
439
434
  - MIT
440
435
  post_install_message:
441
436
  rdoc_options: []
442
-
443
- require_paths:
437
+ require_paths:
444
438
  - lib
445
- required_ruby_version: !ruby/object:Gem::Requirement
439
+ required_ruby_version: !ruby/object:Gem::Requirement
446
440
  none: false
447
- requirements:
441
+ requirements:
448
442
  - - ">="
449
- - !ruby/object:Gem::Version
450
- hash: 3
451
- segments:
443
+ - !ruby/object:Gem::Version
444
+ version: '0'
445
+ segments:
452
446
  - 0
453
- version: "0"
454
- required_rubygems_version: !ruby/object:Gem::Requirement
447
+ hash: 266574229408676669
448
+ required_rubygems_version: !ruby/object:Gem::Requirement
455
449
  none: false
456
- requirements:
450
+ requirements:
457
451
  - - ">="
458
- - !ruby/object:Gem::Version
459
- hash: 17
460
- segments:
461
- - 1
462
- - 3
463
- - 5
452
+ - !ruby/object:Gem::Version
464
453
  version: 1.3.5
465
454
  requirements: []
466
-
467
455
  rubyforge_project:
468
456
  rubygems_version: 1.8.29
469
457
  signing_key:
470
458
  specification_version: 3
471
459
  summary: A Ruby interface to the Twitter API.
472
- test_files:
460
+ test_files:
473
461
  - spec/fixtures/already_favorited.json
474
462
  - spec/fixtures/already_posted.json
475
463
  - spec/fixtures/already_retweeted.json
metadata.gz.sig CHANGED
Binary file