lib/t/list.rb in t-0.6.2 vs lib/t/list.rb in t-0.6.3

- old
+ new

@@ -63,10 +63,11 @@ method_option :tweets, :aliases => "-t", :type => :boolean, :default => false, :desc => "Sort by total number of Tweets." method_option :unsorted, :aliases => "-u", :type => :boolean, :default => false, :desc => "Output is not sorted." def members(*args) list = args.pop owner = args.pop || @rcfile.default_profile[0] + owner = owner.strip_ats users = collect_with_cursor do |cursor| client.list_members(owner, list, :cursor => cursor, :include_entities => false, :skip_status => true) end print_user_list(users) end @@ -98,9 +99,10 @@ method_option :tweets, :aliases => "-t", :type => :boolean, :default => false, :desc => "Sort by total number of Tweets." method_option :unsorted, :aliases => "-u", :type => :boolean, :default => false, :desc => "Output is not sorted." def timeline(*args) list = args.pop owner = args.pop || @rcfile.default_profile[0] + owner = owner.strip_ats per_page = options['number'] || DEFAULT_NUM_RESULTS statuses = client.list_timeline(owner, list, :include_entities => false, :per_page => per_page) print_status_list(statuses) end map %w(tl) => :timeline