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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9f303f65864890d1b3241eeacdabb695f32001f79e6910e53f8458da529a5c3d
4
- data.tar.gz: 5a076795221e3be7d081576cace2e5122e4eff778054d9703b149e122ca23d71
3
+ metadata.gz: a7bcba80594c066f5756f04f600bb6ef54ebe60b83928651994c0ab5a84609b9
4
+ data.tar.gz: b33b9948aa7fee08f10ed51d919b142004a10421506531de8290ac285f0a7611
5
5
  SHA512:
6
- metadata.gz: 6aea16fa122e2233783b34a731f68ac8148f8f99178e3a702c9e72f7d7e20816c79ec86e636be18a66c8b8ab07808d8f20466a709a706c46829046cdc8e5bca9
7
- data.tar.gz: 17941440ab9db37535c83f2d1a012587dcf53cad97085a929ae88576156c0eaea60393aa81ed6f0c1d57f65099cb3126e12de3e5e7372e684a0c8b43938c7b2f
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 = 1.0
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
- percentage >= computation_percentage(price).round(3)
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Money
4
- VERSION = '0.0.5'
4
+ VERSION = '0.0.7'
5
5
  end
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.5
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-07 00:00:00.000000000 Z
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.5
266
+ summary: aga-money0.0.7
267
267
  test_files: []