Skip to content

Commit

Permalink
Version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
dahlia committed Oct 5, 2016
1 parent 8932242 commit 1c2e4c3
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -55,7 +55,7 @@ In order to compile a Nirum package (`examples/`) to a Python package:
For more infomration, use `--help` option:

$ nirum --help
Nirum Compiler 0.1.0
Nirum Compiler 0.3.0

nirum [OPTIONS] DIR

Expand Down
2 changes: 1 addition & 1 deletion examples/package.toml
@@ -1 +1 @@
version = "0.2.0"
version = "0.3.0"
2 changes: 1 addition & 1 deletion nirum.cabal
@@ -1,5 +1,5 @@
name: nirum
version: 0.2.0
version: 0.3.0
synopsis: IDL compiler and RPC/distributed object framework for
microservices
description: Nirum is an IDL compiler and RPC/distributed object
Expand Down
4 changes: 2 additions & 2 deletions test/Nirum/PackageSpec.hs
Expand Up @@ -90,7 +90,7 @@ spec = do
, (["address"], addressM)
, (["pdf-service"], pdfServiceM)
] :: [(ModulePath, Module)]
package `shouldBe` createPackage' (version 0 2 0 [] []) modules
package `shouldBe` createPackage' (version 0 3 0 [] []) modules
let testDir = "." </> "test"
it "returns ScanError if the directory lacks package.toml" $ do
Left (ScanError filePath ioError') <-
Expand Down Expand Up @@ -121,7 +121,7 @@ spec = do
<- scanPackage $ testDir </> "metadata_field_value_error"
fieldName `shouldBe` "version"
msg `shouldBe`
"expected a semver string (e.g. \"1.2.3\"), not \"0/2/0\""
"expected a semver string (e.g. \"1.2.3\"), not \"0/3/0\""
it "returns ImportError if a module imports an absent module" $ do
Left (ImportError l) <- scanPackage $ testDir </> "import_error"
l `shouldBe` [MissingModulePathError ["import_error"] ["foo"]]
Expand Down
2 changes: 1 addition & 1 deletion test/Nirum/VersionSpec.hs
Expand Up @@ -17,7 +17,7 @@ spec = do
version `shouldSatisfy` SV.isDevelopment
it "is the proper version" $
-- is it a necessary test?
version `shouldBe` SV.version 0 2 0 [] []
version `shouldBe` SV.version 0 3 0 [] []
describe "versionText" $ do
it "is equivalent to version" $
versionText `shouldBe` SV.toText version
Expand Down
2 changes: 1 addition & 1 deletion test/import_error/package.toml
@@ -1 +1 @@
version = "0.2.0"
version = "0.3.0"
2 changes: 1 addition & 1 deletion test/metadata_field_value_error/package.toml
@@ -1 +1 @@
version = "0/2/0" # expected a semver (e.g. "0.2.0")
version = "0/3/0" # expected a semver (e.g. "0.3.0")
2 changes: 1 addition & 1 deletion test/metadata_format_error/package.toml
@@ -1,3 +1,3 @@
# Invalid TOML format
# lack of ------v------ closing quote is intended
version = 0.2.0
version = 0.3.0

0 comments on commit 1c2e4c3

Please sign in to comment.