Skip to content

Commit

Permalink
Bump version, update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
eriknyquist committed Dec 5, 2022
1 parent b5d2bc2 commit 3f9c1ba
Show file tree
Hide file tree
Showing 15 changed files with 32 additions and 32 deletions.
2 changes: 1 addition & 1 deletion docs/.buildinfo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: 3a8f73031454e95220b6823824585695
config: 7511dda280eadc8c027d60ef32d58d2d
tags: 645f666f9bcd5a90fca523b33c5a78b7
4 changes: 2 additions & 2 deletions docs/_modules/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Overview: module code &mdash; versionedobj v2.0.0 documentation</title>
<title>Overview: module code &mdash; versionedobj v2.0.1 documentation</title>
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
<!--[if lt IE 9]>
Expand All @@ -27,7 +27,7 @@
<a href="../index.html" class="icon icon-home"> versionedobj
</a>
<div class="version">
v2.0.0
v2.0.1
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="../search.html" method="get">
Expand Down
4 changes: 2 additions & 2 deletions docs/_modules/versionedobj/exceptions.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>versionedobj.exceptions &mdash; versionedobj v2.0.0 documentation</title>
<title>versionedobj.exceptions &mdash; versionedobj v2.0.1 documentation</title>
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="../../_static/css/theme.css" type="text/css" />
<!--[if lt IE 9]>
Expand All @@ -27,7 +27,7 @@
<a href="../../index.html" class="icon icon-home"> versionedobj
</a>
<div class="version">
v2.0.0
v2.0.1
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="../../search.html" method="get">
Expand Down
18 changes: 9 additions & 9 deletions docs/_modules/versionedobj/object.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>versionedobj.object &mdash; versionedobj v2.0.0 documentation</title>
<title>versionedobj.object &mdash; versionedobj v2.0.1 documentation</title>
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="../../_static/css/theme.css" type="text/css" />
<!--[if lt IE 9]>
Expand All @@ -27,7 +27,7 @@
<a href="../../index.html" class="icon icon-home"> versionedobj
</a>
<div class="version">
v2.0.0
v2.0.1
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="../../search.html" method="get">
Expand Down Expand Up @@ -264,7 +264,7 @@ <h1>Source code for versionedobj.object</h1><div class="highlight"><pre>
<span class="k">def</span> <span class="nf">_vobj__migrate</span><span class="p">(</span><span class="bp">cls</span><span class="p">,</span> <span class="n">version</span><span class="p">,</span> <span class="n">attrs</span><span class="p">):</span>
<span class="n">old_version</span> <span class="o">=</span> <span class="n">attrs</span><span class="o">.</span><span class="n">get</span><span class="p">(</span><span class="s1">&#39;version&#39;</span><span class="p">,</span> <span class="kc">None</span><span class="p">)</span>
<span class="n">version_before_migration</span> <span class="o">=</span> <span class="n">old_version</span>
<span class="n">version_after_migration</span> <span class="o">=</span> <span class="n">old_version</span>
<span class="n">current_version</span> <span class="o">=</span> <span class="n">old_version</span>

<span class="n">result</span> <span class="o">=</span> <span class="kc">None</span>

Expand All @@ -273,17 +273,17 @@ <h1>Source code for versionedobj.object</h1><div class="highlight"><pre>

<span class="c1"># Attempt migrations</span>
<span class="k">for</span> <span class="n">fromversion</span><span class="p">,</span> <span class="n">toversion</span><span class="p">,</span> <span class="n">migrate</span> <span class="ow">in</span> <span class="bp">cls</span><span class="o">.</span><span class="n">_vobj__migrations</span><span class="p">:</span>
<span class="k">if</span> <span class="n">fromversion</span> <span class="o">==</span> <span class="n">version_after_migration</span><span class="p">:</span>
<span class="k">if</span> <span class="n">fromversion</span> <span class="o">==</span> <span class="n">current_version</span><span class="p">:</span>
<span class="n">attrs</span> <span class="o">=</span> <span class="n">migrate</span><span class="p">(</span><span class="n">attrs</span><span class="p">)</span>

<span class="n">version_after_migration</span> <span class="o">=</span> <span class="n">toversion</span>
<span class="k">if</span> <span class="n">toversion</span> <span class="o">==</span> <span class="n">version</span><span class="p">:</span>
<span class="k">break</span>
<span class="n">current_version</span> <span class="o">=</span> <span class="n">toversion</span>
<span class="k">if</span> <span class="n">toversion</span> <span class="o">==</span> <span class="n">version</span><span class="p">:</span>
<span class="k">break</span>

<span class="k">if</span> <span class="n">version_after_migration</span> <span class="o">!=</span> <span class="n">version</span><span class="p">:</span>
<span class="k">if</span> <span class="n">current_version</span> <span class="o">!=</span> <span class="n">version</span><span class="p">:</span>
<span class="n">result</span><span class="o">.</span><span class="n">success</span> <span class="o">=</span> <span class="kc">False</span>

<span class="n">result</span><span class="o">.</span><span class="n">version_reached</span> <span class="o">=</span> <span class="n">version_after_migration</span>
<span class="n">result</span><span class="o">.</span><span class="n">version_reached</span> <span class="o">=</span> <span class="n">current_version</span>

<span class="k">return</span> <span class="n">result</span><span class="p">,</span> <span class="n">attrs</span>

Expand Down
4 changes: 2 additions & 2 deletions docs/_modules/versionedobj/serializer.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>versionedobj.serializer &mdash; versionedobj v2.0.0 documentation</title>
<title>versionedobj.serializer &mdash; versionedobj v2.0.1 documentation</title>
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="../../_static/css/theme.css" type="text/css" />
<!--[if lt IE 9]>
Expand All @@ -27,7 +27,7 @@
<a href="../../index.html" class="icon icon-home"> versionedobj
</a>
<div class="version">
v2.0.0
v2.0.1
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="../../search.html" method="get">
Expand Down
2 changes: 1 addition & 1 deletion docs/_static/documentation_options.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
var DOCUMENTATION_OPTIONS = {
URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'),
VERSION: 'v2.0.0',
VERSION: 'v2.0.1',
LANGUAGE: 'None',
COLLAPSE_INDEX: false,
BUILDER: 'html',
Expand Down
4 changes: 2 additions & 2 deletions docs/genindex.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Index &mdash; versionedobj v2.0.0 documentation</title>
<title>Index &mdash; versionedobj v2.0.1 documentation</title>
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
<!--[if lt IE 9]>
Expand All @@ -27,7 +27,7 @@
<a href="index.html" class="icon icon-home"> versionedobj
</a>
<div class="version">
v2.0.0
v2.0.1
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
Expand Down
4 changes: 2 additions & 2 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>versionedobj &mdash; versionedobj v2.0.0 documentation</title>
<title>versionedobj &mdash; versionedobj v2.0.1 documentation</title>
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
<!--[if lt IE 9]>
Expand All @@ -28,7 +28,7 @@
<a href="#" class="icon icon-home"> versionedobj
</a>
<div class="version">
v2.0.0
v2.0.1
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
Expand Down
4 changes: 2 additions & 2 deletions docs/modules.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>versionedobj &mdash; versionedobj v2.0.0 documentation</title>
<title>versionedobj &mdash; versionedobj v2.0.1 documentation</title>
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
<!--[if lt IE 9]>
Expand All @@ -29,7 +29,7 @@
<a href="index.html" class="icon icon-home"> versionedobj
</a>
<div class="version">
v2.0.0
v2.0.1
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
Expand Down
2 changes: 1 addition & 1 deletion docs/objects.inv
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Sphinx inventory version 2
# Project: versionedobj
# Version: v2.0.0
# Version: v2.0.1
# The remainder of this file is compressed using zlib.
xڭ�;o�0�w~��vMTV��j%�"P�X#'���G�A}mL��)mop����4 $�%��Qu��� �jE�S{���E��TJ����j���l�Bpa�4��'6�F�����g�Mk���e��L�������s�RK� �5Pư�C���8�H=�jlj7K�1�݊�H}����+�' -�JϜ6�lyy��9�@�� I��L���2:���A��}���+ �Kf�,k@o{ޭuh�Nu~]a3���;�\�/ n/�L�� ��sT �z�e�����{��D���BIK$�1�C��ғ������1r,\�D��:F���,��p{3��?�z8�?b�����Jٮ�he�gm�+��N���~��#A�>��7Kۙ�
4 changes: 2 additions & 2 deletions docs/py-modindex.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Python Module Index &mdash; versionedobj v2.0.0 documentation</title>
<title>Python Module Index &mdash; versionedobj v2.0.1 documentation</title>
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
<!--[if lt IE 9]>
Expand All @@ -30,7 +30,7 @@
<a href="index.html" class="icon icon-home"> versionedobj
</a>
<div class="version">
v2.0.0
v2.0.1
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
Expand Down
4 changes: 2 additions & 2 deletions docs/search.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Search &mdash; versionedobj v2.0.0 documentation</title>
<title>Search &mdash; versionedobj v2.0.1 documentation</title>
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" />

Expand All @@ -30,7 +30,7 @@
<a href="index.html" class="icon icon-home"> versionedobj
</a>
<div class="version">
v2.0.0
v2.0.1
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="#" method="get">
Expand Down
4 changes: 2 additions & 2 deletions docs/versionedobj.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>versionedobj package &mdash; versionedobj v2.0.0 documentation</title>
<title>versionedobj package &mdash; versionedobj v2.0.1 documentation</title>
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
<!--[if lt IE 9]>
Expand All @@ -28,7 +28,7 @@
<a href="index.html" class="icon icon-home"> versionedobj
</a>
<div class="version">
v2.0.0
v2.0.1
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
Expand Down
2 changes: 1 addition & 1 deletion sphinx_docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
copyright = '2022, Erik K. Nyquist'
author = 'Erik K. Nyquist'

version = 'v2.0.0'
version = 'v2.0.1'

# The full version, including alpha/beta/rc tags
release = version
Expand Down
2 changes: 1 addition & 1 deletion versionedobj/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "2.0.0"
__version__ = "2.0.1"

from versionedobj.object import VersionedObject, CustomValue, migration
from versionedobj.serializer import Serializer, FileLoader
Expand Down

0 comments on commit 3f9c1ba

Please sign in to comment.