cinch-lastfm 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/README.md +3 -2
  2. data/lib/cinch/plugins/lastfm.rb +1 -1
  3. metadata +2 -2
data/README.md CHANGED
@@ -11,6 +11,8 @@ This section is yet to be done, and will be done as this becomes a gem.
11
11
 
12
12
  Cinch::Plugins::Lastfm.configure do |c|
13
13
  c.lfmapi = "yourlastfmapikey"
14
+ c.host = "redis address, probably localhost"
15
+ c.port = 6379 #change to suit your needs
14
16
  end
15
17
 
16
18
  bot = Cinch::Bot.new do
@@ -21,12 +23,11 @@ This section is yet to be done, and will be done as this becomes a gem.
21
23
 
22
24
  ## Commands
23
25
 
24
- Reacts to *!np username*
26
+ Reacts to *!np username*, *!link username*, *!np* (as soon as !link is provided with your username though)
25
27
 
26
28
  TODO
27
29
  -----
28
30
 
29
- * Feature a redis backend
30
31
  * Minor improvements
31
32
  * Better docs
32
33
 
@@ -28,7 +28,7 @@ module Cinch
28
28
 
29
29
  match %r{np ([a-zA-Z0-9]+)}, :method => :now_playing
30
30
  match %r{link ([a-zA-Z0-9]+)}, :method => :link_account
31
- match %r{np}, :method => :now_playing_user
31
+ match %r{np$}, :method => :now_playing_user
32
32
 
33
33
 
34
34
  # Gets Now Playing for an user
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cinch-lastfm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
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-06-02 00:00:00.000000000 Z
12
+ date: 2013-06-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: nokogiri