diff --git a/TestEventHandlerWithFailureContext.html b/TestEventHandlerWithFailureContext.html index 2cb5ba7e35..73aa1e4b10 100644 --- a/TestEventHandlerWithFailureContext.html +++ b/TestEventHandlerWithFailureContext.html @@ -217,9 +217,9 @@

child_spec(opts)

Example -
Supervisor.start_link([
-  {ExampleHandler, []}
-], strategy: :one_for_one)
+
Supervisor.start_link([
+  {ExampleHandler, []}
+], strategy: :one_for_one)
diff --git a/Trento Web.epub b/Trento Web.epub index 3295cc5d09..a79e5c5516 100644 Binary files a/Trento Web.epub and b/Trento Web.epub differ diff --git a/Trento.Abilities.html b/Trento.Abilities.html index f2f7142e09..dfecda0acb 100644 --- a/Trento.Abilities.html +++ b/Trento.Abilities.html @@ -255,8 +255,8 @@

change_ability(ability, attrs \\ %{})

Examples -
iex> change_ability(ability)
-%Ecto.Changeset{data: %Ability{}}
+
iex> change_ability(ability)
+%Ecto.Changeset{data: %Ability{}}
@@ -286,11 +286,11 @@

create_ability(attrs \\ %{})

Examples -
iex> create_ability(%{field: value})
-{:ok, %Ability{}}
+
iex> create_ability(%{field: value})
+{:ok, %Ability{}}
 
-iex> create_ability(%{field: bad_value})
-{:error, %Ecto.Changeset{}}
+
iex> create_ability(%{field: bad_value}) +{:error, %Ecto.Changeset{}}
@@ -318,11 +318,11 @@

delete_ability(ability)

Examples -
iex> delete_ability(ability)
-{:ok, %Ability{}}
+
iex> delete_ability(ability)
+{:ok, %Ability{}}
 
-iex> delete_ability(ability)
-{:error, %Ecto.Changeset{}}
+
iex> delete_ability(ability) +{:error, %Ecto.Changeset{}}
@@ -350,10 +350,10 @@

get_ability!(id)

Examples -
iex> get_ability!(123)
-%Ability{}
+
iex> get_ability!(123)
+%Ability{}
 
-iex> get_ability!(456)
+iex> get_ability!(456)
 ** (Ecto.NoResultsError)
@@ -382,8 +382,8 @@

list_abilities()

Examples -
iex> list_abilities()
-[%Ability{}, ...]
+
iex> list_abilities()
+[%Ability{}, ...]
@@ -411,11 +411,11 @@

update_ability(ability, attrs)

Examples -
iex> update_ability(ability, %{field: new_value})
-{:ok, %Ability{}}
+
iex> update_ability(ability, %{field: new_value})
+{:ok, %Ability{}}
 
-iex> update_ability(ability, %{field: bad_value})
-{:error, %Ecto.Changeset{}}
+
iex> update_ability(ability, %{field: bad_value}) +{:error, %Ecto.Changeset{}}
diff --git a/Trento.Clusters.Projections.ClusterProjector.html b/Trento.Clusters.Projections.ClusterProjector.html index 5f198202a8..282953c6c5 100644 --- a/Trento.Clusters.Projections.ClusterProjector.html +++ b/Trento.Clusters.Projections.ClusterProjector.html @@ -245,9 +245,9 @@

child_spec(opts)

Example -
Supervisor.start_link([
-  {ExampleHandler, []}
-], strategy: :one_for_one)
+
Supervisor.start_link([
+  {ExampleHandler, []}
+], strategy: :one_for_one)
diff --git a/Trento.DataCase.html b/Trento.DataCase.html index 8d86d5ac83..b0fd86bfb2 100644 --- a/Trento.DataCase.html +++ b/Trento.DataCase.html @@ -204,9 +204,9 @@

errors_on(changeset)

-

A helper that transforms changeset errors into a map of messages.

assert {:error, changeset} = Accounts.create_user(%{password: "short"})
-assert "password is too short" in errors_on(changeset).password
-assert %{password: ["password is too short"]} = errors_on(changeset)
+

A helper that transforms changeset errors into a map of messages.

assert {:error, changeset} = Accounts.create_user(%{password: "short"})
+assert "password is too short" in errors_on(changeset).password
+assert %{password: ["password is too short"]} = errors_on(changeset)
diff --git a/Trento.Databases.Projections.DatabaseProjector.html b/Trento.Databases.Projections.DatabaseProjector.html index db3b5356d4..96e39963f7 100644 --- a/Trento.Databases.Projections.DatabaseProjector.html +++ b/Trento.Databases.Projections.DatabaseProjector.html @@ -245,9 +245,9 @@

child_spec(opts)

Example -
Supervisor.start_link([
-  {ExampleHandler, []}
-], strategy: :one_for_one)
+
Supervisor.start_link([
+  {ExampleHandler, []}
+], strategy: :one_for_one)
diff --git a/Trento.Hosts.Projections.HostProjector.html b/Trento.Hosts.Projections.HostProjector.html index 97f5959d3c..fc13cbc602 100644 --- a/Trento.Hosts.Projections.HostProjector.html +++ b/Trento.Hosts.Projections.HostProjector.html @@ -253,9 +253,9 @@

child_spec(opts)

Example -
Supervisor.start_link([
-  {ExampleHandler, []}
-], strategy: :one_for_one)
+
Supervisor.start_link([
+  {ExampleHandler, []}
+], strategy: :one_for_one)
diff --git a/Trento.Hosts.Projections.SlesSubscriptionsProjector.html b/Trento.Hosts.Projections.SlesSubscriptionsProjector.html index 94059bc858..a09d285feb 100644 --- a/Trento.Hosts.Projections.SlesSubscriptionsProjector.html +++ b/Trento.Hosts.Projections.SlesSubscriptionsProjector.html @@ -277,9 +277,9 @@

child_spec(opts)

Example -
Supervisor.start_link([
-  {ExampleHandler, []}
-], strategy: :one_for_one)
+
Supervisor.start_link([
+  {ExampleHandler, []}
+], strategy: :one_for_one)
diff --git a/Trento.Infrastructure.Commanded.EventHandlers.ActivityLogEventHandler.html b/Trento.Infrastructure.Commanded.EventHandlers.ActivityLogEventHandler.html index 402f518c13..2d177370f8 100644 --- a/Trento.Infrastructure.Commanded.EventHandlers.ActivityLogEventHandler.html +++ b/Trento.Infrastructure.Commanded.EventHandlers.ActivityLogEventHandler.html @@ -217,9 +217,9 @@

child_spec(opts)

Example -
Supervisor.start_link([
-  {ExampleHandler, []}
-], strategy: :one_for_one)
+
Supervisor.start_link([
+  {ExampleHandler, []}
+], strategy: :one_for_one)
diff --git a/Trento.Infrastructure.Commanded.EventHandlers.AlertsEventHandler.html b/Trento.Infrastructure.Commanded.EventHandlers.AlertsEventHandler.html index bed98d1ea3..149e0233c9 100644 --- a/Trento.Infrastructure.Commanded.EventHandlers.AlertsEventHandler.html +++ b/Trento.Infrastructure.Commanded.EventHandlers.AlertsEventHandler.html @@ -217,9 +217,9 @@

child_spec(opts)

Example -
Supervisor.start_link([
-  {ExampleHandler, []}
-], strategy: :one_for_one)
+
Supervisor.start_link([
+  {ExampleHandler, []}
+], strategy: :one_for_one)
diff --git a/Trento.Infrastructure.Commanded.EventHandlers.DatabaseDeregistrationEventHandler.html b/Trento.Infrastructure.Commanded.EventHandlers.DatabaseDeregistrationEventHandler.html index 2756d578b3..d9998e609f 100644 --- a/Trento.Infrastructure.Commanded.EventHandlers.DatabaseDeregistrationEventHandler.html +++ b/Trento.Infrastructure.Commanded.EventHandlers.DatabaseDeregistrationEventHandler.html @@ -218,9 +218,9 @@

child_spec(opts)

Example -
Supervisor.start_link([
-  {ExampleHandler, []}
-], strategy: :one_for_one)
+
Supervisor.start_link([
+  {ExampleHandler, []}
+], strategy: :one_for_one)
diff --git a/Trento.Infrastructure.Commanded.EventHandlers.DatabaseRestoreEventHandler.html b/Trento.Infrastructure.Commanded.EventHandlers.DatabaseRestoreEventHandler.html index 85d7b5a5e7..97c71f5f12 100644 --- a/Trento.Infrastructure.Commanded.EventHandlers.DatabaseRestoreEventHandler.html +++ b/Trento.Infrastructure.Commanded.EventHandlers.DatabaseRestoreEventHandler.html @@ -218,9 +218,9 @@

child_spec(opts)

Example -
Supervisor.start_link([
-  {ExampleHandler, []}
-], strategy: :one_for_one)
+
Supervisor.start_link([
+  {ExampleHandler, []}
+], strategy: :one_for_one)
diff --git a/Trento.Infrastructure.Commanded.EventHandlers.RollUpEventHandler.html b/Trento.Infrastructure.Commanded.EventHandlers.RollUpEventHandler.html index 4a27a73a11..2ca2a24a2f 100644 --- a/Trento.Infrastructure.Commanded.EventHandlers.RollUpEventHandler.html +++ b/Trento.Infrastructure.Commanded.EventHandlers.RollUpEventHandler.html @@ -217,9 +217,9 @@

child_spec(opts)

Example -
Supervisor.start_link([
-  {ExampleHandler, []}
-], strategy: :one_for_one)
+
Supervisor.start_link([
+  {ExampleHandler, []}
+], strategy: :one_for_one)
diff --git a/Trento.Infrastructure.Commanded.EventHandlers.SapSystemDatabaseHealthEventHandler.html b/Trento.Infrastructure.Commanded.EventHandlers.SapSystemDatabaseHealthEventHandler.html index 3d05c7ffee..68c0cc8e4e 100644 --- a/Trento.Infrastructure.Commanded.EventHandlers.SapSystemDatabaseHealthEventHandler.html +++ b/Trento.Infrastructure.Commanded.EventHandlers.SapSystemDatabaseHealthEventHandler.html @@ -218,9 +218,9 @@

child_spec(opts)

Example -
Supervisor.start_link([
-  {ExampleHandler, []}
-], strategy: :one_for_one)
+
Supervisor.start_link([
+  {ExampleHandler, []}
+], strategy: :one_for_one)
diff --git a/Trento.Infrastructure.Commanded.EventHandlers.SoftwareUpdatesDiscoveryEventHandler.html b/Trento.Infrastructure.Commanded.EventHandlers.SoftwareUpdatesDiscoveryEventHandler.html index ee02d02908..cd128e9067 100644 --- a/Trento.Infrastructure.Commanded.EventHandlers.SoftwareUpdatesDiscoveryEventHandler.html +++ b/Trento.Infrastructure.Commanded.EventHandlers.SoftwareUpdatesDiscoveryEventHandler.html @@ -218,9 +218,9 @@

child_spec(opts)

Example -
Supervisor.start_link([
-  {ExampleHandler, []}
-], strategy: :one_for_one)
+
Supervisor.start_link([
+  {ExampleHandler, []}
+], strategy: :one_for_one)
diff --git a/Trento.Infrastructure.Commanded.EventHandlers.StreamRollUpEventHandler.html b/Trento.Infrastructure.Commanded.EventHandlers.StreamRollUpEventHandler.html index 976063a958..f91d5dbb71 100644 --- a/Trento.Infrastructure.Commanded.EventHandlers.StreamRollUpEventHandler.html +++ b/Trento.Infrastructure.Commanded.EventHandlers.StreamRollUpEventHandler.html @@ -219,9 +219,9 @@

child_spec(opts)

Example -
Supervisor.start_link([
-  {ExampleHandler, []}
-], strategy: :one_for_one)
+
Supervisor.start_link([
+  {ExampleHandler, []}
+], strategy: :one_for_one)
diff --git a/Trento.Infrastructure.Commanded.ProcessManagers.DeregistrationProcessManager.html b/Trento.Infrastructure.Commanded.ProcessManagers.DeregistrationProcessManager.html index 0d0b6f4594..7ff11fe5a2 100644 --- a/Trento.Infrastructure.Commanded.ProcessManagers.DeregistrationProcessManager.html +++ b/Trento.Infrastructure.Commanded.ProcessManagers.DeregistrationProcessManager.html @@ -407,9 +407,9 @@

child_spec(opts)

Example -
Supervisor.start_link([
-  {ExampleProcessManager, []}
-], strategy: :one_for_one)
+
Supervisor.start_link([
+  {ExampleProcessManager, []}
+], strategy: :one_for_one)
diff --git a/Trento.SapSystems.Projections.SapSystemProjector.html b/Trento.SapSystems.Projections.SapSystemProjector.html index b3f84e58cd..33ed6d17eb 100644 --- a/Trento.SapSystems.Projections.SapSystemProjector.html +++ b/Trento.SapSystems.Projections.SapSystemProjector.html @@ -245,9 +245,9 @@

child_spec(opts)

Example -
Supervisor.start_link([
-  {ExampleHandler, []}
-], strategy: :one_for_one)
+
Supervisor.start_link([
+  {ExampleHandler, []}
+], strategy: :one_for_one)
diff --git a/Trento.Scheduler.html b/Trento.Scheduler.html index 3a21b18230..9a75476111 100644 --- a/Trento.Scheduler.html +++ b/Trento.Scheduler.html @@ -140,12 +140,12 @@

Defines a quantum Scheduler.

When used, the quantum scheduler expects the :otp_app as option. The :otp_app should point to an OTP application that has -the quantum runner configuration. For example, the quantum scheduler:

defmodule Trento.Scheduler do
+the quantum runner configuration. For example, the quantum scheduler:

defmodule Trento.Scheduler do
   use Quantum, otp_app: :trento
-end

Could be configured with:

config :trento, Trento.Scheduler,
-  jobs: [
-    {"@daily", {Backup, :backup, []}},
-  ]

+end

Could be configured with:

config :trento, Trento.Scheduler,
+  jobs: [
+    {"@daily", {Backup, :backup, []}},
+  ]

@@ -165,49 +165,49 @@

Examples

-
iex(1)> :telemetry_registry.discover_all(:quantum)
+
iex(1)> :telemetry_registry.discover_all(:quantum)
 :ok
-iex(2)> :telemetry_registry.spannable_events()
-[{[:quantum, :job], [:start, :stop, :exception]}]
+iex(2)> :telemetry_registry.spannable_events()
+[{[:quantum, :job], [:start, :stop, :exception]}]
 iex(3)> :telemetry_registry.list_events
-[
-  {[:quantum, :job, :add], Quantum,
-   %{
+[
+  {[:quantum, :job, :add], Quantum,
+   %{
      description: "dispatched when a job is added",
      measurements: "%{}",
      metadata: "%{job: Quantum.Job.t(), scheduler: atom()}"
-   }},
-  {[:quantum, :job, :delete], Quantum,
-   %{
+   }},
+  {[:quantum, :job, :delete], Quantum,
+   %{
      description: "dispatched when a job is deleted",
      measurements: "%{}",
      metadata: "%{job: Quantum.Job.t(), scheduler: atom()}"
-   }},
-  {[:quantum, :job, :exception], Quantum,
-   %{
+   }},
+  {[:quantum, :job, :exception], Quantum,
+   %{
      description: "dispatched on job execution fail",
      measurements: "%{duration: integer()}",
      metadata: "%{telemetry_span_context: term(), job: Quantum.Job.t(), node: Node.t(), scheduler: atom(), kind: :throw | :error | :exit, reason: term(), stacktrace: list()}"
-   }},
-  {[:quantum, :job, :start], Quantum,
-   %{
+   }},
+  {[:quantum, :job, :start], Quantum,
+   %{
      description: "dispatched on job execution start",
      measurements: "%{system_time: integer()}",
      metadata: "%{telemetry_span_context: term(), job: Quantum.Job.t(), node: Node.t(), scheduler: atom()}"
-   }},
-  {[:quantum, :job, :stop], Quantum,
-   %{
+   }},
+  {[:quantum, :job, :stop], Quantum,
+   %{
      description: "dispatched on job execution end",
      measurements: "%{duration: integer()}",
      metadata: "%{telemetry_span_context: term(), job: Quantum.Job.t(), node: Node.t(), scheduler: atom(), result: term()}"
-   }},
-  {[:quantum, :job, :update], Quantum,
-   %{
+   }},
+  {[:quantum, :job, :update], Quantum,
+   %{
      description: "dispatched when a job is updated",
      measurements: "%{}",
      metadata: "%{job: Quantum.Job.t(), scheduler: atom()}"
-   }}
-]
+
}} +]
diff --git a/TrentoWeb.Gettext.html b/TrentoWeb.Gettext.html index 654cec3afd..ccbfbb6143 100644 --- a/TrentoWeb.Gettext.html +++ b/TrentoWeb.Gettext.html @@ -142,15 +142,15 @@

your module gains a set of macros for translations, for example:

import TrentoWeb.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/hack_on_the_trento.html b/hack_on_the_trento.html index e12be99290..7d278a450b 100644 --- a/hack_on_the_trento.html +++ b/hack_on_the_trento.html @@ -156,7 +156,7 @@

Ensure Compatibility with asdf

-

asdf allows to use specific versions of programming language tools that are known to be compatible with the project, rather than relying on the version that's installed globally on the host system.

In order to use asdf, follow the official asdf getting started guide.

Install all required asdf plugins from .tool-versions inside the web repository.

cut -d' ' -f1 .tool-versions|xargs -i asdf plugin add  {}

Set up the asdf environment

asdf install

+

asdf allows to use specific versions of programming language tools that are known to be compatible with the project, rather than relying on the version that's installed globally on the host system.

In order to use asdf, follow the official asdf getting started guide.

Install all required asdf plugins from .tool-versions inside the web repository.

cut -d' ' -f1 .tool-versions|xargs -i asdf plugin add  {}

Set up the asdf environment

asdf install