uniq-red-process 0.0.1 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/bin/uniq-red-process +2 -1
- data/lib/uniq/red_process/version.rb +1 -1
- metadata +1 -1
data/bin/uniq-red-process
CHANGED
@@ -48,6 +48,7 @@ def mark_issue_read(issue_no)
|
|
48
48
|
issues_entries_hash[issue_no.to_i].each do |entry|
|
49
49
|
entry.toggle_read
|
50
50
|
end
|
51
|
+
issues_entries_hash.delete(issue_no.to_i)
|
51
52
|
end
|
52
53
|
|
53
54
|
def issue_updates_count(issue_no)
|
@@ -72,7 +73,7 @@ puts ""
|
|
72
73
|
puts "Try: n - to read the next issue"
|
73
74
|
|
74
75
|
cmd = ''
|
75
|
-
while cmd != 'q'
|
76
|
+
while cmd != 'q' && issues_entries_hash.count > 0
|
76
77
|
if cmd == 'n'
|
77
78
|
issue_no = read_next_issue
|
78
79
|
puts "Opening #{issue_no}..."
|