candelabra 1.0.2 → 1.1.0
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.
- data/Gemfile.lock +1 -1
- data/README.md +51 -2
- data/lib/candelabra/remote.rb +7 -4
- data/lib/candelabra/version.rb +1 -1
- metadata +6 -6
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -13,6 +13,55 @@ and the switching between them.
|
|
13
13
|
|
14
14
|
There is a command line access to the lib as well as a ruby api.
|
15
15
|
|
16
|
-
##
|
16
|
+
## Installation: ##
|
17
|
+
|
18
|
+
$ gem install candelabra
|
19
|
+
|
20
|
+
But before you can set the pianobar on fire.
|
21
|
+
|
22
|
+
$ candelabra install
|
23
|
+
|
24
|
+
You will be prompted for your username and password.
|
25
|
+
|
26
|
+
## Example Usage: ##
|
27
|
+
|
28
|
+
#### Starting
|
29
|
+
|
30
|
+
$ candelabra start
|
31
|
+
|
32
|
+
#### Stopping
|
33
|
+
|
34
|
+
$ candelabra stop
|
35
|
+
|
36
|
+
#### Skipping a song
|
37
|
+
|
38
|
+
$ candelabra next
|
39
|
+
|
40
|
+
or if you would prefer
|
41
|
+
|
42
|
+
$ candelabra skip
|
43
|
+
|
44
|
+
or better yet
|
45
|
+
|
46
|
+
$ candelabra n
|
47
|
+
|
48
|
+
You get the point!
|
49
|
+
|
50
|
+
Any of the following commands are currently supported
|
51
|
+
|
52
|
+
def commands
|
53
|
+
{
|
54
|
+
:pause => 'p',
|
55
|
+
:continue => 'p',
|
56
|
+
:love => '+',
|
57
|
+
:ban => '-',
|
58
|
+
:bookmark => 'b',
|
59
|
+
:info => 'i',
|
60
|
+
:skip => 'n',
|
61
|
+
:next => 'n',
|
62
|
+
:quit => 'q',
|
63
|
+
:tired => 't',
|
64
|
+
}
|
65
|
+
end
|
66
|
+
|
17
67
|
|
18
|
-
TODO: put the examples here.
|
data/lib/candelabra/remote.rb
CHANGED
data/lib/candelabra/version.rb
CHANGED
metadata
CHANGED
@@ -1,19 +1,19 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: candelabra
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.1.0
|
5
5
|
prerelease: !!null
|
6
6
|
platform: ruby
|
7
7
|
authors: []
|
8
8
|
autorequire: !!null
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2011-02-
|
11
|
+
date: 2011-02-17 00:00:00.000000000 -06:00
|
12
12
|
default_executable: !!null
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
16
|
-
requirement: &
|
16
|
+
requirement: &2160466320 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: 1.0.0
|
22
22
|
type: :development
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *2160466320
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: minitest
|
27
|
-
requirement: &
|
27
|
+
requirement: &2160465860 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,7 +32,7 @@ dependencies:
|
|
32
32
|
version: 2.0.2
|
33
33
|
type: :development
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *2160465860
|
36
36
|
description: initial wrapper for pianobar
|
37
37
|
email: []
|
38
38
|
executables:
|