horsemeat 2.22.5__tar.gz → 2.22.7__tar.gz

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.
Files changed (32) hide show
  1. {horsemeat-2.22.5 → horsemeat-2.22.7}/PKG-INFO +1 -1
  2. horsemeat-2.22.7/README +9 -0
  3. {horsemeat-2.22.5 → horsemeat-2.22.7}/horsemeat/configwrapper.py +4 -0
  4. {horsemeat-2.22.5 → horsemeat-2.22.7}/horsemeat/version.py +1 -1
  5. {horsemeat-2.22.5 → horsemeat-2.22.7}/horsemeat/webapp/request.py +3 -3
  6. {horsemeat-2.22.5 → horsemeat-2.22.7}/horsemeat/webapp/response.py +1 -2
  7. {horsemeat-2.22.5 → horsemeat-2.22.7}/horsemeat.egg-info/PKG-INFO +1 -1
  8. horsemeat-2.22.5/README +0 -6
  9. {horsemeat-2.22.5 → horsemeat-2.22.7}/MANIFEST.in +0 -0
  10. {horsemeat-2.22.5 → horsemeat-2.22.7}/horsemeat/__init__.py +0 -0
  11. {horsemeat-2.22.5 → horsemeat-2.22.7}/horsemeat/model/__init__.py +0 -0
  12. {horsemeat-2.22.5 → horsemeat-2.22.7}/horsemeat/model/newsmessage.py +0 -0
  13. {horsemeat-2.22.5 → horsemeat-2.22.7}/horsemeat/model/session.py +0 -0
  14. {horsemeat-2.22.5 → horsemeat-2.22.7}/horsemeat/model/user.py +0 -0
  15. {horsemeat-2.22.5 → horsemeat-2.22.7}/horsemeat/pg.py +0 -0
  16. {horsemeat-2.22.5 → horsemeat-2.22.7}/horsemeat/scripts/make-frippery-project +0 -0
  17. {horsemeat-2.22.5 → horsemeat-2.22.7}/horsemeat/tests/__init__.py +0 -0
  18. {horsemeat-2.22.5 → horsemeat-2.22.7}/horsemeat/tests/test_configwrapper.py +0 -0
  19. {horsemeat-2.22.5 → horsemeat-2.22.7}/horsemeat/webapp/__init__.py +0 -0
  20. {horsemeat-2.22.5 → horsemeat-2.22.7}/horsemeat/webapp/bogusrequest.py +0 -0
  21. {horsemeat-2.22.5 → horsemeat-2.22.7}/horsemeat/webapp/dispatcher.py +0 -0
  22. {horsemeat-2.22.5 → horsemeat-2.22.7}/horsemeat/webapp/framework_templates/__init__.py +0 -0
  23. {horsemeat-2.22.5 → horsemeat-2.22.7}/horsemeat/webapp/frameworkhandlers.py +0 -0
  24. {horsemeat-2.22.5 → horsemeat-2.22.7}/horsemeat/webapp/handler.py +0 -0
  25. {horsemeat-2.22.5 → horsemeat-2.22.7}/horsemeat/webapp/scrubber.py +0 -0
  26. {horsemeat-2.22.5 → horsemeat-2.22.7}/horsemeat.egg-info/SOURCES.txt +0 -0
  27. {horsemeat-2.22.5 → horsemeat-2.22.7}/horsemeat.egg-info/dependency_links.txt +0 -0
  28. {horsemeat-2.22.5 → horsemeat-2.22.7}/horsemeat.egg-info/requires.txt +0 -0
  29. {horsemeat-2.22.5 → horsemeat-2.22.7}/horsemeat.egg-info/top_level.txt +0 -0
  30. {horsemeat-2.22.5 → horsemeat-2.22.7}/requirements.txt +0 -0
  31. {horsemeat-2.22.5 → horsemeat-2.22.7}/setup.cfg +0 -0
  32. {horsemeat-2.22.5 → horsemeat-2.22.7}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: horsemeat
3
- Version: 2.22.5
3
+ Version: 2.22.7
4
4
  Summary: Web framework for the damned. The mad.
5
5
  Home-page: https://github.com/216software/horsemeat
6
6
  Author: 216 Software, LLC
@@ -0,0 +1,9 @@
1
+ This is a web framework for the damned. The mad.
2
+
3
+ Release an updated version like this:
4
+
5
+ $ vi horsemeat/version.py # bump up the version
6
+
7
+ $ python setup.py sdist
8
+ $ twine upload dist/horsemeat.2.22.5.tar.gz
9
+
@@ -257,6 +257,10 @@ class ConfigWrapper(object):
257
257
 
258
258
  def set_as_default(self):
259
259
 
260
+ """
261
+ This could also be thought of as setting a singleton.
262
+ """
263
+
260
264
  ConfigWrapper.default_instance = self
261
265
  return self
262
266
 
@@ -22,4 +22,4 @@ hasn't been installed yet.
22
22
 
23
23
  """
24
24
 
25
- __version__ = '2.22.5'
25
+ __version__ = '2.22.7'
@@ -86,7 +86,7 @@ class Request(collections.MutableMapping):
86
86
 
87
87
  if self.QUERY_STRING:
88
88
  parsed_qs = urllib.parse.parse_qs(
89
- urllib.unquote(self.QUERY_STRING),
89
+ urllib.parse.unquote(self.QUERY_STRING),
90
90
  keep_blank_values=1)
91
91
 
92
92
  else:
@@ -229,7 +229,7 @@ class Request(collections.MutableMapping):
229
229
 
230
230
  try:
231
231
  self['horsemeat.parsed_body'] = urllib.parse.parse_qs(
232
- urllib.unquote(self.body).decode(self.charset),
232
+ urllib.parse.unquote(self.body).decode(self.charset),
233
233
  keep_blank_values=1)
234
234
 
235
235
  except UnicodeDecodeError as e:
@@ -306,7 +306,7 @@ class Request(collections.MutableMapping):
306
306
 
307
307
  if self.parsed_cookie and 'news-message' in self.parsed_cookie:
308
308
  quoted_message = self.parsed_cookie['news-message'].value
309
- message = urllib.unquote_plus(quoted_message)
309
+ message = urllib.parse.unquote_plus(quoted_message)
310
310
 
311
311
  else:
312
312
  message = None
@@ -416,8 +416,7 @@ class Response(object):
416
416
  json_response = cls(
417
417
  response_status,
418
418
  [('Content-Type', 'application/json')],
419
-
420
- cls.fancyjsondumps(data))
419
+ cls.fancyjsondumps(data).encode('utf8'))
421
420
 
422
421
  return json_response
423
422
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: horsemeat
3
- Version: 2.22.5
3
+ Version: 2.22.7
4
4
  Summary: Web framework for the damned. The mad.
5
5
  Home-page: https://github.com/216software/horsemeat
6
6
  Author: 216 Software, LLC
horsemeat-2.22.5/README DELETED
@@ -1,6 +0,0 @@
1
- This is a web framework for the damned. The mad.
2
-
3
- $ python setup.py sdist
4
- $ twine upload dist/horsemeat...
5
-
6
-
File without changes
File without changes
File without changes
File without changes
File without changes