Skip to content

Commit

Permalink
Version 1.7.2 - fixes a bug in JSON-encoding.
Browse files Browse the repository at this point in the history
  • Loading branch information
EdLeafe committed Mar 30, 2014
1 parent c211270 commit eb80bb0
Show file tree
Hide file tree
Showing 21 changed files with 322 additions and 167 deletions.
4 changes: 4 additions & 0 deletions RELEASENOTES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release Notes for pyrax

###2014.03.30 - Version 1.7.2
- General
- Fixes a bug that doubly-encoded JSON body content. GitHub #333

###2014.03.28 - Version 1.7.1
- General
- Added a CONTRIBUTING.rst file, following the suggestion of @justinclift
Expand Down
2 changes: 1 addition & 1 deletion docs/cloud_servers.md
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ There are several optional parameters that you can include when creating a serve

`key_name` – As mentioned above, this is the name you gave to an SSH key that you previously uploaded using `cs.keypairs.create()`. The key is installed in the newly-created server's `/root/.ssh/authorized_keys` file, allowing for key-based authenticating when SSHing into the server.

`files` - A dict of up to 5 files that are written to the server upon creation. The keys for this dict are the absolute file paths on the server where these files are written, and the values are the contents for those files. Values can either be a string, or a file-like object that is read. File sizes are limited to 10K, and binary files are not supported (text only).
`files` - A dict of up to 5 files that are written to the server upon creation. The keys for this dict are the absolute file paths on the server where these files are written, and the values are the contents for those files. Values can either be a string, or a file-like object that is read. Total combined size of all files must not exceed 2KB, and binary files are not supported (text only).

Now create a server using the `meta` and `files` options. The setup code is the same as in the previous examples; here is the part that you need to change:

Expand Down
3 changes: 2 additions & 1 deletion docs/html/annotated.html
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@
<tr><td class="indexkey"><a class="el" href="classpyrax_1_1image_1_1ImageTagManager.html">ImageTagManager</a></td><td class="indexvalue">Manager class for <a class="el" href="classpyrax_1_1image_1_1Image.html" title="This class represents an Image.">Image</a> tags </td></tr>
<tr><td class="indexkey"><a class="el" href="classpyrax_1_1image_1_1ImageTask.html">ImageTask</a></td><td class="indexvalue">This class represents a <a class="el" href="classpyrax_1_1image_1_1ImageTask.html" title="This class represents a ImageTask.">ImageTask</a> </td></tr>
<tr><td class="indexkey"><a class="el" href="classpyrax_1_1image_1_1ImageTasksManager.html">ImageTasksManager</a></td><td class="indexvalue">Manager class for ImageTasks </td></tr>
<tr><td class="indexkey"><a class="el" href="classpyrax_1_1exceptions_1_1InternalServerError.html">InternalServerError</a></td><td class="indexvalue"></td></tr>
<tr><td class="indexkey"><a class="el" href="classpyrax_1_1exceptions_1_1InvalidCDNMetadata.html">InvalidCDNMetadata</a></td><td class="indexvalue"></td></tr>
<tr><td class="indexkey"><a class="el" href="classpyrax_1_1exceptions_1_1InvalidConfigurationFile.html">InvalidConfigurationFile</a></td><td class="indexvalue"></td></tr>
<tr><td class="indexkey"><a class="el" href="classpyrax_1_1exceptions_1_1InvalidCredentialFile.html">InvalidCredentialFile</a></td><td class="indexvalue"></td></tr>
Expand Down Expand Up @@ -364,7 +365,7 @@


<hr class="footer"/><address class="footer"><small>
Generated on Wed Mar 12 2014 16:01:48 for pyrax by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Sun Mar 30 2014 12:28:48 for pyrax by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>
Expand Down
135 changes: 68 additions & 67 deletions docs/html/classes.html

Large diffs are not rendered by default.

142 changes: 142 additions & 0 deletions docs/html/classpyrax_1_1exceptions_1_1InternalServerError.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,142 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>pyrax: InternalServerError Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">


<td style="padding-left: 0.5em;">
<div id="projectname">pyrax

</div>
<div id="projectbrief">Python Bindings for the Rackspace Cloud</div>
</td>



</tr>
</tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="namespaces.html"><span>Packages</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class&#160;List</span></a></li>
<li><a href="classes.html"><span>Class&#160;Index</span></a></li>
<li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&#160;Members</span></a></li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Properties</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="namespacepyrax.html">pyrax</a> </li>
<li class="navelem"><a class="el" href="namespacepyrax_1_1exceptions.html">exceptions</a> </li>
<li class="navelem"><a class="el" href="classpyrax_1_1exceptions_1_1InternalServerError.html">InternalServerError</a> </li>
</ul>
</div>
</div>
<div class="header">
<div class="headertitle">
<div class="title">InternalServerError Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<!-- doxytag: class="pyrax::exceptions::InternalServerError" --><!-- doxytag: inherits="pyrax::exceptions::PyraxException" --><div class="dynheader">
Inheritance diagram for InternalServerError:</div>
<div class="dyncontent">
<div class="center">
<img src="classpyrax_1_1exceptions_1_1InternalServerError.png" usemap="#InternalServerError_map" alt=""/>
<map id="InternalServerError_map" name="InternalServerError_map">
<area href="classpyrax_1_1exceptions_1_1PyraxException.html" alt="PyraxException" shape="rect" coords="0,0,123,24"/>
</map>
</div></div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>pyrax/<a class="el" href="exceptions_8py.html">exceptions.py</a></li>
</ul>
</div><!-- contents -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Properties</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Sun Mar 30 2014 12:28:45 for pyrax by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>

</body>
</html>
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit eb80bb0

Please sign in to comment.