tax_jp 1.1.7 → 1.1.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/data//345/212/264/345/203/215/344/277/235/351/231/272//351/233/207/347/224/250/344/277/235/351/231/272.tsv +1 -1
- data/data//346/272/220/346/263/211/345/276/264/345/217/216/347/250/216//346/272/220/346/263/211/345/276/264/345/217/216/347/250/216/346/234/210/351/241/{215-20200101-20201231.tsv → 215-20200101-20211231.tsv} +0 -0
- data/data//346/272/220/346/263/211/345/276/264/345/217/216/347/250/216//346/272/220/346/263/211/345/276/264/345/217/216/347/250/216/350/263/236/344/270/{216-20200101-20201231.tsv → 216-20200101-20211231.tsv} +0 -0
- data/data//346/272/220/346/263/211/345/276/264/345/217/216/347/250/216/346/234/210/351/241/215.db +0 -0
- data/data//346/272/220/346/263/211/345/276/264/345/217/216/347/250/216/350/263/236/344/270/216.db +0 -0
- data/data//347/244/276/344/274/232/344/277/235/351/231/272/346/226/231.db +0 -0
- data/data//347/244/276/344/274/232/344/277/235/351/231/272/346/226/231//345/201/245/345/272/267/344/277/235/351/231/272-20210301-20220228.tsv +48 -0
- data/data//351/233/207/347/224/250/344/277/235/351/231/272/346/226/231.db +0 -0
- data/lib/tax_jp/social_insurances/health_insurance.rb +3 -1
- data/lib/tax_jp/social_insurances/welfare_pension.rb +3 -1
- data/lib/tax_jp/utils.rb +1 -1
- data/lib/tax_jp/version.rb +1 -1
- metadata +11 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 405f64cdabf837c58fb21dfa11b50c82382891a0d85855e2dd622b5b876643bc
|
4
|
+
data.tar.gz: a25b245f50ef276d9feaddef34b5cf5353331cf476f44eb7d3a515b16e274d6e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cffe7cc8904c8b75a53d16125ad2404e725a33763358af8e0611abc10a0afab7adf3390171260ed0fefab5876b9e6f7729a3333b3eca5adef781e0a860b9f493
|
7
|
+
data.tar.gz: d6d27ed728b68ff2dd98d6a542a7ca89b4d9ba6f4301e8561476300f190b4b1cd203756ebee9e266b9357198c388afd8468ea04e34f33f400932ad02e0cf0d8b
|
@@ -4,4 +4,4 @@
|
|
4
4
|
2010-04-01 2012-03-31 0.006 0.0095 0.007 0.0105 0.007 0.0115
|
5
5
|
2012-04-01 2016-03-31 0.005 0.0085 0.006 0.0095 0.006 0.0105
|
6
6
|
2016-04-01 2017-03-31 0.004 0.007 0.005 0.008 0.005 0.009
|
7
|
-
2017-04-01
|
7
|
+
2017-04-01 2022-03-31 0.003 0.006 0.004 0.007 0.004 0.008
|
File without changes
|
File without changes
|
data/data//346/272/220/346/263/211/345/276/264/345/217/216/347/250/216/346/234/210/351/241/215.db
CHANGED
Binary file
|
data/data//346/272/220/346/263/211/345/276/264/345/217/216/347/250/216/350/263/236/344/270/216.db
CHANGED
Binary file
|
Binary file
|
@@ -0,0 +1,48 @@
|
|
1
|
+
都道府県 一般保険料率(%) 介護保険料率(%) 特定保険料率(%) 基本保険料率(%)
|
2
|
+
北海道 10.45 1.8 3.53 6.92
|
3
|
+
青森県 9.96 1.8 3.53 6.43
|
4
|
+
岩手県 9.74 1.8 3.53 6.21
|
5
|
+
宮城県 10.01 1.8 3.53 6.48
|
6
|
+
秋田県 10.16 1.8 3.53 6.63
|
7
|
+
山形県 10.03 1.8 3.53 6.5
|
8
|
+
福島県 9.64 1.8 3.53 6.11
|
9
|
+
茨城県 9.74 1.8 3.53 6.21
|
10
|
+
栃木県 9.87 1.8 3.53 6.34
|
11
|
+
群馬県 9.66 1.8 3.53 6.13
|
12
|
+
埼玉県 9.8 1.8 3.53 6.27
|
13
|
+
千葉県 9.79 1.8 3.53 6.26
|
14
|
+
東京都 9.84 1.8 3.53 6.31
|
15
|
+
神奈川県 9.99 1.8 3.53 6.46
|
16
|
+
新潟県 9.5 1.8 3.53 5.97
|
17
|
+
富山県 9.59 1.8 3.53 6.06
|
18
|
+
石川県 10.11 1.8 3.53 6.58
|
19
|
+
福井県 9.98 1.8 3.53 6.45
|
20
|
+
山梨県 9.79 1.8 3.53 6.26
|
21
|
+
長野県 9.71 1.8 3.53 6.18
|
22
|
+
岐阜県 9.83 1.8 3.53 6.3
|
23
|
+
静岡県 9.72 1.8 3.53 6.19
|
24
|
+
愛知県 9.91 1.8 3.53 6.38
|
25
|
+
三重県 9.81 1.8 3.53 6.28
|
26
|
+
滋賀県 9.78 1.8 3.53 6.25
|
27
|
+
京都府 10.06 1.8 3.53 6.53
|
28
|
+
大阪府 10.29 1.8 3.53 6.76
|
29
|
+
兵庫県 10.24 1.8 3.53 6.71
|
30
|
+
奈良県 10 1.8 3.53 6.47
|
31
|
+
和歌山県 10.11 1.8 3.53 6.58
|
32
|
+
鳥取県 9.97 1.8 3.53 6.44
|
33
|
+
島根県 10.03 1.8 3.53 6.5
|
34
|
+
岡山県 10.18 1.8 3.53 6.65
|
35
|
+
広島県 10.04 1.8 3.53 6.51
|
36
|
+
山口県 10.22 1.8 3.53 6.69
|
37
|
+
徳島県 10.29 1.8 3.53 6.76
|
38
|
+
香川県 10.28 1.8 3.53 6.75
|
39
|
+
愛媛県 10.22 1.8 3.53 6.69
|
40
|
+
高知県 10.17 1.8 3.53 6.64
|
41
|
+
福岡県 10.22 1.8 3.53 6.69
|
42
|
+
佐賀県 10.68 1.8 3.53 7.15
|
43
|
+
長崎県 10.26 1.8 3.53 6.73
|
44
|
+
熊本県 10.29 1.8 3.53 6.76
|
45
|
+
大分県 10.3 1.8 3.53 6.77
|
46
|
+
宮崎県 9.83 1.8 3.53 6.3
|
47
|
+
鹿児島県 10.36 1.8 3.53 6.83
|
48
|
+
沖縄県 9.95 1.8 3.53 6.42
|
Binary file
|
@@ -6,9 +6,11 @@ class TaxJp::SocialInsurances::HealthInsurance
|
|
6
6
|
attr_reader :general, :care
|
7
7
|
attr_reader :particular, :basic
|
8
8
|
|
9
|
-
|
9
|
+
attr_writer :salary
|
10
10
|
|
11
11
|
def initialize(attrs)
|
12
|
+
@salary = nil
|
13
|
+
|
12
14
|
if attrs.is_a?(Hash)
|
13
15
|
@grade = attrs[:grade]
|
14
16
|
@valid_from = attrs[:valid_from]
|
@@ -5,9 +5,11 @@ class TaxJp::SocialInsurances::WelfarePension
|
|
5
5
|
attr_reader :child_support
|
6
6
|
|
7
7
|
attr_accessor :grade
|
8
|
-
|
8
|
+
attr_writer :salary
|
9
9
|
|
10
10
|
def initialize(attrs)
|
11
|
+
@salary = nil
|
12
|
+
|
11
13
|
if attrs.is_a?(Hash)
|
12
14
|
@grade = attrs[:grade]
|
13
15
|
@valid_from = attrs[:valid_from]
|
data/lib/tax_jp/utils.rb
CHANGED
@@ -69,7 +69,7 @@ module TaxJp
|
|
69
69
|
end
|
70
70
|
|
71
71
|
def filename_to_date(filename)
|
72
|
-
|
72
|
+
_, valid_from, valid_until = File.basename(filename).split('.').first.split('-')
|
73
73
|
valid_from = Date.strptime(valid_from, '%Y%m%d')
|
74
74
|
valid_until = Date.strptime(valid_until, '%Y%m%d')
|
75
75
|
[valid_from.strftime('%Y-%m-%d'), valid_until.strftime('%Y-%m-%d')]
|
data/lib/tax_jp/version.rb
CHANGED
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.1.
|
4
|
+
version: 1.1.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ichylinux
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2021-05-02 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bootstrap
|
@@ -65,14 +65,14 @@ dependencies:
|
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 4.
|
68
|
+
version: '4.4'
|
69
69
|
type: :runtime
|
70
70
|
prerelease: false
|
71
71
|
version_requirements: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 4.
|
75
|
+
version: '4.4'
|
76
76
|
- !ruby/object:Gem::Dependency
|
77
77
|
name: rails
|
78
78
|
requirement: !ruby/object:Gem::Requirement
|
@@ -93,14 +93,14 @@ dependencies:
|
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: 1.3
|
96
|
+
version: '1.3'
|
97
97
|
type: :runtime
|
98
98
|
prerelease: false
|
99
99
|
version_requirements: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
101
|
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: 1.3
|
103
|
+
version: '1.3'
|
104
104
|
description: 税金計算ライブラリ
|
105
105
|
email:
|
106
106
|
- ichylinux@gmail.com
|
@@ -161,9 +161,9 @@ files:
|
|
161
161
|
- data/源泉徴収税/源泉徴収税月額-20130101-20151231.tsv
|
162
162
|
- data/源泉徴収税/源泉徴収税月額-20160101-20161231.tsv
|
163
163
|
- data/源泉徴収税/源泉徴収税月額-20170101-20191231.tsv
|
164
|
-
- data/源泉徴収税/源泉徴収税月額-20200101-
|
164
|
+
- data/源泉徴収税/源泉徴収税月額-20200101-20211231.tsv
|
165
165
|
- data/源泉徴収税/源泉徴収税賞与-20180101-20191231.tsv
|
166
|
-
- data/源泉徴収税/源泉徴収税賞与-20200101-
|
166
|
+
- data/源泉徴収税/源泉徴収税賞与-20200101-20211231.tsv
|
167
167
|
- data/源泉徴収税月額.db
|
168
168
|
- data/源泉徴収税賞与.db
|
169
169
|
- data/社会保険料.db
|
@@ -182,6 +182,7 @@ files:
|
|
182
182
|
- data/社会保険料/健康保険-20180301-20190228.tsv
|
183
183
|
- data/社会保険料/健康保険-20190301-20200229.tsv
|
184
184
|
- data/社会保険料/健康保険-20200301-20210228.tsv
|
185
|
+
- data/社会保険料/健康保険-20210301-20220228.tsv
|
185
186
|
- data/社会保険料/厚生年金.tsv
|
186
187
|
- data/社会保険料/旧健康保険.tsv
|
187
188
|
- data/社会保険料/等級-20001001-20080831.tsv
|
@@ -234,14 +235,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
234
235
|
requirements:
|
235
236
|
- - "~>"
|
236
237
|
- !ruby/object:Gem::Version
|
237
|
-
version: '2.
|
238
|
+
version: '2.5'
|
238
239
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
239
240
|
requirements:
|
240
241
|
- - ">="
|
241
242
|
- !ruby/object:Gem::Version
|
242
243
|
version: '0'
|
243
244
|
requirements: []
|
244
|
-
rubygems_version: 3.
|
245
|
+
rubygems_version: 3.1.4
|
245
246
|
signing_key:
|
246
247
|
specification_version: 4
|
247
248
|
summary: 税金計算ライブラリ
|