lib/t/list.rb in t-1.6.0 vs lib/t/list.rb in t-1.7.0

- old
+ new

@@ -89,11 +89,11 @@ method_option "sort", :aliases => "-s", :type => :string, :enum => %w(favorites followers friends listed screen_name since tweets tweeted), :default => "screen_name", :desc => "Specify the order of the results.", :banner => "ORDER" method_option "unsorted", :aliases => "-u", :type => :boolean, :default => false, :desc => "Output is not sorted." def members(list) owner, list = extract_owner(list, options) users = collect_with_cursor do |cursor| - client.list_members(owner, list, :cursor => cursor, :skip_status => true) + client.list_members(owner, list, :cursor => cursor) end print_users(users) end desc "remove LIST USER [USER...]", "Remove members from a list." @@ -119,11 +119,11 @@ method_option "number", :aliases => "-n", :type => :numeric, :default => DEFAULT_NUM_RESULTS, :desc => "Limit the number of results." method_option "reverse", :aliases => "-r", :type => :boolean, :default => false, :desc => "Reverse the order of the sort." def timeline(list) owner, list = extract_owner(list, options) count = options['number'] || DEFAULT_NUM_RESULTS - tweets = collect_with_count(count) do |opts| - client.list_timeline(owner, list, opts) + tweets = collect_with_count(count) do |count_opts| + client.list_timeline(owner, list, count_opts) end print_tweets(tweets) end map %w(tl) => :timeline