fuzed 0.1.0

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,94 @@
1
+ %%%----------------------------------------------------------------------
2
+ %%% File : yaws_api.hrl
3
+ %%% Author : Claes Wikstrom <klacke@hyber.org>
4
+ %%% Purpose :
5
+ %%% Created : 24 Jan 2002 by Claes Wikstrom <klacke@hyber.org>
6
+ %%%----------------------------------------------------------------------
7
+
8
+ -author('klacke@hyber.org').
9
+
10
+
11
+ -record(arg, {
12
+ clisock, %% the socket leading to the peer client
13
+ client_ip_port, %% {ClientIp, ClientPort} tuple
14
+ headers, %% headers
15
+ req, %% request
16
+ clidata, %% The client data (as a binary in POST requests)
17
+ server_path, %% The normalized server path
18
+ querydata, %% Was the URL on the form of ...?query (GET reqs)
19
+ appmoddata, %% the remainder of the path leading up to the query
20
+ docroot, %% where's the data
21
+ fullpath, %% full deep path to yaws file
22
+ cont, %% Continuation for chunked multipart uploads
23
+ state, %% State for use by users of the out/1 callback
24
+ pid, %% pid of the yaws worker process
25
+ opaque, %% useful to pass static data
26
+ appmod_prepath, %% path in front of: <appmod><appmoddata>
27
+ pathinfo %% Set to 'd/e' when calling c.yaws for the request
28
+ %% http://some.host/a/b/c.yaws/d/e
29
+ }).
30
+
31
+
32
+ -record(http_request, {method,
33
+ path,
34
+ version}).
35
+
36
+ -record(http_response, {version,
37
+ status,
38
+ phrase}).
39
+
40
+ -record(headers, {
41
+ connection,
42
+ accept,
43
+ host,
44
+ if_modified_since,
45
+ if_match,
46
+ if_none_match,
47
+ if_range,
48
+ if_unmodified_since,
49
+ range,
50
+ referer,
51
+ user_agent,
52
+ accept_ranges,
53
+ cookie = [],
54
+ keep_alive,
55
+ location,
56
+ content_length,
57
+ content_type,
58
+ content_encoding,
59
+ authorization,
60
+ transfer_encoding,
61
+ other = [] %% misc other headers
62
+ }).
63
+
64
+
65
+
66
+
67
+ -record(url,
68
+ {scheme,
69
+ host,
70
+ port, %% undefined means not set
71
+ path = [],
72
+ querypart = []}).
73
+
74
+
75
+ -record(setcookie,{
76
+ key,
77
+ value,
78
+ quoted,
79
+ comment,
80
+ comment_url,
81
+ discard,
82
+ domain,
83
+ max_age,
84
+ expires,
85
+ path,
86
+ port,
87
+ secure,
88
+ version}).
89
+
90
+
91
+
92
+
93
+
94
+
@@ -0,0 +1,11 @@
1
+ -ifndef(_YAWS_DAV).
2
+ -define(_YAWS_DAV, true).
3
+
4
+ -record(propfind, {
5
+ prop = [],
6
+ uri = ""
7
+ }).
8
+
9
+
10
+
11
+ -endif.
metadata ADDED
@@ -0,0 +1,101 @@
1
+ --- !ruby/object:Gem::Specification
2
+ rubygems_version: 0.9.0
3
+ specification_version: 1
4
+ name: fuzed
5
+ version: !ruby/object:Gem::Version
6
+ version: 0.1.0
7
+ date: 2007-06-28 00:00:00 -07:00
8
+ summary: Leverage the YAWS webserver (and additional erlang-based infrastructure) to run Rails.
9
+ require_paths:
10
+ - lib
11
+ email:
12
+ - tom@rubyisawesome.com
13
+ homepage: fuzed.rubyforge.org
14
+ rubyforge_project: fuzed
15
+ description: The author was too lazy to write a description
16
+ autorequire:
17
+ default_executable:
18
+ bindir: bin
19
+ has_rdoc: true
20
+ required_ruby_version: !ruby/object:Gem::Version::Requirement
21
+ requirements:
22
+ - - ">"
23
+ - !ruby/object:Gem::Version
24
+ version: 0.0.0
25
+ version:
26
+ platform: ruby
27
+ signing_key:
28
+ cert_chain:
29
+ post_install_message:
30
+ authors:
31
+ - Dave Fayram
32
+ - Tom Preston-Werner
33
+ files:
34
+ - History.txt
35
+ - LICENSE
36
+ - Manifest.txt
37
+ - README.txt
38
+ - Rakefile
39
+ - bin/fuzed
40
+ - bin/fuzed-adapter
41
+ - bin/fuzed-conf
42
+ - elibs/port_wrapper.beam
43
+ - elibs/port_wrapper.erl
44
+ - elibs/rails_connection_pool.beam
45
+ - elibs/rails_connection_pool.erl
46
+ - elibs/rails_forwarder.beam
47
+ - elibs/rails_forwarder.erl
48
+ - elibs/resource_manager.beam
49
+ - elibs/resource_manager.erl
50
+ - elibs/test_rails_handler.beam
51
+ - elibs/test_rails_handler.erl
52
+ - join_cluster.beam
53
+ - join_cluster.erl
54
+ - lib/fuzed.rb
55
+ - rails_responder
56
+ - sample.fuzed.conf
57
+ - start_node
58
+ - start_yaws
59
+ - templates/fuzed.conf
60
+ - testing.conf
61
+ - yaws_includes/erlsom.hrl
62
+ - yaws_includes/soap.hrl
63
+ - yaws_includes/yaws.hrl
64
+ - yaws_includes/yaws_api.hrl
65
+ - yaws_includes/yaws_dav.hrl
66
+ test_files: []
67
+
68
+ rdoc_options:
69
+ - --main
70
+ - README.txt
71
+ extra_rdoc_files:
72
+ - History.txt
73
+ - Manifest.txt
74
+ - README.txt
75
+ executables:
76
+ - fuzed
77
+ - fuzed-adapter
78
+ - fuzed-conf
79
+ extensions: []
80
+
81
+ requirements: []
82
+
83
+ dependencies:
84
+ - !ruby/object:Gem::Dependency
85
+ name: erlectricity
86
+ version_requirement:
87
+ version_requirements: !ruby/object:Gem::Version::Requirement
88
+ requirements:
89
+ - - ">="
90
+ - !ruby/object:Gem::Version
91
+ version: 0.1.0
92
+ version:
93
+ - !ruby/object:Gem::Dependency
94
+ name: hoe
95
+ version_requirement:
96
+ version_requirements: !ruby/object:Gem::Version::Requirement
97
+ requirements:
98
+ - - ">="
99
+ - !ruby/object:Gem::Version
100
+ version: 1.2.1
101
+ version: