twitter 4.4.3 → 4.4.4
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +5 -0
- data/lib/twitter/api/friends_and_followers.rb +3 -3
- data/lib/twitter/api/lists.rb +2 -2
- data/lib/twitter/api/tweets.rb +3 -3
- data/lib/twitter/response/parse_json.rb +1 -1
- data/lib/twitter/version.rb +1 -1
- data/twitter.gemspec +1 -1
- metadata +4 -4
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,8 @@
|
|
1
|
+
4.4.4
|
2
|
+
-----
|
3
|
+
* [Fix documentation bugs](https://github.com/sferik/twitter/commit/45213d16efda0bd78e8c4c3c80892b824393e37c)
|
4
|
+
* [Relax `multi_json` dependency](https://github.com/sferik/twitter/commit/46327e740a03ec783cb62863d40eef5efa68c0cb)
|
5
|
+
|
1
6
|
4.4.3
|
2
7
|
-----
|
3
8
|
* [Add `Twitter::API::Arguments` class; remove `extract_options!` helper method](https://github.com/sferik/twitter/commit/65972c599ced8da27fbbfa72aeead92464355583)
|
@@ -119,11 +119,11 @@ module Twitter
|
|
119
119
|
# @authentication_required Requires user context
|
120
120
|
# @raise [Twitter::Error::Unauthorized] Error raised when supplied user credentials are not valid.
|
121
121
|
# @return [Array<Twitter::User>] The followed users.
|
122
|
-
# @overload(*users)
|
122
|
+
# @overload follow(*users)
|
123
123
|
# @param users [Array<Integer, String, Twitter::User>, Set<Integer, String, Twitter::User>] An array of Twitter user IDs, screen names, or objects.
|
124
124
|
# @example Follow @sferik
|
125
125
|
# Twitter.follow('sferik')
|
126
|
-
# @overload(*users, options)
|
126
|
+
# @overload follow(*users, options)
|
127
127
|
# @param users [Array<Integer, String, Twitter::User>, Set<Integer, String, Twitter::User>] An array of Twitter user IDs, screen names, or objects.
|
128
128
|
# @param options [Hash] A customizable set of options.
|
129
129
|
# @option options [Boolean] :follow (false) Enable notifications for the target user.
|
@@ -184,7 +184,7 @@ module Twitter
|
|
184
184
|
# @param users [Array<Integer, String, Twitter::User>, Set<Integer, String, Twitter::User>] An array of Twitter user IDs, screen names, or objects.
|
185
185
|
# @example Unfollow @sferik
|
186
186
|
# Twitter.unfollow('sferik')
|
187
|
-
# @overload unfollow(*users)
|
187
|
+
# @overload unfollow(*users, options)
|
188
188
|
# @param users [Array<Integer, String, Twitter::User>, Set<Integer, String, Twitter::User>] An array of Twitter user IDs, screen names, or objects.
|
189
189
|
# @param options [Hash] A customizable set of options.
|
190
190
|
def unfollow(*args)
|
data/lib/twitter/api/lists.rb
CHANGED
@@ -21,11 +21,11 @@ module Twitter
|
|
21
21
|
# @authentication_required Requires user context
|
22
22
|
# @raise [Twitter::Error::Unauthorized] Error raised when supplied user credentials are not valid.
|
23
23
|
# @return [Array<Twitter::List>]
|
24
|
-
# @overload
|
24
|
+
# @overload lists(options={})
|
25
25
|
# @param options [Hash] A customizable set of options.
|
26
26
|
# @example Returns all lists the authenticating user subscribes to
|
27
27
|
# Twitter.lists
|
28
|
-
# @overload
|
28
|
+
# @overload lists(user, options={})
|
29
29
|
# @param user [Integer, String, Twitter::User] A Twitter user ID, screen name, or object.
|
30
30
|
# @param options [Hash] A customizable set of options.
|
31
31
|
# @example Returns all lists that @sferik subscribes to
|
data/lib/twitter/api/tweets.rb
CHANGED
@@ -163,11 +163,11 @@ module Twitter
|
|
163
163
|
# @raise [Twitter::Error::AlreadyRetweeted] Error raised when tweet has already been retweeted.
|
164
164
|
# @raise [Twitter::Error::Unauthorized] Error raised when supplied user credentials are not valid.
|
165
165
|
# @return [Array<Twitter::Tweet>] The original tweets with retweet details embedded.
|
166
|
-
# @overload retweet(*ids)
|
166
|
+
# @overload retweet!(*ids)
|
167
167
|
# @param ids [Array<Integer>, Set<Integer>] An array of Tweet IDs.
|
168
168
|
# @example Retweet the Tweet with the ID 28561922516
|
169
|
-
# Twitter.retweet(28561922516)
|
170
|
-
# @overload retweet(*ids, options)
|
169
|
+
# Twitter.retweet!(28561922516)
|
170
|
+
# @overload retweet!(*ids, options)
|
171
171
|
# @param ids [Array<Integer>, Set<Integer>] An array of Tweet IDs.
|
172
172
|
# @param options [Hash] A customizable set of options.
|
173
173
|
# @option options [Boolean, String, Integer] :trim_user Each tweet returned in a timeline will include a user object with only the author's numerical ID when set to true, 't' or 1.
|
data/lib/twitter/version.rb
CHANGED
@@ -2,7 +2,7 @@ module Twitter
|
|
2
2
|
class Version
|
3
3
|
MAJOR = 4 unless defined? Twitter::Version::MAJOR
|
4
4
|
MINOR = 4 unless defined? Twitter::Version::MINOR
|
5
|
-
PATCH =
|
5
|
+
PATCH = 4 unless defined? Twitter::Version::PATCH
|
6
6
|
PRE = nil unless defined? Twitter::Version::PRE
|
7
7
|
|
8
8
|
class << self
|
data/twitter.gemspec
CHANGED
@@ -3,7 +3,7 @@ require File.expand_path('../lib/twitter/version', __FILE__)
|
|
3
3
|
|
4
4
|
Gem::Specification.new do |spec|
|
5
5
|
spec.add_dependency 'faraday', ['~> 0.8', '< 0.10']
|
6
|
-
spec.add_dependency 'multi_json', ['~> 1.
|
6
|
+
spec.add_dependency 'multi_json', ['~> 1.0']
|
7
7
|
spec.add_dependency 'simple_oauth', ['~> 0.2']
|
8
8
|
spec.add_development_dependency 'kramdown'
|
9
9
|
spec.add_development_dependency 'pry'
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: twitter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 4.4.
|
5
|
+
version: 4.4.4
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- John Nunemaker
|
@@ -12,7 +12,7 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date: 2013-01-
|
15
|
+
date: 2013-01-10 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -41,7 +41,7 @@ dependencies:
|
|
41
41
|
requirements:
|
42
42
|
- - ~>
|
43
43
|
- !ruby/object:Gem::Version
|
44
|
-
version: '1.
|
44
|
+
version: '1.0'
|
45
45
|
none: false
|
46
46
|
name: multi_json
|
47
47
|
type: :runtime
|
@@ -50,7 +50,7 @@ dependencies:
|
|
50
50
|
requirements:
|
51
51
|
- - ~>
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: '1.
|
53
|
+
version: '1.0'
|
54
54
|
none: false
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|