[Checkins] SVN: zc.objectlog/trunk/ remove cruft; prepare for 0.2

Gary Poster gary at zope.com
Fri May 16 20:21:30 EDT 2008


Log message for revision 86813:
  remove cruft; prepare for 0.2

Changed:
  U   zc.objectlog/trunk/CHANGES.txt
  U   zc.objectlog/trunk/setup.py
  U   zc.objectlog/trunk/src/zc/objectlog/log.txt
  U   zc.objectlog/trunk/src/zc/objectlog/tests.py

-=-
Modified: zc.objectlog/trunk/CHANGES.txt
===================================================================
--- zc.objectlog/trunk/CHANGES.txt	2008-05-17 00:08:58 UTC (rev 86812)
+++ zc.objectlog/trunk/CHANGES.txt	2008-05-17 00:21:29 UTC (rev 86813)
@@ -1,3 +1,8 @@
+0.2 (2008-05-16)
+----------------
+
+* removed dependency on zc.security; loosened restrictions on principal_ids.
+
 0.1.1 (2008-04-02)
 ------------------
 
@@ -7,4 +12,4 @@
 0.1 (2008-04-02)
 ----------------
 
-* Initial release (removed `dev` status)
+* Initial release (removed ``dev`` status)

Modified: zc.objectlog/trunk/setup.py
===================================================================
--- zc.objectlog/trunk/setup.py	2008-05-17 00:08:58 UTC (rev 86812)
+++ zc.objectlog/trunk/setup.py	2008-05-17 00:21:29 UTC (rev 86813)
@@ -76,12 +76,15 @@
 
 setup(
     name="zc.objectlog",
-    version="0.1.3b1",
+    version="0.2",
     license="ZPL 2.1",
     author="Gary Poster",
     author_email="gary at zope.com",
     description=open("README.txt").read(),
-    long_description=text('src/zc/objectlog/log.txt'),
+    long_description=text('src/zc/objectlog/log.txt',
+                          'Changes\n=======\n\n',
+                          'CHANGES.txt',
+                          out=True),
     keywords="zope zope3 logging",
     packages=find_packages('src'),
     package_dir={'':'src'},

Modified: zc.objectlog/trunk/src/zc/objectlog/log.txt
===================================================================
--- zc.objectlog/trunk/src/zc/objectlog/log.txt	2008-05-17 00:08:58 UTC (rev 86812)
+++ zc.objectlog/trunk/src/zc/objectlog/log.txt	2008-05-17 00:21:29 UTC (rev 86813)
@@ -48,17 +48,6 @@
     ...     def __init__(self, principal):
     ...         self.principal = principal
     ...
-    >>> class DummyAuthService(object):
-    ...     interface.implements(zope.app.security.interfaces.IAuthentication)
-    ...     def __init__(self, data):
-    ...         self.data = data
-    ...     def getPrincipal(self, id):
-    ...         return self.data[id]
-    ...
-    >>> auth = DummyAuthService(
-    ...     {'alice': alice, 'betty': betty, 'cathy': cathy})
-    >>> ztapi.provideUtility(
-    ...     zope.app.security.interfaces.IAuthentication, auth)
     >>> import zope.publisher.interfaces
 
     >>> import zc.objectlog

Modified: zc.objectlog/trunk/src/zc/objectlog/tests.py
===================================================================
--- zc.objectlog/trunk/src/zc/objectlog/tests.py	2008-05-17 00:08:58 UTC (rev 86812)
+++ zc.objectlog/trunk/src/zc/objectlog/tests.py	2008-05-17 00:21:29 UTC (rev 86813)
@@ -55,16 +55,6 @@
         interaction = principal = None
         def __init__(self, principal):
             self.principal = principal
-    
-    class DummyAuthService(object):
-        interface.implements(zope.app.security.interfaces.IAuthentication)
-        def __init__(self, data):
-            self.data = data
-        def getPrincipal(self, id):
-            return self.data[id]
-    
-    auth = DummyAuthService({'alice': alice})
-    zope.component.provideUtility(auth)
     zope.security.management.newInteraction(DummyParticipation(alice))
     module.setUp(test, 'zc.objectlog.copier_txt')
 



More information about the Checkins mailing list