vkpd 1.2.1 → 1.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/lib/vkpd/cli.rb +1 -8
  2. data/lib/vkpd/version.rb +1 -1
  3. metadata +2 -2
data/lib/vkpd/cli.rb CHANGED
@@ -75,6 +75,7 @@ module Vkpd
75
75
  end
76
76
  mpd.clear if do_clear
77
77
  response.each do |song|
78
+ puts song if @debug
78
79
  mpd.add song["url"]
79
80
  end
80
81
  mpd.play if do_play
@@ -87,13 +88,5 @@ module Vkpd
87
88
  hash.map{|k,v| "#{k}=#{CGI.escape(v.to_s)}"}.join("&")
88
89
  end
89
90
 
90
- # Run external command. In debug mode simply prints its arguments.
91
- def run(*args)
92
- if @debug
93
- puts(*args)
94
- else
95
- system(*args)
96
- end
97
- end
98
91
  end
99
92
  end
data/lib/vkpd/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Vkpd
2
- VERSION = "1.2.1"
2
+ VERSION = "1.2.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vkpd
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-09-03 00:00:00.000000000 Z
12
+ date: 2013-09-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sinatra