horsemeat 2.23.1__tar.gz → 2.23.3__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 (33) hide show
  1. horsemeat-2.23.3/PKG-INFO +20 -0
  2. {horsemeat-2.23.1 → horsemeat-2.23.3}/horsemeat/version.py +1 -1
  3. {horsemeat-2.23.1 → horsemeat-2.23.3}/horsemeat/webapp/handler.py +12 -7
  4. {horsemeat-2.23.1 → horsemeat-2.23.3}/horsemeat/webapp/request.py +1 -1
  5. horsemeat-2.23.3/horsemeat.egg-info/PKG-INFO +20 -0
  6. horsemeat-2.23.1/PKG-INFO +0 -13
  7. horsemeat-2.23.1/horsemeat.egg-info/PKG-INFO +0 -13
  8. {horsemeat-2.23.1 → horsemeat-2.23.3}/MANIFEST.in +0 -0
  9. {horsemeat-2.23.1 → horsemeat-2.23.3}/README +0 -0
  10. {horsemeat-2.23.1 → horsemeat-2.23.3}/horsemeat/__init__.py +0 -0
  11. {horsemeat-2.23.1 → horsemeat-2.23.3}/horsemeat/configwrapper.py +0 -0
  12. {horsemeat-2.23.1 → horsemeat-2.23.3}/horsemeat/model/__init__.py +0 -0
  13. {horsemeat-2.23.1 → horsemeat-2.23.3}/horsemeat/model/newsmessage.py +0 -0
  14. {horsemeat-2.23.1 → horsemeat-2.23.3}/horsemeat/model/session.py +0 -0
  15. {horsemeat-2.23.1 → horsemeat-2.23.3}/horsemeat/model/user.py +0 -0
  16. {horsemeat-2.23.1 → horsemeat-2.23.3}/horsemeat/pg.py +0 -0
  17. {horsemeat-2.23.1 → horsemeat-2.23.3}/horsemeat/scripts/make-frippery-project +0 -0
  18. {horsemeat-2.23.1 → horsemeat-2.23.3}/horsemeat/tests/__init__.py +0 -0
  19. {horsemeat-2.23.1 → horsemeat-2.23.3}/horsemeat/tests/test_configwrapper.py +0 -0
  20. {horsemeat-2.23.1 → horsemeat-2.23.3}/horsemeat/webapp/__init__.py +0 -0
  21. {horsemeat-2.23.1 → horsemeat-2.23.3}/horsemeat/webapp/bogusrequest.py +0 -0
  22. {horsemeat-2.23.1 → horsemeat-2.23.3}/horsemeat/webapp/dispatcher.py +0 -0
  23. {horsemeat-2.23.1 → horsemeat-2.23.3}/horsemeat/webapp/framework_templates/__init__.py +0 -0
  24. {horsemeat-2.23.1 → horsemeat-2.23.3}/horsemeat/webapp/frameworkhandlers.py +0 -0
  25. {horsemeat-2.23.1 → horsemeat-2.23.3}/horsemeat/webapp/response.py +0 -0
  26. {horsemeat-2.23.1 → horsemeat-2.23.3}/horsemeat/webapp/scrubber.py +0 -0
  27. {horsemeat-2.23.1 → horsemeat-2.23.3}/horsemeat.egg-info/SOURCES.txt +0 -0
  28. {horsemeat-2.23.1 → horsemeat-2.23.3}/horsemeat.egg-info/dependency_links.txt +0 -0
  29. {horsemeat-2.23.1 → horsemeat-2.23.3}/horsemeat.egg-info/requires.txt +0 -0
  30. {horsemeat-2.23.1 → horsemeat-2.23.3}/horsemeat.egg-info/top_level.txt +0 -0
  31. {horsemeat-2.23.1 → horsemeat-2.23.3}/requirements.txt +0 -0
  32. {horsemeat-2.23.1 → horsemeat-2.23.3}/setup.cfg +0 -0
  33. {horsemeat-2.23.1 → horsemeat-2.23.3}/setup.py +0 -0
@@ -0,0 +1,20 @@
1
+ Metadata-Version: 2.2
2
+ Name: horsemeat
3
+ Version: 2.23.3
4
+ Summary: Web framework for the damned. The mad.
5
+ Home-page: https://github.com/216software/horsemeat
6
+ Author: 216 Software, LLC
7
+ Author-email: info@216software.com
8
+ Classifier: Programming Language :: Python :: 3
9
+ Requires-Dist: Jinja2>=2.6
10
+ Requires-Dist: PyYAML>=3.10
11
+ Requires-Dist: Werkzeug>=0.10.1
12
+ Requires-Dist: decorator>=3.4.0
13
+ Requires-Dist: psycopg2>=2.7
14
+ Requires-Dist: gunicorn
15
+ Dynamic: author
16
+ Dynamic: author-email
17
+ Dynamic: classifier
18
+ Dynamic: home-page
19
+ Dynamic: requires-dist
20
+ Dynamic: summary
@@ -22,4 +22,4 @@ hasn't been installed yet.
22
22
 
23
23
  """
24
24
 
25
- __version__ = '2.23.1'
25
+ __version__ = '2.23.3'
@@ -241,17 +241,22 @@ class Handler(object):
241
241
  for rp in self.route_patterns:
242
242
 
243
243
  if not hasattr(rp, "match"):
244
- log.warning("This pattern {0!r} might not work right because it has no match method (i.e., it isn't a regex!). You probably forgot to wrap it in re.compile...".format(rp))
245
244
 
246
- match = req.line_one.test_for_match(rp)
245
+ # Just to be nice, let's check these as strings
246
+ if req.line_one == rp:
247
+ return self.handle
247
248
 
248
- if match:
249
+ else:
249
250
 
250
- d = match.groupdict()
251
- for k in d:
252
- req[k] = d[k]
251
+ match = rp.match(req.line_one)
253
252
 
254
- return self.handle
253
+ if match:
254
+
255
+ d = match.groupdict()
256
+ for k in d:
257
+ req[k] = d[k]
258
+
259
+ return self.handle
255
260
 
256
261
  def check_route_strings(self, req):
257
262
 
@@ -596,7 +596,7 @@ class BiggerThanMemoryBuffer(ValueError):
596
596
  allowed amount to load into memory.
597
597
  """
598
598
 
599
- class LineOne(object):
599
+ class LineOne(str):
600
600
 
601
601
  """
602
602
  Pretty much a boring old string, but can be compared against a
@@ -0,0 +1,20 @@
1
+ Metadata-Version: 2.2
2
+ Name: horsemeat
3
+ Version: 2.23.3
4
+ Summary: Web framework for the damned. The mad.
5
+ Home-page: https://github.com/216software/horsemeat
6
+ Author: 216 Software, LLC
7
+ Author-email: info@216software.com
8
+ Classifier: Programming Language :: Python :: 3
9
+ Requires-Dist: Jinja2>=2.6
10
+ Requires-Dist: PyYAML>=3.10
11
+ Requires-Dist: Werkzeug>=0.10.1
12
+ Requires-Dist: decorator>=3.4.0
13
+ Requires-Dist: psycopg2>=2.7
14
+ Requires-Dist: gunicorn
15
+ Dynamic: author
16
+ Dynamic: author-email
17
+ Dynamic: classifier
18
+ Dynamic: home-page
19
+ Dynamic: requires-dist
20
+ Dynamic: summary
horsemeat-2.23.1/PKG-INFO DELETED
@@ -1,13 +0,0 @@
1
- Metadata-Version: 2.1
2
- Name: horsemeat
3
- Version: 2.23.1
4
- Summary: Web framework for the damned. The mad.
5
- Home-page: https://github.com/216software/horsemeat
6
- Author: 216 Software, LLC
7
- Author-email: info@216software.com
8
- License: UNKNOWN
9
- Platform: UNKNOWN
10
- Classifier: Programming Language :: Python :: 3
11
-
12
- UNKNOWN
13
-
@@ -1,13 +0,0 @@
1
- Metadata-Version: 2.1
2
- Name: horsemeat
3
- Version: 2.23.1
4
- Summary: Web framework for the damned. The mad.
5
- Home-page: https://github.com/216software/horsemeat
6
- Author: 216 Software, LLC
7
- Author-email: info@216software.com
8
- License: UNKNOWN
9
- Platform: UNKNOWN
10
- Classifier: Programming Language :: Python :: 3
11
-
12
- UNKNOWN
13
-
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes