fastreader 1.0.0 → 1.0.1

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.

data/README.txt CHANGED
@@ -45,7 +45,7 @@ There are three screens in console mode:
45
45
 
46
46
  * the feed menu screen, which lists the feeds
47
47
  * the feed items screen, which lists the items in a feed or a search
48
- # the item screen, which shows the text content of an item
48
+ * the item screen, which shows the text content of an item
49
49
 
50
50
  FastReader uses vi-style keybindings to allow fast navigation between
51
51
  screens, feeds, items, and linked web pages. The interface is pretty intuitive.
@@ -37,7 +37,6 @@ END
37
37
  Cambridge, Massachusetts, USA
38
38
  dhchoi@gmail.com
39
39
 
40
- License: GPL
41
40
  END
42
41
 
43
42
 
data/lib/display.rb CHANGED
@@ -132,7 +132,11 @@ class Display
132
132
 
133
133
  doc.search('//comment()').remove
134
134
 
135
- doc.search('p, div') do |p|
135
+ doc.search('div') do |p|
136
+ p.swap( "\n\n" + p.inner_text.gsub("\n", ' ').squeeze(' ').strip + "\n\n" )
137
+ end
138
+
139
+ doc.search('p') do |p|
136
140
  p.swap( "\n\n" + p.inner_text.gsub("\n", ' ').squeeze(' ').strip + "\n\n" )
137
141
  end
138
142
 
data/lib/fastreader.rb CHANGED
@@ -33,7 +33,7 @@ include FileUtils
33
33
  include ActionView::Helpers::DateHelper
34
34
 
35
35
  class Fastreader
36
- VERSION = '1.0.0'
36
+ VERSION = '1.0.1'
37
37
 
38
38
  attr_accessor :database_path
39
39
 
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.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Choi
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-06-25 00:00:00 -04:00
12
+ date: 2008-06-26 00:00:00 -04:00
13
13
  default_executable: fastreader
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency