-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from crystal-money/develop
v1.1
- Loading branch information
Showing
17 changed files
with
97 additions
and
92 deletions.
There are no files selected for viewing
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,16 @@ | ||
# This configuration file was generated by `ameba --gen-config` | ||
# on 2020-02-16 01:09:31 UTC using Ameba version 0.11.0. | ||
# The point is for the user to remove these configuration records | ||
# one by one as the reported problems are removed from the code base. | ||
|
||
# Problems found: 8 | ||
# Run `ameba --only Lint/ShadowingOuterLocalVar` for details | ||
Lint/ShadowingOuterLocalVar: | ||
Description: Disallows the usage of the same name as outer local variables for block | ||
or proc arguments. | ||
Enabled: true | ||
Severity: Warning | ||
Excluded: | ||
- spec/bank/variable_exchange_spec.cr | ||
- spec/money/exchange_spec.cr | ||
- spec/money/arithmetic_spec.cr |
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 |
---|---|---|
|
@@ -4,6 +4,7 @@ | |
"name": "Uzbekistan Som", | ||
"symbol": "so'm", | ||
"alternate_symbols": [ | ||
"so‘m", | ||
"сўм", | ||
"сум", | ||
"s", | ||
|
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,14 +1,14 @@ | ||
name: money | ||
version: 1.0.1 | ||
version: 1.1.0 | ||
|
||
authors: | ||
- Sijawusz Pur Rahnama <sija@sija.pl> | ||
|
||
development_dependencies: | ||
ameba: | ||
github: crystal-ameba/ameba | ||
version: ~> 0.11.0 | ||
version: ~> 0.12.0 | ||
|
||
crystal: 0.30.1 | ||
crystal: 0.34.0 | ||
|
||
license: MIT |
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,10 @@ | ||
# https://github.com/crystal-lang/crystal/issues/7856 | ||
struct BigDecimal | ||
def to_json(json : JSON::Builder) | ||
json.string(self) | ||
end | ||
|
||
def to_json_object_key | ||
to_s | ||
end | ||
end |
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
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
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
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
Oops, something went wrong.