Skip to content

Commit

Permalink
0.29.0
Browse files Browse the repository at this point in the history
  • Loading branch information
at-grandpa committed Jun 14, 2019
1 parent d9fc415 commit 0400a28
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 7 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ crystal:
- latest

script:
- make format-check
- make spec
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,7 @@ spec: $(SPEC_FILES)
$(SPEC_FILES):
crystal spec $@ $(SPEC_OPTS)

.PHONY: spec $(SPEC_FILES)
format-check:
crystal tool format --check

.PHONY: spec $(SPEC_FILES) format
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.6.0
version: 0.7.0
```
## 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.6.0
version: 0.7.0

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

crystal: 0.28.0
crystal: 0.29.0

license: MIT
2 changes: 1 addition & 1 deletion spec/clim/command_spec.cr
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require "./../../spec_helper"
require "../spec_helper"

class SpecCommand < Clim
main do
Expand Down
2 changes: 1 addition & 1 deletion spec/clim/extension_spec.cr
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ describe Array do
["a", "b", "a", "b", "c"].duplicate_value.should eq ["a", "b"]
[1, 1, 2, 2, 3].duplicate_value.should eq [1, 2]
[1, 1, "a", "a", 3].duplicate_value.should eq [1, "a"]
[1, "a", 2, "b"].duplicate_value.should eq [] of String | Int32
[1, "a", 2, "b"].duplicate_value.should eq [] of String | Int32
([] of String | Int32).duplicate_value.should eq [] of String | Int32
end
end
Expand Down
2 changes: 2 additions & 0 deletions src/clim/exception.cr
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
class Clim
class ClimException < Exception
end

class ClimInvalidOptionException < Exception
end

class ClimInvalidTypeCastException < Exception
end
end
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.6.0"
VERSION = "0.7.0"
end

0 comments on commit 0400a28

Please sign in to comment.