Skip to content

Commit

Permalink
Merge pull request #2 from aosasona/upgrade-0.32
Browse files Browse the repository at this point in the history
Bumped min Gleam version to 0.32 and updated imports
  • Loading branch information
aosasona authored Nov 1, 2023
2 parents a717229 + 99257e4 commit 67d1ac0
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
name: test

on:
push:
branches:
- master
- main
pull_request:

jobs:
test:
runs-on: ubuntu-latest
Expand All @@ -15,7 +13,7 @@ jobs:
- uses: erlef/setup-beam@v1
with:
otp-version: "26.0.2"
gleam-version: "0.31.0"
gleam-version: "0.32.0"
rebar3-version: "3"
# elixir-version: "1.15.4"
- run: gleam format --check src test
Expand Down
5 changes: 3 additions & 2 deletions gleam.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name = "dot_env"
version = "0.1.0"
version = "0.2.0"

# Fill out these fields if you intend to generate HTML documentation or publish
# your project to the Hex package manager.
Expand All @@ -12,9 +12,10 @@ repository = { type = "github", user = "aosasona", repo = "dotenv" }
internal_modules = [
"dot_env/internal/*"
]
gleam = ">= 0.32.0"

[dependencies]
gleam_stdlib = "~> 0.31"
gleam_stdlib = "~> 0.32"
simplifile = "~> 0.1"
gleam_erlang = "~> 0.22"

Expand Down
4 changes: 2 additions & 2 deletions manifest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@

packages = [
{ name = "gleam_erlang", version = "0.22.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_erlang", source = "hex", outer_checksum = "367D8B41A7A86809928ED1E7E55BFD0D46D7C4CF473440190F324AFA347109B4" },
{ name = "gleam_stdlib", version = "0.31.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_stdlib", source = "hex", outer_checksum = "6D1BC5B4D4179B9FEE866B1E69FE180AC2CE485AD90047C0B32B2CA984052736" },
{ name = "gleam_stdlib", version = "0.32.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_stdlib", source = "hex", outer_checksum = "07D64C26D014CF570F8ACADCE602761EA2E74C842D26F2FD49B0D61973D9966F" },
{ name = "gleeunit", version = "0.11.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleeunit", source = "hex", outer_checksum = "1397E5C4AC4108769EE979939AC39BF7870659C5AFB714630DEEEE16B8272AD5" },
{ name = "simplifile", version = "0.1.14", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "simplifile", source = "hex", outer_checksum = "10EA0207796F20488A3A166C50A189C9385333F3C9FAC187729DE7B9CE4ADDBC" },
]

[requirements]
gleam_erlang = { version = "~> 0.22" }
gleam_stdlib = { version = "~> 0.31" }
gleam_stdlib = { version = "~> 0.32" }
gleeunit = { version = "~> 0.10" }
simplifile = { version = "~> 0.1" }
2 changes: 1 addition & 1 deletion src/dot_env/internal/parser.gleam
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import gleam/io
import gleam/string
import gleam/list
import gleam/option.{Some}
import gleam/queue.{Queue}
import gleam/queue.{type Queue}
import gleam/regex
import gleam/result.{try}

Expand Down

0 comments on commit 67d1ac0

Please sign in to comment.