tax_jp 1.8.1 → 1.8.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a22458da340561be102b06ce0b706deafdbd9e1543956cb198215932751c1e39
4
- data.tar.gz: 2f30b191e7d4e2117f61e6184b941ef455965a77944b4094b2bd04115b13276a
3
+ metadata.gz: 4d6b7b48012d2de2ba7acb63dc3d476d6b6a589872014c96de5078928ae3c9f4
4
+ data.tar.gz: 7daaeef04d6b8007d75c3a1c5756b6cdfc5f064d48ba7e1cd1a206777db624fc
5
5
  SHA512:
6
- metadata.gz: 912c9b7cc5bedadaca91cd47156d328d1a2f3d9783e2a2bd1c53e0fd7133f59dd2cb9af4a7cb11e9073cf1fcc191e47169274130a431ba7242382a04c24bae0b
7
- data.tar.gz: 44c890bd256fde1801d3422e9e7dcaefc6d59fef87d07c76b68e123a2baa3a7850046468cbd2af32201ffa91631eb3e22ab3e433a5d3f01593e41823126bc902
6
+ metadata.gz: a9db79b4897460b2bcc1d8bbebbd2ad45fd67ae78444861648ffba6b71259db542cf2650d1a123a620aac3d6d81b12d6f979e440f2f4c8f7b728d5482b3ac369
7
+ data.tar.gz: 6537f5ea96cf59fecc5107b75666c2573754cf3aac753b1d2dc1ea83802d1ff446ca100395e8d27e106fad718162922924bf4bd275d8bd4736d27c054c258d15
@@ -3,5 +3,6 @@ create table welfare_pensions (
3
3
  valid_until date not null,
4
4
  general decimal(1,5) not null,
5
5
  particular decimal(1,5) not null,
6
- child_support decimal(1,5) not null
6
+ child_support decimal(1,5) not null,
7
+ child_and_childcare_support decimal(1,5) not null
7
8
  );
@@ -1,17 +1,18 @@
1
- 適用開始日 適用終了日 一般の被保険者(%) 坑内員・船員(%) こども・子育て拠出金(%)
2
- 2006-09-01 2007-08-31 14.642 14.642 0.09
3
- 2007-09-01 2008-08-31 14.996 14.996 0.13
4
- 2008-09-01 2009-08-31 15.35 15.35 0.13
5
- 2009-09-01 2010-08-31 15.704 16.448 0.13
6
- 2010-09-01 2011-08-31 16.058 16.696 0.13
7
- 2011-09-01 2012-08-31 16.412 16.944 0.13
8
- 2012-09-01 2013-08-31 16.766 17.192 0.15
9
- 2013-09-01 2014-08-31 17.12 17.4 0.15
10
- 2014-09-01 2015-08-31 17.474 17.688 0.15
11
- 2015-09-01 2016-03-31 17.828 17.936 0.15
12
- 2016-04-01 2016-08-31 17.828 17.936 0.2
13
- 2016-09-01 2017-08-31 18.182 18.184 0.2
14
- 2017-09-01 2018-03-31 18.3 18.3 0.23
15
- 2018-04-01 2019-03-31 18.3 18.3 0.29
16
- 2019-04-01 2020-03-31 18.3 18.3 0.34
17
- 2020-04-01 2099-12-31 18.3 18.3 0.36
1
+ 適用開始日 適用終了日 一般の被保険者(%) 坑内員・船員(%) こども・子育て拠出金(%) 子ども・子育て支援金(%)
2
+ 2006-09-01 2007-08-31 14.642 14.642 0.09 0
3
+ 2007-09-01 2008-08-31 14.996 14.996 0.13 0
4
+ 2008-09-01 2009-08-31 15.35 15.35 0.13 0
5
+ 2009-09-01 2010-08-31 15.704 16.448 0.13 0
6
+ 2010-09-01 2011-08-31 16.058 16.696 0.13 0
7
+ 2011-09-01 2012-08-31 16.412 16.944 0.13 0
8
+ 2012-09-01 2013-08-31 16.766 17.192 0.15 0
9
+ 2013-09-01 2014-08-31 17.12 17.4 0.15 0
10
+ 2014-09-01 2015-08-31 17.474 17.688 0.15 0
11
+ 2015-09-01 2016-03-31 17.828 17.936 0.15 0
12
+ 2016-04-01 2016-08-31 17.828 17.936 0.2 0
13
+ 2016-09-01 2017-08-31 18.182 18.184 0.2 0
14
+ 2017-09-01 2018-03-31 18.3 18.3 0.23 0
15
+ 2018-04-01 2019-03-31 18.3 18.3 0.29 0
16
+ 2019-04-01 2020-03-31 18.3 18.3 0.34 0
17
+ 2020-04-01 2026-03-31 18.3 18.3 0.36 0
18
+ 2026-04-01 2099-12-31 18.3 18.3 0.36 0.23
@@ -37,7 +37,8 @@ module TaxJp
37
37
  :grade => @grade,
38
38
  :valid_from => row[15], :valid_until => row[16],
39
39
  :general => row[17], :particular => row[18],
40
- :child_support => row[19])
40
+ :child_support => row[19],
41
+ :child_and_childcare_support => row[20])
41
42
  end
42
43
 
43
44
  def valid_from
@@ -95,7 +95,7 @@ class TaxJp::SocialInsurances::DbBuilder < TaxJp::DbBuilder
95
95
  end
96
96
 
97
97
  def insert_sql_welfare_pensions
98
- columns = %w{valid_from valid_until general particular child_support}
98
+ columns = %w{valid_from valid_until general particular child_support child_and_childcare_support}
99
99
 
100
100
  ret = String.new('insert into welfare_pensions ( ')
101
101
  ret << columns.join(',')
@@ -3,6 +3,7 @@ class TaxJp::SocialInsurances::WelfarePension
3
3
  attr_reader :valid_from, :valid_until
4
4
  attr_reader :general, :particular
5
5
  attr_reader :child_support
6
+ attr_reader :child_and_childcare_support
6
7
 
7
8
  attr_accessor :grade
8
9
  attr_writer :salary
@@ -17,12 +18,14 @@ class TaxJp::SocialInsurances::WelfarePension
17
18
  @general= attrs[:general]
18
19
  @particular= attrs[:particular]
19
20
  @child_support = attrs[:child_support]
21
+ @child_and_childcare_support = attrs[:child_and_childcare_support]
20
22
  elsif attrs.is_a?(Array)
21
23
  @valid_from = attrs[0]
22
24
  @valid_until = attrs[1]
23
25
  @general= attrs[2]
24
26
  @particular= attrs[3]
25
27
  @child_support = attrs[4]
28
+ @child_and_childcare_support = attrs[5]
26
29
  end
27
30
  end
28
31
 
@@ -1,3 +1,3 @@
1
1
  module TaxJp
2
- VERSION = '1.8.1'
2
+ VERSION = '1.8.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tax_jp
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.1
4
+ version: 1.8.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - ichylinux
@@ -71,9 +71,6 @@ dependencies:
71
71
  - - ">="
72
72
  - !ruby/object:Gem::Version
73
73
  version: '1.6'
74
- - - "<"
75
- - !ruby/object:Gem::Version
76
- version: '2.0'
77
74
  type: :runtime
78
75
  prerelease: false
79
76
  version_requirements: !ruby/object:Gem::Requirement
@@ -81,9 +78,6 @@ dependencies:
81
78
  - - ">="
82
79
  - !ruby/object:Gem::Version
83
80
  version: '1.6'
84
- - - "<"
85
- - !ruby/object:Gem::Version
86
- version: '2.0'
87
81
  description: 税金計算ライブラリ
88
82
  email:
89
83
  - ichylinux@gmail.com