ruby-ampache 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/bin/ruby-ampache +2 -2
- metadata +4 -4
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.5
|
data/bin/ruby-ampache
CHANGED
@@ -36,7 +36,7 @@ def print_albums(albums)
|
|
36
36
|
menu.prompt = "Choose an album or abort (1) "
|
37
37
|
menu.choice(HighLine.new.color "ABORT", :red)
|
38
38
|
albums.each do |a|
|
39
|
-
menu.choice(a.name
|
39
|
+
menu.choice(a.name) { a.addToPlaylist(@pl)}
|
40
40
|
end
|
41
41
|
end
|
42
42
|
end
|
@@ -46,7 +46,7 @@ def print_artists(artists)
|
|
46
46
|
menu.prompt = "Choose an artists or abort (1)"
|
47
47
|
menu.choice(HighLine.new.color "ABORT", :red)
|
48
48
|
artists.each do |a|
|
49
|
-
menu.choice(a.name
|
49
|
+
menu.choice(a.name) { print_albums(a.albums) }
|
50
50
|
end
|
51
51
|
end
|
52
52
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby-ampache
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 21
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 5
|
10
|
+
version: 0.0.5
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- ghedmat
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-09-
|
18
|
+
date: 2010-09-27 00:00:00 +02:00
|
19
19
|
default_executable: ruby-ampache
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|