death_and_taxes 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -34,7 +34,7 @@ module DeathAndTaxes
34
34
  taxes = [taxes] unless taxes.is_a? Array
35
35
 
36
36
  self.taxations = taxes.collect do |tax|
37
- Taxation.new :amount => tax.apply(amount), :percentage => tax.percentage, :name => tax.name, :account_number => tax.account_number
37
+ Taxation.new :amount => tax.apply(amount).round, :percentage => tax.percentage, :name => tax.name, :account_number => tax.account_number
38
38
  end
39
39
  end
40
40
  end
@@ -1,3 +1,3 @@
1
1
  module DeathAndTaxes
2
- VERSION = '0.0.2'
2
+ VERSION = '0.0.3'
3
3
  end
metadata CHANGED
@@ -1,60 +1,45 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: death_and_taxes
3
- version: !ruby/object:Gem::Version
4
- hash: 27
5
- prerelease: false
6
- segments:
7
- - 0
8
- - 0
9
- - 2
10
- version: 0.0.2
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.3
5
+ prerelease:
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Guillaume Malette
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2011-08-09 00:00:00 -04:00
12
+ date: 2011-08-09 00:00:00.000000000 -04:00
19
13
  default_executable:
20
- dependencies:
21
- - !ruby/object:Gem::Dependency
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
22
16
  name: rails
23
- prerelease: false
24
- requirement: &id001 !ruby/object:Gem::Requirement
17
+ requirement: &2153414940 !ruby/object:Gem::Requirement
25
18
  none: false
26
- requirements:
27
- - - ">="
28
- - !ruby/object:Gem::Version
29
- hash: 3
30
- segments:
31
- - 0
32
- version: "0"
19
+ requirements:
20
+ - - ! '>='
21
+ - !ruby/object:Gem::Version
22
+ version: '0'
33
23
  type: :runtime
34
- version_requirements: *id001
35
- - !ruby/object:Gem::Dependency
36
- name: sqlite3
37
24
  prerelease: false
38
- requirement: &id002 !ruby/object:Gem::Requirement
25
+ version_requirements: *2153414940
26
+ - !ruby/object:Gem::Dependency
27
+ name: sqlite3
28
+ requirement: &2153414520 !ruby/object:Gem::Requirement
39
29
  none: false
40
- requirements:
41
- - - ">="
42
- - !ruby/object:Gem::Version
43
- hash: 3
44
- segments:
45
- - 0
46
- version: "0"
30
+ requirements:
31
+ - - ! '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
47
34
  type: :development
48
- version_requirements: *id002
35
+ prerelease: false
36
+ version_requirements: *2153414520
49
37
  description: Death and Taxes allows to 'easily' calculate taxes on a model
50
38
  email: gmalette@gmail.com
51
39
  executables: []
52
-
53
40
  extensions: []
54
-
55
41
  extra_rdoc_files: []
56
-
57
- files:
42
+ files:
58
43
  - .document
59
44
  - .gitignore
60
45
  - Gemfile
@@ -80,39 +65,30 @@ files:
80
65
  - test/helper.rb
81
66
  - test/test_death_and_taxes.rb
82
67
  has_rdoc: true
83
- homepage: ""
68
+ homepage: ''
84
69
  licenses: []
85
-
86
70
  post_install_message:
87
71
  rdoc_options: []
88
-
89
- require_paths:
72
+ require_paths:
90
73
  - lib
91
- required_ruby_version: !ruby/object:Gem::Requirement
74
+ required_ruby_version: !ruby/object:Gem::Requirement
92
75
  none: false
93
- requirements:
94
- - - ">="
95
- - !ruby/object:Gem::Version
96
- hash: 3
97
- segments:
98
- - 0
99
- version: "0"
100
- required_rubygems_version: !ruby/object:Gem::Requirement
76
+ requirements:
77
+ - - ! '>='
78
+ - !ruby/object:Gem::Version
79
+ version: '0'
80
+ required_rubygems_version: !ruby/object:Gem::Requirement
101
81
  none: false
102
- requirements:
103
- - - ">="
104
- - !ruby/object:Gem::Version
105
- hash: 3
106
- segments:
107
- - 0
108
- version: "0"
82
+ requirements:
83
+ - - ! '>='
84
+ - !ruby/object:Gem::Version
85
+ version: '0'
109
86
  requirements: []
110
-
111
87
  rubyforge_project:
112
- rubygems_version: 1.3.7
88
+ rubygems_version: 1.6.2
113
89
  signing_key:
114
90
  specification_version: 3
115
91
  summary: Tax calculations
116
- test_files:
92
+ test_files:
117
93
  - test/helper.rb
118
94
  - test/test_death_and_taxes.rb