fix Crystal nightly
test Crystal nightly and macOS
This commit is contained in:
parent
248c3575dd
commit
53486f8277
7
.github/workflows/crystal.yml
vendored
7
.github/workflows/crystal.yml
vendored
@ -20,7 +20,12 @@ jobs:
|
|||||||
test:
|
test:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
runs-on: ubuntu-latest
|
matrix:
|
||||||
|
include:
|
||||||
|
- {os: ubuntu-latest, crystal: latest}
|
||||||
|
- {os: ubuntu-latest, crystal: nightly}
|
||||||
|
- {os: macos-latest}
|
||||||
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: Install Crystal
|
- name: Install Crystal
|
||||||
uses: crystal-lang/install-crystal@v1
|
uses: crystal-lang/install-crystal@v1
|
||||||
|
@ -11,7 +11,7 @@ class ::HTTP::Cookie
|
|||||||
@expires : Time? = nil, @domain : String? = nil,
|
@expires : Time? = nil, @domain : String? = nil,
|
||||||
@secure : Bool = false, @http_only : Bool = false,
|
@secure : Bool = false, @http_only : Bool = false,
|
||||||
@samesite : SameSite? = nil, @extension : String? = nil,
|
@samesite : SameSite? = nil, @extension : String? = nil,
|
||||||
@origin : String? = nil)
|
@origin : String? = nil, @creation_time = Time.utc)
|
||||||
validate_name(name)
|
validate_name(name)
|
||||||
@name = name
|
@name = name
|
||||||
validate_value(value)
|
validate_value(value)
|
||||||
|
Loading…
Reference in New Issue
Block a user