mupnp 0.1

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.
@@ -0,0 +1,20 @@
1
+ #! /usr/bin/ruby
2
+ # Author: Dario Meloni <mellon85@gmail.com>
3
+
4
+ require 'test/unit'
5
+ require 'rubygems'
6
+
7
+ class TC_Load < Test::Unit::TestCase
8
+
9
+ def test_discover
10
+ require 'UPnP'
11
+ begin
12
+ u = UPnP::UPnP.new(false,1000)
13
+ assert(u.discoverIGD == nil)
14
+ rescue UPnP::UPnPException
15
+ puts "Can't test if no upnp device is found"
16
+ end
17
+ end
18
+
19
+ end
20
+
metadata ADDED
@@ -0,0 +1,83 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: mupnp
3
+ version: !ruby/object:Gem::Version
4
+ version: "0.1"
5
+ platform: ruby
6
+ authors:
7
+ - Dario Meloni
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+
12
+ date: 2008-07-01 00:00:00 +02:00
13
+ default_executable:
14
+ dependencies: []
15
+
16
+ description:
17
+ email: mellon85@gmail.com
18
+ executables: []
19
+
20
+ extensions:
21
+ - ext/extconf.rb
22
+ extra_rdoc_files:
23
+ - README
24
+ - ext/README
25
+ - ext/LICENSE
26
+ - ext/Changelog.txt
27
+ files:
28
+ - lib/UPnP.rb
29
+ - test/UPnP/tc_upnp.rb
30
+ - Rakefile
31
+ - ext/declspec.h
32
+ - ext/igd_desc_parse.c
33
+ - ext/igd_desc_parse.h
34
+ - ext/minisoap.c
35
+ - ext/minisoap.h
36
+ - ext/minissdpc.c
37
+ - ext/minissdpc.h
38
+ - ext/miniupnpc.c
39
+ - ext/miniupnpc.h
40
+ - ext/miniwget.c
41
+ - ext/miniwget.h
42
+ - ext/minixml.c
43
+ - ext/minixml.h
44
+ - ext/upnp.i
45
+ - ext/upnp_wrap.c
46
+ - ext/upnpcommands.c
47
+ - ext/upnpcommands.h
48
+ - ext/upnperrors.c
49
+ - ext/upnperrors.h
50
+ - ext/upnpreplyparse.c
51
+ - ext/upnpreplyparse.h
52
+ - README
53
+ - ext/README
54
+ - ext/LICENSE
55
+ - ext/Changelog.txt
56
+ has_rdoc: true
57
+ homepage: http://rubyforge.org/projects/mupnp/
58
+ post_install_message:
59
+ rdoc_options: []
60
+
61
+ require_paths:
62
+ - lib
63
+ required_ruby_version: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - ">="
66
+ - !ruby/object:Gem::Version
67
+ version: "0"
68
+ version:
69
+ required_rubygems_version: !ruby/object:Gem::Requirement
70
+ requirements:
71
+ - - ">="
72
+ - !ruby/object:Gem::Version
73
+ version: "0"
74
+ version:
75
+ requirements: []
76
+
77
+ rubyforge_project: mupnp
78
+ rubygems_version: 1.0.1
79
+ signing_key:
80
+ specification_version: 2
81
+ summary: UPnP Implementation using the Miniupnpc library
82
+ test_files:
83
+ - test/UPnP/tc_upnp.rb