lib/ayadn/view.rb in ayadn-1.2.10 vs lib/ayadn/view.rb in ayadn-1.3.0
- old
+ new
@@ -75,11 +75,11 @@
puts build_files_list(list)
end
def show_settings
table = Terminal::Table.new do |t|
- t.style = { :width => Settings.options[:formats][:table][:width] }
+ t.style = { :width => Settings.options[:formats][:table][:width], border_x: ' ', border_i: ' ', border_y: ' ' }
t.title = "Current Ayadn settings".color(:cyan)
t.headings = [ "Category".color(:red), "Parameter".color(:red), "Value(s)".color(:red) ]
@iter = 0
Settings.options.each do |k,v|
v.each do |x,y|
@@ -294,17 +294,16 @@
next if content[:nicerank] == false
end
unless content[:nicerank] == false
next if content[:nicerank] < Settings.options[:nicerank][:threshold]
next if content[:is_human] == false
+ next if content[:real_person] == false
end
filtered[id] = content
end
return filtered
end
- return posts
end
- return posts
end
return posts
end
def build_stream_with_index(data, options, niceranks) #expects an array