Skip to content

Commit

Permalink
Update Sass version to 1.54.5
Browse files Browse the repository at this point in the history
  • Loading branch information
mcrumm committed Aug 26, 2022
1 parent 036026f commit 6119e51
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 9 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## Unreleased

- Update Sass version to `1.54.5`
- Skip platform check when given a custom path (h/t @jgelens)
- Use only TLS 1.2 on OTP versions less than 25.

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Once installed, change your `config/config.exs` to pick your
dart_sass version of choice:

```elixir
config :dart_sass, version: "1.49.11"
config :dart_sass, version: "1.54.5"
```

Now you can install dart-sass by running:
Expand Down Expand Up @@ -68,7 +68,7 @@ directory, the OS environment, and default arguments to the

```elixir
config :dart_sass,
version: "1.49.11",
version: "1.54.5",
default: [
args: ~w(css/app.scss ../priv/static/assets/app.css),
cd: Path.expand("../assets", __DIR__)
Expand Down Expand Up @@ -100,7 +100,7 @@ compile CSS to the output location `priv/static/assets/app.css`:

```elixir
config :dart_sass,
version: "1.49.11",
version: "1.54.5",
default: [
args: ~w(css/app.scss ../priv/static/assets/app.css),
cd: Path.expand("../assets", __DIR__)
Expand Down
2 changes: 1 addition & 1 deletion config/config.exs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Config

config :dart_sass,
version: "1.49.11",
version: "1.54.5",
another: [
args: ["--version"]
]
4 changes: 2 additions & 2 deletions lib/dart_sass.ex
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ defmodule DartSass do
directory and environment:
config :dart_sass,
version: "1.49.11",
version: "1.54.5",
default: [
args: ~w(css/app.scss ../priv/static/assets/app.css),
cd: Path.expand("../assets", __DIR__)
Expand Down Expand Up @@ -85,7 +85,7 @@ defmodule DartSass do
@doc false
# Latest known version at the time of publishing.
def latest_version do
"1.49.11"
"1.54.5"
end

@doc """
Expand Down
6 changes: 3 additions & 3 deletions test/dart_sass_test.exs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule DartSassTest do
use ExUnit.Case, async: true

@version "1.49.11"
@version "1.54.5"

test "run on default" do
assert ExUnit.CaptureIO.capture_io(fn ->
Expand All @@ -16,13 +16,13 @@ defmodule DartSassTest do
end

test "updates on install" do
Application.put_env(:dart_sass, :version, "1.43.3")
Application.put_env(:dart_sass, :version, "1.49.11")

Mix.Task.rerun("sass.install", ["--if-missing"])

assert ExUnit.CaptureIO.capture_io(fn ->
assert DartSass.run(:default, ["--version"]) == 0
end) =~ "1.43.3"
end) =~ "1.49.11"

Application.delete_env(:dart_sass, :version)

Expand Down

0 comments on commit 6119e51

Please sign in to comment.