rmpd 1.1.5 → 1.1.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/rmpd/config.rb +3 -3
  2. data/lib/rmpd/version.rb +1 -1
  3. metadata +4 -4
data/lib/rmpd/config.rb CHANGED
@@ -51,9 +51,9 @@ module Rmpd
51
51
  end
52
52
 
53
53
  def init_host_and_password(config)
54
- if config["hostname"]
55
- @hostname = parse_hostname(config["hostname"])
56
- @password = parse_password(config["hostname"])
54
+ if hostname = config["hostname"] || config["host"]
55
+ @hostname = parse_hostname(hostname)
56
+ @password = parse_password(hostname)
57
57
  elsif ENV["MPD_HOST"]
58
58
  @hostname = parse_hostname(ENV["MPD_HOST"])
59
59
  @password = parse_password(ENV["MPD_HOST"])
data/lib/rmpd/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Rmpd
2
- VERSION = "1.1.5"
2
+ VERSION = "1.1.6"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rmpd
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 31
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 1
9
- - 5
10
- version: 1.1.5
9
+ - 6
10
+ version: 1.1.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - Eric Wollesen
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2013-02-04 00:00:00 Z
18
+ date: 2013-03-01 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: rspec