cinch-spotify 0.0.1 → 0.0.2
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/.gitignore +1 -0
- data/VERSION +1 -1
- data/cinch-spotify.gemspec +4 -7
- data/lib/cinch-spotify.rb +1 -1
- metadata +6 -8
- data/test/helper.rb +0 -10
- data/test/test_cinch-spotify.rb +0 -7
data/.gitignore
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
pkg
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.0.
|
|
1
|
+
0.0.2
|
data/cinch-spotify.gemspec
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{cinch-spotify}
|
|
8
|
-
s.version = "0.0.
|
|
8
|
+
s.version = "0.0.2"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Victor Bergoo"]
|
|
12
|
-
s.date = %q{2010-10-
|
|
12
|
+
s.date = %q{2010-10-24}
|
|
13
13
|
s.default_executable = %q{cinch-spotify}
|
|
14
14
|
s.description = %q{A spotify plugin for the Cinch IRC framework}
|
|
15
15
|
s.email = %q{victor.bergoo@gmail.com}
|
|
@@ -19,7 +19,8 @@ Gem::Specification.new do |s|
|
|
|
19
19
|
"README.rdoc"
|
|
20
20
|
]
|
|
21
21
|
s.files = [
|
|
22
|
-
"
|
|
22
|
+
".gitignore",
|
|
23
|
+
"LICENSE",
|
|
23
24
|
"README.rdoc",
|
|
24
25
|
"Rakefile",
|
|
25
26
|
"VERSION",
|
|
@@ -32,10 +33,6 @@ Gem::Specification.new do |s|
|
|
|
32
33
|
s.require_paths = ["lib"]
|
|
33
34
|
s.rubygems_version = %q{1.3.7}
|
|
34
35
|
s.summary = %q{Spotify plugin for the Cinch IRC framework}
|
|
35
|
-
s.test_files = [
|
|
36
|
-
"test/helper.rb",
|
|
37
|
-
"test/test_cinch-spotify.rb"
|
|
38
|
-
]
|
|
39
36
|
|
|
40
37
|
if s.respond_to? :specification_version then
|
|
41
38
|
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
data/lib/cinch-spotify.rb
CHANGED
|
@@ -45,7 +45,7 @@ module Cinch
|
|
|
45
45
|
artist = p.xpath("//xmlns:artist/xmlns:name").first.content
|
|
46
46
|
album = p.xpath("//xmlns:album/xmlns:name").first.content
|
|
47
47
|
track = p.xpath("//xmlns:track/xmlns:name").first.content
|
|
48
|
-
"
|
|
48
|
+
"Track: #{track} by #{artist} (#{album})"
|
|
49
49
|
end
|
|
50
50
|
|
|
51
51
|
def _data spotify_uri
|
metadata
CHANGED
|
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
|
5
5
|
segments:
|
|
6
6
|
- 0
|
|
7
7
|
- 0
|
|
8
|
-
-
|
|
9
|
-
version: 0.0.
|
|
8
|
+
- 2
|
|
9
|
+
version: 0.0.2
|
|
10
10
|
platform: ruby
|
|
11
11
|
authors:
|
|
12
12
|
- Victor Bergoo
|
|
@@ -14,7 +14,7 @@ autorequire:
|
|
|
14
14
|
bindir: bin
|
|
15
15
|
cert_chain: []
|
|
16
16
|
|
|
17
|
-
date: 2010-10-
|
|
17
|
+
date: 2010-10-24 00:00:00 +02:00
|
|
18
18
|
default_executable: cinch-spotify
|
|
19
19
|
dependencies:
|
|
20
20
|
- !ruby/object:Gem::Dependency
|
|
@@ -66,6 +66,7 @@ extra_rdoc_files:
|
|
|
66
66
|
- LICENSE
|
|
67
67
|
- README.rdoc
|
|
68
68
|
files:
|
|
69
|
+
- .gitignore
|
|
69
70
|
- LICENSE
|
|
70
71
|
- README.rdoc
|
|
71
72
|
- Rakefile
|
|
@@ -73,8 +74,6 @@ files:
|
|
|
73
74
|
- bin/cinch-spotify
|
|
74
75
|
- cinch-spotify.gemspec
|
|
75
76
|
- lib/cinch-spotify.rb
|
|
76
|
-
- test/helper.rb
|
|
77
|
-
- test/test_cinch-spotify.rb
|
|
78
77
|
has_rdoc: true
|
|
79
78
|
homepage: http://github.com/netfeed/cinch-spotify
|
|
80
79
|
licenses: []
|
|
@@ -107,6 +106,5 @@ rubygems_version: 1.3.7
|
|
|
107
106
|
signing_key:
|
|
108
107
|
specification_version: 3
|
|
109
108
|
summary: Spotify plugin for the Cinch IRC framework
|
|
110
|
-
test_files:
|
|
111
|
-
|
|
112
|
-
- test/test_cinch-spotify.rb
|
|
109
|
+
test_files: []
|
|
110
|
+
|
data/test/helper.rb
DELETED
data/test/test_cinch-spotify.rb
DELETED