remember-the-ruby 1.1.0 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.0
1
+ 1.2.0
data/lib/rtr/commands.rb CHANGED
@@ -21,6 +21,7 @@ class Commands
21
21
  register_method :tasks do |options|
22
22
 
23
23
  plain = options.include?('plain')
24
+ fresh = options.include?('fresh')
24
25
 
25
26
  header = "Outstanding Tasks"
26
27
  header = header.white.bold unless plain
@@ -28,7 +29,8 @@ class Commands
28
29
  puts header
29
30
  puts
30
31
 
31
- tasks = $storage[:tasks] || api.default_list.tasks
32
+ tasks = $storage[:tasks] unless fresh
33
+ tasks ||= api.default_list.tasks
32
34
 
33
35
  tasks.sorted_by('next/due').reverse.each do |task|
34
36
 
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{remember-the-ruby}
8
- s.version = "1.1.0"
8
+ s.version = "1.2.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["David Dollar"]
12
- s.date = %q{2009-10-21}
12
+ s.date = %q{2009-11-04}
13
13
  s.default_executable = %q{rtr}
14
14
  s.description = %q{http://peervoice.com/software/remember-the-ruby}
15
15
  s.email = %q{<ddollar@gmail.com>}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: remember-the-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Dollar
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-10-21 00:00:00 -04:00
12
+ date: 2009-11-04 00:00:00 -05:00
13
13
  default_executable: rtr
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency