tax_jp 0.3.13 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +2 -4
- data/HISTORY.md +12 -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//346/227/247/345/201/245/345/272/267/344/277/235/351/231/272.tsv +4 -4
- data/data//347/244/276/344/274/232/344/277/235/351/231/272/346/226/231//347/255/211/347/264/232-20001001-20080831.tsv +31 -0
- data/lib/tax_jp/social_insurances/db_builder.rb +1 -1
- data/lib/tax_jp/version.rb +1 -1
- data/tax_jp.gemspec +3 -3
- metadata +10 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dbf881d3e613400aba680b3ea46a3ca3d031d600b7ad32a9c7a64a1e2a70fa60
|
4
|
+
data.tar.gz: e58527bdf926693ae41305048daa0189b736282330458c98ad436a7d0309b9c9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: abaaf2350b535e0b20ec820e3dad1b68e072e9eabb776af5ef5b1bd2f8acf75e06df69bd1c21a67c4f646e4abdcfb1ddbb66ba5086fddd0495e3590240c8e342
|
7
|
+
data.tar.gz: bb170be5795097bec656b35adb117d8e0c0f46c6ae1dcd04b4989ed1c51226ee965aee8ee6d842432408011f84396218b0de7ae6e02a312d1390f3ef43654615
|
data/.travis.yml
CHANGED
data/HISTORY.md
CHANGED
Binary file
|
@@ -1,6 +1,6 @@
|
|
1
1
|
適用開始日 適用終了日 介護保険第2号被保険者に該当しない場合(%) 介護保険第2号被保険者に該当する場合(%)
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
2008-
|
2
|
+
2004-04-01 2005-03-31 8.2 9.31
|
3
|
+
2005-04-01 2006-03-31 8.2 9.45
|
4
|
+
2006-04-01 2008-02-29 8.2 9.43
|
5
|
+
2008-03-01 2009-02-28 8.2 9.33
|
6
6
|
2009-03-01 2009-08-31 8.2 9.39
|
@@ -0,0 +1,31 @@
|
|
1
|
+
等級(健康保険) 等級(厚生年金) 標準報酬月額 標準報酬日額 報酬月額(以上) 報酬月額(未満)
|
2
|
+
0 1 98000 95000 101000
|
3
|
+
0 2 104000 101000 107000
|
4
|
+
0 3 110000 107000 114000
|
5
|
+
0 4 118000 114000 122000
|
6
|
+
0 5 126000 122000 130000
|
7
|
+
0 6 134000 130000 138000
|
8
|
+
0 7 142000 138000 146000
|
9
|
+
0 8 150000 146000 155000
|
10
|
+
0 9 160000 155000 165000
|
11
|
+
0 10 170000 165000 175000
|
12
|
+
0 11 180000 175000 185000
|
13
|
+
0 12 190000 185000 195000
|
14
|
+
0 13 200000 195000 210000
|
15
|
+
0 14 220000 210000 230000
|
16
|
+
0 15 240000 230000 250000
|
17
|
+
0 16 260000 250000 270000
|
18
|
+
0 17 280000 270000 290000
|
19
|
+
0 18 300000 290000 310000
|
20
|
+
0 19 320000 310000 330000
|
21
|
+
0 20 340000 330000 350000
|
22
|
+
0 21 360000 350000 370000
|
23
|
+
0 22 380000 370000 395000
|
24
|
+
0 23 410000 395000 425000
|
25
|
+
0 24 440000 425000 455000
|
26
|
+
0 25 470000 455000 485000
|
27
|
+
0 26 500000 485000 515000
|
28
|
+
0 27 530000 515000 545000
|
29
|
+
0 28 560000 545000 575000
|
30
|
+
0 29 590000 575000 605000
|
31
|
+
0 30 620000 605000 -
|
@@ -13,7 +13,7 @@ class TaxJp::SocialInsurances::DbBuilder < TaxJp::DbBuilder
|
|
13
13
|
valid_from, valid_until = filename_to_date(filename)
|
14
14
|
|
15
15
|
CSV.foreach(filename, :col_sep => "\t") do |row|
|
16
|
-
next if row[0].to_i == 0
|
16
|
+
next if row[0].to_i == 0 and row[1].to_i == 0
|
17
17
|
db.execute(insert_sql_grade, [valid_from, valid_until] + row.map{|col| normalize_amount(col)})
|
18
18
|
end
|
19
19
|
end
|
data/lib/tax_jp/version.rb
CHANGED
data/tax_jp.gemspec
CHANGED
@@ -17,13 +17,13 @@ Gem::Specification.new do |s|
|
|
17
17
|
s.test_files = s.files.grep(%r{^(test|spec|features)/})
|
18
18
|
s.require_paths = ["lib"]
|
19
19
|
|
20
|
-
s.required_ruby_version = '~> 2.
|
20
|
+
s.required_ruby_version = '~> 2.3'
|
21
21
|
|
22
22
|
s.add_runtime_dependency 'sqlite3', '~> 1.3'
|
23
23
|
|
24
24
|
s.add_development_dependency 'bundler', '~> 1.12'
|
25
|
-
s.add_development_dependency 'closer', '~> 0.
|
25
|
+
s.add_development_dependency 'closer', '~> 0.7'
|
26
26
|
s.add_development_dependency 'minitest', '~> 5.10'
|
27
27
|
s.add_development_dependency 'rake', '~> 12.0'
|
28
|
-
s.add_development_dependency 'rails', '>= 4.
|
28
|
+
s.add_development_dependency 'rails', '>= 4.2', '< 6'
|
29
29
|
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: 0.
|
4
|
+
version: 0.4.0
|
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: 2018-
|
12
|
+
date: 2018-09-02 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: sqlite3
|
@@ -45,14 +45,14 @@ dependencies:
|
|
45
45
|
requirements:
|
46
46
|
- - "~>"
|
47
47
|
- !ruby/object:Gem::Version
|
48
|
-
version: '0.
|
48
|
+
version: '0.7'
|
49
49
|
type: :development
|
50
50
|
prerelease: false
|
51
51
|
version_requirements: !ruby/object:Gem::Requirement
|
52
52
|
requirements:
|
53
53
|
- - "~>"
|
54
54
|
- !ruby/object:Gem::Version
|
55
|
-
version: '0.
|
55
|
+
version: '0.7'
|
56
56
|
- !ruby/object:Gem::Dependency
|
57
57
|
name: minitest
|
58
58
|
requirement: !ruby/object:Gem::Requirement
|
@@ -87,20 +87,20 @@ dependencies:
|
|
87
87
|
requirements:
|
88
88
|
- - ">="
|
89
89
|
- !ruby/object:Gem::Version
|
90
|
-
version: '4.
|
90
|
+
version: '4.2'
|
91
91
|
- - "<"
|
92
92
|
- !ruby/object:Gem::Version
|
93
|
-
version:
|
93
|
+
version: '6'
|
94
94
|
type: :development
|
95
95
|
prerelease: false
|
96
96
|
version_requirements: !ruby/object:Gem::Requirement
|
97
97
|
requirements:
|
98
98
|
- - ">="
|
99
99
|
- !ruby/object:Gem::Version
|
100
|
-
version: '4.
|
100
|
+
version: '4.2'
|
101
101
|
- - "<"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version:
|
103
|
+
version: '6'
|
104
104
|
description: 税金計算ライブラリ
|
105
105
|
email:
|
106
106
|
- ichylinux@gmail.com
|
@@ -154,6 +154,7 @@ files:
|
|
154
154
|
- data/社会保険料/健康保険-20180301-20190228.tsv
|
155
155
|
- data/社会保険料/厚生年金.tsv
|
156
156
|
- data/社会保険料/旧健康保険.tsv
|
157
|
+
- data/社会保険料/等級-20001001-20080831.tsv
|
157
158
|
- data/社会保険料/等級-20080901-20160331.tsv
|
158
159
|
- data/社会保険料/等級-20160401-20160930.tsv
|
159
160
|
- data/社会保険料/等級-20161001-20991231.tsv
|
@@ -212,7 +213,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
212
213
|
requirements:
|
213
214
|
- - "~>"
|
214
215
|
- !ruby/object:Gem::Version
|
215
|
-
version: '2.
|
216
|
+
version: '2.3'
|
216
217
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
217
218
|
requirements:
|
218
219
|
- - ">="
|