Skip to content

Commit f9623fd

Browse files
committed
fixing some minor issues. Now we are ready for the release of v0.5.0
1 parent 5ca241d commit f9623fd

File tree

5 files changed

+5
-3
lines changed

5 files changed

+5
-3
lines changed

livebooks/5_fledex_weather_example.livemd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ Before we can start with the weather data, we need to make sure that we can make
157157
:ssl.start()
158158
```
159159

160-
Now we can make the actual call. We do want to make this call in regular intervals (every 15 min), parse the response and publish the temperature through pubsub. To do this we create a small server. In a [later chapter](./9_fledex.jobs.livemd) we will see how we can use one of the `Fledex` services to do the scheduling.
160+
Now we can make the actual call. We do want to make this call in regular intervals (every 15 min), parse the response and publish the temperature through pubsub. To do this we create a small server. In a [later chapter](./9_fledex_jobs.livemd) we will see how we can use one of the `Fledex` services to do the scheduling.
161161

162162
We start it with our URL (note, the parsing in the server is URL specific, so you can't simply change it to another site) and with our 15min refresh interval (specified in ms).
163163

livebooks/8_fledex_component.livemd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ broadcast_trigger(%{clock_hour: 17, clock_minute: 34, clock_second: 12})
153153

154154
## A job to drive the clock
155155

156-
Regular updates is something so common that we'll look at the `job` macro that will allow us to schedule udpates in regular intervals. We will take a closer look at this in [another livebook](./9_fledex.jobs.livemd) but here is already a sneak preview.
156+
Regular updates is something so common that we'll look at the `job` macro that will allow us to schedule udpates in regular intervals. We will take a closer look at this in [another livebook](./9_fledex_jobs.livemd) but here is already a sneak preview.
157157

158158
```elixir
159159
alias Fledex.Component.Clock
File renamed without changes.

mix.exs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,8 @@ defmodule Fledex.MixProject do
149149
"livebooks/5_fledex_weather_example.livemd",
150150
"livebooks/6_fledex_dsl.livemd",
151151
"livebooks/7_fledex_effects.livemd",
152-
"livebooks/8_fledex_component.livemd"
152+
"livebooks/8_fledex_component.livemd",
153+
"livebooks/9_fledex_jobs.livemd"
153154
],
154155
groups_for_extras: [
155156
LiveBooks: ~r/livebooks/,

test/fledex/color/color_test.exs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ defmodule Fledex.Color.ColorTest do
1919
assert Fledex.Color.to_colorint(0xFFEEDD) == 0xFFEEDD
2020
assert Fledex.Color.to_colorint({0xFF, 0xEE, 0xDD}) == 0xFFEEDD
2121
assert Fledex.Color.to_colorint(:red) == 0xFF0000
22+
assert Fledex.Color.to_colorint(%{rgb: 0xFFEEDD}) == 0xFFEEDD
2223
end
2324

2425
test "convert to_rgb" do

0 commit comments

Comments
 (0)