diff --git a/Claper.Accounts.html b/Claper.Accounts.html index eeaefed..8cf7ff0 100644 --- a/Claper.Accounts.html +++ b/Claper.Accounts.html @@ -327,11 +327,11 @@ it in the database.

iex> apply_user_email(user, "valid password", %{email: ...}) -{:ok, %User{}} +
iex> apply_user_email(user, "valid password", %{email: ...})
+{:ok, %User{}}
 
-iex> apply_user_email(user, "invalid password", %{email: ...})
-{:error, %Ecto.Changeset{}}
+
iex> apply_user_email(user, "invalid password", %{email: ...}) +{:error, %Ecto.Changeset{}}
@@ -361,8 +361,8 @@ it in the database.

iex> change_user_email(user) -%Ecto.Changeset{data: %User{}} +
iex> change_user_email(user)
+%Ecto.Changeset{data: %User{}}

@@ -392,8 +392,8 @@ it in the database.

iex> change_user_registration(user) -%Ecto.Changeset{data: %User{}} +
iex> change_user_registration(user)
+%Ecto.Changeset{data: %User{}}

@@ -488,8 +488,8 @@ and the token is deleted.

Examples

-
iex> deliver_magic_link(user, &Routes.user_confirmation_url(conn, :confirm_magic, &1))
-{:ok, %{to: ..., body: ...}}
+
iex> deliver_magic_link(user, &Routes.user_confirmation_url(conn, :confirm_magic, &1))
+{:ok, %{to: ..., body: ...}}
@@ -517,8 +517,8 @@ and the token is deleted.

Examples -
iex> deliver_update_email_instructions(user, current_email, &Routes.user_update_email_url(conn, :edit, &1))
-{:ok, %{to: ..., body: ...}}
+
iex> deliver_update_email_instructions(user, current_email, &Routes.user_update_email_url(conn, :edit, &1))
+{:ok, %{to: ..., body: ...}}
@@ -546,11 +546,11 @@ and the token is deleted.

Examples -
iex> deliver_user_confirmation_instructions(user, &Routes.user_confirmation_url(conn, :edit, &1))
-{:ok, %{to: ..., body: ...}}
+
iex> deliver_user_confirmation_instructions(user, &Routes.user_confirmation_url(conn, :edit, &1))
+{:ok, %{to: ..., body: ...}}
 
-iex> deliver_user_confirmation_instructions(confirmed_user, &Routes.user_confirmation_url(conn, :edit, &1))
-{:error, :already_confirmed}
+
iex> deliver_user_confirmation_instructions(confirmed_user, &Routes.user_confirmation_url(conn, :edit, &1)) +{:error, :already_confirmed}
@@ -600,10 +600,10 @@ and the token is deleted.

Examples -
iex> get_user!(123)
-%User{}
+
iex> get_user!(123)
+%User{}
 
-iex> get_user!(456)
+iex> get_user!(456)
 ** (Ecto.NoResultsError)
@@ -632,10 +632,10 @@ and the token is deleted.

Examples -
iex> get_user_by_email("foo@example.com")
-%User{}
+
iex> get_user_by_email("foo@example.com")
+%User{}
 
-iex> get_user_by_email("unknown@example.com")
+iex> get_user_by_email("unknown@example.com")
 nil
@@ -708,11 +708,11 @@ and the token is deleted.

Examples -
iex> register_user(%{field: value})
-{:ok, %User{}}
+
iex> register_user(%{field: value})
+{:ok, %User{}}
 
-iex> register_user(%{field: bad_value})
-{:error, %Ecto.Changeset{}}
+
iex> register_user(%{field: bad_value}) +{:error, %Ecto.Changeset{}}
diff --git a/Claper.Events.html b/Claper.Events.html index 5c3de81..8d2e516 100644 --- a/Claper.Events.html +++ b/Claper.Events.html @@ -335,8 +335,8 @@ Functions Examples -
iex> change_activity_leader(activity_leader)
-%Ecto.Changeset{data: %ActivityLeader{}}
+
iex> change_activity_leader(activity_leader)
+%Ecto.Changeset{data: %ActivityLeader{}}
@@ -366,8 +366,8 @@ Functions Examples -
iex> change_event(event)
-%Ecto.Changeset{data: %Event{}}
+
iex> change_event(event)
+%Ecto.Changeset{data: %Event{}}
@@ -417,11 +417,11 @@ Functions Examples -
iex> create_event(%{field: value})
-{:ok, %Event{}}
+
iex> create_event(%{field: value})
+{:ok, %Event{}}
 
-iex> create_event(%{field: bad_value})
-{:error, %Ecto.Changeset{}}
+
iex> create_event(%{field: bad_value}) +{:error, %Ecto.Changeset{}}
@@ -449,11 +449,11 @@ Functions Examples -
iex> delete_event(event)
-{:ok, %Event{}}
+
iex> delete_event(event)
+{:ok, %Event{}}
 
-iex> delete_event(event)
-{:error, %Ecto.Changeset{}}
+
iex> delete_event(event) +{:error, %Ecto.Changeset{}}
@@ -481,10 +481,10 @@ Functions Examples -
iex> get_activity_leader!(123)
-%ActivityLeader{}
+
iex> get_activity_leader!(123)
+%ActivityLeader{}
 
-iex> get_activity_leader!(456)
+iex> get_activity_leader!(456)
 ** (Ecto.NoResultsError)
@@ -513,8 +513,8 @@ Functions Examples -
iex> get_activity_leaders_for_event!(event)
-[%ActivityLeader{}, ...]
+
iex> get_activity_leaders_for_event!(event)
+[%ActivityLeader{}, ...]
@@ -542,8 +542,8 @@ Functions Examples -
iex> get_different_event_with_code("Hello", 123)
-%Event{}
+
iex> get_different_event_with_code("Hello", 123)
+%Event{}
@@ -573,10 +573,10 @@ Functions Examples -
iex> get_event!("123e4567-e89b-12d3-a456-426614174000")
-%Event{}
+
iex> get_event!("123e4567-e89b-12d3-a456-426614174000")
+%Event{}
 
-iex> get_event!("123e4567-e89b-12d3-a456-4266141740111")
+iex> get_event!("123e4567-e89b-12d3-a456-4266141740111")
 ** (Ecto.NoResultsError)
@@ -607,10 +607,10 @@ Functions Examples -
iex> get_event_with_code!("Hello")
-%Event{}
+
iex> get_event_with_code!("Hello")
+%Event{}
 
-iex> get_event_with_code!("Old event")
+iex> get_event_with_code!("Old event")
 ** (Ecto.NoResultsError)
@@ -665,10 +665,10 @@ Functions Examples -
iex> get_managed_event!(user, "123e4567-e89b-12d3-a456-426614174000")
-%Event{}
+
iex> get_managed_event!(user, "123e4567-e89b-12d3-a456-426614174000")
+%Event{}
 
-iex> get_managed_event!(another_user, "123e4567-e89b-12d3-a456-426614174000")
+iex> get_managed_event!(another_user, "123e4567-e89b-12d3-a456-426614174000")
 ** (Ecto.NoResultsError)
@@ -699,10 +699,10 @@ Functions Examples -
iex> get_user_event!(user, "123e4567-e89b-12d3-a456-426614174000")
-%Event{}
+
iex> get_user_event!(user, "123e4567-e89b-12d3-a456-426614174000")
+%Event{}
 
-iex> get_user_event!(another_user, "123e4567-e89b-12d3-a456-426614174000")
+iex> get_user_event!(another_user, "123e4567-e89b-12d3-a456-426614174000")
 ** (Ecto.NoResultsError)
@@ -731,7 +731,7 @@ Functions Examples -
iex> is_leaded_by("email@example.com", 123)
+
iex> is_leaded_by("email@example.com", 123)
 true
@@ -762,8 +762,8 @@ Functions Examples -
iex> list_events(123)
-[%Event{}, ...]
+
iex> list_events(123)
+[%Event{}, ...]
@@ -793,8 +793,8 @@ Functions Examples -
iex> list_managed_events_by("email@example.com")
-[%Event{}, ...]
+
iex> list_managed_events_by("email@example.com")
+[%Event{}, ...]
@@ -822,11 +822,11 @@ Functions Examples -
iex> update_event(event, %{field: new_value})
-{:ok, %Event{}}
+
iex> update_event(event, %{field: new_value})
+{:ok, %Event{}}
 
-iex> update_event(event, %{field: bad_value})
-{:error, %Ecto.Changeset{}}
+
iex> update_event(event, %{field: bad_value}) +{:error, %Ecto.Changeset{}}
diff --git a/Claper.Polls.html b/Claper.Polls.html index 201595c..d798957 100644 --- a/Claper.Polls.html +++ b/Claper.Polls.html @@ -337,8 +337,8 @@ Functions Examples -
iex> change_poll(poll)
-%Ecto.Changeset{data: %Poll{}}
+
iex> change_poll(poll)
+%Ecto.Changeset{data: %Poll{}}
@@ -368,11 +368,11 @@ Functions Examples -
iex> create_poll(%{field: value})
-{:ok, %Poll{}}
+
iex> create_poll(%{field: value})
+{:ok, %Poll{}}
 
-iex> create_poll(%{field: bad_value})
-{:error, %Ecto.Changeset{}}
+
iex> create_poll(%{field: bad_value}) +{:error, %Ecto.Changeset{}}
@@ -402,11 +402,11 @@ Functions Examples -
iex> create_poll_vote(%{field: value})
-{:ok, %PollVote{}}
+
iex> create_poll_vote(%{field: value})
+{:ok, %PollVote{}}
 
-iex> create_poll_vote(%{field: bad_value})
-{:error, %Ecto.Changeset{}}
+
iex> create_poll_vote(%{field: bad_value}) +{:error, %Ecto.Changeset{}}
@@ -434,11 +434,11 @@ Functions Examples -
iex> delete_poll("123e4567-e89b-12d3-a456-426614174000", poll)
-{:ok, %Poll{}}
+
iex> delete_poll("123e4567-e89b-12d3-a456-426614174000", poll)
+{:ok, %Poll{}}
 
-iex> delete_poll("123e4567-e89b-12d3-a456-426614174000", poll)
-{:error, %Ecto.Changeset{}}
+
iex> delete_poll("123e4567-e89b-12d3-a456-426614174000", poll) +{:error, %Ecto.Changeset{}}
@@ -466,10 +466,10 @@ Functions Examples -
iex> get_poll!(123)
-%Poll{}
+
iex> get_poll!(123)
+%Poll{}
 
-iex> get_poll!(456)
+iex> get_poll!(456)
 ** (Ecto.NoResultsError)
@@ -498,8 +498,8 @@ Functions Examples -
iex> get_poll!(123, 0)
-%Poll{}
+
iex> get_poll!(123, 0)
+%Poll{}
@@ -527,8 +527,8 @@ Functions Examples -
iex> get_poll_vote!(321, 123)
-%PollVote{}
+
iex> get_poll_vote!(321, 123)
+%PollVote{}
@@ -556,8 +556,8 @@ Functions Examples -
iex> list_polls(123)
-[%Poll{}, ...]
+
iex> list_polls(123)
+[%Poll{}, ...]
@@ -585,8 +585,8 @@ Functions Examples -
iex> list_polls_at_position(123, 0)
-[%Poll{}, ...]
+
iex> list_polls_at_position(123, 0)
+[%Poll{}, ...]
@@ -658,8 +658,8 @@ Functions Examples -
iex> set_percentages(poll)
-%Poll{}
+
iex> set_percentages(poll)
+%Poll{}
@@ -687,11 +687,11 @@ Functions Examples -
iex> update_poll("123e4567-e89b-12d3-a456-426614174000", poll, %{field: new_value})
-{:ok, %Poll{}}
+
iex> update_poll("123e4567-e89b-12d3-a456-426614174000", poll, %{field: new_value})
+{:ok, %Poll{}}
 
-iex> update_poll("123e4567-e89b-12d3-a456-426614174000", poll, %{field: bad_value})
-{:error, %Ecto.Changeset{}}
+
iex> update_poll("123e4567-e89b-12d3-a456-426614174000", poll, %{field: bad_value}) +{:error, %Ecto.Changeset{}}
diff --git a/Claper.Posts.html b/Claper.Posts.html index 6ac4811..7bc72a3 100644 --- a/Claper.Posts.html +++ b/Claper.Posts.html @@ -263,11 +263,11 @@ Functions Examples -
iex> create_post(event, %{field: value})
-{:ok, %Post{}}
+
iex> create_post(event, %{field: value})
+{:ok, %Post{}}
 
-iex> create_post(event, %{field: bad_value})
-{:error, %Ecto.Changeset{}}
+
iex> create_post(event, %{field: bad_value}) +{:error, %Ecto.Changeset{}}
@@ -295,11 +295,11 @@ Functions Examples -
iex> create_reaction(%{field: value})
-{:ok, %Reaction{}}
+
iex> create_reaction(%{field: value})
+{:ok, %Reaction{}}
 
-iex> create_reaction(%{field: bad_value})
-{:error, %Ecto.Changeset{}}
+
iex> create_reaction(%{field: bad_value}) +{:error, %Ecto.Changeset{}}
@@ -349,11 +349,11 @@ Functions Examples -
iex> delete_post(post)
-{:ok, %Post{}}
+
iex> delete_post(post)
+{:ok, %Post{}}
 
-iex> delete_post(post)
-{:error, %Ecto.Changeset{}}
+
iex> delete_post(post) +{:error, %Ecto.Changeset{}}
@@ -381,11 +381,11 @@ Functions Examples -
iex> delete_reaction(reaction)
-{:ok, %Reaction{}}
+
iex> delete_reaction(reaction)
+{:ok, %Reaction{}}
 
-iex> delete_reaction(reaction)
-{:error, %Ecto.Changeset{}}
+
iex> delete_reaction(reaction) +{:error, %Ecto.Changeset{}}
@@ -415,10 +415,10 @@ Functions Examples -
iex> get_post!("123e4567-e89b-12d3-a456-426614174000")
-%Post{}
+
iex> get_post!("123e4567-e89b-12d3-a456-426614174000")
+%Post{}
 
-iex> get_post!("123e4567-e89b-12d3-a456-426614174123")
+iex> get_post!("123e4567-e89b-12d3-a456-426614174123")
 ** (Ecto.NoResultsError)
@@ -447,10 +447,10 @@ Functions Examples -
iex> get_reaction!(123)
-%Reaction{}
+
iex> get_reaction!(123)
+%Reaction{}
 
-iex> get_reaction!(456)
+iex> get_reaction!(456)
 ** (Ecto.NoResultsError)
@@ -525,11 +525,11 @@ Functions Examples -
iex> update_post(post, %{field: new_value})
-{:ok, %Post{}}
+
iex> update_post(post, %{field: new_value})
+{:ok, %Post{}}
 
-iex> update_post(post, %{field: bad_value})
-{:error, %Ecto.Changeset{}}
+
iex> update_post(post, %{field: bad_value}) +{:error, %Ecto.Changeset{}}
diff --git a/Claper.Presentations.html b/Claper.Presentations.html index ea0b5df..f503016 100644 --- a/Claper.Presentations.html +++ b/Claper.Presentations.html @@ -235,11 +235,11 @@ Functions Examples -
iex> create_presentation_file(%{field: value})
-{:ok, %PresentationFile{}}
+
iex> create_presentation_file(%{field: value})
+{:ok, %PresentationFile{}}
 
-iex> create_presentation_file(%{field: bad_value})
-{:error, %Ecto.Changeset{}}
+
iex> create_presentation_file(%{field: bad_value}) +{:error, %Ecto.Changeset{}}
@@ -269,11 +269,11 @@ Functions Examples -
iex> create_presentation_state(%{field: value})
-{:ok, %PresentationState{}}
+
iex> create_presentation_state(%{field: value})
+{:ok, %PresentationState{}}
 
-iex> create_presentation_state(%{field: bad_value})
-{:error, %Ecto.Changeset{}}
+
iex> create_presentation_state(%{field: bad_value}) +{:error, %Ecto.Changeset{}}
@@ -303,10 +303,10 @@ Functions Examples -
iex> get_presentation_file!(123)
-%PresentationFile{}
+
iex> get_presentation_file!(123)
+%PresentationFile{}
 
-iex> get_presentation_file!(456)
+iex> get_presentation_file!(456)
 ** (Ecto.NoResultsError)
@@ -379,11 +379,11 @@ Functions Examples -
iex> update_presentation_file(presentation_file, %{field: new_value})
-{:ok, %PresentationFile{}}
+
iex> update_presentation_file(presentation_file, %{field: new_value})
+{:ok, %PresentationFile{}}
 
-iex> update_presentation_file(presentation_file, %{field: bad_value})
-{:error, %Ecto.Changeset{}}
+
iex> update_presentation_file(presentation_file, %{field: bad_value}) +{:error, %Ecto.Changeset{}}
@@ -411,11 +411,11 @@ Functions Examples -
iex> update_presentation_state(presentation_state, %{field: new_value})
-{:ok, %PresentationState{}}
+
iex> update_presentation_state(presentation_state, %{field: new_value})
+{:ok, %PresentationState{}}
 
-iex> update_presentation_state(presentation_state, %{field: bad_value})
-{:error, %Ecto.Changeset{}}
+
iex> update_presentation_state(presentation_state, %{field: bad_value}) +{:error, %Ecto.Changeset{}}
diff --git a/Claper.epub b/Claper.epub index 99ed9a6..6d26ecd 100644 Binary files a/Claper.epub and b/Claper.epub differ diff --git a/ClaperWeb.Gettext.html b/ClaperWeb.Gettext.html index 28c603f..0149810 100644 --- a/ClaperWeb.Gettext.html +++ b/ClaperWeb.Gettext.html @@ -114,15 +114,15 @@ Claper your module gains a set of macros for translations, for example:

import ClaperWeb.Gettext
 
 # Simple translation
-gettext("Here is the string to translate")
+gettext("Here is the string to translate")
 
 # Plural translation
-ngettext("Here is the string to translate",
+ngettext("Here is the string to translate",
          "Here are the strings to translate",
-         3)
+         3)
 
 # Domain-based translation
-dgettext("errors", "Here is the error message to translate")

See the Gettext Docs for detailed usage.

+
dgettext("errors", "Here is the error message to translate")

See the Gettext Docs for detailed usage.

diff --git a/ClaperWeb.LiveHelpers.html b/ClaperWeb.LiveHelpers.html index 92d3ce5..9ff8a49 100644 --- a/ClaperWeb.LiveHelpers.html +++ b/ClaperWeb.LiveHelpers.html @@ -178,7 +178,7 @@ the URL when the modal is closed.

id: @post.id || :new, action: @live_action, post: @post, - return_to: Routes.post_index_path(@socket, :index) %>

+
return_to: Routes.post_index_path(@socket, :index) %>
diff --git a/SimpleS3Upload.html b/SimpleS3Upload.html index a3925b4..b709dac 100644 --- a/SimpleS3Upload.html +++ b/SimpleS3Upload.html @@ -184,19 +184,19 @@ before the signed upload expires.

Examples

-
config = %{
+
config = %{
   region: "us-east-1",
-  access_key_id: System.fetch_env!("AWS_ACCESS_KEY_ID"),
-  secret_access_key: System.fetch_env!("AWS_SECRET_ACCESS_KEY")
-}
+  access_key_id: System.fetch_env!("AWS_ACCESS_KEY_ID"),
+  secret_access_key: System.fetch_env!("AWS_SECRET_ACCESS_KEY")
+}
 
-{:ok, fields} =
-  SimpleS3Upload.sign_form_upload(config, "my-bucket",
+{:ok, fields} =
+  SimpleS3Upload.sign_form_upload(config, "my-bucket",
     key: "public/my-file-name",
     content_type: "image/png",
     max_file_size: 10_000,
-    expires_in: :timer.hours(1)
-  )
+
expires_in: :timer.hours(1) + )