lib/t/search.rb in t-4.0.0 vs lib/t/search.rb in t-4.1.0
- old
+ new
@@ -202,10 +202,10 @@
method_option "reverse", aliases: "-r", type: :boolean, desc: "Reverse the order of the sort."
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, desc: "Output is not sorted."
def users(query)
users = collect_with_page do |page|
- client.user_search(query, page: page)
+ client.user_search(query, page:)
end
print_users(users)
end
end
end