Skip to content
This repository was archived by the owner on Mar 10, 2021. It is now read-only.

Commit bad0d76

Browse files
committed
Version 0.3.3
1 parent 89dda1b commit bad0d76

27 files changed

+171
-171
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ _If you are having problems, view `README_INSTALL.md` for manual instructions._
107107

108108
```elixir
109109
def deps do
110-
[{:thesis, "~> 0.3.2"}]
110+
[{:thesis, "~> 0.3.3"}]
111111
end
112112

113113
def application do

README_INSTALL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ For automatic setup, see `README.md`.
66

77
```elixir
88
def deps do
9-
[{:thesis, "~> 0.3.2"}]
9+
[{:thesis, "~> 0.3.3"}]
1010
end
1111

1212
def application do

doc/404.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<meta http-equiv="x-ua-compatible" content="ie=edge">
66
<meta name="viewport" content="width=device-width, initial-scale=1.0">
77
<meta name="generator" content="ExDoc v0.19.2">
8-
<title>404 — thesis v0.3.2</title>
8+
<title>404 — thesis v0.3.3</title>
99
<link rel="stylesheet" href="dist/html-c1666276880c0f8e3769.css" />
1010
<link rel="canonical" href="https://hexdocs.pm/thesis/404.html" />
1111
<script src="dist/sidebar_items-faefb02862.js"></script>
@@ -29,7 +29,7 @@
2929
<h1 class="sidebar-projectName">
3030
thesis </h1>
3131
<h2 class="sidebar-projectVersion">
32-
v0.3.2
32+
v0.3.3
3333
</h2>
3434
</div>
3535
</a>

doc/Mix.Tasks.Thesis.Install.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<meta http-equiv="x-ua-compatible" content="ie=edge">
66
<meta name="viewport" content="width=device-width, initial-scale=1.0">
77
<meta name="generator" content="ExDoc v0.19.2">
8-
<title>thesis.install — thesis v0.3.2</title>
8+
<title>thesis.install — thesis v0.3.3</title>
99
<link rel="stylesheet" href="dist/html-c1666276880c0f8e3769.css" />
1010
<link rel="canonical" href="https://hexdocs.pm/thesis/Mix.Tasks.Thesis.Install.html" />
1111
<script src="dist/sidebar_items-faefb02862.js"></script>
@@ -29,7 +29,7 @@
2929
<h1 class="sidebar-projectName">
3030
thesis </h1>
3131
<h2 class="sidebar-projectVersion">
32-
v0.3.2
32+
v0.3.3
3333
</h2>
3434
</div>
3535
</a>
@@ -59,7 +59,7 @@ <h2 class="sidebar-projectVersion">
5959

6060

6161
<h1>
62-
<small class="visible-xs">thesis v0.3.2</small>
62+
<small class="visible-xs">thesis v0.3.3</small>
6363
mix thesis.install </h1>
6464

6565

doc/Thesis.Auth.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<meta http-equiv="x-ua-compatible" content="ie=edge">
66
<meta name="viewport" content="width=device-width, initial-scale=1.0">
77
<meta name="generator" content="ExDoc v0.19.2">
8-
<title>Thesis.Auth — thesis v0.3.2</title>
8+
<title>Thesis.Auth — thesis v0.3.3</title>
99
<link rel="stylesheet" href="dist/html-c1666276880c0f8e3769.css" />
1010
<link rel="canonical" href="https://hexdocs.pm/thesis/Thesis.Auth.html" />
1111
<script src="dist/sidebar_items-faefb02862.js"></script>
@@ -29,7 +29,7 @@
2929
<h1 class="sidebar-projectName">
3030
thesis </h1>
3131
<h2 class="sidebar-projectVersion">
32-
v0.3.2
32+
v0.3.3
3333
</h2>
3434
</div>
3535
</a>
@@ -59,7 +59,7 @@ <h2 class="sidebar-projectVersion">
5959

6060

6161
<h1>
62-
<small class="visible-xs">thesis v0.3.2</small>
62+
<small class="visible-xs">thesis v0.3.3</small>
6363
Thesis.Auth <small>behaviour</small> </h1>
6464

6565

@@ -125,14 +125,14 @@ <h1 class="signature">page_is_editable?(arg0)</span>
125125
whether to load and display the Thesis editor and also whether to allow
126126
updates to Thesis.Page and Thesis.PageContent areas.</p>
127127
<p>Typical example:</p>
128-
<pre><code class="nohighlight makeup elixir"><span class="kd">defmodule</span><span class="w"> </span><span class="nc">MyApp.ThesisAuth</span><span class="w"> </span><span class="k" data-group-id="7911432270-1">do</span><span class="w">
128+
<pre><code class="nohighlight makeup elixir"><span class="kd">defmodule</span><span class="w"> </span><span class="nc">MyApp.ThesisAuth</span><span class="w"> </span><span class="k" data-group-id="6689066158-1">do</span><span class="w">
129129
</span><span class="na">@behaviour</span><span class="w"> </span><span class="nc">Thesis.Auth</span><span class="w">
130130

131-
</span><span class="kd">def</span><span class="w"> </span><span class="nf">page_is_editable?</span><span class="p" data-group-id="7911432270-2">(</span><span class="n">conn</span><span class="p" data-group-id="7911432270-2">)</span><span class="w"> </span><span class="k" data-group-id="7911432270-3">do</span><span class="w">
131+
</span><span class="kd">def</span><span class="w"> </span><span class="nf">page_is_editable?</span><span class="p" data-group-id="6689066158-2">(</span><span class="n">conn</span><span class="p" data-group-id="6689066158-2">)</span><span class="w"> </span><span class="k" data-group-id="6689066158-3">do</span><span class="w">
132132
</span><span class="n">conn</span><span class="w">
133-
</span><span class="o">|&gt;</span><span class="w"> </span><span class="nc">MyApp.AuthController</span><span class="o">.</span><span class="n">current_user_is_admin?</span><span class="p" data-group-id="7911432270-4">(</span><span class="n">conn</span><span class="p" data-group-id="7911432270-4">)</span><span class="w">
134-
</span><span class="k" data-group-id="7911432270-3">end</span><span class="w">
135-
</span><span class="k" data-group-id="7911432270-1">end</span></code></pre>
133+
</span><span class="o">|&gt;</span><span class="w"> </span><span class="nc">MyApp.AuthController</span><span class="o">.</span><span class="n">current_user_is_admin?</span><span class="p" data-group-id="6689066158-4">(</span><span class="n">conn</span><span class="p" data-group-id="6689066158-4">)</span><span class="w">
134+
</span><span class="k" data-group-id="6689066158-3">end</span><span class="w">
135+
</span><span class="k" data-group-id="6689066158-1">end</span></code></pre>
136136
</section>
137137
</section>
138138
</div>

doc/Thesis.Backup.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<meta http-equiv="x-ua-compatible" content="ie=edge">
66
<meta name="viewport" content="width=device-width, initial-scale=1.0">
77
<meta name="generator" content="ExDoc v0.19.2">
8-
<title>Thesis.Backup — thesis v0.3.2</title>
8+
<title>Thesis.Backup — thesis v0.3.3</title>
99
<link rel="stylesheet" href="dist/html-c1666276880c0f8e3769.css" />
1010
<link rel="canonical" href="https://hexdocs.pm/thesis/Thesis.Backup.html" />
1111
<script src="dist/sidebar_items-faefb02862.js"></script>
@@ -29,7 +29,7 @@
2929
<h1 class="sidebar-projectName">
3030
thesis </h1>
3131
<h2 class="sidebar-projectVersion">
32-
v0.3.2
32+
v0.3.3
3333
</h2>
3434
</div>
3535
</a>
@@ -59,7 +59,7 @@ <h2 class="sidebar-projectVersion">
5959

6060

6161
<h1>
62-
<small class="visible-xs">thesis v0.3.2</small>
62+
<small class="visible-xs">thesis v0.3.3</small>
6363
Thesis.Backup </h1>
6464

6565

doc/Thesis.Controller.Plug.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<meta http-equiv="x-ua-compatible" content="ie=edge">
66
<meta name="viewport" content="width=device-width, initial-scale=1.0">
77
<meta name="generator" content="ExDoc v0.19.2">
8-
<title>Thesis.Controller.Plug — thesis v0.3.2</title>
8+
<title>Thesis.Controller.Plug — thesis v0.3.3</title>
99
<link rel="stylesheet" href="dist/html-c1666276880c0f8e3769.css" />
1010
<link rel="canonical" href="https://hexdocs.pm/thesis/Thesis.Controller.Plug.html" />
1111
<script src="dist/sidebar_items-faefb02862.js"></script>
@@ -29,7 +29,7 @@
2929
<h1 class="sidebar-projectName">
3030
thesis </h1>
3131
<h2 class="sidebar-projectVersion">
32-
v0.3.2
32+
v0.3.3
3333
</h2>
3434
</div>
3535
</a>
@@ -59,7 +59,7 @@ <h2 class="sidebar-projectVersion">
5959

6060

6161
<h1>
62-
<small class="visible-xs">thesis v0.3.2</small>
62+
<small class="visible-xs">thesis v0.3.3</small>
6363
Thesis.Controller.Plug </h1>
6464

6565

doc/Thesis.Controller.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<meta http-equiv="x-ua-compatible" content="ie=edge">
66
<meta name="viewport" content="width=device-width, initial-scale=1.0">
77
<meta name="generator" content="ExDoc v0.19.2">
8-
<title>Thesis.Controller — thesis v0.3.2</title>
8+
<title>Thesis.Controller — thesis v0.3.3</title>
99
<link rel="stylesheet" href="dist/html-c1666276880c0f8e3769.css" />
1010
<link rel="canonical" href="https://hexdocs.pm/thesis/Thesis.Controller.html" />
1111
<script src="dist/sidebar_items-faefb02862.js"></script>
@@ -29,7 +29,7 @@
2929
<h1 class="sidebar-projectName">
3030
thesis </h1>
3131
<h2 class="sidebar-projectVersion">
32-
v0.3.2
32+
v0.3.3
3333
</h2>
3434
</div>
3535
</a>
@@ -59,24 +59,24 @@ <h2 class="sidebar-projectVersion">
5959

6060

6161
<h1>
62-
<small class="visible-xs">thesis v0.3.2</small>
62+
<small class="visible-xs">thesis v0.3.3</small>
6363
Thesis.Controller </h1>
6464

6565

6666
<section id="moduledoc">
6767
<p>Provides a plug that preloads any Thesis content for a page.
6868
Typically, you&#39;ll add this to your <code class="inline">web/web.ex</code> file, under the <code class="inline">controller</code>
6969
function:</p>
70-
<pre><code class="nohighlight makeup elixir"><span class="kd">def</span><span class="w"> </span><span class="nf">controller</span><span class="w"> </span><span class="k" data-group-id="6877224210-1">do</span><span class="w">
71-
</span><span class="k">quote</span><span class="w"> </span><span class="k" data-group-id="6877224210-2">do</span><span class="w">
70+
<pre><code class="nohighlight makeup elixir"><span class="kd">def</span><span class="w"> </span><span class="nf">controller</span><span class="w"> </span><span class="k" data-group-id="3495209092-1">do</span><span class="w">
71+
</span><span class="k">quote</span><span class="w"> </span><span class="k" data-group-id="3495209092-2">do</span><span class="w">
7272
</span><span class="kn">use</span><span class="w"> </span><span class="nc">Phoenix.Controller</span><span class="w">
7373
</span><span class="kn">use</span><span class="w"> </span><span class="nc">Thesis.Controller</span><span class="w">
7474
</span><span class="c1"># ...</span><span class="w">
75-
</span><span class="k" data-group-id="6877224210-2">end</span><span class="w">
76-
</span><span class="k" data-group-id="6877224210-1">end</span></code></pre>
75+
</span><span class="k" data-group-id="3495209092-2">end</span><span class="w">
76+
</span><span class="k" data-group-id="3495209092-1">end</span></code></pre>
7777
<p>If you&#39;d prefer to only use Thesis in certain controllers, remove it from
7878
<code class="inline">web/web.ex</code> and add it to the specific controllers by doing this:</p>
79-
<pre><code class="nohighlight makeup elixir"><span class="kd">defmodule</span><span class="w"> </span><span class="nc">MyApp.MyController</span><span class="w"> </span><span class="k" data-group-id="8288827529-1">do</span><span class="w">
79+
<pre><code class="nohighlight makeup elixir"><span class="kd">defmodule</span><span class="w"> </span><span class="nc">MyApp.MyController</span><span class="w"> </span><span class="k" data-group-id="4075825539-1">do</span><span class="w">
8080
</span><span class="kn">use</span><span class="w"> </span><span class="nc">Thesis.Controller</span><span class="w">
8181
</span><span class="c1"># ...</span></code></pre>
8282
</section>

doc/Thesis.EctoStore.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<meta http-equiv="x-ua-compatible" content="ie=edge">
66
<meta name="viewport" content="width=device-width, initial-scale=1.0">
77
<meta name="generator" content="ExDoc v0.19.2">
8-
<title>Thesis.EctoStore — thesis v0.3.2</title>
8+
<title>Thesis.EctoStore — thesis v0.3.3</title>
99
<link rel="stylesheet" href="dist/html-c1666276880c0f8e3769.css" />
1010
<link rel="canonical" href="https://hexdocs.pm/thesis/Thesis.EctoStore.html" />
1111
<script src="dist/sidebar_items-faefb02862.js"></script>
@@ -29,7 +29,7 @@
2929
<h1 class="sidebar-projectName">
3030
thesis </h1>
3131
<h2 class="sidebar-projectVersion">
32-
v0.3.2
32+
v0.3.3
3333
</h2>
3434
</div>
3535
</a>
@@ -59,7 +59,7 @@ <h2 class="sidebar-projectVersion">
5959

6060

6161
<h1>
62-
<small class="visible-xs">thesis v0.3.2</small>
62+
<small class="visible-xs">thesis v0.3.3</small>
6363
Thesis.EctoStore </h1>
6464

6565

@@ -171,7 +171,7 @@ <h1 class="signature">backups(page_slug)</span>
171171
</div>
172172
<section class="docstring">
173173
<p>Retrieves all backups for a given slug. Returns the backup.</p>
174-
<pre><code class="nohighlight makeup elixir"><span class="n">backups</span><span class="p" data-group-id="4028305314-1">(</span><span class="n">slug</span><span class="p" data-group-id="4028305314-1">)</span></code></pre>
174+
<pre><code class="nohighlight makeup elixir"><span class="n">backups</span><span class="p" data-group-id="9838564450-1">(</span><span class="n">slug</span><span class="p" data-group-id="9838564450-1">)</span></code></pre>
175175
<p>Callback implementation for <a href="Thesis.Store.html#c:backups/1"><code class="inline">Thesis.Store.backups/1</code></a>.</p>
176176
</section>
177177
</section>
@@ -261,7 +261,7 @@ <h1 class="signature">restore(id)</span>
261261
</div>
262262
<section class="docstring">
263263
<p>Retrieves a given backup (identified by its id). Returns the backup.</p>
264-
<pre><code class="nohighlight makeup elixir"><span class="n">restore</span><span class="p" data-group-id="7191294602-1">(</span><span class="n">backup_id</span><span class="p" data-group-id="7191294602-1">)</span></code></pre>
264+
<pre><code class="nohighlight makeup elixir"><span class="n">restore</span><span class="p" data-group-id="2806719096-1">(</span><span class="n">backup_id</span><span class="p" data-group-id="2806719096-1">)</span></code></pre>
265265
<p>Callback implementation for <a href="Thesis.Store.html#c:restore/1"><code class="inline">Thesis.Store.restore/1</code></a>.</p>
266266
</section>
267267
</section>

doc/Thesis.File.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<meta http-equiv="x-ua-compatible" content="ie=edge">
66
<meta name="viewport" content="width=device-width, initial-scale=1.0">
77
<meta name="generator" content="ExDoc v0.19.2">
8-
<title>Thesis.File — thesis v0.3.2</title>
8+
<title>Thesis.File — thesis v0.3.3</title>
99
<link rel="stylesheet" href="dist/html-c1666276880c0f8e3769.css" />
1010
<link rel="canonical" href="https://hexdocs.pm/thesis/Thesis.File.html" />
1111
<script src="dist/sidebar_items-faefb02862.js"></script>
@@ -29,7 +29,7 @@
2929
<h1 class="sidebar-projectName">
3030
thesis </h1>
3131
<h2 class="sidebar-projectVersion">
32-
v0.3.2
32+
v0.3.3
3333
</h2>
3434
</div>
3535
</a>
@@ -59,7 +59,7 @@ <h2 class="sidebar-projectVersion">
5959

6060

6161
<h1>
62-
<small class="visible-xs">thesis v0.3.2</small>
62+
<small class="visible-xs">thesis v0.3.3</small>
6363
Thesis.File </h1>
6464

6565

0 commit comments

Comments
 (0)