1
0
mirror of https://github.com/internetarchive/warcprox.git synced 2025-01-18 13:22:09 +01:00

27 Commits

Author SHA1 Message Date
Noah Levitt
7b17ed1057 turns out we want populate_defaults to happen in __init__, fix so things work right 2017-03-07 17:46:48 -08:00
Noah Levitt
3fd2e5cf60 new method on orm class populate_defaults(), which runs at the beginning of save(), since populating them in __init__() is problematic 2017-03-07 12:44:52 -08:00
Noah Levitt
07bc01cbbd have Document.load() return None if no such doc is found in the db 2017-03-02 10:31:29 -08:00
Noah Levitt
aa177f94b8 split tests into different source files 2017-03-02 10:16:41 -08:00
Noah Levitt
93cdf59dec update travis-ci badge url 2017-03-01 17:37:13 -08:00
Noah Levitt
c14bae6050 new convention, call Rethinker object rr (mnemonic RethinkeR, or *double*[think]), leave rethinkdb as r per the rethinkdb convention 2017-03-01 11:20:27 -08:00
Noah Levitt
536bf8d1d8 implement or explicitly disallow other top-level dict operations on ORM Document, and add more automated tests 2017-02-28 17:56:44 -08:00
Noah Levitt
e8db41763b rename the project "doublethink" (credit goes to @adam-miller) 2017-02-28 16:44:26 -08:00
Noah Levitt
4a9978fc46 make ORM __getattr___ return None if attribute is missing; documentation improvements 2017-02-28 16:42:57 -08:00
Noah Levitt
ad0e1b1fd7 rename Document.get to Document.load to avoid masking dict.get 2017-02-24 16:52:59 -08:00
Noah Levitt
3c1faded3c keys starting with underscore are not part of the document 2017-02-24 16:40:33 -08:00
Noah Levitt
abdecc46b8 better smarter ORM with more tests 2017-02-23 16:07:14 -08:00
Noah Levitt
d76e219e7b make run-tests.sh work with the docker image that gets pulled in now, which doesn't have a 'python3.4' command 2017-02-21 16:30:29 -08:00
Noah Levitt
6d667c77b5 split into multiple source files 2017-02-21 16:27:49 -08:00
Noah Levitt
000e4d9cf6 playing with simple ORM thing 2017-02-17 17:23:53 -08:00
Noah Levitt
1ef9455885 bump version number 2016-10-31 15:39:25 -07:00
Noah Levitt
79b5add08f fix encoding problem with long_description 2016-05-11 11:41:56 -07:00
Noah Levitt
92b8007f98 support calling ServiceRegistry.available_services() with no arguments to get all available services (services with a recent heartbeat) 2016-04-19 19:16:46 +00:00
Noah Levitt
7a8963b7c4 update version for new pypi upload 2015-12-19 00:47:19 +00:00
Noah Levitt
447f23615f convenience function rethinstuff.utcnow() 2015-11-17 20:06:51 +00:00
Noah Levitt
79b3895da3 bump version again for pypi 2015-11-06 23:42:45 +00:00
Noah Levitt
c46bd11127 bump version for pypi 2015-11-06 23:42:31 +00:00
Noah Levitt
bf9bf7de5a switch readme to restructuredtext for pypi, use as setup.py long_description 2015-10-30 22:28:51 +00:00
Noah Levitt
f14b33c5cb add required fields to setup.py 2015-10-30 20:03:34 +00:00
Noah Levitt
58a7d48cd5 version number 0.1 2015-10-30 19:51:50 +00:00
Noah Levitt
3b52b05329 rewrite Rethinker to mimic standard rethinkdb api; rename package rethinkstuff 2015-09-21 22:17:15 +00:00
Noah Levitt
b093c05a4a initial commit 2015-09-16 00:35:18 +00:00