Skip to content

Commit

Permalink
Merge pull request #32 from at-grandpa/fix-0.25.0
Browse files Browse the repository at this point in the history
fix 0.25.0
  • Loading branch information
at-grandpa authored Jun 21, 2018
2 parents d69c703 + b9966b1 commit 237c758
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Add this to your application's `shard.yml`:
dependencies:
clim:
github: at-grandpa/clim
version: 0.3.1
version: 0.3.2
```
## Minimum sample
Expand Down
4 changes: 2 additions & 2 deletions shard.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: clim
version: 0.3.1
version: 0.3.2

authors:
- at-grandpa <@at_grandpa>
Expand All @@ -8,6 +8,6 @@ targets:
clim:
main: src/clim.cr

crystal: 0.24.2
crystal: 0.25.0

license: MIT
10 changes: 5 additions & 5 deletions spec/clim/dsl_spec/custom_help_spec.cr
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ require "../../dsl_spec"
spec(
spec_class_name: OptionTypeSpec,
spec_dsl_lines: [
"desc \"my desc message.\"",
"usage \"my usage message.\"",
"option \"--uint8=VALUE\", type: UInt8",
"option \"--uint16=VALUE\", type: UInt16",
<<-CUSTOM_HELP
custom_help do |desc, usage, options_help|
<<-MY_HELP
Expand All @@ -27,11 +31,7 @@ spec(
\#{options_help}
MY_HELP
end
CUSTOM_HELP,
"desc \"my desc message.\"",
"usage \"my usage message.\"",
"option \"--uint8=VALUE\", type: UInt8",
"option \"--uint16=VALUE\", type: UInt16",
CUSTOM_HELP
],
spec_desc: "option type spec,",
spec_cases: [
Expand Down
2 changes: 1 addition & 1 deletion src/clim/types.cr
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ class Clim
end
obj === "true"
end
PROCESS,
PROCESS
},
Array(Int8) => {
type: "array",
Expand Down
2 changes: 1 addition & 1 deletion src/clim/version.cr
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
class Clim
VERSION = "0.3.1"
VERSION = "0.3.2"
end

0 comments on commit 237c758

Please sign in to comment.