mdonoughe-wtth 1.0.1 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/bin/wtth +1 -1
  2. data/lib/wtth/hvzsource.rb +1 -1
  3. metadata +1 -1
data/bin/wtth CHANGED
@@ -12,7 +12,7 @@ require File.join(wtth_path, 'hvzsource')
12
12
  require File.join(wtth_path, 'twitter')
13
13
 
14
14
  module WTTH
15
- VERSION = '1.0.1'
15
+ VERSION = '1.1.0'
16
16
  load_config
17
17
 
18
18
  if ARGV.length > 0 and ARGV[0] == 'init'
@@ -21,7 +21,7 @@ module WTTH
21
21
  name = cells[i * 3 + 3].content
22
22
  tod = cells[i * 3 + 5].content
23
23
  kill = {:name => name, :tod => tod}
24
- break if kill == CONFIG[:last_welcomed]
24
+ break if CONFIG[:last_welcomed] != nil and (kill == CONFIG[:last_welcomed] or tod < CONFIG[:last_welcomed][:tod])
25
25
  to_welcome << kill
26
26
  end
27
27
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mdonoughe-wtth
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthew Donoughe