diff --git a/Claper.Accounts.html b/Claper.Accounts.html index f0dd9e6..1cee11e 100644 --- a/Claper.Accounts.html +++ b/Claper.Accounts.html @@ -398,11 +398,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{}}
@@ -432,8 +432,8 @@ it in the database.

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

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

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

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

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

@@ -590,8 +590,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: ...}}
@@ -619,8 +619,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: ...}}
@@ -648,11 +648,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}
@@ -680,8 +680,8 @@ and the token is deleted.

Examples -
iex> deliver_user_reset_password_instructions(user, &Routes.user_reset_password_url(conn, :edit, &1))
-{:ok, %{to: ..., body: ...}}
+
iex> deliver_user_reset_password_instructions(user, &Routes.user_reset_password_url(conn, :edit, &1))
+{:ok, %{to: ..., body: ...}}
@@ -731,10 +731,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)
@@ -763,10 +763,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
@@ -795,10 +795,10 @@ and the token is deleted.

Examples -
iex> get_user_by_email_and_password("foo@example.com", "correct_password")
-%User{}
+
iex> get_user_by_email_and_password("foo@example.com", "correct_password")
+%User{}
 
-iex> get_user_by_email_and_password("foo@example.com", "invalid_password")
+iex> get_user_by_email_and_password("foo@example.com", "invalid_password")
 nil
@@ -827,10 +827,10 @@ and the token is deleted.

Examples -
iex> get_user_by_reset_password_token("validtoken")
-%User{}
+
iex> get_user_by_reset_password_token("validtoken")
+%User{}
 
-iex> get_user_by_reset_password_token("invalidtoken")
+iex> get_user_by_reset_password_token("invalidtoken")
 nil
@@ -903,11 +903,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{}}
@@ -935,11 +935,11 @@ and the token is deleted.

Examples -
iex> reset_user_password(user, %{password: "new long password", password_confirmation: "new long password"})
-{:ok, %User{}}
+
iex> reset_user_password(user, %{password: "new long password", password_confirmation: "new long password"})
+{:ok, %User{}}
 
-iex> reset_user_password(user, %{password: "valid", password_confirmation: "not the same"})
-{:error, %Ecto.Changeset{}}
+
iex> reset_user_password(user, %{password: "valid", password_confirmation: "not the same"}) +{:error, %Ecto.Changeset{}}
@@ -990,11 +990,11 @@ The confirmed_at date is also updated to the current time.

Examples -
iex> update_user_password(user, "valid password", %{password: ...})
-{:ok, %User{}}
+
iex> update_user_password(user, "valid password", %{password: ...})
+{:ok, %User{}}
 
-iex> update_user_password(user, "invalid password", %{password: ...})
-{:error, %Ecto.Changeset{}}
+
iex> update_user_password(user, "invalid password", %{password: ...}) +{:error, %Ecto.Changeset{}}
@@ -1022,10 +1022,10 @@ The confirmed_at date is also updated to the current time.

Examples -
iex> update_user_password(user, "valid password", %{password: ...})
-{:ok, %User{}}
-iex> update_user_password(user, "invalid password", %{password: ...})
-{:error, %Ecto.Changeset{}}
+
iex> update_user_password(user, "valid password", %{password: ...})
+{:ok, %User{}}
+iex> update_user_password(user, "invalid password", %{password: ...})
+{:error, %Ecto.Changeset{}}
diff --git a/Claper.Events.html b/Claper.Events.html index d6fef75..a3b9f84 100644 --- a/Claper.Events.html +++ b/Claper.Events.html @@ -346,8 +346,8 @@ Functions Examples -
iex> change_activity_leader(activity_leader)
-%Ecto.Changeset{data: %ActivityLeader{}}
+
iex> change_activity_leader(activity_leader)
+%Ecto.Changeset{data: %ActivityLeader{}}
@@ -377,8 +377,8 @@ Functions Examples -
iex> change_event(event)
-%Ecto.Changeset{data: %Event{}}
+
iex> change_event(event)
+%Ecto.Changeset{data: %Event{}}
@@ -428,11 +428,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{}}
@@ -460,11 +460,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{}}
@@ -492,10 +492,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)
@@ -524,8 +524,8 @@ Functions Examples -
iex> get_activity_leaders_for_event!(event)
-[%ActivityLeader{}, ...]
+
iex> get_activity_leaders_for_event!(event)
+[%ActivityLeader{}, ...]
@@ -553,8 +553,8 @@ Functions Examples -
iex> get_different_event_with_code("Hello", 123)
-%Event{}
+
iex> get_different_event_with_code("Hello", 123)
+%Event{}
@@ -584,10 +584,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)
@@ -642,10 +642,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)
@@ -676,10 +676,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)
@@ -710,10 +710,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)
@@ -742,11 +742,11 @@ Functions Examples -
iex> import(user_id, from_event_uuid, to_event_uuid)
-{:ok, %Event{}}
+
iex> import(user_id, from_event_uuid, to_event_uuid)
+{:ok, %Event{}}
 
-iex> import(user_id, from_event_uuid, to_event_uuid)
-{:error, %Ecto.Changeset{}}
+
iex> import(user_id, from_event_uuid, to_event_uuid) +{:error, %Ecto.Changeset{}}
@@ -774,7 +774,7 @@ Functions Examples -
iex> is_leaded_by("email@example.com", 123)
+
iex> is_leaded_by("email@example.com", 123)
 true
@@ -805,8 +805,8 @@ Functions Examples -
iex> list_events(123)
-[%Event{}, ...]
+
iex> list_events(123)
+[%Event{}, ...]
@@ -836,8 +836,8 @@ Functions Examples -
iex> list_managed_events_by("email@example.com")
-[%Event{}, ...]
+
iex> list_managed_events_by("email@example.com")
+[%Event{}, ...]
@@ -865,11 +865,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.Forms.html b/Claper.Forms.html index fb29b9e..62d1604 100644 --- a/Claper.Forms.html +++ b/Claper.Forms.html @@ -386,8 +386,8 @@ Functions Examples -
iex> change_form(form)
-%Ecto.Changeset{data: %Form{}}
+
iex> change_form(form)
+%Ecto.Changeset{data: %Form{}}
@@ -417,8 +417,8 @@ Functions Examples -
iex> change_form_submit(form_submit)
-%Ecto.Changeset{data: %FormSubmit{}}
+
iex> change_form_submit(form_submit)
+%Ecto.Changeset{data: %FormSubmit{}}
@@ -448,11 +448,11 @@ Functions Examples -
iex> create_form(%{field: value})
-{:ok, %Form{}}
+
iex> create_form(%{field: value})
+{:ok, %Form{}}
 
-iex> create_form(%{field: bad_value})
-{:error, %Ecto.Changeset{}}
+
iex> create_form(%{field: bad_value}) +{:error, %Ecto.Changeset{}}
@@ -482,11 +482,11 @@ Functions Examples -
iex> create_form_submit(%{field: value})
-{:ok, %FormSubmit{}}
+
iex> create_form_submit(%{field: value})
+{:ok, %FormSubmit{}}
 
-iex> create_form_submit(%{field: bad_value})
-{:error, %Ecto.Changeset{}}
+
iex> create_form_submit(%{field: bad_value}) +{:error, %Ecto.Changeset{}}
@@ -514,11 +514,11 @@ Functions Examples -
iex> create_or_update_form_submit(%{field: value})
-{:ok, %FormSubmit{}}
+
iex> create_or_update_form_submit(%{field: value})
+{:ok, %FormSubmit{}}
 
-iex> create_or_update_form_submit(%{field: bad_value})
-{:error, %Ecto.Changeset{}}
+
iex> create_or_update_form_submit(%{field: bad_value}) +{:error, %Ecto.Changeset{}}
@@ -568,11 +568,11 @@ Functions Examples -
iex> delete_form("123e4567-e89b-12d3-a456-426614174000", form)
-{:ok, %Form{}}
+
iex> delete_form("123e4567-e89b-12d3-a456-426614174000", form)
+{:ok, %Form{}}
 
-iex> delete_form("123e4567-e89b-12d3-a456-426614174000", form)
-{:error, %Ecto.Changeset{}}
+
iex> delete_form("123e4567-e89b-12d3-a456-426614174000", form) +{:error, %Ecto.Changeset{}}
@@ -600,11 +600,11 @@ Functions Examples -
iex> delete_form_submit(post, event_id)
-{:ok, %FormSubmit{}}
+
iex> delete_form_submit(post, event_id)
+{:ok, %FormSubmit{}}
 
-iex> delete_form_submit(post, event_id)
-{:error, %Ecto.Changeset{}}
+
iex> delete_form_submit(post, event_id) +{:error, %Ecto.Changeset{}}
@@ -656,10 +656,10 @@ Functions Examples -
iex> get_form!(123)
-%Poll{}
+
iex> get_form!(123)
+%Poll{}
 
-iex> get_form!(456)
+iex> get_form!(456)
 ** (Ecto.NoResultsError)
@@ -688,8 +688,8 @@ Functions Examples -
iex> get_form!(123, 0)
-%Form{}
+
iex> get_form!(123, 0)
+%Form{}
@@ -717,8 +717,8 @@ Functions Examples -
iex> get_form_submit!(321, 123)
-%FormSubmit{}
+
iex> get_form_submit!(321, 123)
+%FormSubmit{}
@@ -748,10 +748,10 @@ Functions Examples -
iex> get_form_submit_by_id!("123e4567-e89b-12d3-a456-426614174000")
-%Post{}
+
iex> get_form_submit_by_id!("123e4567-e89b-12d3-a456-426614174000")
+%Post{}
 
-iex> get_form_submit_by_id!("123e4567-e89b-12d3-a456-426614174123")
+iex> get_form_submit_by_id!("123e4567-e89b-12d3-a456-426614174123")
 ** (Ecto.NoResultsError)
@@ -780,8 +780,8 @@ Functions Examples -
iex> list_form_submits(123)
-[%FormSubmit{}, ...]
+
iex> list_form_submits(123)
+[%FormSubmit{}, ...]
@@ -809,8 +809,8 @@ Functions Examples -
iex> list_forms(123)
-[%Form{}, ...]
+
iex> list_forms(123)
+[%Form{}, ...]
@@ -838,8 +838,8 @@ Functions Examples -
iex> list_forms_at_position(123, 0)
-[%Form{}, ...]
+
iex> list_forms_at_position(123, 0)
+[%Form{}, ...]
@@ -911,11 +911,11 @@ Functions Examples -
iex> update_form("123e4567-e89b-12d3-a456-426614174000", form, %{field: new_value})
-{:ok, %Form{}}
+
iex> update_form("123e4567-e89b-12d3-a456-426614174000", form, %{field: new_value})
+{:ok, %Form{}}
 
-iex> update_form("123e4567-e89b-12d3-a456-426614174000", form, %{field: bad_value})
-{:error, %Ecto.Changeset{}}
+
iex> update_form("123e4567-e89b-12d3-a456-426614174000", form, %{field: bad_value}) +{:error, %Ecto.Changeset{}}
diff --git a/Claper.Polls.html b/Claper.Polls.html index 75201fa..41b30d3 100644 --- a/Claper.Polls.html +++ b/Claper.Polls.html @@ -346,8 +346,8 @@ Functions Examples -
iex> change_poll(poll)
-%Ecto.Changeset{data: %Poll{}}
+
iex> change_poll(poll)
+%Ecto.Changeset{data: %Poll{}}
@@ -377,11 +377,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{}}
@@ -411,11 +411,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{}}
@@ -443,11 +443,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{}}
@@ -497,10 +497,10 @@ Functions Examples -
iex> get_poll!(123)
-%Poll{}
+
iex> get_poll!(123)
+%Poll{}
 
-iex> get_poll!(456)
+iex> get_poll!(456)
 ** (Ecto.NoResultsError)
@@ -529,8 +529,8 @@ Functions Examples -
iex> get_poll!(123, 0)
-%Poll{}
+
iex> get_poll!(123, 0)
+%Poll{}
@@ -558,8 +558,8 @@ Functions Examples -
iex> get_poll_vote!(321, 123)
-[%PollVote{}]
+
iex> get_poll_vote!(321, 123)
+[%PollVote{}]
@@ -587,8 +587,8 @@ Functions Examples -
iex> list_polls(123)
-[%Poll{}, ...]
+
iex> list_polls(123)
+[%Poll{}, ...]
@@ -616,8 +616,8 @@ Functions Examples -
iex> list_polls_at_position(123, 0)
-[%Poll{}, ...]
+
iex> list_polls_at_position(123, 0)
+[%Poll{}, ...]
@@ -689,8 +689,8 @@ Functions Examples -
iex> set_percentages(poll)
-%Poll{}
+
iex> set_percentages(poll)
+%Poll{}
@@ -718,11 +718,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 be3f7c7..f43bb07 100644 --- a/Claper.Posts.html +++ b/Claper.Posts.html @@ -264,11 +264,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{}}
@@ -296,11 +296,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{}}
@@ -350,11 +350,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{}}
@@ -382,11 +382,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{}}
@@ -416,10 +416,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)
@@ -448,10 +448,10 @@ Functions Examples -
iex> get_reaction!(123)
-%Reaction{}
+
iex> get_reaction!(123)
+%Reaction{}
 
-iex> get_reaction!(456)
+iex> get_reaction!(456)
 ** (Ecto.NoResultsError)
@@ -526,11 +526,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 8bfad3d..b3f443b 100644 --- a/Claper.Presentations.html +++ b/Claper.Presentations.html @@ -236,11 +236,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{}}
@@ -270,11 +270,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{}}
@@ -304,10 +304,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)
@@ -380,11 +380,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{}}
@@ -412,11 +412,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 0bca0f0..e46be24 100644 Binary files a/Claper.epub and b/Claper.epub differ diff --git a/ClaperWeb.Gettext.html b/ClaperWeb.Gettext.html index 6fa1bfb..81bb231 100644 --- a/ClaperWeb.Gettext.html +++ b/ClaperWeb.Gettext.html @@ -116,15 +116,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 4e866ff..29d1bf8 100644 --- a/ClaperWeb.LiveHelpers.html +++ b/ClaperWeb.LiveHelpers.html @@ -179,7 +179,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 fca6ec4..4bf9a3b 100644 --- a/SimpleS3Upload.html +++ b/SimpleS3Upload.html @@ -185,19 +185,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) + )
diff --git a/deployment.html b/deployment.html index 3e57788..f3530ef 100644 --- a/deployment.html +++ b/deployment.html @@ -206,18 +206,18 @@ services:

and comment as follows:

#export RELEASE_DISTRIBUTION=sname
 #export RELEASE_NODE=<%= @release.name %>
 

In Kubernetes, you have to use libcluster to make the nodes discoverable. You can use the following configuration in your config/prod.exs:

config :libcluster,
-  topologies: [
-    default: [
+  topologies: [
+    default: [
       strategy: Cluster.Strategy.Kubernetes,
-      config: [
+      config: [
         mode: :dns,
         kubernetes_node_basename: "claper",
         kubernetes_selector: "app=claper",
         kubernetes_namespace: "default",
         polling_interval: 10_000
-      ]
-    ]
-  ]

+ ] + ] + ]

helm-chart