Current section

37 Versions

Jump to

Compare versions

6 files changed
+28 additions
-26 deletions
  @@ -107,7 +107,7 @@ _If you are having problems, view `README_INSTALL.md` for manual instructions._
107 107
108 108 ```elixir
109 109 def deps do
110 - [{:thesis, "~> 0.3.2"}]
110 + [{:thesis, "~> 0.3.3"}]
111 111 end
112 112
113 113 def application do
  @@ -6,7 +6,7 @@ For automatic setup, see `README.md`.
6 6
7 7 ```elixir
8 8 def deps do
9 - [{:thesis, "~> 0.3.2"}]
9 + [{:thesis, "~> 0.3.3"}]
10 10 end
11 11
12 12 def application do
  @@ -6,34 +6,36 @@
6 6 {<<"files">>,
7 7 [<<"lib">>,<<"lib/mix">>,<<"lib/mix/tasks">>,
8 8 <<"lib/mix/tasks/thesis.install.ex">>,<<"lib/mix/utils.ex">>,
9 - <<"lib/thesis">>,<<"lib/thesis.ex">>,<<"lib/thesis/api_controller.ex">>,
10 - <<"lib/thesis/auth.ex">>,<<"lib/thesis/config.ex">>,
11 - <<"lib/thesis/controller.ex">>,<<"lib/thesis/models">>,
12 - <<"lib/thesis/models/backup.ex">>,<<"lib/thesis/models/file.ex">>,
13 - <<"lib/thesis/models/page.ex">>,<<"lib/thesis/models/page_content.ex">>,
14 - <<"lib/thesis/notifications.ex">>,<<"lib/thesis/render.ex">>,
15 - <<"lib/thesis/router.ex">>,<<"lib/thesis/stores">>,
16 - <<"lib/thesis/stores/ecto_store.ex">>,<<"lib/thesis/stores/store.ex">>,
17 - <<"lib/thesis/uploaders">>,<<"lib/thesis/uploaders/repo_uploader.ex">>,
9 + <<"lib/thesis">>,<<"lib/thesis/uploaders">>,
10 + <<"lib/thesis/uploaders/repo_uploader.ex">>,
11 + <<"lib/thesis/uploaders/uploader.ex">>,
18 12 <<"lib/thesis/uploaders/s3_uploader.ex">>,
19 - <<"lib/thesis/uploaders/uploader.ex">>,<<"lib/thesis/utilities.ex">>,
20 - <<"lib/thesis/view.ex">>,<<"priv">>,<<"priv/static">>,
21 - <<"priv/static/thesis.css">>,<<"priv/static/thesis.js">>,
13 + <<"lib/thesis/api_controller.ex">>,<<"lib/thesis/auth.ex">>,
14 + <<"lib/thesis/config.ex">>,<<"lib/thesis/stores">>,
15 + <<"lib/thesis/stores/store.ex">>,<<"lib/thesis/stores/ecto_store.ex">>,
16 + <<"lib/thesis/controller.ex">>,<<"lib/thesis/models">>,
17 + <<"lib/thesis/models/page.ex">>,<<"lib/thesis/models/backup.ex">>,
18 + <<"lib/thesis/models/page_content.ex">>,<<"lib/thesis/models/file.ex">>,
19 + <<"lib/thesis/render.ex">>,<<"lib/thesis/router.ex">>,
20 + <<"lib/thesis/utilities.ex">>,<<"lib/thesis/view.ex">>,
21 + <<"lib/thesis/notifications.ex">>,<<"lib/thesis.ex">>,<<"priv">>,
22 + <<"priv/static">>,<<"priv/static/thesis.css">>,<<"priv/static/thesis.js">>,
22 23 <<"priv/templates">>,<<"priv/templates/thesis.install">>,
23 - <<"priv/templates/thesis.install/add_indexes_to_tables.exs">>,
24 - <<"priv/templates/thesis.install/add_meta_to_thesis_page_contents.exs">>,
25 24 <<"priv/templates/thesis.install/add_template_and_redirect_url_to_thesis_pages.exs">>,
26 - <<"priv/templates/thesis.install/change_and_convert_page_data_type_in_backups_table.exs">>,
27 25 <<"priv/templates/thesis.install/change_content_default_for_page_content.exs">>,
28 - <<"priv/templates/thesis.install/create_thesis_backups_table.exs">>,
26 + <<"priv/templates/thesis.install/add_meta_to_thesis_page_contents.exs">>,
27 + <<"priv/templates/thesis.install/change_and_convert_page_data_type_in_backups_table.exs">>,
29 28 <<"priv/templates/thesis.install/create_thesis_files_table.exs">>,
29 + <<"priv/templates/thesis.install/thesis_auth.exs">>,
30 30 <<"priv/templates/thesis.install/create_thesis_tables.exs">>,
31 - <<"priv/templates/thesis.install/thesis_auth.exs">>,<<"priv/tmp">>,
32 - <<"priv/tmp/open-source-info-image-2">>,<<"mix.exs">>,<<"README.md">>,
33 - <<"README_INSTALL.md">>,<<"LICENSE.md">>,<<"package.json">>]}.
31 + <<"priv/templates/thesis.install/create_thesis_backups_table.exs">>,
32 + <<"priv/templates/thesis.install/add_indexes_to_tables.exs">>,
33 + <<"priv/tmp">>,<<"priv/tmp/open-source-info-image-2">>,<<"mix.exs">>,
34 + <<"README.md">>,<<"README_INSTALL.md">>,<<"LICENSE.md">>,
35 + <<"package.json">>]}.
34 36 {<<"licenses">>,[<<"MIT">>]}.
35 37 {<<"links">>,
36 - [{<<"Docs">>,<<"https://hexdocs.pm/thesis/0.3.2/api-reference.html">>},
38 + [{<<"Docs">>,<<"https://hexdocs.pm/thesis/0.3.3/api-reference.html">>},
37 39 {<<"GitHub">>,<<"https://github.com/infinitered/thesis-phoenix">>}]}.
38 40 {<<"name">>,<<"thesis">>}.
39 41 {<<"requirements">>,
  @@ -77,4 +79,4 @@
77 79 {<<"optional">>,false},
78 80 {<<"repository">>,<<"hexpm">>},
79 81 {<<"requirement">>,<<"~> 0.0.7">>}]]}.
80 - {<<"version">>,<<"0.3.2">>}.
82 + {<<"version">>,<<"0.3.3">>}.
  @@ -37,7 +37,7 @@ defmodule Thesis.Notifications do
37 37 "other" => []
38 38 }
39 39 |> notifications_from_host_app(conn, notifications())
40 - |> notifications_regarding_env(Mix.env)
40 + |> notifications_regarding_env(Application.get_env(:thesis, :env))
41 41 |> notifications_regarding_page(conn.assigns[:thesis_page])
42 42 end
  @@ -1,6 +1,6 @@
1 1 defmodule Thesis.Mixfile do
2 2 use Mix.Project
3 - @version "0.3.2" # REMEMBER TO UPDATE package.json and both READMEs!
3 + @version "0.3.3" # REMEMBER TO UPDATE package.json and both READMEs!
4 4
5 5 def project do
6 6 [
Loading more files…