vnews 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.markdown CHANGED
@@ -134,6 +134,7 @@ in one consolidated list.
134
134
  * `SPACE` toggles full-screen mode for the current window.
135
135
  * `C-j` shows the next item without changing window focus
136
136
  * `C-k` shows the previous item without changing window focus
137
+ * `q` from the item window closes it (and reopens the item list window if necessary)
137
138
 
138
139
  You can also use the standard Vim window switching, rotating, and
139
140
  positioning commands.
data/lib/vnews/sql.rb CHANGED
@@ -176,7 +176,7 @@ class Vnews
176
176
  end
177
177
 
178
178
  def search_items(term)
179
- query = "select * from items where match(title, text) against('#{e term}')"
179
+ query = "select * from items where match(title, text) against('#{e term}') order by pub_date asc"
180
180
  @client.query query
181
181
  end
182
182
 
data/lib/vnews/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  class Vnews
2
- VERSION = '0.1.0'
2
+ VERSION = '0.1.1'
3
3
  end
4
4
 
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 0
9
- version: 0.1.0
8
+ - 1
9
+ version: 0.1.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Daniel Choi