strelka 0.0.1.pre.214 → 0.0.1.pre.216

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/ChangeLog CHANGED
@@ -1,23 +1,10 @@
1
- 2012-05-02 Michael Granger <ged@FaerieMUD.org>
2
-
3
- * MILESTONES.rdoc, Manifest.txt:
4
- Adding a MILESTONES file.
5
-
6
- We'll use this as a checklist of what needs to be done for the next
7
- release.
8
- [d8e74e3bf97b] [tip]
9
-
10
- * lib/strelka/logging.rb:
11
- Change fatal output color to be more readable
12
- [403cf0ef01f0]
13
-
14
1
  2012-04-25 Michael Granger <ged@FaerieMUD.org>
15
2
 
16
3
  * lib/strelka/app.rb, lib/strelka/plugins.rb,
17
4
  spec/strelka/httpresponse/negotiation_spec.rb,
18
5
  spec/strelka/plugins_spec.rb:
19
6
  Add an #application_stack method to the PluginLoader mixin
20
- [7427a74ae313] [github/master]
7
+ [7427a74ae313] [tip]
21
8
 
22
9
  * lib/strelka/app.rb, spec/strelka/app_spec.rb:
23
10
  Add configurable ::devmode? setting to Strelka::App
@@ -41,7 +28,7 @@
41
28
 
42
29
  * lib/strelka/app/templating.rb, spec/strelka/app/templating_spec.rb:
43
30
  Refactored on of the big methods in :templating.
44
- [f933118fb9db]
31
+ [f933118fb9db] [github/master]
45
32
 
46
33
  2012-04-23 Michael Granger <ged@FaerieMUD.org>
47
34
 
@@ -244,16 +231,18 @@
244
231
  * Merging with ssh://hg@deveiate.org/Strelka@8f1c27819e70
245
232
  [5fcd76455aad]
246
233
 
247
- * Manifest.txt:
248
- Updating the manifest
249
- [35165b3d01cc]
250
-
251
234
  2012-04-11 Mahlon E. Smith <mahlon@martini.nu>
252
235
 
253
236
  * lib/strelka/session/default.rb:
254
237
  Use the built-in securerandom method for obtaining a hex value.
255
238
  [8f1c27819e70]
256
239
 
240
+ 2012-04-11 Michael Granger <ged@FaerieMUD.org>
241
+
242
+ * Manifest.txt:
243
+ Updating the manifest
244
+ [35165b3d01cc]
245
+
257
246
  2012-04-10 Michael Granger <ged@FaerieMUD.org>
258
247
 
259
248
  * lib/strelka/app/auth.rb, lib/strelka/app/parameters.rb,
@@ -324,22 +313,6 @@
324
313
  Add the ChangeLog to the ignorefile
325
314
  [cc8c30d38652]
326
315
 
327
- * lib/strelka/app/templating.rb:
328
- Add API docs to the :templating plugin module
329
- [3c160d996320]
330
-
331
- * README.rdoc:
332
- Add more URLs
333
- [060962556bd1]
334
-
335
- * Rakefile:
336
- Oops. Fix typo
337
- [5a8aa207860b]
338
-
339
- * .rvm.gems, Rakefile:
340
- Update dependencies
341
- [787e523777d1]
342
-
343
316
  2012-04-06 Mahlon E. Smith <mahlon@martini.nu>
344
317
 
345
318
  * lib/strelka/app/sessions.rb, lib/strelka/cookie.rb,
@@ -357,6 +330,24 @@
357
330
  Add a persistent DB session store, using sequel.
358
331
  [99f3c3f5d6ca]
359
332
 
333
+ 2012-04-06 Michael Granger <ged@FaerieMUD.org>
334
+
335
+ * lib/strelka/app/templating.rb:
336
+ Add API docs to the :templating plugin module
337
+ [3c160d996320]
338
+
339
+ * README.rdoc:
340
+ Add more URLs
341
+ [060962556bd1]
342
+
343
+ * Rakefile:
344
+ Oops. Fix typo
345
+ [5a8aa207860b]
346
+
347
+ * .rvm.gems, Rakefile:
348
+ Update dependencies
349
+ [787e523777d1]
350
+
360
351
  2012-04-04 Michael Granger <ged@FaerieMUD.org>
361
352
 
362
353
  * manual/src/tutorial.page:
@@ -2,15 +2,23 @@
2
2
 
3
3
  == v0.0.1
4
4
 
5
- * Ensure the README is up to date
6
- * Update the IDEAS doc
7
- * Finish the 'setup' task in bin/strelka
8
- * Extract the rest of the manual out into RDoc for the app classes
9
- * Lay out the framework for the 'cookbook' section of the manual
10
- * Mix in the 18pt awesomesauce.
5
+ === Documentation
6
+
7
+ [ ] Ensure the README is up to date
8
+ [ ] Update the IDEAS doc
9
+ [ ] Extract the rest of the tutorial part of the manual out into RDoc for the app classes
10
+ [ ] Lay out the framework for the 'cookbook' section of the manual
11
+
12
+ === Code
13
+
14
+ [ ] Finish the 'setup' task in bin/strelka
15
+ [ ] Add support for Mongrel2's async uploads. Might require some Ruby-Mongrel2 work as well.
11
16
 
12
17
 
13
18
  == v0.1.0
14
19
 
15
- * Add WebSocketService and plugins
20
+ === Features
21
+
22
+ [ ] Add WebSocketService and plugins
23
+
16
24
 
@@ -47,7 +47,7 @@ Strelka applications are composed out of plugins that mix in the specific
47
47
  framework parts you specify, so you get exactly what you need and nothing
48
48
  more.
49
49
 
50
- The plugins system itself is contained in the Strelka::App::Plugins mixin,
50
+ The plugins system itself is contained in the Strelka::Plugins mixin,
51
51
  which is included in Strelka::App already. This adds the +plugins+
52
52
  declarative, which you use from your app to load the plugins you want to use.
53
53
 
@@ -95,20 +95,26 @@ easily.
95
95
 
96
96
  === Default Plugins
97
97
 
98
- [routing[rdoc-ref:Strelka::App::Routing]]
99
- Sinatra-ish request routing.
100
- [parameters[rdoc-ref:Strelka::App::Parameters]]
101
- Query and URI path-parameter validation and untainting.
98
+ [auth[rdoc-ref:Strelka::App::Auth]]
99
+ Pluggable authentication and authorization for Strelka applications.
100
+ [errors[rdoc-ref:Strelka::App::Errors]]
101
+ Custom error-handling.
102
102
  [filters[rdoc-ref:Strelka::App::Filters]]
103
103
  Request/response filters, for doing things like compression, content-type
104
104
  negotiation, or other things that somehow modify every request or response.
105
- [templating[rdoc-ref:Strelka::App::Templating]]
106
- Templating via the Inversion template engine.
107
- [errors[rdoc-ref:Strelka::App::Errors]]
108
- Custom error-handling.
105
+ [negotiation[rdoc-ref:Strelka::App::Negotiation]]
106
+ HTTP Content negotiation for Strelka applications.
107
+ [parameters[rdoc-ref:Strelka::App::Parameters]]
108
+ Query and URI path-parameter validation and untainting.
109
109
  [restresources[rdoc-ref:Strelka::App::RestResources]]
110
110
  Automatically set up RESTful service resources for Sequel::Model-derived
111
- classes.
111
+ classes.
112
+ [routing[rdoc-ref:Strelka::App::Routing]]
113
+ Sinatra-ish request routing.
114
+ [sessions[rdoc-ref:Strelka::App::Sessions]]
115
+ Sessions for Strelka apps.
116
+ [templating[rdoc-ref:Strelka::App::Templating]]
117
+ Templating via the Inversion template engine.
112
118
 
113
119
 
114
120
  == Roadmap
@@ -121,7 +127,6 @@ Here's a tentative list of what kinds of stuff we have planned:
121
127
 
122
128
  === More Plugins
123
129
 
124
- * Auth -- authentication framework
125
130
  * CORS -- manage {Cross-Origin Resource Sharing}[http://www.html5rocks.com/en/tutorials/cors/]
126
131
  headers, especially for service applications
127
132
  * caching -- utilities for easy HTTP caching
@@ -6,7 +6,7 @@ require 'mongrel2'
6
6
  require 'configurability'
7
7
  require 'configurability/config'
8
8
 
9
- # An application framework for Ruby-mongrel2
9
+ # A Ruby application framework for Mongrel2[http://mongrel2.org/].
10
10
  #
11
11
  # == Author/s
12
12
  #
@@ -21,7 +21,7 @@ module Strelka
21
21
  VERSION = '0.0.1'
22
22
 
23
23
  # Version-control revision constant
24
- REVISION = %q$Revision: c3e9ce4035b6 $
24
+ REVISION = %q$Revision: 5bd05add55ad $
25
25
 
26
26
 
27
27
  require 'strelka/logging'
@@ -11,7 +11,7 @@ require 'strelka/mixins'
11
11
  require 'strelka/plugins'
12
12
 
13
13
 
14
- # The application base class.
14
+ # The Strelka HTTP application base class.
15
15
  class Strelka::App < Mongrel2::Handler
16
16
  extend Configurability,
17
17
  Strelka::MethodUtilities,
@@ -73,16 +73,18 @@ require 'strelka/plugins'
73
73
  #
74
74
  # === Layouts
75
75
  #
76
- # Very often, you'll want your app to share a common page layout. To accomplish this, you
77
- # can declare a special layout template:
76
+ # Very often, you'll want all or most of the views in your app to share a common page
77
+ # layout. To accomplish this, you can declare a layout template:
78
78
  #
79
79
  # layout 'layout.tmpl'
80
80
  #
81
81
  # Any template that you return will be set as the 'body' attribute of this layout
82
- # template, and the layout rendered as the body of the response.
82
+ # template (which you'd place into the layout with <tt><?attr body ?></tt>) and the
83
+ # layout rendered as the body of the response.
83
84
  #
84
85
  # Note that if you want any of the "common objects" from above with a layout template,
85
- # you must use the <tt><?import ?></tt> directive to import them:
86
+ # they'll be set on it since it's the top-level template, but you can still access them
87
+ # using the <tt><?import ?></tt> directive:
86
88
  #
87
89
  # <?import request, strelka_version, route ?>
88
90
  #
@@ -7,7 +7,10 @@ require 'strelka/httprequest'
7
7
 
8
8
  class Strelka::HTTPRequest
9
9
 
10
- # A parser for request Accept, Accept-encoding, Accept-charset, and Accept-language
10
+ # A parser for request Accept[rdoc-ref:Strelka::HTTPRequest::MediaType] ,
11
+ # {Accept-encoding}[rdoc-ref:Strelka::HTTPRequest::Encoding] ,
12
+ # {Accept-charset}[rdoc-ref:Strelka::HTTPRequest::Charset] , and
13
+ # {Accept-language}[rdoc-ref:Strelka::HTTPRequest::Language]
11
14
  # header values. They provide weighted and wildcard comparisions between two values
12
15
  # of the same field.
13
16
  #
@@ -199,7 +202,7 @@ class Strelka::HTTPRequest
199
202
  end # class AcceptParam
200
203
 
201
204
 
202
- # A mediatype parameter such as one you'd find in an Accept header.
205
+ # A mediatype parameter such as one you'd find in an +Accept+ header.
203
206
  class MediaType < Strelka::HTTPRequest::AcceptParam
204
207
 
205
208
  ### Parse the given +accept_param+ as a mediatype and return a
@@ -238,7 +241,7 @@ class Strelka::HTTPRequest
238
241
 
239
242
 
240
243
  # A natural language specification parameter, such as one you'd find in an
241
- # Accept-Language header.
244
+ # <tt>Accept-Language</tt> header.
242
245
  class Language < Strelka::HTTPRequest::AcceptParam
243
246
 
244
247
  ### Parse the given +accept_param+ as a language range and return a
@@ -277,7 +280,7 @@ class Strelka::HTTPRequest
277
280
  end # class Language
278
281
 
279
282
 
280
- # A content encoding parameter, such as one you'd find in an Accept-Encoding header.
283
+ # A content encoding parameter, such as one you'd find in an <tt>Accept-Encoding</tt> header.
281
284
  class Encoding < Strelka::HTTPRequest::AcceptParam
282
285
 
283
286
  ### Parse the given +accept_param+ as a content coding and return a
@@ -310,7 +313,7 @@ class Strelka::HTTPRequest
310
313
  end # class Encoding
311
314
 
312
315
 
313
- # A content character-set parameter, such as one you'd find in an Accept-Charset header.
316
+ # A content character-set parameter, such as one you'd find in an <tt>Accept-Charset</tt> header.
314
317
  class Charset < Strelka::HTTPRequest::AcceptParam
315
318
 
316
319
  ### Parse the given +accept_param+ as a charset and return a
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.214
4
+ version: 0.0.1.pre.216
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-05-02 00:00:00.000000000 Z
39
+ date: 2012-05-03 00:00:00.000000000 Z
40
40
  dependencies:
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: trollop
@@ -446,7 +446,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
446
446
  version: '0'
447
447
  requirements: []
448
448
  rubyforge_project: strelka
449
- rubygems_version: 1.8.21
449
+ rubygems_version: 1.8.24
450
450
  signing_key:
451
451
  specification_version: 3
452
452
  summary: Strelka is a framework for creating and deploying Mongrel2 web applications
metadata.gz.sig CHANGED
Binary file