strelka 0.0.1.pre.328 → 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
data.tar.gz.sig CHANGED
Binary file
data/History.rdoc CHANGED
@@ -1,4 +1,4 @@
1
- == v0.0.1 [2011-08-29] Michael Granger <ged@FaerieMUD.org>
1
+ == v0.0.1 [2012-10-17] Michael Granger <ged@FaerieMUD.org>
2
2
 
3
3
  Initial release.
4
4
 
data/Manifest.txt CHANGED
@@ -19,6 +19,8 @@ contrib/hoetemplate/data/project/templates/layout.tmpl.erb
19
19
  contrib/hoetemplate/data/project/templates/top.tmpl.erb
20
20
  contrib/hoetemplate/lib/file_name.rb.erb
21
21
  contrib/hoetemplate/spec/file_name_spec.rb.erb
22
+ contrib/strelka-dogs/doggie6.svg
23
+ contrib/strelka-dogs/doggie7.svg
22
24
  examples/Procfile
23
25
  examples/apps/auth-demo
24
26
  examples/apps/auth-demo2
@@ -0,0 +1,271 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <!-- Created with Inkscape (http://www.inkscape.org/) -->
3
+
4
+ <svg
5
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
6
+ xmlns:cc="http://creativecommons.org/ns#"
7
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
8
+ xmlns:svg="http://www.w3.org/2000/svg"
9
+ xmlns="http://www.w3.org/2000/svg"
10
+ xmlns:xlink="http://www.w3.org/1999/xlink"
11
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
12
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
13
+ width="744.09448"
14
+ height="1052.3622"
15
+ id="svg2"
16
+ version="1.1"
17
+ inkscape:version="0.48.1 r9760"
18
+ sodipodi:docname="strelka.svg">
19
+ <defs
20
+ id="defs4">
21
+ <linearGradient
22
+ id="linearGradient3937">
23
+ <stop
24
+ style="stop-color:#ff8080;stop-opacity:1;"
25
+ offset="0"
26
+ id="stop3939" />
27
+ <stop
28
+ style="stop-color:#9e2c21;stop-opacity:1;"
29
+ offset="1"
30
+ id="stop3941" />
31
+ </linearGradient>
32
+ <linearGradient
33
+ id="linearGradient3919">
34
+ <stop
35
+ style="stop-color:#ffffff;stop-opacity:1;"
36
+ offset="0"
37
+ id="stop3921" />
38
+ <stop
39
+ style="stop-color:#141414;stop-opacity:1;"
40
+ offset="1"
41
+ id="stop3923" />
42
+ </linearGradient>
43
+ <radialGradient
44
+ inkscape:collect="always"
45
+ xlink:href="#linearGradient3919"
46
+ id="radialGradient3925"
47
+ cx="643.68433"
48
+ cy="199.69398"
49
+ fx="643.68433"
50
+ fy="199.69398"
51
+ r="26.376728"
52
+ gradientTransform="matrix(0.66419899,0.02686069,-0.02805917,0.69383424,244.26061,-69.265837)"
53
+ gradientUnits="userSpaceOnUse" />
54
+ <radialGradient
55
+ inkscape:collect="always"
56
+ xlink:href="#linearGradient3937"
57
+ id="radialGradient3943"
58
+ cx="572.66656"
59
+ cy="253.76654"
60
+ fx="572.66656"
61
+ fy="253.76654"
62
+ r="16.57774"
63
+ gradientTransform="matrix(-0.21951876,-0.97560828,1.3304011,-0.29934965,354.54324,891.57038)"
64
+ gradientUnits="userSpaceOnUse" />
65
+ </defs>
66
+ <sodipodi:namedview
67
+ id="base"
68
+ pagecolor="#ffffff"
69
+ bordercolor="#666666"
70
+ borderopacity="1.0"
71
+ inkscape:pageopacity="0.0"
72
+ inkscape:pageshadow="2"
73
+ inkscape:zoom="3.3016576"
74
+ inkscape:cx="294.86424"
75
+ inkscape:cy="843.35844"
76
+ inkscape:document-units="px"
77
+ inkscape:current-layer="layer3"
78
+ showgrid="false"
79
+ inkscape:window-width="1280"
80
+ inkscape:window-height="752"
81
+ inkscape:window-x="0"
82
+ inkscape:window-y="0"
83
+ inkscape:window-maximized="1"
84
+ inkscape:object-paths="true"
85
+ showguides="true"
86
+ inkscape:guide-bbox="true"
87
+ inkscape:snap-global="false" />
88
+ <metadata
89
+ id="metadata7">
90
+ <rdf:RDF>
91
+ <cc:Work
92
+ rdf:about="">
93
+ <dc:format>image/svg+xml</dc:format>
94
+ <dc:type
95
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
96
+ <dc:title />
97
+ </cc:Work>
98
+ </rdf:RDF>
99
+ </metadata>
100
+ <g
101
+ inkscape:groupmode="layer"
102
+ id="layer3"
103
+ inkscape:label="Layer"
104
+ style="display:inline">
105
+ <path
106
+ sodipodi:type="arc"
107
+ id="path3896"
108
+ sodipodi:cx="570.23114"
109
+ sodipodi:cy="62.286419"
110
+ sodipodi:rx="9.0913725"
111
+ sodipodi:ry="14.89975"
112
+ d="m 579.32251,62.286419 a 9.0913725,14.89975 0 1 1 -18.18274,0 9.0913725,14.89975 0 1 1 18.18274,0 z"
113
+ transform="matrix(0.91371294,-0.44491198,0.4211509,0.96526406,22.02457,254.35102)"
114
+ style="stroke-width:1.20878816;stroke-miterlimit:4;stroke-dasharray:none" />
115
+ <path
116
+ sodipodi:type="arc"
117
+ id="path3898"
118
+ sodipodi:cx="576.60773"
119
+ sodipodi:cy="88.108444"
120
+ sodipodi:rx="11.553619"
121
+ sodipodi:ry="8.0180855"
122
+ d="m 588.16135,88.108444 a 11.553619,8.0180855 0 1 1 -23.10724,0 11.553619,8.0180855 0 1 1 23.10724,0 z"
123
+ transform="matrix(0.97267759,0,0,1,15.943714,-0.75761441)"
124
+ style="fill:none;stroke:#000000;stroke-width:1.2674346;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
125
+ <path
126
+ sodipodi:type="arc"
127
+ id="path3900"
128
+ sodipodi:cx="576.60773"
129
+ sodipodi:cy="109.95299"
130
+ sodipodi:rx="10.290929"
131
+ sodipodi:ry="10.796005"
132
+ d="m 586.89866,109.95299 a 10.290929,10.796005 0 1 1 -20.58186,0 10.290929,10.796005 0 1 1 20.58186,0 z"
133
+ transform="matrix(1.1226994,0,0,0.98830409,-71.441695,-0.50818762)"
134
+ style="fill:none;stroke:#000000;stroke-width:1.18667817;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
135
+ <path
136
+ id="path3902"
137
+ style="fill:#000000;fill-opacity:1;stroke:none"
138
+ d="m 569.73682,74.660786 c 2.58041,1.502859 6.08076,61.871564 6.08076,61.871564 l 1.19102,-0.39431 c 0,0 -3.11358,-61.020555 -0.85888,-64.255171 7.61965,-10.931213 -15.78482,-2.680402 -6.4129,2.777917 z"
139
+ inkscape:connector-curvature="0"
140
+ sodipodi:nodetypes="sccss" />
141
+ <path
142
+ style="fill:none;stroke:#000000;stroke-width:1.25;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
143
+ d="m 560.25585,128.45141 c 0,0 4.71964,7.64871 14.26841,12.2481 9.54877,4.59938 15.65737,-1.51523 14.52094,-1.13642"
144
+ id="path3907"
145
+ inkscape:connector-curvature="0"
146
+ sodipodi:nodetypes="czc" />
147
+ <path
148
+ style="fill:none;stroke:#000000;stroke-width:1.25;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
149
+ d="m 537.27489,228.45651 c 0.16835,-0.0421 0.33671,-0.0842 0,0 z"
150
+ id="path4108"
151
+ inkscape:connector-curvature="0" />
152
+ <path
153
+ style="fill:none;stroke:#000000;stroke-width:1.25;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
154
+ d="m 534.74951,222.45002 c 0.19568,13.30165 -27.15043,48.01954 -43.81537,53.03302 -23.87464,7.18243 73.61487,36.68986 73.10979,36.81613 -0.50508,0.12627 6.27054,-25.92695 29.92576,-33.33503 4.02036,-1.25905 -59.44978,-72.12106 -59.22018,-56.51412 z"
155
+ id="path4112"
156
+ inkscape:connector-curvature="0"
157
+ sodipodi:nodetypes="sssss" />
158
+ <path
159
+ style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1.25;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
160
+ d="m 532.23477,214.10194 c 0,0 -0.90639,58.74374 23.33639,63.70404 24.24278,4.9603 102.01791,16.81037 117.31445,12.74991 16.87803,-5.87731 19.96133,-29.11265 16.96383,-38.55085 -2.99749,-9.4382 -34.05545,-23.01043 -35.25254,-37.12754 -6.8572,-14.62825 -8.50321,-21.34168 -21.05873,-28.75263 -0.53572,0 -22.73995,-10.2185 -61.91698,-12.84926 -39.17703,-2.63076 -94.01317,3.76267 -115.27581,9.41135 -21.26264,5.64868 -40.37659,19.99027 -37.21023,33.25626 3.16637,13.266 13.15952,32.25349 34.43628,26.41896 21.27676,-5.83453 22.51967,-4.76534 30.98214,-8.57143 8.46247,-3.80609 47.6812,-19.68881 47.6812,-19.68881 z"
161
+ id="path3909"
162
+ inkscape:connector-curvature="0"
163
+ sodipodi:nodetypes="czczcczzzzzc" />
164
+ <path
165
+ style="fill:none;stroke:#000000;stroke-width:3;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
166
+ d="m 590.6867,203.83404 c -0.53163,4.27204 -0.97628,7.23948 -0.92862,10.85839 0.0477,3.61891 1.60955,10.50552 1.68624,10.60736"
167
+ id="path3911"
168
+ inkscape:connector-curvature="0"
169
+ sodipodi:nodetypes="czc" />
170
+ <path
171
+ style="fill:none;stroke:#000000;stroke-width:1.25;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
172
+ d="m 532.47666,214.06184 15.40483,-3.03046"
173
+ id="path3913"
174
+ inkscape:connector-curvature="0" />
175
+ <path
176
+ style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:1.25000000000000000;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;"
177
+ d="m 683.21429,246.82647 c -11.25,-4.82143 -28.57142,-8.39286 -35.17857,-7.32143 -6.60715,1.07143 -15.72779,4.01586 -16.25,11.78571 -0.52222,7.76984 11.18981,14.4226 19.28571,18.39286 8.0959,3.97026 12.37049,7.98254 27.14286,4.10714 14.77237,-3.8754 16.24999,-22.14285 5,-26.96428 z"
178
+ id="path3915"
179
+ inkscape:connector-curvature="0"
180
+ sodipodi:nodetypes="zzzzzz" />
181
+ <path
182
+ style="fill:none;stroke:#000000;stroke-width:1.25;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
183
+ d="m 579.32249,244.99776 c -0.50508,1.01015 0.0526,6.42334 8.58629,20.70813 8.53364,14.28479 35.35534,22.60216 35.35534,22.60216"
184
+ id="path4067"
185
+ inkscape:connector-curvature="0"
186
+ sodipodi:nodetypes="czc" />
187
+ <path
188
+ style="fill:url(#radialGradient3943);fill-opacity:1;stroke:#000000;stroke-width:1.25;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
189
+ d="m 579.06995,245.62911 c 0,0 -7.46174,5.73221 -13.83536,12.40405 -6.37362,6.67185 -11.73413,13.98618 -7.75665,16.25902 12.92698,4.03408 30.91885,-8.23642 30.53408,-8.86531 -9.15139,-14.95734 -8.94207,-19.79776 -8.94207,-19.79776 z"
190
+ id="path4072"
191
+ inkscape:connector-curvature="0"
192
+ sodipodi:nodetypes="cscsc" />
193
+ <path
194
+ style="fill:none;stroke:#000000;stroke-width:1.25;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
195
+ d="m 581.59533,254.97302 c -7.51966,8.41071 -11.57804,9.94587 -19.44543,12.6269"
196
+ id="path4074"
197
+ inkscape:connector-curvature="0"
198
+ sodipodi:nodetypes="cc" />
199
+ <path
200
+ style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:0.96467054px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
201
+ d="M 557.12063,312.85208 665.85532,390.1347 654.33511,401.54412 549.8447,329.64328 z"
202
+ id="path3895"
203
+ inkscape:connector-curvature="0" />
204
+ <path
205
+ style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
206
+ d="m 300.77017,296.43657 c 0,0 -49.75287,13.43154 -82.81451,27.24446 -33.06163,13.81291 -79.78733,31.56898 -79.78733,31.56898 l 24.00107,34.81236 126.92458,-52.97534 z"
207
+ id="path3897"
208
+ inkscape:connector-curvature="0"
209
+ sodipodi:nodetypes="czcccc" />
210
+ <path
211
+ style="fill:#3d271a;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;fill-opacity:1"
212
+ d="m 394.20933,390.58552 7.28168,-5.56835 2.14167,-20.13172 -10.28002,-2.14167 z"
213
+ id="path3866"
214
+ inkscape:connector-curvature="0"
215
+ sodipodi:nodetypes="ccccc" />
216
+ <path
217
+ style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
218
+ d="m 484.46429,273.4348 c -14.63542,-4.82636 -67.39113,4.75904 -95.09357,0.19905 -27.70244,-4.56 -86.18275,-8.49499 -107.79178,-13.25236 -21.60902,-4.75738 -103.90037,-25.16217 -103.90037,-25.16217 0,0 32.99811,27.96471 78.54425,34.77131 45.54613,6.80659 58.21399,12.42571 58.21399,12.42571 0,0 -16.15923,7.29173 -21.83438,16.21385 -5.38464,8.4654 -9.40644,22.03369 -20.65885,29.27751 -11.2524,7.24382 -93.41543,58.7575 -93.41543,58.7575 l 14.37635,27.41709 c 0,0 10.24113,2.27417 27.98011,-6.04897 35.67946,-16.74083 84.41138,-42.47894 101.83012,-48.68351 17.41874,-6.20456 94.96156,18.76948 135.14241,16.40523 40.18085,-2.36425 78.95426,-13.59827 78.95426,-13.59827 34.98825,23.80756 73.61719,52.25454 116.04574,66.63398 l 16.25,-27.67857 c 0,0 -70.0884,-33.7097 -89.46428,-52.14286 -19.37588,-18.43316 -14.84231,-34.35619 -31.07143,-47.67857 -16.22912,-13.32238 -49.47172,-23.0296 -64.10714,-27.85595 z"
219
+ id="path3065"
220
+ inkscape:connector-curvature="0"
221
+ sodipodi:nodetypes="zzzczcszccszzccczzz" />
222
+ <path
223
+ style="fill:#3d271a;fill-opacity:1;stroke:#000000;stroke-width:0.84452623px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
224
+ d="m 387.94677,236.03454 4.88883,-1.12419 0.3492,-7.11984 -7.33324,-3.37255 z"
225
+ id="path3868"
226
+ inkscape:connector-curvature="0" />
227
+ <path
228
+ style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
229
+ d="M 268.99401,183.27167 C 258.75758,151.63695 142.93412,127.96398 63.821827,83.041411 110.34754,108.51692 187.41814,236.19075 227.87391,234.24346 c 40.45577,-1.94728 58.89251,0.50794 58.89251,0.50794 0,0 -7.53598,-19.84502 -17.77241,-51.47973 z"
230
+ id="path3876"
231
+ inkscape:connector-curvature="0"
232
+ sodipodi:nodetypes="zczcz" />
233
+ <path
234
+ style="fill:#ffffff;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;fill-opacity:1"
235
+ d="m 317.82413,259.94352 -43.69011,-20.13171 13.7067,-17.56171 29.55508,17.56171 z"
236
+ id="path3872"
237
+ inkscape:connector-curvature="0" />
238
+ <path
239
+ style="fill:#ffffff;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;fill-opacity:1"
240
+ d="m 320.39414,263.79853 -10.70836,-5.14001 -2.14167,-28.6984 10.28002,3.85501 z"
241
+ id="path3874"
242
+ inkscape:connector-curvature="0" />
243
+ <path
244
+ style="fill:#ffffff;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;fill-opacity:1"
245
+ d="m 307.97244,209.40006 13.27837,83.09688 113.93695,-2.57001 -2.14167,-47.97345 z"
246
+ id="path3862"
247
+ inkscape:connector-curvature="0" />
248
+ <path
249
+ style="fill:#5f462d;fill-opacity:1;stroke:#52322c;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
250
+ d="m 367.93926,382.44717 c 0.90591,9.94205 27.18401,8.56668 27.18401,8.56668 L 388.49931,223.5351 c 0,0 -38.95911,-16.19348 -37.66299,-2.22777 5.80066,62.50229 12.5534,111.2104 17.10294,161.13984 z"
251
+ id="path3864"
252
+ inkscape:connector-curvature="0"
253
+ sodipodi:nodetypes="sccss" />
254
+ <path
255
+ sodipodi:type="arc"
256
+ style="fill:#a0ffff;stroke:#00bdff;stroke-width:1.25000000000000000;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;fill-opacity:1;opacity:0.30172414"
257
+ id="path3899"
258
+ sodipodi:cx="522.83411"
259
+ sodipodi:cy="199.99983"
260
+ sodipodi:rx="173.41315"
261
+ sodipodi:ry="100.3288"
262
+ d="m 696.24725,199.99983 a 173.41315,100.3288 0 1 1 -346.82629,0 173.41315,100.3288 0 1 1 346.82629,0 z"
263
+ transform="matrix(0.93729124,0.28423513,-0.30190829,0.88242393,132.521,-109.74059)" />
264
+ <path
265
+ style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:1.01773787px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
266
+ d="m 497.71322,271.7957 67.05986,38.04304 0.15125,16.86059 -103.05703,-54.47132 z"
267
+ id="path3945"
268
+ inkscape:connector-curvature="0"
269
+ sodipodi:nodetypes="ccccc" />
270
+ </g>
271
+ </svg>
@@ -0,0 +1,49 @@
1
+ <?xml version="1.1" encoding="UTF-8" standalone="no"?>
2
+ <svg width="500px" height="869px" xmlns="http://www.w3.org/2000/svg" version="1.1">
3
+ <title>Стрелке (Strelka)</title>
4
+ <description>Artist: Naia Smith</description>
5
+ <title>Doggie 7</title>
6
+ <description>Created with Sketch (http://www.bohemiancoding.com/sketch)</description>
7
+ <defs></defs>
8
+ <g fill="none" id="Main Page">
9
+ <g fill="none" id="Doggie">
10
+ <g fill="none" id="Body">
11
+ <path id="Forequarters" d="M222,310 C222,310 303,270 328,265 C353,259 354,259 354,259 C354,259 377,256 394,256 C411,256 432,263 438,277 C444,291 435,307 419,319 C403,330 336,377 336,377 C336,377 314,417 314,463 C314,508 314,501 321,532 C328,562 329,589 329,611 C329,632 324,694 320,714 C310,737 326,756 314,780 C309,789 296,776 300,779 C303,781 289,783 277,776 C266,769 250,771 256,707 C263,643 261,634 261,611" stroke="rgb(0,0,0)" stroke-width="3" fill="none"></path>
12
+ <path id="Forequarters decoration" d="" stroke="rgb(0,0,0)" stroke-width="3" fill="none"></path>
13
+ <path id="Hindquarters" d="M195,639 C201,653 218,686 218,719 C222,743 251,719 258,770 C251,786 212,770 126,729 C90,716 72,720 50,703 C0,658 2,554 16,523 C31,492 9,631 73,642 C73,615 142,518 200,493 C209,486 223,455 233,434 C246,404 254,381 251,366 C247,342 259,426 195,470 C181,477 205,399 212,387 C227,366 201,327 223,309" stroke="rgb(0,0,0)" stroke-width="3" fill="none"></path>
14
+ <path id="Hindquarters decoration" d="" stroke="rgb(0,0,0)" stroke-width="3" fill="none"></path>
15
+ <path id="Haunch" d="M118,627 C134,622 177,598 222,675" stroke="rgb(0,0,0)" stroke-width="3" fill="none"></path>
16
+ <path id="Haunch decoration" d="" stroke="rgb(0,0,0)" stroke-width="3" fill="none"></path>
17
+ <path id="Second Leg" d="M300,776 C295,783 313,771 289,742 C305,709 312,643 312,626 C320,596 312,569 320,529" stroke="rgb(0,0,0)" stroke-width="3" fill="none"></path>
18
+ <path id="Second Leg decoration" d="" stroke="rgb(0,0,0)" stroke-width="3" fill="none"></path>
19
+ <path id="Nose" d="M422,296 C432,296 441,290 441,283 C441,275 432,270 422,270 C412,270 404,275 404,283 C404,290 412,296 422,296" stroke="rgb(0,0,0)" stroke-width="1" fill="rgb(28,28,28)"></path>
20
+ <path id="Nose decoration" d="" stroke="rgb(0,0,0)" stroke-width="1" fill="rgb(28,28,28)"></path>
21
+ <path id="Eye" d="M308,329 C305,330 310,326 310,321 C302,318 306,317 300,313 C294,308 300,320 303,320 C305,320 305,327 305,327 C305,327 310,328 308,329" stroke="rgb(0,0,0)" stroke-width="1" fill="rgb(19,19,19)"></path>
22
+ <path id="Eye decoration" d="" stroke="rgb(0,0,0)" stroke-width="1" fill="rgb(19,19,19)"></path>
23
+ </g>
24
+ <path id="Collar" d="M202,491 C202,491 231,506 274,506 C318,506 317,512 317,512 L314,475 C314,475 240,478 216,468 C211,478 202,491 202,491" stroke="rgb(0,0,0)" stroke-width="1" fill="rgb(183,14,1)"></path>
25
+ <path id="Collar decoration" d="" stroke="rgb(0,0,0)" stroke-width="1" fill="rgb(183,14,1)"></path>
26
+ <g fill="none" id="Helmet">
27
+ <path id="Tipguard" d="M213,22 C216,22 219,19 219,16 C219,12 216,10 213,10 C209,10 207,12 207,16 C207,19 209,22 213,22" stroke="rgb(0,0,0)" stroke-width="1" fill="none"></path>
28
+ <path id="Tipguard decoration" d="" stroke="rgb(0,0,0)" stroke-width="1" fill="none"></path>
29
+ <path id="A Ring 1" d="M255,92 C263,88 267,82 263,79 C259,75 250,75 241,80 C233,84 229,90 233,93 C237,97 246,96 255,92" stroke="rgb(0,0,0)" stroke-width="2" fill="none"></path>
30
+ <path id="A Ring 1 decoration" d="" stroke="rgb(0,0,0)" stroke-width="2" fill="none"></path>
31
+ <path id="A Ring 4" d="M254,106 C260,103 263,98 261,94 C259,89 253,89 247,91 C241,94 238,100 240,104 C242,108 249,109 254,106" stroke="rgb(0,0,0)" stroke-width="2" fill="none"></path>
32
+ <path id="A Ring 4 decoration" d="" stroke="rgb(0,0,0)" stroke-width="2" fill="none"></path>
33
+ <path id="A Ring 3" d="M247,80 C253,77 256,71 253,68 C250,65 243,65 236,68 C230,72 227,77 230,80 C233,83 240,83 247,80" stroke="rgb(0,0,0)" stroke-width="2" fill="none"></path>
34
+ <path id="A Ring 3 decoration" d="" stroke="rgb(0,0,0)" stroke-width="2" fill="none"></path>
35
+ <path id="A Ring 2" d="M236,65 C242,63 245,57 243,53 C242,49 235,48 230,50 C224,53 220,58 222,62 C224,66 230,68 236,65" stroke="rgb(0,0,0)" stroke-width="2" fill="none"></path>
36
+ <path id="A Ring 2 decoration" d="" stroke="rgb(0,0,0)" stroke-width="2" fill="none"></path>
37
+ <path id="A Ring 1" d="M225,43 C231,41 234,35 233,31 C231,27 225,26 219,28 C213,31 210,36 211,40 C213,44 219,46 225,43" stroke="rgb(0,0,0)" stroke-width="2" fill="none"></path>
38
+ <path id="A Ring 1 decoration" d="" stroke="rgb(0,0,0)" stroke-width="2" fill="none"></path>
39
+ <path id="Antenna Port" d="M283,189 C294,186 301,178 299,171 C296,164 286,160 274,163 C263,165 256,173 258,180 C261,188 271,191 283,189" stroke="rgb(151,204,210)" stroke-width="1" fill="none"></path>
40
+ <path id="Antenna Port decoration" d="" stroke="rgb(151,204,210)" stroke-width="1" fill="none"></path>
41
+ <path id="Antenna" d="M214,16 C224,41 271,114 277,188" stroke="rgb(0,0,0)" stroke-width="3" fill="none"></path>
42
+ <path id="Antenna decoration" d="" stroke="rgb(0,0,0)" stroke-width="3" fill="none"></path>
43
+ <path id="Glass" d="M133,341 C133,336 116,240 250,170 C413,113 442,173 469,201 C478,210 520,285 469,379 C420,476 334,476 300,476 C265,476 186,486 171,469 C141,457 133,364 133,341" stroke="rgb(0,0,0)" stroke-width="1" fill="rgba(58,159,170,0.2)"></path>
44
+ <path id="Glass decoration" d="" stroke="rgb(0,0,0)" stroke-width="1" fill="rgb(58,159,170)"></path>
45
+ </g>
46
+ </g>
47
+ <text x="517" y="827" font-family="M+ 1p black" font-size="64" fill="rgb(0,0,0)" id="Стрелке">Стрелке</text>
48
+ </g>
49
+ </svg>
@@ -27,7 +27,7 @@ server 'examples' do
27
27
 
28
28
  host 'localhost' do
29
29
 
30
- route '/', directory( 'static/', 'examples.html', 'text/html' )
30
+ route '/', directory( 'examples/static/', 'examples.html', 'text/html' )
31
31
 
32
32
  # Handlers
33
33
  route '/hello', handler( 'tcp://127.0.0.1:9900', 'hello-world' )
@@ -74,7 +74,8 @@ class Strelka::HTTPRequest < Mongrel2::HTTPRequest
74
74
  unless @uri
75
75
  # :TODO: Make this detect https scheme once I figure out how to
76
76
  # detect it.
77
- uri = "http://%s%s" % [
77
+ uri = "%s://%s%s" % [
78
+ self.headers.url_scheme.downcase,
78
79
  self.headers.host,
79
80
  self.headers.uri
80
81
  ]
@@ -42,6 +42,12 @@ describe Strelka::HTTPRequest do
42
42
  @req.uri.to_s.should == 'http://localhost:8080/directory/userinfo/ged'
43
43
  end
44
44
 
45
+ it "knows what the request's parsed URI is when it's an HTTPS request" do
46
+ @req.headers.url_scheme = 'https'
47
+ @req.uri.should be_a( URI )
48
+ @req.uri.to_s.should == 'https://localhost:8080/directory/userinfo/ged'
49
+ end
50
+
45
51
  it "knows what Mongrel2 route it followed" do
46
52
  @req.pattern.should == '/directory'
47
53
  end
@@ -116,6 +116,32 @@ describe Strelka::ParamValidator do
116
116
  @validator["foo"].should == "bar"
117
117
  end
118
118
 
119
+ it "handles multiple values for the same parameter" do
120
+ pending "issue #1"
121
+ @validator.add( :foo, /^\d+$/, :multiple )
122
+
123
+ @validator.validate( {'foo' => %w[1 2]} )
124
+ @validator[:foo].should == ['1', '2']
125
+ end
126
+
127
+ it "always returns an Array for parameters marked as :multiple" do
128
+ pending "issue #1"
129
+ @validator.add( :foo, /^\d+$/, :multiple )
130
+
131
+ @validator.validate( {'foo' => '1'} )
132
+ @validator[:foo].should == ['1']
133
+ end
134
+
135
+ it "fails to validate if one of a multiple-value parameter doesn't validate" do
136
+ pending "issue #1"
137
+ @validator.add( :foo, /^\d+$/, :multiple )
138
+
139
+ @validator.validate( {'foo' => %[1 victor 8]} )
140
+ @validator.should_not be_okay()
141
+ @validator.should have_errors()
142
+ @validator.error_messages.first.should =~ /foo/i
143
+ end
144
+
119
145
  it "untaints valid args if told to do so" do
120
146
  tainted_one = "1"
121
147
  tainted_one.taint
@@ -194,7 +220,6 @@ describe Strelka::ParamValidator do
194
220
  @validator.error_messages.should include( "Missing value for 'A Field'" )
195
221
  end
196
222
 
197
-
198
223
  end # describe "validation"
199
224
 
200
225
  describe "validation error descriptions" do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: strelka
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1.pre.328
4
+ version: 0.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -36,7 +36,7 @@ cert_chain:
36
36
  YUhDS0xaZFNLai9SSHVUT3QrZ2JsUmV4OEZBaDhOZUEKY21saFhlNDZwWk5K
37
37
  Z1dLYnhaYWg4NWpJang5NWhSOHZPSStOQU01aUg5a09xSzEzRHJ4YWNUS1Bo
38
38
  cWo1UGp3RgotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==
39
- date: 2012-10-12 00:00:00.000000000 Z
39
+ date: 2012-10-17 00:00:00.000000000 Z
40
40
  dependencies:
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: configurability
@@ -358,6 +358,8 @@ files:
358
358
  - contrib/hoetemplate/data/project/templates/top.tmpl.erb
359
359
  - contrib/hoetemplate/lib/file_name.rb.erb
360
360
  - contrib/hoetemplate/spec/file_name_spec.rb.erb
361
+ - contrib/strelka-dogs/doggie6.svg
362
+ - contrib/strelka-dogs/doggie7.svg
361
363
  - examples/Procfile
362
364
  - examples/apps/auth-demo
363
365
  - examples/apps/auth-demo2
metadata.gz.sig CHANGED
@@ -1 +1,2 @@
1
- ���!��f,܏�0n8����C;�
1
+ N�%�^]����u�w3�n&�wE�7�ds�g3Y�p���
2
+ �K��` �=v���!�z�ue-�1{Ie"#ϗ�xOi�4�uC/E˶`-�y^������>���o�X ��*���n