Commit c254a57b authored by Jose Ernesto Suarez's avatar Jose Ernesto Suarez

Fixed problems with the amount of record wr read

parent a8157ce0
...@@ -52,7 +52,7 @@ module Wedoops ...@@ -52,7 +52,7 @@ module Wedoops
resultado_final.concat(r) resultado_final.concat(r)
page+=1 page+=1
print "(#{r.size}/#{resultado_final.size})," print "(#{r.size}/#{resultado_final.size}),"
break if r.size < limit || page >2 break if r.size < 1
end end
puts resultado_final.size puts resultado_final.size
return resultado_final return resultado_final
...@@ -78,7 +78,7 @@ module Wedoops ...@@ -78,7 +78,7 @@ module Wedoops
resultado_final.concat(r) resultado_final.concat(r)
page+=1 page+=1
print "(#{r.size}/#{resultado_final.size})," print "(#{r.size}/#{resultado_final.size}),"
break if r.size < limit || page >2 break if r.size < 1
end end
puts resultado_final.size puts resultado_final.size
return resultado_final return resultado_final
...@@ -104,7 +104,7 @@ module Wedoops ...@@ -104,7 +104,7 @@ module Wedoops
resultado_final.concat(r) resultado_final.concat(r)
page+=1 page+=1
print "(#{r.size}/#{resultado_final.size})," print "(#{r.size}/#{resultado_final.size}),"
break if r.size < limit || page >2 break if r.size < 1
end end
puts resultado_final.size puts resultado_final.size
return resultado_final return resultado_final
......
# frozen_string_literal: true # frozen_string_literal: true
module Wedoops module Wedoops
module Zoholib module Zoholib
VERSION = '0.12' VERSION = '0.13'
end end
end end
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment