simple_scrobbler 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/simple_scrobbler.rb +2 -1
- data/lib/simple_scrobbler/version.rb +1 -1
- metadata +3 -3
data/lib/simple_scrobbler.rb
CHANGED
@@ -3,6 +3,7 @@ require "digest/md5"
|
|
3
3
|
require "uri"
|
4
4
|
require "cgi"
|
5
5
|
require "rexml/document"
|
6
|
+
require "rexml/xpath"
|
6
7
|
require "simple_scrobbler/version"
|
7
8
|
|
8
9
|
class SimpleScrobbler
|
@@ -151,7 +152,7 @@ class SimpleScrobbler
|
|
151
152
|
private
|
152
153
|
module DocHelper
|
153
154
|
def value_at(xpath)
|
154
|
-
|
155
|
+
REXML::XPath.first(self, xpath).text.strip
|
155
156
|
end
|
156
157
|
end
|
157
158
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simple_scrobbler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Paul Battley
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2010-07-
|
12
|
+
date: 2010-07-12 00:00:00 +01:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -42,8 +42,8 @@ extensions: []
|
|
42
42
|
extra_rdoc_files: []
|
43
43
|
|
44
44
|
files:
|
45
|
-
- lib/simple_scrobbler.rb
|
46
45
|
- lib/simple_scrobbler/version.rb
|
46
|
+
- lib/simple_scrobbler.rb
|
47
47
|
- README.md
|
48
48
|
has_rdoc: true
|
49
49
|
homepage: http://github.com/threedaymonk/simple_scrobbler
|