Skip to content

Commit

Permalink
Lock to Crystal 1.4 or later (#79)
Browse files Browse the repository at this point in the history
  • Loading branch information
jwoertink authored May 29, 2022
1 parent 2aed112 commit ee01278
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 12 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,13 @@ jobs:
fail-fast: false
matrix:
crystal_version:
- 1.0.0
- 1.1.0
- 1.2.0
- 1.3.0
- latest
experimental:
- false
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.experimental }}
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
- uses: crystal-lang/install-crystal@v1
with:
crystal: ${{matrix.crystal_version}}
Expand All @@ -36,10 +33,8 @@ jobs:
fail-fast: false
matrix:
crystal_version:
- 1.0.0
- 1.1.0
- 1.2.0
- 1.3.0
- 1.4.0
- latest
experimental:
- false
runs-on: ubuntu-latest
Expand Down
4 changes: 2 additions & 2 deletions shard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ version: 0.4.7
authors:
- Paul Smith <[email protected]>

crystal: '>= 1.0.0'
crystal: '>= 1.4.0'

license: MIT

development_dependencies:
ameba:
github: crystal-ameba/ameba
version: 0.13.4
version: ~> 1.0.0
2 changes: 1 addition & 1 deletion spec/habitat_spec.cr
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ describe Habitat do
FakeServer.settings.this_can_be_nil.should eq "not nil"

FakeServer.settings.nilable_with_default.should eq "default"
FakeServer.configure { |settings| settings.nilable_with_default = nil }
FakeServer.configure(&.nilable_with_default = nil)
FakeServer.settings.nilable_with_default.should be_nil
end

Expand Down

0 comments on commit ee01278

Please sign in to comment.