mupnp 0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README +13 -0
- data/Rakefile +80 -0
- data/ext/Changelog.txt +188 -0
- data/ext/LICENSE +27 -0
- data/ext/README +53 -0
- data/ext/declspec.h +15 -0
- data/ext/extconf.rb +5 -0
- data/ext/igd_desc_parse.c +115 -0
- data/ext/igd_desc_parse.h +38 -0
- data/ext/minisoap.c +112 -0
- data/ext/minisoap.h +15 -0
- data/ext/minissdpc.c +107 -0
- data/ext/minissdpc.h +15 -0
- data/ext/miniupnpc.c +751 -0
- data/ext/miniupnpc.h +108 -0
- data/ext/miniwget.c +219 -0
- data/ext/miniwget.h +28 -0
- data/ext/minixml.c +191 -0
- data/ext/minixml.h +37 -0
- data/ext/upnp.i +13 -0
- data/ext/upnp_wrap.c +5207 -0
- data/ext/upnpcommands.c +569 -0
- data/ext/upnpcommands.h +179 -0
- data/ext/upnperrors.c +55 -0
- data/ext/upnperrors.h +16 -0
- data/ext/upnpreplyparse.c +127 -0
- data/ext/upnpreplyparse.h +62 -0
- data/lib/UPnP.rb +400 -0
- data/test/UPnP/tc_upnp.rb +20 -0
- metadata +83 -0
@@ -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
|