cinch-lastfm-ng 0.1.1 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4dd4e5bce10963293636aa031e80f3f4cb1791e4
4
- data.tar.gz: 996e7161c6293b08892960ade57bf899f442b9f7
3
+ metadata.gz: 87fe846768e3ce8c99461a7118e11ee70a57d37a
4
+ data.tar.gz: 2816b3a551187dbc7aaaf673f4cc63be26c63242
5
5
  SHA512:
6
- metadata.gz: 2272a1cf8eec63c696d649fb7eee2ff5d1b91699442eb3cff40b70392033a4ab5a2c9ffaa29902d46a3bb2d4ecf2d25ce9581eadec399fa4b4bc37c13d80a765
7
- data.tar.gz: 429cba300b671df56b62502ff4318a752a1051362594c48be168999e0d993e8f694672fc555fd31f798733016a9176a68bc9b1cb80fa7bd5a1168871b5af4993
6
+ metadata.gz: 25fd46bf098d16e97212190e4c73b14279dfef8fbf17e3a6c1e3c3b9d663b57eb73b64457dea9c6a6d0e7d4f91c8c93f1b74b2f8316d7aaa072e21b7968205fd
7
+ data.tar.gz: cd2ed47035e43564c00cd4c3d50e666218688eac8a190223c476b1be72d27faaa6de4bdd25bce1839d7d9f3716e2c6bdbf384d14bbd975b482d3aa7e87043749
data/README.md CHANGED
@@ -1,5 +1,6 @@
1
- Last.fm Plugin for Cinch
1
+ Automode Plugin for Cinch
2
2
  ========================
3
+ Lastfm plugin for Cinch, featuring mulitple commands.
3
4
  Display recently played tracks, search artists, display top
4
5
  artists/albums/tracks from specified time period, search tags, display profile
5
6
  information, etc.
@@ -7,12 +8,14 @@ information, etc.
7
8
  Usage
8
9
  -----
9
10
 
10
- install the gem with *gem install Cinch-Automode*, and
11
+ [![Gem Version](https://badge.fury.io/rb/cinch-lastfm-ng.svg)](https://badge.fury.io/rb/cinch-lastfm-ng)
12
+
13
+ install the gem with *gem install cinch-lastfm-ng*, and
11
14
  add it to your bot like so:
12
15
 
13
16
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ruby
14
17
  require 'cinch'
15
- require 'cinch/plugins/automode'
18
+ require 'cinch/plugins/lastfm'
16
19
 
17
20
  bot = Cinch::Bot.new do
18
21
  configure do |c|
@@ -21,7 +24,7 @@ bot = Cinch::Bot.new do
21
24
  c.realname = 'your realname'
22
25
  c.user = 'your user'
23
26
  c.channels = ['#yourchannel']
24
- c.plugins.plugins = [Cinch::Plugins::Automode]
27
+ c.plugins.plugins = [Cinch::Plugins::Lastfm]
25
28
  end
26
29
  end
27
30
 
@@ -31,25 +34,26 @@ bot.start
31
34
  Contained Commands
32
35
  ------------------
33
36
 
34
- **[automode (on|off)]**
35
-
36
- Enable/disable the plugin in the current channel. Default is off.
37
-
38
- **[add (op|halfop|voice) nick user@host]**
39
-
40
- Add nick with user@host to the auto-(op|halfop|voice) list
37
+ **[np (username)]**
38
+ Displays last played track from user's saved username, or specified username.
41
39
 
42
- **[del (op|halfop|voice) nick user@host]**
40
+ **[(plays|artist) (artistname)]**
41
+ Displays info, and user playcount if played, of specified artist.
43
42
 
44
- Delete nick with user@host from the auto-(op|halfop|voice) list
43
+ **[top(artists|tracks|albums) (7d|1m|3m|6m|1y|overall)]**
44
+ Displays user's top artists/tracks/albums from specified period.
45
45
 
46
- **[add channel (op|halfop|voice)]**
46
+ **[tag (tag)]**
47
+ Displays info about specified tag, if it exists.
47
48
 
48
- Add the entire channel to the list, so anyone who joins gets the mode.
49
+ **[profile (username)]**
50
+ Display user's or specified user's profile information.
49
51
 
50
- **[del channel (op|halfop|voice)]**
52
+ **[fmset (username)]**
53
+ Store specified username in the database.
51
54
 
52
- Delete the channel from the mode list.
55
+ **[fmget]**
56
+ Displays stored username.
53
57
 
54
58
  License
55
59
  -------
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.3
@@ -1,5 +1,5 @@
1
1
  module Cinch
2
2
  module Lastfm
3
- VERSION = '0.1.1'.freeze
3
+ VERSION = '0.1.3'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cinch-lastfm-ng
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lily Jónsdóttir
@@ -79,7 +79,6 @@ files:
79
79
  - LICENSE
80
80
  - README.md
81
81
  - VERSION
82
- - cinch-lastfm-ng-0.1.0.gem
83
82
  - cinch-lastfm-ng.gemspec
84
83
  - lib/cinch/plugins/lastfm.rb
85
84
  - lib/cinch/plugins/lastfm/version.rb
Binary file