fastreader 1.0.5 → 1.0.6

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of fastreader might be problematic. Click here for more details.

@@ -4,3 +4,10 @@
4
4
 
5
5
  * Basic feature set I envisioned a week ago is working.
6
6
 
7
+ === 1.0.6 / 2008-06-25
8
+
9
+ * 1 minor enhancement
10
+
11
+ * Added PAGE UP and PAGE DOWN keys to the recognized key commands.
12
+
13
+
data/README.txt CHANGED
@@ -55,6 +55,11 @@ To update all subscribed feeds, type
55
55
 
56
56
  FastReader will output information as the update progresses.
57
57
 
58
+ It's a good idea to call "fastreader update" from a cron job so you don't
59
+ have to keep updating feeds manually. Make sure you redirect the output to
60
+ /dev/null.
61
+
62
+
58
63
  === Console Mode
59
64
 
60
65
  There are three screens in console mode:
@@ -51,8 +51,8 @@ left goes back up the hierarchy.
51
51
  You can prefix a up or down movement command with a number to go that many
52
52
  steps in that direction.
53
53
 
54
- CTRL-f Page down
55
- CTRL-b Page up
54
+ CTRL-f, PAGE DOWN KEY Page down
55
+ CTRL-b, PAGE UP KEY Page up
56
56
  H Move to top of screen
57
57
  M Move to top middle of screen
58
58
  L Move to bottom of screen
@@ -90,13 +90,13 @@ left goes back up the hierarchy.
90
90
  You can prefix a up or down movement command with a number to go that many
91
91
  steps in that direction.
92
92
 
93
- CTRL-f Page down
94
- CTRL-b Page up
95
- H Move to top of screen
96
- M Move to top middle of screen
97
- L Move to bottom of screen
98
- G Move to last item
99
- 1G Move to first item
93
+ CTRL-f, PAGE DOWN KEY Page down
94
+ CTRL-b, PAGE UP KEY Page up
95
+ H Move to top of screen
96
+ M Move to top middle of screen
97
+ L Move to bottom of screen
98
+ G Move to last item
99
+ 1G Move to first item
100
100
  l, RIGHT ARROW, RETURN Select an item and display its content
101
101
 
102
102
  Actions
@@ -117,10 +117,10 @@ U Forces an update of the feed
117
117
  ENTRY_PAGE_COMMANDS = <<-END
118
118
  Feed Item Content Navigation
119
119
 
120
- j, DOWN ARROW, CTRL-f Page down (if there is more than one page)
121
- k, UP ARROW, CTRL-b Page up
122
- h, LEFT ARROW Go back to entries list
123
- l, RIGHT ARROW, RETURN Go to the web page linked to this entry.
120
+ j, DOWN ARROW, CTRL-f, PAGE DOWN KEY Page down (if there is more than one page)
121
+ k, UP ARROW, CTRL-b, PAGE UP KEY Page up
122
+ h, LEFT ARROW Go back to entries list
123
+ l, RIGHT ARROW, RETURN Go to the web page linked to this entry.
124
124
 
125
125
  By default, the command to open the web browser is "open {url}." This works out
126
126
  of the box on Mac OS X. You can change this command by setting your shell's
@@ -108,7 +108,7 @@ module EntriesController
108
108
  @current_entry_index = @content_area.current_index
109
109
  end
110
110
 
111
- when Key::DOWN, ?j, ?\s, ?n
111
+ when Key::DOWN, ?j, ?n # n next search
112
112
  return if @current_entries.empty? # nowhere to go
113
113
 
114
114
  if @entries_list_matches.nil? || @entries_list_matches.empty?
@@ -171,9 +171,9 @@ module EntriesController
171
171
  else
172
172
  @content_area.beginning
173
173
  end
174
- when control_key('F')
174
+ when control_key('F'), Key::NPAGE
175
175
  @content_area.next_page
176
- when control_key('B')
176
+ when control_key('B'), Key::PPAGE
177
177
  @content_area.prev_page
178
178
  else
179
179
  # don't do anything
@@ -56,14 +56,14 @@ module EntryController
56
56
  when ?\/
57
57
  # search mode
58
58
  # TODO
59
- when Key::UP, ?k, ?p, control_key('B')
59
+ when Key::UP, ?k, ?p, control_key('B'), Key::PPAGE
60
60
  if @content_area.prev_page == :exit
61
61
  # go back to entries list
62
62
  @content_area.close
63
63
  show_entries
64
64
  return :exit
65
65
  end
66
- when Key::DOWN, ?j, ?\s, ?n, control_key('F')
66
+ when Key::DOWN, ?j, ?\s, ?n, control_key('F'), Key::NPAGE
67
67
  if @content_area.next_page == :exit
68
68
  # go back to entries list
69
69
  @content_area.close
@@ -33,7 +33,7 @@ include FileUtils
33
33
  include ActionView::Helpers::DateHelper
34
34
 
35
35
  class Fastreader
36
- VERSION = '1.0.5'
36
+ VERSION = '1.0.6'
37
37
 
38
38
  attr_accessor :database_path
39
39
 
@@ -182,9 +182,9 @@ module FeedsController
182
182
  else
183
183
  @content_area.beginning
184
184
  end
185
- when control_key('F')
185
+ when control_key('F'), Key::NPAGE
186
186
  @content_area.next_page
187
- when control_key('B')
187
+ when control_key('B'), Key::PPAGE
188
188
  @content_area.prev_page
189
189
  else
190
190
  # don't do anything
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastreader
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.5
4
+ version: 1.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Choi