aga-money 0.0.5 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/money/resources/helpers/controls/gain.rb +3 -2
- data/lib/money/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a7bcba80594c066f5756f04f600bb6ef54ebe60b83928651994c0ab5a84609b9
|
4
|
+
data.tar.gz: b33b9948aa7fee08f10ed51d919b142004a10421506531de8290ac285f0a7611
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8548315504219dedc93fb1bfe4dfe31d2963cf55efc77070880355d96414a68316493f8eb745a1a38e28be0420d1fdee7d9b8a7992ac225d386f11db51f47e0d
|
7
|
+
data.tar.gz: 675e7f89d4d010817f37002ee2592cf4b4f5eabc66499b7785faebed7a32965b39672aa7e5a9698350fc49dd934969641989f542f2e076553e6ad3d5237312db
|
@@ -10,7 +10,7 @@ module Money
|
|
10
10
|
MIN_NUMBER = 0.0000000001
|
11
11
|
MAX_PERC = 0.1
|
12
12
|
|
13
|
-
SET_PERC =
|
13
|
+
SET_PERC = 0.5
|
14
14
|
|
15
15
|
def initialize(pairs)
|
16
16
|
@pairs = pairs
|
@@ -31,7 +31,8 @@ module Money
|
|
31
31
|
percentage = percentage(detection).round(3)
|
32
32
|
return false if percentage < SET_PERC
|
33
33
|
|
34
|
-
|
34
|
+
true
|
35
|
+
#percentage >= computation_percentage(price).round(3)
|
35
36
|
end
|
36
37
|
|
37
38
|
# rubocop: disable Lint/MissingCopEnableDirective
|
data/lib/money/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aga-money
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stefano Baldazzi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-08-
|
11
|
+
date: 2023-08-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: zeitwerk
|
@@ -263,5 +263,5 @@ requirements: []
|
|
263
263
|
rubygems_version: 3.3.24
|
264
264
|
signing_key:
|
265
265
|
specification_version: 4
|
266
|
-
summary: aga-money0.0.
|
266
|
+
summary: aga-money0.0.7
|
267
267
|
test_files: []
|