active_decimal 0.0.1 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.travis.yml +10 -0
- data/README.md +2 -0
- data/lib/active_decimal/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e04686a11563aab929f8e3a9534c70a00bb9432d
|
|
4
|
+
data.tar.gz: 43ea457b5e0dd85e2bde64d4cd569b58db1c2d98
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 39638ae182005bd555d777b62adc61364c41c8a91e9fa2f140c5bb16b517e7145ca32c399e2a8f8c2cb450b28722df1c0223987954c6a2f162e93a55fb6b8007
|
|
7
|
+
data.tar.gz: fff67582f700ade3dccbee32021739eccb1cd3d8739f4825e1495fea536753eb9c0a1a8e14842f57ff3942c7895384f5f5138ffae0f15981f3f77f02eaa98f7d
|
data/.travis.yml
ADDED
data/README.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# ActiveDecimal - Word-number mapping for human readable code
|
|
2
2
|
|
|
3
|
+
[](http://badge.fury.io/rb/active_decimal) [](https://travis-ci.org/zenkalia/active_decimal)
|
|
4
|
+
|
|
3
5
|
When working with numbers there are a number of slippery slopes. When dealing with large numbers, for example, you can accidentally put too many or too few zeros. It's dangerous to be typing out novemdecillions by hand. ActiveDecimal to the rescue. Bill Gates isn't worth $`78200000000`, he's worth $`78.2.billion`.
|
|
4
6
|
|
|
5
7
|
In addition to large numbers, ActiveDecimal will also make small numbers easy to manage and human readable. Rather than writing `0.125` or `1.0/8` (don't you hate adding `.0` to make something a float?) you can write `1.eighth`. Or if you're talking about statistics in your DnD game, you could use `4.twentieths`.
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: active_decimal
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0
|
|
4
|
+
version: 0.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Mike Kendall
|
|
@@ -74,6 +74,7 @@ extensions: []
|
|
|
74
74
|
extra_rdoc_files: []
|
|
75
75
|
files:
|
|
76
76
|
- .gitignore
|
|
77
|
+
- .travis.yml
|
|
77
78
|
- Gemfile
|
|
78
79
|
- LICENSE.txt
|
|
79
80
|
- README.md
|