strelka 0.0.1.pre.291 → 0.0.1.pre.293

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.
data.tar.gz.sig CHANGED
Binary file
data/ChangeLog CHANGED
@@ -1,8 +1,30 @@
1
+ 2012-08-10 Michael Granger <ged@FaerieMUD.org>
2
+
3
+ * lib/strelka/app/errors.rb:
4
+ Make the error-handler info log less spammy
5
+ [39a1afa23a17] [tip]
6
+
7
+ * lib/strelka/httprequest.rb:
8
+ Make the debugging log for non-form entity bodies a bit less scary
9
+ [6cb5ec6cefe0]
10
+
11
+ 2012-08-08 Michael Granger <ged@FaerieMUD.org>
12
+
13
+ * lib/strelka/httprequest.rb, spec/strelka/httprequest_spec.rb,
14
+ spec/strelka/router/default_spec.rb:
15
+ Un-escape the HTTPRequest#path, #app_path, etc.
16
+ [5bd7bcb8e1ae]
17
+
18
+ * lib/strelka/httprequest.rb, spec/data/forms/testform.form,
19
+ spec/strelka/httprequest_spec.rb:
20
+ Don't error when looking for form data in non-form request types.
21
+ [29a3489d80a4]
22
+
1
23
  2012-08-03 Mahlon E. Smith <mahlon@martini.nu>
2
24
 
3
25
  * lib/strelka/paramvalidator.rb:
4
26
  Add a paramvalidator built-in for matching UUIDs.
5
- [3e38478b3f4d] [tip]
27
+ [3e38478b3f4d]
6
28
 
7
29
  2012-07-27 Michael Granger <ged@FaerieMUD.org>
8
30
 
@@ -183,7 +183,7 @@ module Strelka::App::Errors
183
183
  # to the default handler instead
184
184
  handler = self.status_handler_for( status ) or
185
185
  throw( :finish, status_info )
186
- self.log.info "Using custom handler %p for status response: %d: %s" % [ handler, status, status_info ]
186
+ self.log.debug "Custom %d handler: %p" % [ status, handler ]
187
187
 
188
188
  # Set up the request's response with the right status code
189
189
  request.notes[:status_info] = status_info
@@ -203,8 +203,7 @@ class Strelka::HTTPRequest < Mongrel2::HTTPRequest
203
203
  parser = Strelka::MultipartParser.new( self.body, boundary )
204
204
  return parser.parse
205
205
  else
206
- self.log.debug "don't know how to handle %p form data" %
207
- [ self.content_type ]
206
+ self.log.debug "no form data in a %p request" % [ self.content_type ]
208
207
  return {}
209
208
  end
210
209
  end
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.291
4
+ version: 0.0.1.pre.293
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-08-08 00:00:00.000000000 Z
39
+ date: 2012-08-10 00:00:00.000000000 Z
40
40
  dependencies:
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: configurability
metadata.gz.sig CHANGED
@@ -1,2 +1 @@
1
- �-�)E9�c"�މx� (���"�Jh���~�y�'c+���u�38�`�f���Q6��yV����c�K��0��0R�b�Hk#��M����aޟ˗�6�!}��a��9I�P���� �U<���Y����a�ʑcf�ӱV�6��g� ��!�zؖ��o����7�Q޲��匋�>���N_Db��"�V bەD=�;�
2
- �F*���\��f;�OeQK�?����l�g�ǔ;�@��+�Z}��e�;lM�
1
+ L������x�\���%65[}�@��M�5����*lZ���,���ʴ�+EN)�&=��q�̉����w�-�U��>���lc