lastfm-tail 1.1.1 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/bin/lastfm-tail +5 -5
  2. metadata +2 -2
@@ -17,10 +17,10 @@ translationCache = {}
17
17
 
18
18
  config = IniFile.new("#{Dir.home}/.config/lastfm-tail/config.ini")
19
19
  config = config['global']
20
- trackLimit = config['trackLimit'].nil? ? 10 : config['trackLimit'].to_i
21
- pollFrequency = config['pollFrequency'].nil? ? nil : config['pollFrequency'].to_i
22
- reverse = config['reverse'].nil? ? false : config['reverse'] != 'false'
23
- autoTranslate = config['autoTranslate'].nil? ? true : config['autoTranslate'] != 'false'
20
+ trackLimit = config['trackLimit'].nil? ? 10 : config['trackLimit'].to_i
21
+ pollFrequency = config['pollFrequency'].nil? ? nil : config['pollFrequency'].to_i
22
+ reverse = config['reverse'].nil? ? !!pollFrequency : config['reverse'] != 'false'
23
+ autoTranslate = config['autoTranslate'].nil? ? true : config['autoTranslate'] != 'false'
24
24
  username = config['username'].nil? ? 'xiongchiamiov' : config['username']
25
25
 
26
26
  OptionParser.new do |opts|
@@ -57,7 +57,7 @@ OptionParser.new do |opts|
57
57
  end
58
58
 
59
59
  opts.on('-v', '--version', 'Show the installed version of lastfm-tail.') do
60
- puts 'lastfm-tail 1.1.1'
60
+ puts 'lastfm-tail 1.1.2'
61
61
  exit 0
62
62
  end
63
63
 
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: lastfm-tail
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.1.1
5
+ version: 1.1.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - xiongchiamiov
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2013-07-04 00:00:00 -07:00
13
+ date: 2013-08-10 00:00:00 -07:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency