nezetic-ruby-xbmc 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/ruby-xbmc.rb +2 -2
- metadata +6 -5
data/lib/ruby-xbmc.rb
CHANGED
@@ -48,7 +48,7 @@ end
|
|
48
48
|
require 'iconv'
|
49
49
|
require 'uri'
|
50
50
|
require 'open-uri'
|
51
|
-
require '
|
51
|
+
require 'nokogiri'
|
52
52
|
|
53
53
|
class Object
|
54
54
|
def caller_method
|
@@ -516,7 +516,7 @@ module XBMC
|
|
516
516
|
end
|
517
517
|
|
518
518
|
def parse_resp(response)
|
519
|
-
doc =
|
519
|
+
doc = Nokogiri::HTML(response)
|
520
520
|
list = (doc/"li")
|
521
521
|
if(list.length > 0)
|
522
522
|
text = list.inner_text
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nezetic-ruby-xbmc
|
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
|
- Cedric TESSIER
|
@@ -9,18 +9,18 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-09-26 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
|
-
name:
|
16
|
+
name: nokogiri
|
17
17
|
type: :runtime
|
18
18
|
version_requirement:
|
19
19
|
version_requirements: !ruby/object:Gem::Requirement
|
20
20
|
requirements:
|
21
21
|
- - ">="
|
22
22
|
- !ruby/object:Gem::Version
|
23
|
-
version:
|
23
|
+
version: 1.3.0
|
24
24
|
version:
|
25
25
|
description: ruby-xbmc is a ruby wrapper for the XBMC Web Server HTTP API. It provides a remote access to any XBMC running on the local network, in a simple way (methods follow the ones from XBMC API).
|
26
26
|
email: nezetic at gmail d o t com
|
@@ -35,6 +35,7 @@ files:
|
|
35
35
|
- lib/ruby-xbmc.rb
|
36
36
|
has_rdoc: true
|
37
37
|
homepage: http://github.com/nezetic/ruby-xbmc
|
38
|
+
licenses:
|
38
39
|
post_install_message:
|
39
40
|
rdoc_options: []
|
40
41
|
|
@@ -55,7 +56,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
55
56
|
requirements: []
|
56
57
|
|
57
58
|
rubyforge_project:
|
58
|
-
rubygems_version: 1.
|
59
|
+
rubygems_version: 1.3.5
|
59
60
|
signing_key:
|
60
61
|
specification_version: 2
|
61
62
|
summary: ruby-xbmc is a ruby wrapper for the XBMC Web Server HTTP API
|