mounce 0.1.0 → 0.1.1
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/README.rdoc +6 -3
- data/VERSION.yml +3 -3
- data/bin/mounce +1 -1
- data/lib/mounce.rb +1 -1
- metadata +2 -2
data/README.rdoc
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
= Mounce
|
|
2
2
|
|
|
3
|
-
The Music annOUNCEr for Presently. Mounce will post your current iTunes track to Presently, the ambient awareness tool by Intridea.
|
|
3
|
+
The Music annOUNCEr for Presently. Mounce will post your current iTunes track to Presently, the ambient awareness tool by Intridea. Currently OSX only.
|
|
4
4
|
|
|
5
5
|
== Requirements
|
|
6
6
|
|
|
@@ -10,14 +10,15 @@ The Music annOUNCEr for Presently. Mounce will post your current iTunes track to
|
|
|
10
10
|
|
|
11
11
|
== Getting Started
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
port install rb-rubyosa
|
|
14
|
+
gem install mounce
|
|
14
15
|
|
|
15
16
|
Create ~/.mounce.yml and fill it with the following:
|
|
16
17
|
|
|
17
18
|
presently:
|
|
18
19
|
username: <username>
|
|
19
20
|
password: <password>
|
|
20
|
-
api: 'https://<account>.
|
|
21
|
+
api: 'https://<account>.presently.com/api/twitter/statuses/update.xml'
|
|
21
22
|
|
|
22
23
|
You can see this help file by typing:
|
|
23
24
|
|
|
@@ -31,6 +32,8 @@ You can see this help file by typing:
|
|
|
31
32
|
* Evernote integration?
|
|
32
33
|
* Add twitter instructions to readme
|
|
33
34
|
* Add --pretend argument
|
|
35
|
+
* Add support for twitter
|
|
36
|
+
* Add support for other APIs
|
|
34
37
|
|
|
35
38
|
== Disclaimer
|
|
36
39
|
|
data/VERSION.yml
CHANGED
data/bin/mounce
CHANGED
|
@@ -12,7 +12,7 @@ if ARGV.include?('--help')
|
|
|
12
12
|
puts " presently:"
|
|
13
13
|
puts " username: '...'"
|
|
14
14
|
puts " password: '...'"
|
|
15
|
-
puts " api: 'https://<account>.
|
|
15
|
+
puts " api: 'https://<account>.presently.com/api/twitter/statuses/update.xml'\n\n"
|
|
16
16
|
exit
|
|
17
17
|
end
|
|
18
18
|
|
data/lib/mounce.rb
CHANGED
|
@@ -16,7 +16,7 @@ class Mounce
|
|
|
16
16
|
end
|
|
17
17
|
|
|
18
18
|
def share!
|
|
19
|
-
`curl #{@config['api']} -u #{@config['username']}:#{@config['password']} -
|
|
19
|
+
`curl #{@config['api']} -u #{@config['username']}:#{@config['password']} --data-urlencode status="#{message}" -d source="mounce"`
|
|
20
20
|
end
|
|
21
21
|
|
|
22
22
|
private
|