tax_easy 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/lib/tax_easy/financial/brazil/iof.rb +3 -5
- data/lib/tax_easy/version.rb +1 -1
- metadata +17 -4
- data/lib/tasks/tax_easy_tasks.rake +0 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5b78607d11b9e42ffec11218db0c68d9078a7c32
|
4
|
+
data.tar.gz: 408f3659ddc14b86363deb1262820cc11d267163
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 418fcd88d21a527a0c4a3123b0d697ffa156cb0b11e5b07acf3e10361d307373c30b449eb63b9c3acd9436ca280cd51a59ad64f1345d5f48ecb724437f26f993
|
7
|
+
data.tar.gz: 789e49717599c68557ae36786648ffd09dd90dc1e127716cd7cc7066288299d559c6785196b0fe808050028623cb29281a8ab3bcad2f263c8161939052694d00
|
@@ -4,12 +4,10 @@ module TaxEasy
|
|
4
4
|
module Financial
|
5
5
|
module Brazil
|
6
6
|
class IOF
|
7
|
-
|
8
|
-
DEFAULT_IOF_ADDITIONAL = 0.0038
|
9
|
-
|
7
|
+
|
10
8
|
def initialize(overrides = {})
|
11
|
-
@iof_day = overrides.fetch(:iof_day) {
|
12
|
-
@iof_additional = overrides.fetch(:iof_additional) {
|
9
|
+
@iof_day = overrides.fetch(:iof_day) { 0.000041 }
|
10
|
+
@iof_additional = overrides.fetch(:iof_additional) { 0.0038 }
|
13
11
|
@installment_calculator = overrides.fetch(:installment_calculator) { TaxEasy::Calculator::Installment.new }
|
14
12
|
end
|
15
13
|
|
data/lib/tax_easy/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tax_easy
|
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
|
- Victor Alencar
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-06-
|
11
|
+
date: 2016-06-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: exonio
|
@@ -52,7 +52,21 @@ dependencies:
|
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: 3.1.0
|
55
|
-
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rake
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '10.0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '10.0'
|
69
|
+
description: TaxEasy - Gem to Calculate Taxes - So feel free to contribute!
|
56
70
|
email:
|
57
71
|
- victor.a.alencar@gmail.com
|
58
72
|
executables: []
|
@@ -61,7 +75,6 @@ extra_rdoc_files: []
|
|
61
75
|
files:
|
62
76
|
- MIT-LICENSE
|
63
77
|
- Rakefile
|
64
|
-
- lib/tasks/tax_easy_tasks.rake
|
65
78
|
- lib/tax_easy.rb
|
66
79
|
- lib/tax_easy/calculator/installment.rb
|
67
80
|
- lib/tax_easy/financial/brazil/iof.rb
|