Skip to content

Commit

Permalink
v1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
srid committed Oct 8, 2020
1 parent 943d15e commit 47c1619
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Change Log for neuron

## Unreleased
## 1.0.0.0

- Updates
- Bump commonmark, commonmark-extensions (0.2)
Expand Down
2 changes: 1 addition & 1 deletion neuron/neuron.cabal
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cabal-version: 2.4
name: neuron
-- This version must be in sync with what's in Default.dhall
version: 0.9.4.0
version: 1.0.0.0
license: AGPL-3.0-only
copyright: 2020 Sridhar Ratnakumar
maintainer: srid@srid.ca
Expand Down
16 changes: 8 additions & 8 deletions neuron/test/Neuron/VersionSpec.hs
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ spec = do
isLesserOrEqual = shouldNotSatisfy
it "simple versions" $ do
-- If the user requires 0.4, and we are "older than" than that, fail (aka. isGreater)
"1.0" `isGreater` olderThan
"0.9" `isLesserOrEqual` olderThan -- This is current version
"1.3" `isGreater` olderThan
"1.0" `isLesserOrEqual` olderThan -- This is current version
"0.4" `isLesserOrEqual` olderThan
it "full versions" $ do
"1.0.1.2" `isGreater` olderThan
"0.9.15" `isGreater` olderThan
"0.9.12.8" `isGreater` olderThan
"0.9.0.0" `isLesserOrEqual` olderThan -- This is current version
"1.2.1.2" `isGreater` olderThan
"1.0.15" `isGreater` olderThan
"1.0.12.8" `isGreater` olderThan
"1.0.0.0" `isLesserOrEqual` olderThan -- This is current version
"0.6.1.0" `isLesserOrEqual` olderThan
it "within same major version" $ do
"0.9.12.8" `isGreater` olderThan
"0.9.0.0" `isLesserOrEqual` olderThan -- This is current version
"1.9.12.8" `isGreater` olderThan
"1.0.0.0" `isLesserOrEqual` olderThan -- This is current version

0 comments on commit 47c1619

Please sign in to comment.