uniq-red-process 0.0.3 → 0.0.4

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.
@@ -5,7 +5,7 @@ require 'google_reader_api_uniq'
5
5
  require 'readline'
6
6
 
7
7
  begin
8
- require File.expand_path('~/.process_red')
8
+ load File.expand_path('~/.process_red')
9
9
  raise "Undefined credetials" unless CREDENTIALS
10
10
  rescue Exception => ex
11
11
  puts "Please define your Google Reader credentials in the ~/.process_red file:"
@@ -74,6 +74,14 @@ puts "Try: n - to read the next issue"
74
74
 
75
75
  cmd = ''
76
76
  while cmd != 'q' && issues_entries_hash.count > 0
77
+ if cmd == 't'
78
+ 5.times do
79
+ puts "Opening #{issue_no}..."
80
+ issue_no = read_next_issue
81
+ puts "Marking #{issue_no} as read..."
82
+ mark_issue_read(issue_no)
83
+ end
84
+ end
77
85
  if cmd == 'n'
78
86
  issue_no = read_next_issue
79
87
  puts "Opening #{issue_no}..."
@@ -1,5 +1,5 @@
1
1
  module Uniq
2
2
  module RedProcess
3
- VERSION = "0.0.3"
3
+ VERSION = "0.0.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uniq-red-process
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-06-05 00:00:00.000000000 Z
12
+ date: 2012-08-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: GoogleReaderApiUniq