mojodna-switchboard 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- data/README.markdown +16 -5
- data/lib/switchboard/commands/pep/location.rb +3 -0
- data/lib/switchboard/commands/pubsub/pubsub.rb +1 -0
- data/lib/switchboard/helpers/oauth_pubsub.rb +1 -0
- data/lib/switchboard/switchboard.rb +6 -0
- data/lib/switchboard/version.rb +1 -1
- data/switchboard.gemspec +1 -1
- metadata +1 -1
data/README.markdown
CHANGED
@@ -9,11 +9,22 @@ Install it:
|
|
9
9
|
|
10
10
|
$ sudo gem install mojodna-switchboard -s http://gems.github.com
|
11
11
|
|
12
|
-
Install optional dependencies for additional functionality
|
12
|
+
Install optional dependencies for additional functionality.
|
13
13
|
|
14
|
-
|
15
|
-
|
16
|
-
$ sudo gem install
|
14
|
+
OAuth PubSub support:
|
15
|
+
|
16
|
+
$ sudo gem install oauth
|
17
|
+
|
18
|
+
User Location (XEP-0080) support via Fire Eagle:
|
19
|
+
|
20
|
+
$ sudo gem install mojodna-fire-hydrant -s http://gems.github.com
|
21
|
+
|
22
|
+
_Note: you will need to set up a PubSub subscription to your location via Fire
|
23
|
+
Eagle for this to work._
|
24
|
+
|
25
|
+
User Tune (XEP-0118) support via iTunes (on Mac OS X):
|
26
|
+
|
27
|
+
$ sudo gem install rb-appscript
|
17
28
|
|
18
29
|
Configure it:
|
19
30
|
|
@@ -41,7 +52,7 @@ Subscribe to a node using OAuth, overriding default settings:
|
|
41
52
|
--node "/api/0.1/user/<token>" \
|
42
53
|
subscribe
|
43
54
|
|
44
|
-
Publish iTunes' current track using
|
55
|
+
Publish iTunes' current track using User Tune (XEP-0118):
|
45
56
|
|
46
57
|
$ switchboard --resource switchtunes pep tune
|
47
58
|
|
@@ -18,6 +18,7 @@ module Switchboard
|
|
18
18
|
opts.on("--oauth-token =oken", String, "Specifies the OAuth token to use.") { |v| OPTIONS["oauth.token"] = v }
|
19
19
|
opts.on("--oauth-token-secret=secret", String, "Specifies the OAuth token secret to use.") { |v| OPTIONS["oauth.token_secret"] = v }
|
20
20
|
end
|
21
|
+
opts
|
21
22
|
end
|
22
23
|
end
|
23
24
|
end
|
data/lib/switchboard/version.rb
CHANGED
data/switchboard.gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# this file is automatically generated
|
2
2
|
Gem::Specification.new do |s|
|
3
3
|
s.name = "switchboard"
|
4
|
-
s.version = "0.0.
|
4
|
+
s.version = "0.0.8"
|
5
5
|
s.summary = "XMPP toolkit."
|
6
6
|
s.description = "A toolkit for assembling XMPP clients and interacting with XMPP servers."
|
7
7
|
s.authors = ["Seth Fitzsimmons"]
|