tax_jp 1.8.0 → 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: 12005823b34eee9ed8011a4d4adb63576b5e7e491de658a4b3aa5b58227c8952
4
- data.tar.gz: 6e8a2d3e959a83f4665b8954b5ed1c82c5cc7a8b150148f35c73333c39651bf4
3
+ metadata.gz: 4d6b7b48012d2de2ba7acb63dc3d476d6b6a589872014c96de5078928ae3c9f4
4
+ data.tar.gz: 7daaeef04d6b8007d75c3a1c5756b6cdfc5f064d48ba7e1cd1a206777db624fc
5
5
  SHA512:
6
- metadata.gz: 2a04bf547eedd4364905d5fa85aa0c5d72d111c21b922757c598230033c2b85d2dd5751bd79919334a8b4579d4596b78eec230fd8b8d23534231ee918a5e4579
7
- data.tar.gz: '03038c8c281fd65d8716ce2bc9c21eb470de1b237c77a7f86a75cce6614b377b8d5d4af47374c9d0ae0a684ad5d2fc8ba0f845fbab0126ef624b22924a871d0d'
6
+ metadata.gz: a9db79b4897460b2bcc1d8bbebbd2ad45fd67ae78444861648ffba6b71259db542cf2650d1a123a620aac3d6d81b12d6f979e440f2f4c8f7b728d5482b3ac369
7
+ data.tar.gz: 6537f5ea96cf59fecc5107b75666c2573754cf3aac753b1d2dc1ea83802d1ff446ca100395e8d27e106fad718162922924bf4bd275d8bd4736d27c054c258d15
data/Rakefile CHANGED
@@ -3,8 +3,6 @@ require "bundler/setup"
3
3
  APP_RAKEFILE = File.expand_path("test/dummy/Rakefile", __dir__)
4
4
  load "rails/tasks/engine.rake"
5
5
 
6
- load "rails/tasks/statistics.rake"
7
-
8
6
  require "bundler/gem_tasks"
9
7
 
10
8
  Dir.glob('lib/build_tasks/*.rake').each do |f|
@@ -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
  );
@@ -0,0 +1,48 @@
1
+ 都道府県 一般保険料率(%) 介護保険料率(%) 特定保険料率(%) 基本保険料率(%)
2
+ 北海道 10.28 1.62 3.24 7.04
3
+ 青森県 9.85 1.62 3.24 6.61
4
+ 岩手県 9.51 1.62 3.24 6.27
5
+ 宮城県 10.10 1.62 3.24 6.86
6
+ 秋田県 10.01 1.62 3.24 6.77
7
+ 山形県 9.75 1.62 3.24 6.51
8
+ 福島県 9.50 1.62 3.24 6.26
9
+ 茨城県 9.52 1.62 3.24 6.28
10
+ 栃木県 9.82 1.62 3.24 6.58
11
+ 群馬県 9.68 1.62 3.24 6.44
12
+ 埼玉県 9.67 1.62 3.24 6.43
13
+ 千葉県 9.73 1.62 3.24 6.49
14
+ 東京都 9.85 1.62 3.24 6.61
15
+ 神奈川県 9.92 1.62 3.24 6.68
16
+ 新潟県 9.21 1.62 3.24 5.97
17
+ 富山県 9.59 1.62 3.24 6.35
18
+ 石川県 9.70 1.62 3.24 6.46
19
+ 福井県 9.71 1.62 3.24 6.47
20
+ 山梨県 9.55 1.62 3.24 6.31
21
+ 長野県 9.63 1.62 3.24 6.39
22
+ 岐阜県 9.80 1.62 3.24 6.56
23
+ 静岡県 9.61 1.62 3.24 6.37
24
+ 愛知県 9.93 1.62 3.24 6.69
25
+ 三重県 9.77 1.62 3.24 6.53
26
+ 滋賀県 9.88 1.62 3.24 6.64
27
+ 京都府 9.89 1.62 3.24 6.65
28
+ 大阪府 10.13 1.62 3.24 6.89
29
+ 兵庫県 10.12 1.62 3.24 6.88
30
+ 奈良県 9.91 1.62 3.24 6.67
31
+ 和歌山県 10.06 1.62 3.24 6.82
32
+ 鳥取県 9.86 1.62 3.24 6.62
33
+ 島根県 9.94 1.62 3.24 6.70
34
+ 岡山県 10.05 1.62 3.24 6.81
35
+ 広島県 9.78 1.62 3.24 6.54
36
+ 山口県 10.15 1.62 3.24 6.91
37
+ 徳島県 10.24 1.62 3.24 7.00
38
+ 香川県 10.02 1.62 3.24 6.78
39
+ 愛媛県 9.98 1.62 3.24 6.74
40
+ 高知県 10.05 1.62 3.24 6.81
41
+ 福岡県 10.11 1.62 3.24 6.87
42
+ 佐賀県 10.55 1.62 3.24 7.31
43
+ 長崎県 10.06 1.62 3.24 6.82
44
+ 熊本県 10.08 1.62 3.24 6.84
45
+ 大分県 10.08 1.62 3.24 6.84
46
+ 宮崎県 9.77 1.62 3.24 6.53
47
+ 鹿児島県 10.13 1.62 3.24 6.89
48
+ 沖縄県 9.44 1.62 3.24 6.20
@@ -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
@@ -45,7 +45,7 @@ class TaxJp::SocialInsurances::DbBuilder < TaxJp::DbBuilder
45
45
  values << (row[1].to_f * 0.01).round(4)
46
46
  values << (row[2].to_f * 0.01).round(4)
47
47
  values << (row[3].to_f * 0.01).round(4)
48
- values << (row[3].to_f * 0.01).round(4)
48
+ values << (row[4].to_f * 0.01).round(4)
49
49
  db.execute(insert_sql_health_insurance, values)
50
50
  end
51
51
  end
@@ -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.0'
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.0
4
+ version: 1.8.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - ichylinux
@@ -24,20 +24,6 @@ dependencies:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '5.3'
27
- - !ruby/object:Gem::Dependency
28
- name: concurrent-ruby
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - "<"
32
- - !ruby/object:Gem::Version
33
- version: 1.3.5
34
- type: :runtime
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - "<"
39
- - !ruby/object:Gem::Version
40
- version: 1.3.5
41
27
  - !ruby/object:Gem::Dependency
42
28
  name: csv
43
29
  requirement: !ruby/object:Gem::Requirement
@@ -85,9 +71,6 @@ dependencies:
85
71
  - - ">="
86
72
  - !ruby/object:Gem::Version
87
73
  version: '1.6'
88
- - - "<"
89
- - !ruby/object:Gem::Version
90
- version: '2.0'
91
74
  type: :runtime
92
75
  prerelease: false
93
76
  version_requirements: !ruby/object:Gem::Requirement
@@ -95,9 +78,6 @@ dependencies:
95
78
  - - ">="
96
79
  - !ruby/object:Gem::Version
97
80
  version: '1.6'
98
- - - "<"
99
- - !ruby/object:Gem::Version
100
- version: '2.0'
101
81
  description: 税金計算ライブラリ
102
82
  email:
103
83
  - ichylinux@gmail.com
@@ -187,6 +167,7 @@ files:
187
167
  - data/社会保険料/健康保険-20230301-20240229.tsv
188
168
  - data/社会保険料/健康保険-20240301-20250228.tsv
189
169
  - data/社会保険料/健康保険-20250301-20260228.tsv
170
+ - data/社会保険料/健康保険-20260301-20270228.tsv
190
171
  - data/社会保険料/厚生年金.tsv
191
172
  - data/社会保険料/旧健康保険.tsv
192
173
  - data/社会保険料/等級-20001001-20080831.tsv
@@ -252,7 +233,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
252
233
  - !ruby/object:Gem::Version
253
234
  version: '0'
254
235
  requirements: []
255
- rubygems_version: 3.6.9
236
+ rubygems_version: 3.7.2
256
237
  specification_version: 4
257
238
  summary: 税金計算ライブラリ
258
239
  test_files: []