-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix nil value issue with coercible floats (#30)
Fix nil crash issue with CoercibleType definition
- Loading branch information
Showing
13 changed files
with
28 additions
and
3 deletions.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,4 +8,5 @@ | |
/tmp/ | ||
/bin/ | ||
*.swp | ||
.approvals | ||
spec/examples.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
PATH | ||
remote: . | ||
specs: | ||
definition (0.7.0) | ||
definition (0.7.1) | ||
activesupport | ||
i18n | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# frozen_string_literal: true | ||
|
||
module Definition | ||
VERSION = "0.7.0" | ||
VERSION = "0.7.1" | ||
end |
3 changes: 3 additions & 0 deletions
3
...coercible_nil_value/behaves_like_it_does_not_conform/has_correct_error_hash.approved.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"": "<Definition::ConformError \n\t message: \"Is of type NilClass instead of Float\", \n\t json_pointer: \"/\">" | ||
} |
3 changes: 3 additions & 0 deletions
3
...coercible_nil_value/behaves_like_it_does_not_conform/has_correct_error_hash.received.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"": "<Definition::ConformError \n\t message: \"Is of type NilClass instead of Float\", \n\t json_pointer: \"/\">" | ||
} |
1 change: 1 addition & 0 deletions
1
...ercible_nil_value/behaves_like_it_does_not_conform/has_correct_error_message.approved.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Is of type NilClass instead of Float |
1 change: 1 addition & 0 deletions
1
...ercible_nil_value/behaves_like_it_does_not_conform/has_correct_error_message.received.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Is of type NilClass instead of Float |
3 changes: 3 additions & 0 deletions
3
...th_incoercible_nil_value/behaves_like_it_does_not_conform/has_correct_errors.approved.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[0] <Definition::ConformError | ||
message: "Is of type NilClass instead of Float", | ||
json_pointer: "/"> |
3 changes: 3 additions & 0 deletions
3
...th_incoercible_nil_value/behaves_like_it_does_not_conform/has_correct_errors.received.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[0] <Definition::ConformError | ||
message: "Is of type NilClass instead of Float", | ||
json_pointer: "/"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters