[Checkins] SVN: megrok.z3cform.base/trunk/ Ready to 0.2 release

Souheil CHELFOUH souheil at chelfouh.com
Wed Nov 18 10:31:23 EST 2009


Log message for revision 105827:
  Ready to 0.2 release
  

Changed:
  U   megrok.z3cform.base/trunk/buildout.cfg
  U   megrok.z3cform.base/trunk/docs/HISTORY.txt
  U   megrok.z3cform.base/trunk/setup.py
  U   megrok.z3cform.base/trunk/src/megrok/z3cform/base/tests/ftesting.zcml
  U   megrok.z3cform.base/trunk/src/megrok/z3cform/base/utils.py

-=-
Modified: megrok.z3cform.base/trunk/buildout.cfg
===================================================================
--- megrok.z3cform.base/trunk/buildout.cfg	2009-11-18 15:20:35 UTC (rev 105826)
+++ megrok.z3cform.base/trunk/buildout.cfg	2009-11-18 15:31:23 UTC (rev 105827)
@@ -1,11 +1,17 @@
 [buildout]
 develop = .
-parts = test
-extends = http://grok.zope.org/releaseinfo/grok-1.0.cfg
+parts = test releaser
+extends = http://grok.zope.org/releaseinfo/grok-1.1a1.cfg
 versions = versions
 newest = false
 
+
 [test]
 recipe = zc.recipe.testrunner
 eggs = megrok.z3cform.base [test]
 defaults = ['--tests-pattern', '^f?tests$', '-v', '-c']
+
+
+[releaser]
+recipe = zc.recipe.egg
+eggs = zest.releaser

Modified: megrok.z3cform.base/trunk/docs/HISTORY.txt
===================================================================
--- megrok.z3cform.base/trunk/docs/HISTORY.txt	2009-11-18 15:20:35 UTC (rev 105826)
+++ megrok.z3cform.base/trunk/docs/HISTORY.txt	2009-11-18 15:31:23 UTC (rev 105827)
@@ -1,6 +1,15 @@
 Changelog
 =========
 
+0.2 (2009-11-18)
+----------------
+
+* Corrected a bug where the ObjectModifiedEvent was trigged more than
+  once during edition. [trollfot]
+
+* Upgrading to be compatible with grok 1.1. [trollfot]
+
+
 0.1 (2009-10-20)
 ----------------
 

Modified: megrok.z3cform.base/trunk/setup.py
===================================================================
--- megrok.z3cform.base/trunk/setup.py	2009-11-18 15:20:35 UTC (rev 105826)
+++ megrok.z3cform.base/trunk/setup.py	2009-11-18 15:31:23 UTC (rev 105827)
@@ -2,7 +2,7 @@
 from setuptools import setup, find_packages
 
 name = 'megrok.z3cform.base'
-version = '0.1'
+version = '0.2'
 readme = open(join('src', 'megrok', 'z3cform', 'base', 'README.txt')).read()
 history = open(join('docs', 'HISTORY.txt')).read()
 
@@ -17,15 +17,15 @@
     'megrok.pagetemplate >= 0.3',
     ]
 
-test_requires = install_requires + ['grok == 1.0',]
+test_requires = install_requires + ['grok >= 1.0',]
 
 setup(name=name,
       version=version,
       description="megrok extension for z3cform",
       long_description = readme + '\n\n' + history,
       keywords='Grok Form',
-      author='Christian Klinger',
-      author_email='cklinger at novareto.de',
+      author='Souheil Chelfouh',
+      author_email='trollfot at gmail.com',
       url='',
       license='GPL',
       packages=find_packages('src', exclude=['ez_setup']),

Modified: megrok.z3cform.base/trunk/src/megrok/z3cform/base/tests/ftesting.zcml
===================================================================
--- megrok.z3cform.base/trunk/src/megrok/z3cform/base/tests/ftesting.zcml	2009-11-18 15:20:35 UTC (rev 105826)
+++ megrok.z3cform.base/trunk/src/megrok/z3cform/base/tests/ftesting.zcml	2009-11-18 15:31:23 UTC (rev 105827)
@@ -1,7 +1,8 @@
 <configure
    xmlns="http://namespaces.zope.org/zope"
    xmlns:grok="http://namespaces.zope.org/grok"
-   >
+   xmlns:i18n="http://namespaces.zope.org/i18n"
+   i18n_domain="megron.z3cform.base.tests">
 
   <include package="grok" />
   <include package="grok" file="meta.zcml" />
@@ -22,6 +23,7 @@
       id="zope.anybody"
       title="Unauthenticated Principal"
       />
+
   <grant
       permission="zope.View"
       principal="zope.anybody"

Modified: megrok.z3cform.base/trunk/src/megrok/z3cform/base/utils.py
===================================================================
--- megrok.z3cform.base/trunk/src/megrok/z3cform/base/utils.py	2009-11-18 15:20:35 UTC (rev 105826)
+++ megrok.z3cform.base/trunk/src/megrok/z3cform/base/utils.py	2009-11-18 15:31:23 UTC (rev 105827)
@@ -37,7 +37,7 @@
         descriptions = []
         for interface, names in changes.items():
             descriptions.append(Attributes(interface, *names))
-            notify(ObjectModifiedEvent(content, *descriptions))
+        notify(ObjectModifiedEvent(content, *descriptions))
         return descriptions
     return None
 



More information about the checkins mailing list