@@ -232,7 +232,7 @@
diff --git a/doc/Hyde/Pattern.html b/doc/Hyde/Pattern.html
index fe2827b..0d7df14 100644
--- a/doc/Hyde/Pattern.html
+++ b/doc/Hyde/Pattern.html
@@ -542,7 +542,7 @@ Lighter version of match that doesn't assign any variables.
diff --git a/doc/Hyde/PatternMatching.html b/doc/Hyde/PatternMatching.html
index 2c2623c..72352ce 100644
--- a/doc/Hyde/PatternMatching.html
+++ b/doc/Hyde/PatternMatching.html
@@ -231,7 +231,7 @@ Used primarily to create patterns for path definitions.
diff --git a/doc/Hyde/PatternMatching/Glob.html b/doc/Hyde/PatternMatching/Glob.html
index 246bc63..97b33fa 100644
--- a/doc/Hyde/PatternMatching/Glob.html
+++ b/doc/Hyde/PatternMatching/Glob.html
@@ -638,7 +638,7 @@ Lighter version of match that doesn't assign any variables.
diff --git a/doc/Hyde/PatternMatching/ReMatch.html b/doc/Hyde/PatternMatching/ReMatch.html
index 8a055e7..2a12d0d 100644
--- a/doc/Hyde/PatternMatching/ReMatch.html
+++ b/doc/Hyde/PatternMatching/ReMatch.html
@@ -547,7 +547,7 @@ Lighter version of match that doesn't assign any variables.
diff --git a/doc/Hyde/Probe.html b/doc/Hyde/Probe.html
index 7a43863..8a0c092 100644
--- a/doc/Hyde/Probe.html
+++ b/doc/Hyde/Probe.html
@@ -455,7 +455,7 @@ This behaviour should only be used internally.
diff --git a/doc/Hyde/ProbeContext.html b/doc/Hyde/ProbeContext.html
index 7447eb1..1a56156 100644
--- a/doc/Hyde/ProbeContext.html
+++ b/doc/Hyde/ProbeContext.html
@@ -189,7 +189,7 @@
# File 'lib/hyde/template/erubi.rb', line 31
+
+defrun
+ @binding.eval(@template.src)
+end
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/doc/Hyde/Util.html b/doc/Hyde/Util.html
index 887da0a..49287e0 100644
--- a/doc/Hyde/Util.html
+++ b/doc/Hyde/Util.html
@@ -424,7 +424,8 @@ Taken from WEBrick # File 'lib/hyde/util/html.rb', line 87
@@ -438,6 +439,7 @@ Taken from WEBrick Util.escape_html(errortext)}</title>
<style> .header {padding: 0.5rem; overflow: auto;} .title { font-weight: bolder; font-size: 48px; margin: 10px 10px; text-shadow: 1px 1px 1px #202222, 2px 2px 2px #404444; float: left } body { margin: 0; } .text { font-size 1rem; } .small { color: #7D7D7D; font-size: 12px;} .code { font-family: monospace; font-size: 0.7rem; } </style>
+ <meta charset="utf-8">
</head>
<body>
<div class="header">
@@ -602,11 +604,6 @@ This function is not adequate to prevent string interpolation.
-25
-26
-27
-28
-29
30
31
32
@@ -616,14 +613,19 @@ This function is not adequate to prevent string interpolation.
36
37
38
-39
+39
+40
+41
+42
+43
+44
-
# File 'lib/hyde/util/header.rb', line 25
+
# File 'lib/hyde/util/header.rb', line 30defself.make_value(input,opts,sep=";")unlessinput.match?(/^[\w!#$%&'*+-.^_`|~]*=?[^[:cntrl:]\\",;]+$/)
- raiseStandardError,"input contains invalid characters"
+ raiseStandardError,"input format is invalid"endoutput=input
@@ -715,7 +717,12 @@ This function is not adequate to prevent string interpolation.
16
17
18
-19
+19
+20
+21
+22
+23
+24
# File 'lib/hyde/util/header.rb', line 11
@@ -724,7 +731,12 @@ This function is not adequate to prevent string interpolation.
parts=input.split(sep).map{|x|URI.decode_uri_component(x).strip}base=parts.shiftopts=parts.mapdo|raw|
- key,value=raw.match(/^([^=]*)(?:=(.*)|)\Z/).to_a[1..]
+ key,value=raw.match(/
+ \A # beginning of string
+ ([!-~&&[^=;,]]+) # key
+ (?:=([\s!-~&&[^;,]]*)|) # optional value
+ \Z # end of sting
+ /x).to_a[1..][key,((value&.match?(/^".*"$/)?value[1..-2]:value)ortrue)]end.to_h[base,opts]
@@ -807,7 +819,7 @@ This function is not adequate to prevent string interpolation.
diff --git a/doc/Hyde/Util/FormPart.html b/doc/Hyde/Util/FormPart.html
index c70987c..fe45777 100644
--- a/doc/Hyde/Util/FormPart.html
+++ b/doc/Hyde/Util/FormPart.html
@@ -847,7 +847,7 @@
diff --git a/doc/Hyde/Util/Lookup.html b/doc/Hyde/Util/Lookup.html
index a1fb651..777d470 100644
--- a/doc/Hyde/Util/Lookup.html
+++ b/doc/Hyde/Util/Lookup.html
@@ -589,7 +589,7 @@
diff --git a/doc/Hyde/Util/MultipartParser.html b/doc/Hyde/Util/MultipartParser.html
index 86ef9d3..92a54bb 100644
--- a/doc/Hyde/Util/MultipartParser.html
+++ b/doc/Hyde/Util/MultipartParser.html
@@ -477,7 +477,7 @@
diff --git a/doc/Hyde/Util/ParserCommon.html b/doc/Hyde/Util/ParserCommon.html
index aecc37c..2e255e0 100644
--- a/doc/Hyde/Util/ParserCommon.html
+++ b/doc/Hyde/Util/ParserCommon.html
@@ -110,7 +110,7 @@
diff --git a/doc/Hyde/Util/Query.html b/doc/Hyde/Util/Query.html
index e43d504..f376b4a 100644
--- a/doc/Hyde/Util/Query.html
+++ b/doc/Hyde/Util/Query.html
@@ -489,7 +489,7 @@ Key semantics:
diff --git a/doc/_index.html b/doc/_index.html
index 0d849c2..ba43b1b 100644
--- a/doc/_index.html
+++ b/doc/_index.html
@@ -94,6 +94,13 @@
+
Hyde is a library that provides a DSL for creating HTTP servers. As of now it is using Rack as the webserver adapter, but ideally it shouldn't take much work to make it run on top of any webserver.
+
Hyde is a library that provides a DSL for creating web applications. As of now it is using Rack as the webserver adapter, but ideally it shouldn't take much work to make it run on top of any webserver.
Hyde was made mostly for fun. Ideally it will become something more, but as of yet it's just an experiment revolving around Ruby Metaprogramming and its DSL capabilities.
Hyde is a library that provides a DSL for creating HTTP servers. As of now it is using Rack as the webserver adapter, but ideally it shouldn't take much work to make it run on top of any webserver.
+
Hyde is a library that provides a DSL for creating web applications. As of now it is using Rack as the webserver adapter, but ideally it shouldn't take much work to make it run on top of any webserver.
Hyde was made mostly for fun. Ideally it will become something more, but as of yet it's just an experiment revolving around Ruby Metaprogramming and its DSL capabilities.