You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@chemistry.apache.org by jp...@apache.org on 2012/08/17 02:26:08 UTC

svn commit: r1374113 - in /chemistry/cmislib/trunk: setup.cfg setup.py src/cmislib.egg-info/PKG-INFO src/cmislib.egg-info/SOURCES.txt src/cmislib/model.py src/doc/src/examples.rst

Author: jpotts
Date: Fri Aug 17 00:26:07 2012
New Revision: 1374113

URL: http://svn.apache.org/viewvc?rev=1374113&view=rev
Log:
Fixed a the problem where certain methods returning bools were returning them as strings instead (CMIS-536); Fixed a minor doc typo; Added new/modified static assets related to docs caused by a sphinx upgrade.

Modified:
    chemistry/cmislib/trunk/setup.cfg
    chemistry/cmislib/trunk/setup.py
    chemistry/cmislib/trunk/src/cmislib.egg-info/PKG-INFO
    chemistry/cmislib/trunk/src/cmislib.egg-info/SOURCES.txt
    chemistry/cmislib/trunk/src/cmislib/model.py
    chemistry/cmislib/trunk/src/doc/src/examples.rst

Modified: chemistry/cmislib/trunk/setup.cfg
URL: http://svn.apache.org/viewvc/chemistry/cmislib/trunk/setup.cfg?rev=1374113&r1=1374112&r2=1374113&view=diff
==============================================================================
--- chemistry/cmislib/trunk/setup.cfg (original)
+++ chemistry/cmislib/trunk/setup.cfg Fri Aug 17 00:26:07 2012
@@ -18,4 +18,4 @@
 #
 
 [egg_info]
-tag_build = 
+tag_build = dev

Modified: chemistry/cmislib/trunk/setup.py
URL: http://svn.apache.org/viewvc/chemistry/cmislib/trunk/setup.py?rev=1374113&r1=1374112&r2=1374113&view=diff
==============================================================================
--- chemistry/cmislib/trunk/setup.py (original)
+++ chemistry/cmislib/trunk/setup.py Fri Aug 17 00:26:07 2012
@@ -19,7 +19,7 @@
 import os
 from setuptools import setup, find_packages
 
-version = '0.5'
+version = '0.5.1'
 
 def read(fname):
     return open(os.path.join(os.path.dirname(__file__), fname)).read()

Modified: chemistry/cmislib/trunk/src/cmislib.egg-info/PKG-INFO
URL: http://svn.apache.org/viewvc/chemistry/cmislib/trunk/src/cmislib.egg-info/PKG-INFO?rev=1374113&r1=1374112&r2=1374113&view=diff
==============================================================================
--- chemistry/cmislib/trunk/src/cmislib.egg-info/PKG-INFO (original)
+++ chemistry/cmislib/trunk/src/cmislib.egg-info/PKG-INFO Fri Aug 17 00:26:07 2012
@@ -1,6 +1,6 @@
-Metadata-Version: 1.0
+Metadata-Version: 1.1
 Name: cmislib
-Version: 0.5
+Version: 0.5.1dev
 Summary: Apache Chemistry CMIS client library for Python
 Home-page: http://chemistry.apache.org/
 Author: Apache Chemistry Project

Modified: chemistry/cmislib/trunk/src/cmislib.egg-info/SOURCES.txt
URL: http://svn.apache.org/viewvc/chemistry/cmislib/trunk/src/cmislib.egg-info/SOURCES.txt?rev=1374113&r1=1374112&r2=1374113&view=diff
==============================================================================
--- chemistry/cmislib/trunk/src/cmislib.egg-info/SOURCES.txt (original)
+++ chemistry/cmislib/trunk/src/cmislib.egg-info/SOURCES.txt Fri Aug 17 00:26:07 2012
@@ -59,9 +59,15 @@ src/doc/build/_sources/index.txt
 src/doc/build/_sources/install.txt
 src/doc/build/_sources/sample-data.txt
 src/doc/build/_sources/tests.txt
+src/doc/build/_static/ajax-loader.gif
 src/doc/build/_static/basic.css
+src/doc/build/_static/comment-bright.png
+src/doc/build/_static/comment-close.png
+src/doc/build/_static/comment.png
 src/doc/build/_static/default.css
 src/doc/build/_static/doctools.js
+src/doc/build/_static/down-pressed.png
+src/doc/build/_static/down.png
 src/doc/build/_static/file.png
 src/doc/build/_static/jquery.js
 src/doc/build/_static/minus.png
@@ -70,6 +76,9 @@ src/doc/build/_static/pygments.css
 src/doc/build/_static/searchtools.js
 src/doc/build/_static/sidebar.js
 src/doc/build/_static/underscore.js
+src/doc/build/_static/up-pressed.png
+src/doc/build/_static/up.png
+src/doc/build/_static/websupport.js
 src/doc/src/Makefile
 src/doc/src/about.rst
 src/doc/src/code.rst

Modified: chemistry/cmislib/trunk/src/cmislib/model.py
URL: http://svn.apache.org/viewvc/chemistry/cmislib/trunk/src/cmislib/model.py?rev=1374113&r1=1374112&r2=1374113&view=diff
==============================================================================
--- chemistry/cmislib/trunk/src/cmislib/model.py (original)
+++ chemistry/cmislib/trunk/src/cmislib/model.py Fri Aug 17 00:26:07 2012
@@ -76,6 +76,7 @@ FOLDER_TREE_REL = 'http://docs.oasis-ope
 RELATIONSHIPS_REL = 'http://docs.oasis-open.org/ns/cmis/link/200908/relationships'
 ACL_REL = 'http://docs.oasis-open.org/ns/cmis/link/200908/acl'
 CHANGE_LOG_REL = 'http://docs.oasis-open.org/ns/cmis/link/200908/changes'
+POLICIES_REL = 'http://docs.oasis-open.org/ns/cmis/link/200908/policies'
 
 # Collection types
 QUERY_COLL = 'query'
@@ -3416,27 +3417,27 @@ class Property(object):
 
     def getUpdatability(self):
         """Getter for cmis:updatability"""
-        return self._getElementValue(CMIS_NS, 'updatability')
+        return parseBoolValue(self._getElementValue(CMIS_NS, 'updatability'))
 
     def isInherited(self):
         """Getter for cmis:inherited"""
-        return self._getElementValue(CMIS_NS, 'inherited')
+        return parseBoolValue(self._getElementValue(CMIS_NS, 'inherited'))
 
     def isRequired(self):
         """Getter for cmis:required"""
-        return self._getElementValue(CMIS_NS, 'required')
+        return parseBoolValue(self._getElementValue(CMIS_NS, 'required'))
 
     def isQueryable(self):
         """Getter for cmis:queryable"""
-        return self._getElementValue(CMIS_NS, 'queryable')
+        return parseBoolValue(self._getElementValue(CMIS_NS, 'queryable'))
 
     def isOrderable(self):
         """Getter for cmis:orderable"""
-        return self._getElementValue(CMIS_NS, 'orderable')
+        return parseBoolValue(self._getElementValue(CMIS_NS, 'orderable'))
 
     def isOpenChoice(self):
         """Getter for cmis:openChoice"""
-        return self._getElementValue(CMIS_NS, 'openChoice')
+        return parseBoolValue(self._getElementValue(CMIS_NS, 'openChoice'))
 
     id = property(getId)
     localName = property(getLocalName)

Modified: chemistry/cmislib/trunk/src/doc/src/examples.rst
URL: http://svn.apache.org/viewvc/chemistry/cmislib/trunk/src/doc/src/examples.rst?rev=1374113&r1=1374112&r2=1374113&view=diff
==============================================================================
--- chemistry/cmislib/trunk/src/doc/src/examples.rst (original)
+++ chemistry/cmislib/trunk/src/doc/src/examples.rst Fri Aug 17 00:26:07 2012
@@ -115,7 +115,7 @@ There are several different ways to grab
     Test Document2
     example test script.js
 
- #. Alternatively, you can also get objects by their their path, like this:
+ #. Alternatively, you can also get objects by their path, like this:
 
     >>> someDoc = repo.getObjectByPath('/someFolder/Test Document')
     >>> someDoc.id