splittable 0.0.1 → 0.0.2
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/.gitignore +3 -2
- data/CHANGELOG.md +6 -0
- data/Gemfile.lock +1 -1
- data/README.md +2 -0
- data/lib/splittable/version.rb +1 -1
- data/splittable.gemspec +5 -2
- metadata +8 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 833ea6cdda26baeca68d106309a33f14b4d74e65455c3435325c38763b192634
|
|
4
|
+
data.tar.gz: e9b7541a8c607ef61391d0df865153fa2ed7e5096a8d7a549f27203c34a5c67e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b34f0da34a89af96d72927ae40e0c12dc35bd11de7b8f5ca9003973bfb557e23ec29b6b6b0cdcd7f349c708730440205df816500431de81fd1fddeb0240a3fe0
|
|
7
|
+
data.tar.gz: 3353de9bba0f637aede703abe8cceacb597632f661430ba337a8fad541293b821567bce9c34a313dd99dc8e43afbd9f9ef5243c51e13f4c3ddde0a6034cb8a66
|
data/.gitignore
CHANGED
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# Splittable
|
|
2
2
|
|
|
3
|
+
[](https://badge.fury.io/rb/splittable)
|
|
4
|
+
|
|
3
5
|
## Goal
|
|
4
6
|
|
|
5
7
|
This gem solves the problem of several decimal places in divisions where the result must be presented in cents, that is converting the division result to only two decimal places and the difference is attributed to the first plot.
|
data/lib/splittable/version.rb
CHANGED
data/splittable.gemspec
CHANGED
|
@@ -10,8 +10,11 @@ Gem::Specification.new do |spec|
|
|
|
10
10
|
|
|
11
11
|
spec.license = 'MIT'
|
|
12
12
|
|
|
13
|
-
spec.summary = 'Calculate division and normalize parcels.'
|
|
14
|
-
spec.description = '
|
|
13
|
+
spec.summary = 'Calculate division and normalize parcels to use just cents.'
|
|
14
|
+
spec.description = 'This gem solves the problem of several decimal places in divisions
|
|
15
|
+
where the result must be presented in cents, that is converting the
|
|
16
|
+
division result to only two decimal places and the difference is
|
|
17
|
+
attributed to the first plot.'
|
|
15
18
|
spec.homepage = 'https://github.com/Pagnet/splittable'
|
|
16
19
|
spec.required_ruby_version = Gem::Requirement.new('>= 2.5.3')
|
|
17
20
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: splittable
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Arthur Brandão
|
|
@@ -9,9 +9,13 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: exe
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2021-01-
|
|
12
|
+
date: 2021-01-25 00:00:00.000000000 Z
|
|
13
13
|
dependencies: []
|
|
14
|
-
description:
|
|
14
|
+
description: |-
|
|
15
|
+
This gem solves the problem of several decimal places in divisions
|
|
16
|
+
where the result must be presented in cents, that is converting the
|
|
17
|
+
division result to only two decimal places and the difference is
|
|
18
|
+
attributed to the first plot.
|
|
15
19
|
email:
|
|
16
20
|
- arthur_aebc@hotmail.com
|
|
17
21
|
- marcelotoledo5000@gmail.com
|
|
@@ -67,5 +71,5 @@ requirements: []
|
|
|
67
71
|
rubygems_version: 3.0.3
|
|
68
72
|
signing_key:
|
|
69
73
|
specification_version: 4
|
|
70
|
-
summary: Calculate division and normalize parcels.
|
|
74
|
+
summary: Calculate division and normalize parcels to use just cents.
|
|
71
75
|
test_files: []
|