Skip to content

Commit ad44a3b

Browse files
committed
context improvements, attachmennts convenience methods
1 parent 3b257c9 commit ad44a3b

File tree

3 files changed

+18
-5
lines changed

3 files changed

+18
-5
lines changed

MANIFEST

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,9 @@ examples/showdefects.py
1717
examples/statecounts.py
1818
examples/crtask.py
1919
examples/uptask.py
20+
examples/typedefs.py
21+
examples/repoitems.py
22+
examples/wkspcounts.py
23+
examples/builddefs.py
24+
examples/creattach.py
25+
examples/get_attachments.py

README.rst

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ relevant packages.
5555
>> import requests
5656
>> import pyral
5757
>> pyral.__version__
58-
(0, 8, 12)
58+
(0, 9, 1)
5959

6060

6161

@@ -108,7 +108,7 @@ Show a TestCase identified by the **FormattedID** value.
108108
if response.errors:
109109
sys.stdout.write("\n".join(errors))
110110
sys.exit(1)
111-
for testcase in response: # there should only be one qualifying TestCase
111+
for testCase in response: # there should only be one qualifying TestCase
112112
print "%s %s %s %s" % (testCase.Name, testCase.Type,
113113
testCase.DefectStatus, testCase.LastVerdict)
114114
@@ -252,12 +252,19 @@ Prerequisites
252252
* Python 2.6 or 2.7
253253
* The most excellent requests_ package, 0.8.2 or better
254254
Developed using requests 0.9.3.
255-
There are reports where requests > 0.9.3 resulted in connection problems (as in not being able to connect) that may be related to SSL
256-
255+
There are reports where requests > 0.9.3 resulted in connection problems (as in not being able to connect) that may be related to SSL.
256+
If you are using requests >- 0.9.3, you must also have certifi-0.0.8 (available on PyPI)
257257
.. _requests: http://github.com/kennethreitz/requests
258258

259259
Versions
260260
--------
261+
* 0.9.1 - Upped default WSAPI version in config.py to 1.30
262+
All entities that are subclasses of WorkspaceDomainObject now have a details method
263+
that show the attribute values in an easy to read multiline format.
264+
Dropped attempted discrimination of server value to determine if it is a name or an IPv4 address No longer look for http_proxy in environment, only https_proxy.
265+
Introduced convenience methods dealing with attachments.
266+
Corrected resource URL construction for the major ops (GET, PUT, POST, DEL)
267+
when project=None specified (useful for Workspace spanning activities).
261268

262269
* 0.8.12 - Fixed premature exercise of iterator in initial response
263270

README.short

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Requirements
1818
------------
1919

2020
The pyral package requires the use of Kenneth Reitz's requests package.
21-
The pyral package was developed and tested using requests-0.8.2.
21+
The pyral package was developed and tested using requests-0.9.3.
2222
The requests package can be found via the Python Package Index site (http://pypi/python.org/index).
2323

2424

0 commit comments

Comments
 (0)