math_util 0.1.1 → 0.1.2

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
- SHA1:
3
- metadata.gz: 8a40f91bddeff87649cfcccd08226b77df214475
4
- data.tar.gz: e556a19752fc23d5982c9acbf51867e02b1b686d
2
+ SHA256:
3
+ metadata.gz: 859ecf8bf08a1c44d0359c9f9f506ff2a23e12a1c3d188e8d780c68e93c77432
4
+ data.tar.gz: d01d16548a3a54c03a9b98785ac90a85982cd5ef8e47a7cfd6803035874ff5da
5
5
  SHA512:
6
- metadata.gz: bdca7611ed28cf112be47ab28a14f5d91c9bf6b66f8cf04c283fd6523b87fbefb6075d76caf72c68cce4cd227b4887fcff36f276b19e2ce99e224cf2386ace2a
7
- data.tar.gz: 2c4fa734064db37c2ecb44da4bca18d7d2dd68e2524bc34244ed074dd582078106b1364fde2b86efd1c6078f1a8ab790bbd174fb6d505109ea2452dda1bfd019
6
+ metadata.gz: 57d6ca6a9ba702817ed636255675de211e1efa8a45c92645e69c4b322a5ce2818f42b27efb2101d5e5e61e4b8c59320226ff39b873e61f658f896805728bc1b0
7
+ data.tar.gz: b79bc115359c1538e6191a0c805ca84da0e9625d5479e619758a98a725267a1e3f8a085a432a87bde7951ad70eaa27c07bf0f671604758de661b30dfa055a288
@@ -1,3 +1,3 @@
1
1
  module MathUtil
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
data/lib/math_util.rb CHANGED
@@ -27,6 +27,6 @@ module MathUtil
27
27
  end
28
28
 
29
29
  def self.annual_tax_day_equivalent(annual_tax)
30
- BigDecimal.new((1 + annual_tax) ** (1/252.0) - 1, 16) if annual_tax
30
+ BigDecimal((1 + annual_tax) ** (1/252.0) - 1, 16) if annual_tax
31
31
  end
32
32
  end
data/math_util.gemspec CHANGED
@@ -20,6 +20,6 @@ Gem::Specification.new do |spec|
20
20
  end
21
21
  spec.require_paths = ["lib"]
22
22
 
23
- spec.add_development_dependency "bundler", "~> 1.13"
23
+ spec.add_development_dependency "bundler", "~> 2.4"
24
24
  spec.add_development_dependency "rspec", "~> 3.0"
25
25
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: math_util
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adriano Bacha
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-01-10 00:00:00.000000000 Z
11
+ date: 2023-11-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.13'
19
+ version: '2.4'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '1.13'
26
+ version: '2.4'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rspec
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -75,8 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubyforge_project:
79
- rubygems_version: 2.5.2.1
78
+ rubygems_version: 3.4.10
80
79
  signing_key:
81
80
  specification_version: 4
82
81
  summary: Math functions