twitter 5.11.0 → 5.12.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (178) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +11 -1
  3. data/README.md +7 -5
  4. data/lib/twitter/arguments.rb +1 -0
  5. data/lib/twitter/base.rb +4 -5
  6. data/lib/twitter/basic_user.rb +1 -0
  7. data/lib/twitter/client.rb +10 -9
  8. data/lib/twitter/configuration.rb +4 -2
  9. data/lib/twitter/cursor.rb +3 -2
  10. data/lib/twitter/direct_message.rb +1 -0
  11. data/lib/twitter/entity.rb +1 -0
  12. data/lib/twitter/entity/hashtag.rb +1 -0
  13. data/lib/twitter/entity/symbol.rb +1 -0
  14. data/lib/twitter/entity/user_mention.rb +4 -1
  15. data/lib/twitter/error.rb +22 -19
  16. data/lib/twitter/geo.rb +1 -0
  17. data/lib/twitter/geo_results.rb +3 -2
  18. data/lib/twitter/identity.rb +1 -0
  19. data/lib/twitter/language.rb +1 -0
  20. data/lib/twitter/list.rb +12 -5
  21. data/lib/twitter/media/photo.rb +1 -0
  22. data/lib/twitter/metadata.rb +1 -0
  23. data/lib/twitter/null_object.rb +22 -0
  24. data/lib/twitter/oembed.rb +5 -2
  25. data/lib/twitter/place.rb +4 -1
  26. data/lib/twitter/profile.rb +1 -1
  27. data/lib/twitter/rest/client.rb +4 -4
  28. data/lib/twitter/rest/favorites.rb +4 -3
  29. data/lib/twitter/rest/lists.rb +18 -3
  30. data/lib/twitter/rest/request/multipart_with_file.rb +1 -1
  31. data/lib/twitter/rest/response/parse_json.rb +1 -1
  32. data/lib/twitter/rest/response/raise_error.rb +4 -5
  33. data/lib/twitter/rest/tweets.rb +2 -1
  34. data/lib/twitter/rest/users.rb +10 -7
  35. data/lib/twitter/saved_search.rb +1 -0
  36. data/lib/twitter/search_results.rb +3 -2
  37. data/lib/twitter/settings.rb +7 -3
  38. data/lib/twitter/size.rb +4 -1
  39. data/lib/twitter/streaming/deleted_tweet.rb +1 -0
  40. data/lib/twitter/streaming/event.rb +2 -2
  41. data/lib/twitter/streaming/message_parser.rb +1 -1
  42. data/lib/twitter/suggestion.rb +4 -1
  43. data/lib/twitter/token.rb +1 -0
  44. data/lib/twitter/trend.rb +1 -0
  45. data/lib/twitter/trend_results.rb +3 -2
  46. data/lib/twitter/tweet.rb +9 -6
  47. data/lib/twitter/user.rb +15 -13
  48. data/lib/twitter/utils.rb +2 -6
  49. data/lib/twitter/version.rb +1 -1
  50. data/twitter.gemspec +6 -9
  51. metadata +6 -259
  52. data/Rakefile +0 -37
  53. data/spec/fixtures/already_favorited.json +0 -1
  54. data/spec/fixtures/already_posted.json +0 -1
  55. data/spec/fixtures/already_retweeted.json +0 -1
  56. data/spec/fixtures/bearer_token.json +0 -1
  57. data/spec/fixtures/category.json +0 -1
  58. data/spec/fixtures/configuration.json +0 -1
  59. data/spec/fixtures/contributees.json +0 -1
  60. data/spec/fixtures/count.json +0 -1
  61. data/spec/fixtures/direct_message.json +0 -1
  62. data/spec/fixtures/direct_messages.json +0 -1
  63. data/spec/fixtures/empty.json +0 -0
  64. data/spec/fixtures/followers_list.json +0 -1
  65. data/spec/fixtures/followers_list2.json +0 -1
  66. data/spec/fixtures/following.json +0 -1
  67. data/spec/fixtures/forbidden.json +0 -1
  68. data/spec/fixtures/friends_list.json +0 -1
  69. data/spec/fixtures/friends_list2.json +0 -1
  70. data/spec/fixtures/friendships.json +0 -1
  71. data/spec/fixtures/ids.json +0 -1
  72. data/spec/fixtures/ids_list.json +0 -1
  73. data/spec/fixtures/ids_list2.json +0 -1
  74. data/spec/fixtures/languages.json +0 -1
  75. data/spec/fixtures/list.json +0 -1
  76. data/spec/fixtures/lists.json +0 -1
  77. data/spec/fixtures/locations.json +0 -1
  78. data/spec/fixtures/matching_trends.json +0 -1
  79. data/spec/fixtures/me.jpeg +0 -0
  80. data/spec/fixtures/members.json +0 -1
  81. data/spec/fixtures/memberships.json +0 -1
  82. data/spec/fixtures/memberships2.json +0 -1
  83. data/spec/fixtures/not_following.json +0 -1
  84. data/spec/fixtures/not_found.json +0 -1
  85. data/spec/fixtures/oembed.json +0 -1
  86. data/spec/fixtures/ownerships.json +0 -1
  87. data/spec/fixtures/pbjt.gif +0 -0
  88. data/spec/fixtures/pengwynn.json +0 -1
  89. data/spec/fixtures/place.json +0 -1
  90. data/spec/fixtures/places.json +0 -1
  91. data/spec/fixtures/privacy.json +0 -1
  92. data/spec/fixtures/profile_banner.json +0 -1
  93. data/spec/fixtures/request_token.txt +0 -6
  94. data/spec/fixtures/retweet.json +0 -1
  95. data/spec/fixtures/retweets.json +0 -1
  96. data/spec/fixtures/saved_search.json +0 -1
  97. data/spec/fixtures/saved_searches.json +0 -1
  98. data/spec/fixtures/search.json +0 -1
  99. data/spec/fixtures/search2.json +0 -1
  100. data/spec/fixtures/search_malformed.json +0 -1
  101. data/spec/fixtures/settings.json +0 -1
  102. data/spec/fixtures/sferik.json +0 -1
  103. data/spec/fixtures/status.json +0 -1
  104. data/spec/fixtures/statuses.json +0 -1
  105. data/spec/fixtures/subscriptions.json +0 -1
  106. data/spec/fixtures/subscriptions2.json +0 -1
  107. data/spec/fixtures/suggestions.json +0 -1
  108. data/spec/fixtures/tos.json +0 -1
  109. data/spec/fixtures/track_streaming.json +0 -3
  110. data/spec/fixtures/track_streaming_user.json +0 -6
  111. data/spec/fixtures/upload.json +0 -1
  112. data/spec/fixtures/user_search.json +0 -1
  113. data/spec/fixtures/user_timeline.json +0 -1
  114. data/spec/fixtures/users.json +0 -1
  115. data/spec/fixtures/users_list.json +0 -1
  116. data/spec/fixtures/users_list2.json +0 -1
  117. data/spec/fixtures/we_concept_bg2.png +0 -0
  118. data/spec/fixtures/wildcomet2.jpe +0 -0
  119. data/spec/helper.rb +0 -68
  120. data/spec/twitter/base_spec.rb +0 -39
  121. data/spec/twitter/basic_user_spec.rb +0 -23
  122. data/spec/twitter/configuration_spec.rb +0 -17
  123. data/spec/twitter/cursor_spec.rb +0 -30
  124. data/spec/twitter/direct_message_spec.rb +0 -232
  125. data/spec/twitter/entity/uri_spec.rb +0 -75
  126. data/spec/twitter/error_spec.rb +0 -52
  127. data/spec/twitter/geo/point_spec.rb +0 -41
  128. data/spec/twitter/geo/polygon_spec.rb +0 -29
  129. data/spec/twitter/geo_factory_spec.rb +0 -19
  130. data/spec/twitter/geo_results_spec.rb +0 -35
  131. data/spec/twitter/geo_spec.rb +0 -29
  132. data/spec/twitter/identifiable_spec.rb +0 -29
  133. data/spec/twitter/list_spec.rb +0 -88
  134. data/spec/twitter/media/photo_spec.rb +0 -151
  135. data/spec/twitter/media_factory_spec.rb +0 -15
  136. data/spec/twitter/oembed_spec.rb +0 -170
  137. data/spec/twitter/place_spec.rb +0 -168
  138. data/spec/twitter/profile_banner_spec.rb +0 -13
  139. data/spec/twitter/rate_limit_spec.rb +0 -59
  140. data/spec/twitter/relationship_spec.rb +0 -49
  141. data/spec/twitter/rest/client_spec.rb +0 -217
  142. data/spec/twitter/rest/direct_messages_spec.rb +0 -133
  143. data/spec/twitter/rest/favorites_spec.rb +0 -188
  144. data/spec/twitter/rest/friends_and_followers_spec.rb +0 -667
  145. data/spec/twitter/rest/geo_spec.rb +0 -68
  146. data/spec/twitter/rest/help_spec.rb +0 -68
  147. data/spec/twitter/rest/lists_spec.rb +0 -910
  148. data/spec/twitter/rest/media_spec.rb +0 -54
  149. data/spec/twitter/rest/oauth_spec.rb +0 -63
  150. data/spec/twitter/rest/saved_searches_spec.rb +0 -98
  151. data/spec/twitter/rest/search_spec.rb +0 -42
  152. data/spec/twitter/rest/spam_reporting_spec.rb +0 -25
  153. data/spec/twitter/rest/suggested_users_spec.rb +0 -59
  154. data/spec/twitter/rest/timelines_spec.rb +0 -138
  155. data/spec/twitter/rest/trends_spec.rb +0 -68
  156. data/spec/twitter/rest/tweets_spec.rb +0 -614
  157. data/spec/twitter/rest/undocumented_spec.rb +0 -103
  158. data/spec/twitter/rest/users_spec.rb +0 -797
  159. data/spec/twitter/saved_search_spec.rb +0 -45
  160. data/spec/twitter/search_results_spec.rb +0 -30
  161. data/spec/twitter/settings_spec.rb +0 -27
  162. data/spec/twitter/size_spec.rb +0 -28
  163. data/spec/twitter/source_user_spec.rb +0 -23
  164. data/spec/twitter/streaming/client_spec.rb +0 -123
  165. data/spec/twitter/streaming/connection_spec.rb +0 -32
  166. data/spec/twitter/streaming/deleted_tweet_spec.rb +0 -23
  167. data/spec/twitter/streaming/event_spec.rb +0 -43
  168. data/spec/twitter/streaming/friend_list_spec.rb +0 -11
  169. data/spec/twitter/streaming/message_parser_spec.rb +0 -54
  170. data/spec/twitter/streaming/response_spec.rb +0 -21
  171. data/spec/twitter/suggestion_spec.rb +0 -40
  172. data/spec/twitter/target_user_spec.rb +0 -23
  173. data/spec/twitter/token_spec.rb +0 -16
  174. data/spec/twitter/trend_results_spec.rb +0 -89
  175. data/spec/twitter/trend_spec.rb +0 -51
  176. data/spec/twitter/tweet_spec.rb +0 -456
  177. data/spec/twitter/user_spec.rb +0 -447
  178. data/spec/twitter/utils_spec.rb +0 -34
@@ -6,9 +6,11 @@ module Twitter
6
6
  class Tweet < Twitter::Identity
7
7
  include Twitter::Creatable
8
8
  include Twitter::Entities
9
- attr_reader :favorite_count, :filter_level, :in_reply_to_screen_name,
10
- :in_reply_to_attrs_id, :in_reply_to_status_id, :in_reply_to_user_id,
11
- :lang, :retweet_count, :source, :text
9
+ # @return [String]
10
+ attr_reader :filter_level, :in_reply_to_screen_name, :lang, :source, :text
11
+ # @return [Integer]
12
+ attr_reader :favorite_count, :in_reply_to_status_id, :in_reply_to_user_id,
13
+ :retweet_count
12
14
  deprecate_alias :favorites_count, :favorite_count
13
15
  deprecate_alias :favoriters_count, :favorite_count
14
16
  alias_method :in_reply_to_tweet_id, :in_reply_to_status_id
@@ -22,7 +24,8 @@ module Twitter
22
24
  alias_method :retweet?, :retweeted_status?
23
25
  alias_method :retweeted_tweet?, :retweeted_status?
24
26
  object_attr_reader :User, :user, :status
25
- predicate_attr_reader :favorited, :retweeted, :truncated
27
+ predicate_attr_reader :favorited, :possibly_sensitive, :retweeted,
28
+ :truncated
26
29
 
27
30
  # @note May be > 140 characters.
28
31
  # @return [String]
@@ -36,9 +39,9 @@ module Twitter
36
39
  end
37
40
  memoize :full_text
38
41
 
39
- # @return [String] The URL to the tweet.
42
+ # @return [Addressable::URI] The URL to the tweet.
40
43
  def uri
41
- Addressable::URI.parse("https://twitter.com/#{user.screen_name}/status/#{id}") unless user.nil?
44
+ Addressable::URI.parse("https://twitter.com/#{user.screen_name}/status/#{id}") if user?
42
45
  end
43
46
  memoize :uri
44
47
  alias_method :url, :uri
@@ -10,17 +10,18 @@ module Twitter
10
10
  include Twitter::Creatable
11
11
  include Twitter::Profile
12
12
  include Memoizable
13
- attr_reader :connections, :description, :favourites_count,
14
- :followers_count, :friends_count, :lang, :listed_count,
15
- :location, :name, :profile_background_color,
16
- :profile_background_image_url,
17
- :profile_background_image_url_https, :profile_link_color,
13
+ # @return [Array]
14
+ attr_reader :connections
15
+ # @return [Integer]
16
+ attr_reader :favourites_count, :followers_count, :friends_count,
17
+ :listed_count, :statuses_count, :utc_offset
18
+ # @return [String]
19
+ attr_reader :description, :lang, :location, :name,
20
+ :profile_background_color, :profile_link_color,
18
21
  :profile_sidebar_border_color, :profile_sidebar_fill_color,
19
- :profile_text_color, :statuses_count, :time_zone, :utc_offset
22
+ :profile_text_color, :time_zone
20
23
  alias_method :favorites_count, :favourites_count
21
24
  remove_method :favourites_count
22
- alias_method :profile_background_image_uri, :profile_background_image_url
23
- alias_method :profile_background_image_uri_https, :profile_background_image_url_https
24
25
  alias_method :tweets_count, :statuses_count
25
26
  object_attr_reader :Tweet, :status, :user
26
27
  alias_method :tweet, :status
@@ -33,6 +34,7 @@ module Twitter
33
34
  :profile_use_background_image, :suspended, :verified
34
35
  define_predicate_method :translator, :is_translator
35
36
  define_predicate_method :translation_enabled, :is_translation_enabled
37
+ uri_attr_reader :profile_background_image_uri, :profile_background_image_uri_https
36
38
 
37
39
  class << self
38
40
  private
@@ -78,17 +80,17 @@ module Twitter
78
80
  end
79
81
  memoize :entities?
80
82
 
81
- # @return [String] The URL to the user.
83
+ # @return [Addressable::URI] The URL to the user.
82
84
  def uri
83
- Addressable::URI.parse("https://twitter.com/#{screen_name}") unless screen_name.nil?
85
+ Addressable::URI.parse("https://twitter.com/#{screen_name}") if screen_name?
84
86
  end
85
87
  memoize :uri
86
88
  alias_method :url, :uri
87
89
 
88
- # @return [String] The URL to the user's website.
90
+ # @return [Addressable::URI] The URL to the user's website.
89
91
  def website
90
- if website_urls?
91
- website_urls.first.expanded_url
92
+ if website_uris?
93
+ website_uris.first.expanded_url
92
94
  else
93
95
  Addressable::URI.parse(@attrs[:url])
94
96
  end
@@ -7,14 +7,10 @@ module Twitter
7
7
  end
8
8
 
9
9
  module ClassMethods
10
- def deprecate_alias(new_name, old_name)
10
+ def deprecate_alias(new_name, old_name, &block)
11
11
  define_method(new_name) do |*args|
12
12
  warn "#{Kernel.caller.first}: [DEPRECATION] ##{new_name} is deprecated. Use ##{old_name} instead."
13
- if block_given?
14
- send(old_name, *args, &Proc.new)
15
- else
16
- send(old_name, *args)
17
- end
13
+ send(old_name, *args, &block)
18
14
  end
19
15
  end
20
16
  end
@@ -1,7 +1,7 @@
1
1
  module Twitter
2
2
  class Version
3
3
  MAJOR = 5
4
- MINOR = 11
4
+ MINOR = 12
5
5
  PATCH = 0
6
6
  PRE = nil
7
7
 
@@ -12,20 +12,17 @@ Gem::Specification.new do |spec|
12
12
  spec.add_dependency 'json', '~> 1.8'
13
13
  spec.add_dependency 'memoizable', '~> 0.4.0'
14
14
  spec.add_dependency 'naught', '~> 1.0'
15
- spec.add_dependency 'simple_oauth', '~> 0.2.0'
15
+ spec.add_dependency 'simple_oauth', '~> 0.3.0'
16
16
  spec.add_development_dependency 'bundler', '~> 1.0'
17
17
  spec.authors = ['Erik Michaels-Ober', 'John Nunemaker', 'Wynn Netherland', 'Steve Richert', 'Steve Agalloco']
18
- spec.description = %q(A Ruby interface to the Twitter API.)
19
- spec.email = %w[sferik@gmail.com]
20
- spec.files = %w[.yardopts CHANGELOG.md CONTRIBUTING.md LICENSE.md README.md Rakefile twitter.gemspec]
21
- spec.files += Dir.glob('lib/**/*.rb')
22
- spec.files += Dir.glob('spec/**/*')
18
+ spec.description = 'A Ruby interface to the Twitter API.'
19
+ spec.email = %w(sferik@gmail.com)
20
+ spec.files = %w(.yardopts CHANGELOG.md CONTRIBUTING.md LICENSE.md README.md twitter.gemspec) + Dir['lib/**/*.rb']
23
21
  spec.homepage = 'http://sferik.github.com/twitter/'
24
- spec.licenses = %w[MIT]
22
+ spec.licenses = %w(MIT)
25
23
  spec.name = 'twitter'
26
- spec.require_paths = %w[lib]
24
+ spec.require_paths = %w(lib)
27
25
  spec.required_rubygems_version = '>= 1.3.5'
28
26
  spec.summary = spec.description
29
- spec.test_files = Dir.glob('spec/**/*')
30
27
  spec.version = Twitter::Version
31
28
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: twitter
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.11.0
4
+ version: 5.12.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Erik Michaels-Ober
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2014-06-20 00:00:00.000000000 Z
15
+ date: 2014-10-30 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: addressable
@@ -146,14 +146,14 @@ dependencies:
146
146
  requirements:
147
147
  - - "~>"
148
148
  - !ruby/object:Gem::Version
149
- version: 0.2.0
149
+ version: 0.3.0
150
150
  type: :runtime
151
151
  prerelease: false
152
152
  version_requirements: !ruby/object:Gem::Requirement
153
153
  requirements:
154
154
  - - "~>"
155
155
  - !ruby/object:Gem::Version
156
- version: 0.2.0
156
+ version: 0.3.0
157
157
  - !ruby/object:Gem::Dependency
158
158
  name: bundler
159
159
  requirement: !ruby/object:Gem::Requirement
@@ -180,7 +180,6 @@ files:
180
180
  - CONTRIBUTING.md
181
181
  - LICENSE.md
182
182
  - README.md
183
- - Rakefile
184
183
  - lib/twitter.rb
185
184
  - lib/twitter/arguments.rb
186
185
  - lib/twitter/base.rb
@@ -264,132 +263,6 @@ files:
264
263
  - lib/twitter/user.rb
265
264
  - lib/twitter/utils.rb
266
265
  - lib/twitter/version.rb
267
- - spec/fixtures/already_favorited.json
268
- - spec/fixtures/already_posted.json
269
- - spec/fixtures/already_retweeted.json
270
- - spec/fixtures/bearer_token.json
271
- - spec/fixtures/category.json
272
- - spec/fixtures/configuration.json
273
- - spec/fixtures/contributees.json
274
- - spec/fixtures/count.json
275
- - spec/fixtures/direct_message.json
276
- - spec/fixtures/direct_messages.json
277
- - spec/fixtures/empty.json
278
- - spec/fixtures/followers_list.json
279
- - spec/fixtures/followers_list2.json
280
- - spec/fixtures/following.json
281
- - spec/fixtures/forbidden.json
282
- - spec/fixtures/friends_list.json
283
- - spec/fixtures/friends_list2.json
284
- - spec/fixtures/friendships.json
285
- - spec/fixtures/ids.json
286
- - spec/fixtures/ids_list.json
287
- - spec/fixtures/ids_list2.json
288
- - spec/fixtures/languages.json
289
- - spec/fixtures/list.json
290
- - spec/fixtures/lists.json
291
- - spec/fixtures/locations.json
292
- - spec/fixtures/matching_trends.json
293
- - spec/fixtures/me.jpeg
294
- - spec/fixtures/members.json
295
- - spec/fixtures/memberships.json
296
- - spec/fixtures/memberships2.json
297
- - spec/fixtures/not_following.json
298
- - spec/fixtures/not_found.json
299
- - spec/fixtures/oembed.json
300
- - spec/fixtures/ownerships.json
301
- - spec/fixtures/pbjt.gif
302
- - spec/fixtures/pengwynn.json
303
- - spec/fixtures/place.json
304
- - spec/fixtures/places.json
305
- - spec/fixtures/privacy.json
306
- - spec/fixtures/profile_banner.json
307
- - spec/fixtures/request_token.txt
308
- - spec/fixtures/retweet.json
309
- - spec/fixtures/retweets.json
310
- - spec/fixtures/saved_search.json
311
- - spec/fixtures/saved_searches.json
312
- - spec/fixtures/search.json
313
- - spec/fixtures/search2.json
314
- - spec/fixtures/search_malformed.json
315
- - spec/fixtures/settings.json
316
- - spec/fixtures/sferik.json
317
- - spec/fixtures/status.json
318
- - spec/fixtures/statuses.json
319
- - spec/fixtures/subscriptions.json
320
- - spec/fixtures/subscriptions2.json
321
- - spec/fixtures/suggestions.json
322
- - spec/fixtures/tos.json
323
- - spec/fixtures/track_streaming.json
324
- - spec/fixtures/track_streaming_user.json
325
- - spec/fixtures/upload.json
326
- - spec/fixtures/user_search.json
327
- - spec/fixtures/user_timeline.json
328
- - spec/fixtures/users.json
329
- - spec/fixtures/users_list.json
330
- - spec/fixtures/users_list2.json
331
- - spec/fixtures/we_concept_bg2.png
332
- - spec/fixtures/wildcomet2.jpe
333
- - spec/helper.rb
334
- - spec/twitter/base_spec.rb
335
- - spec/twitter/basic_user_spec.rb
336
- - spec/twitter/configuration_spec.rb
337
- - spec/twitter/cursor_spec.rb
338
- - spec/twitter/direct_message_spec.rb
339
- - spec/twitter/entity/uri_spec.rb
340
- - spec/twitter/error_spec.rb
341
- - spec/twitter/geo/point_spec.rb
342
- - spec/twitter/geo/polygon_spec.rb
343
- - spec/twitter/geo_factory_spec.rb
344
- - spec/twitter/geo_results_spec.rb
345
- - spec/twitter/geo_spec.rb
346
- - spec/twitter/identifiable_spec.rb
347
- - spec/twitter/list_spec.rb
348
- - spec/twitter/media/photo_spec.rb
349
- - spec/twitter/media_factory_spec.rb
350
- - spec/twitter/oembed_spec.rb
351
- - spec/twitter/place_spec.rb
352
- - spec/twitter/profile_banner_spec.rb
353
- - spec/twitter/rate_limit_spec.rb
354
- - spec/twitter/relationship_spec.rb
355
- - spec/twitter/rest/client_spec.rb
356
- - spec/twitter/rest/direct_messages_spec.rb
357
- - spec/twitter/rest/favorites_spec.rb
358
- - spec/twitter/rest/friends_and_followers_spec.rb
359
- - spec/twitter/rest/geo_spec.rb
360
- - spec/twitter/rest/help_spec.rb
361
- - spec/twitter/rest/lists_spec.rb
362
- - spec/twitter/rest/media_spec.rb
363
- - spec/twitter/rest/oauth_spec.rb
364
- - spec/twitter/rest/saved_searches_spec.rb
365
- - spec/twitter/rest/search_spec.rb
366
- - spec/twitter/rest/spam_reporting_spec.rb
367
- - spec/twitter/rest/suggested_users_spec.rb
368
- - spec/twitter/rest/timelines_spec.rb
369
- - spec/twitter/rest/trends_spec.rb
370
- - spec/twitter/rest/tweets_spec.rb
371
- - spec/twitter/rest/undocumented_spec.rb
372
- - spec/twitter/rest/users_spec.rb
373
- - spec/twitter/saved_search_spec.rb
374
- - spec/twitter/search_results_spec.rb
375
- - spec/twitter/settings_spec.rb
376
- - spec/twitter/size_spec.rb
377
- - spec/twitter/source_user_spec.rb
378
- - spec/twitter/streaming/client_spec.rb
379
- - spec/twitter/streaming/connection_spec.rb
380
- - spec/twitter/streaming/deleted_tweet_spec.rb
381
- - spec/twitter/streaming/event_spec.rb
382
- - spec/twitter/streaming/friend_list_spec.rb
383
- - spec/twitter/streaming/message_parser_spec.rb
384
- - spec/twitter/streaming/response_spec.rb
385
- - spec/twitter/suggestion_spec.rb
386
- - spec/twitter/target_user_spec.rb
387
- - spec/twitter/token_spec.rb
388
- - spec/twitter/trend_results_spec.rb
389
- - spec/twitter/trend_spec.rb
390
- - spec/twitter/tweet_spec.rb
391
- - spec/twitter/user_spec.rb
392
- - spec/twitter/utils_spec.rb
393
266
  - twitter.gemspec
394
267
  homepage: http://sferik.github.com/twitter/
395
268
  licenses:
@@ -411,135 +284,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
411
284
  version: 1.3.5
412
285
  requirements: []
413
286
  rubyforge_project:
414
- rubygems_version: 2.3.0
287
+ rubygems_version: 2.2.2
415
288
  signing_key:
416
289
  specification_version: 4
417
290
  summary: A Ruby interface to the Twitter API.
418
- test_files:
419
- - spec/fixtures/already_favorited.json
420
- - spec/fixtures/already_posted.json
421
- - spec/fixtures/already_retweeted.json
422
- - spec/fixtures/bearer_token.json
423
- - spec/fixtures/category.json
424
- - spec/fixtures/configuration.json
425
- - spec/fixtures/contributees.json
426
- - spec/fixtures/count.json
427
- - spec/fixtures/direct_message.json
428
- - spec/fixtures/direct_messages.json
429
- - spec/fixtures/empty.json
430
- - spec/fixtures/followers_list.json
431
- - spec/fixtures/followers_list2.json
432
- - spec/fixtures/following.json
433
- - spec/fixtures/forbidden.json
434
- - spec/fixtures/friends_list.json
435
- - spec/fixtures/friends_list2.json
436
- - spec/fixtures/friendships.json
437
- - spec/fixtures/ids.json
438
- - spec/fixtures/ids_list.json
439
- - spec/fixtures/ids_list2.json
440
- - spec/fixtures/languages.json
441
- - spec/fixtures/list.json
442
- - spec/fixtures/lists.json
443
- - spec/fixtures/locations.json
444
- - spec/fixtures/matching_trends.json
445
- - spec/fixtures/me.jpeg
446
- - spec/fixtures/members.json
447
- - spec/fixtures/memberships.json
448
- - spec/fixtures/memberships2.json
449
- - spec/fixtures/not_following.json
450
- - spec/fixtures/not_found.json
451
- - spec/fixtures/oembed.json
452
- - spec/fixtures/ownerships.json
453
- - spec/fixtures/pbjt.gif
454
- - spec/fixtures/pengwynn.json
455
- - spec/fixtures/place.json
456
- - spec/fixtures/places.json
457
- - spec/fixtures/privacy.json
458
- - spec/fixtures/profile_banner.json
459
- - spec/fixtures/request_token.txt
460
- - spec/fixtures/retweet.json
461
- - spec/fixtures/retweets.json
462
- - spec/fixtures/saved_search.json
463
- - spec/fixtures/saved_searches.json
464
- - spec/fixtures/search.json
465
- - spec/fixtures/search2.json
466
- - spec/fixtures/search_malformed.json
467
- - spec/fixtures/settings.json
468
- - spec/fixtures/sferik.json
469
- - spec/fixtures/status.json
470
- - spec/fixtures/statuses.json
471
- - spec/fixtures/subscriptions.json
472
- - spec/fixtures/subscriptions2.json
473
- - spec/fixtures/suggestions.json
474
- - spec/fixtures/tos.json
475
- - spec/fixtures/track_streaming.json
476
- - spec/fixtures/track_streaming_user.json
477
- - spec/fixtures/upload.json
478
- - spec/fixtures/user_search.json
479
- - spec/fixtures/user_timeline.json
480
- - spec/fixtures/users.json
481
- - spec/fixtures/users_list.json
482
- - spec/fixtures/users_list2.json
483
- - spec/fixtures/we_concept_bg2.png
484
- - spec/fixtures/wildcomet2.jpe
485
- - spec/helper.rb
486
- - spec/twitter/base_spec.rb
487
- - spec/twitter/basic_user_spec.rb
488
- - spec/twitter/configuration_spec.rb
489
- - spec/twitter/cursor_spec.rb
490
- - spec/twitter/direct_message_spec.rb
491
- - spec/twitter/entity/uri_spec.rb
492
- - spec/twitter/error_spec.rb
493
- - spec/twitter/geo/point_spec.rb
494
- - spec/twitter/geo/polygon_spec.rb
495
- - spec/twitter/geo_factory_spec.rb
496
- - spec/twitter/geo_results_spec.rb
497
- - spec/twitter/geo_spec.rb
498
- - spec/twitter/identifiable_spec.rb
499
- - spec/twitter/list_spec.rb
500
- - spec/twitter/media/photo_spec.rb
501
- - spec/twitter/media_factory_spec.rb
502
- - spec/twitter/oembed_spec.rb
503
- - spec/twitter/place_spec.rb
504
- - spec/twitter/profile_banner_spec.rb
505
- - spec/twitter/rate_limit_spec.rb
506
- - spec/twitter/relationship_spec.rb
507
- - spec/twitter/rest/client_spec.rb
508
- - spec/twitter/rest/direct_messages_spec.rb
509
- - spec/twitter/rest/favorites_spec.rb
510
- - spec/twitter/rest/friends_and_followers_spec.rb
511
- - spec/twitter/rest/geo_spec.rb
512
- - spec/twitter/rest/help_spec.rb
513
- - spec/twitter/rest/lists_spec.rb
514
- - spec/twitter/rest/media_spec.rb
515
- - spec/twitter/rest/oauth_spec.rb
516
- - spec/twitter/rest/saved_searches_spec.rb
517
- - spec/twitter/rest/search_spec.rb
518
- - spec/twitter/rest/spam_reporting_spec.rb
519
- - spec/twitter/rest/suggested_users_spec.rb
520
- - spec/twitter/rest/timelines_spec.rb
521
- - spec/twitter/rest/trends_spec.rb
522
- - spec/twitter/rest/tweets_spec.rb
523
- - spec/twitter/rest/undocumented_spec.rb
524
- - spec/twitter/rest/users_spec.rb
525
- - spec/twitter/saved_search_spec.rb
526
- - spec/twitter/search_results_spec.rb
527
- - spec/twitter/settings_spec.rb
528
- - spec/twitter/size_spec.rb
529
- - spec/twitter/source_user_spec.rb
530
- - spec/twitter/streaming/client_spec.rb
531
- - spec/twitter/streaming/connection_spec.rb
532
- - spec/twitter/streaming/deleted_tweet_spec.rb
533
- - spec/twitter/streaming/event_spec.rb
534
- - spec/twitter/streaming/friend_list_spec.rb
535
- - spec/twitter/streaming/message_parser_spec.rb
536
- - spec/twitter/streaming/response_spec.rb
537
- - spec/twitter/suggestion_spec.rb
538
- - spec/twitter/target_user_spec.rb
539
- - spec/twitter/token_spec.rb
540
- - spec/twitter/trend_results_spec.rb
541
- - spec/twitter/trend_spec.rb
542
- - spec/twitter/tweet_spec.rb
543
- - spec/twitter/user_spec.rb
544
- - spec/twitter/utils_spec.rb
291
+ test_files: []
545
292
  has_rdoc: