Skip to content

Commit

Permalink
Merge pull request #39 from richard-viney/fix-stdlib-deprecation-warn…
Browse files Browse the repository at this point in the history
…ings

Fix deprecation warnings with latest stdlib version
  • Loading branch information
massivefermion authored Nov 26, 2024
2 parents 9126143 + 946eaea commit b153593
Show file tree
Hide file tree
Showing 4 changed files with 61 additions and 62 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: erlef/setup-beam@v1
with:
otp-version: '26'
gleam-version: '1.2'
gleam-version: '1.6'
rebar3-version: '3'
- run: gleam test
- run: gleam format --check src test
6 changes: 3 additions & 3 deletions gleam.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ repository = { type = "github", user = "massivefermion", repo = "birl" }
links = [{ title = "Gleam", href = "https://gleam.run" }]

[dependencies]
ranger = "~> 1.2"
gleam_stdlib = "~> 0.38 or ~> 1.0"
ranger = ">= 1.2.0 and < 2.0.0"
gleam_stdlib = ">= 0.43.0 and < 2.0.0"

[dev-dependencies]
gleeunit = "~> 1.1"
gleeunit = ">= 1.2.0 and < 2.0.0"
10 changes: 5 additions & 5 deletions manifest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
# You typically do not need to edit this file

packages = [
{ name = "gleam_stdlib", version = "0.38.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_stdlib", source = "hex", outer_checksum = "663CF11861179AF415A625307447775C09404E752FF99A24E2057C835319F1BE" },
{ name = "gleeunit", version = "1.1.2", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleeunit", source = "hex", outer_checksum = "72CDC3D3F719478F26C4E2C5FED3E657AC81EC14A47D2D2DEBB8693CA3220C3B" },
{ name = "gleam_stdlib", version = "0.43.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_stdlib", source = "hex", outer_checksum = "69EF22E78FDCA9097CBE7DF91C05B2A8B5436826D9F66680D879182C0860A747" },
{ name = "gleeunit", version = "1.2.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleeunit", source = "hex", outer_checksum = "F7A7228925D3EE7D0813C922E062BFD6D7E9310F0BEE585D3A42F3307E3CFD13" },
{ name = "ranger", version = "1.2.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "ranger", source = "hex", outer_checksum = "1566C272B1D141B3BBA38B25CB761EF56E312E79EC0E2DFD4D3C19FB0CC1F98C" },
]

[requirements]
gleam_stdlib = { version = "~> 0.38 or ~> 1.0" }
gleeunit = { version = "~> 1.1" }
ranger = { version = "~> 1.2" }
gleam_stdlib = { version = ">= 0.43.0 and < 2.0.0" }
gleeunit = { version = ">= 1.2.0 and < 2.0.0" }
ranger = { version = ">= 1.2.0 and < 2.0.0" }
Loading

0 comments on commit b153593

Please sign in to comment.