zakuro 0.1.5 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +17 -1
- data/doc/gengou.md +22 -22
- data/doc/operation/csv/month.csv +468 -202
- data/doc/operation/operation.xlsx +0 -0
- data/lib/zakuro/calculation/base/operated_year.rb +114 -0
- data/lib/zakuro/calculation/base/year.rb +3 -0
- data/lib/zakuro/calculation/cycle/abstract_remainder.rb +29 -29
- data/lib/zakuro/calculation/monthly/abstract_lunar_phase.rb +169 -0
- data/lib/zakuro/calculation/monthly/first_day.rb +1 -1
- data/lib/zakuro/calculation/monthly/operated_month.rb +47 -3
- data/lib/zakuro/calculation/range/medieval_annual_range.rb +105 -0
- data/lib/zakuro/calculation/range/operated_range.rb +61 -16
- data/lib/zakuro/calculation/stella/lunar/abstract_location.rb +78 -0
- data/lib/zakuro/calculation/stella/lunar/choukei_value.rb +71 -0
- data/lib/zakuro/calculation/stella/solar/abstract_average.rb +117 -0
- data/lib/zakuro/calculation/stella/solar/abstract_location.rb +187 -0
- data/lib/zakuro/calculation/stella/solar/choukei_value.rb +136 -0
- data/lib/zakuro/calculation/type/old_float.rb +69 -0
- data/lib/zakuro/era/japan/reki.rb +1 -1
- data/lib/zakuro/era/japan/yaml/set-001-until-south.yaml +22 -22
- data/lib/zakuro/operation/month/type.rb +58 -0
- data/lib/zakuro/operation/yaml/month.yaml +8512 -0
- data/lib/zakuro/version/context.rb +1 -1
- data/lib/zakuro/version/daien/const/number.rb +55 -0
- data/lib/zakuro/version/daien/const/remainder.rb +53 -0
- data/lib/zakuro/version/daien/cycle/remainder.rb +85 -0
- data/lib/zakuro/version/daien/cycle/solar_term.rb +34 -0
- data/lib/zakuro/version/daien/daien.rb +36 -0
- data/lib/zakuro/version/daien/monthly/lunar_phase.rb +106 -0
- data/lib/zakuro/version/daien/range/annual_range.rb +39 -0
- data/lib/zakuro/version/daien/stella/lunar/adjustment.rb +240 -0
- data/lib/zakuro/version/daien/stella/lunar/localization.rb +44 -0
- data/lib/zakuro/version/daien/stella/lunar/location.rb +80 -0
- data/lib/zakuro/version/daien/stella/lunar/value.rb +75 -0
- data/lib/zakuro/version/daien/stella/origin/average_november.rb +34 -0
- data/lib/zakuro/version/daien/stella/origin/lunar_age.rb +62 -0
- data/lib/zakuro/version/daien/stella/origin/winter_solstice.rb +55 -0
- data/lib/zakuro/version/daien/stella/solar/adjustment.rb +93 -0
- data/lib/zakuro/version/daien/stella/solar/average.rb +98 -0
- data/lib/zakuro/version/daien/stella/solar/interval.rb +108 -0
- data/lib/zakuro/version/daien/stella/solar/location.rb +61 -0
- data/lib/zakuro/version/daien/stella/solar/value.rb +36 -0
- data/lib/zakuro/version/genka/const/number.rb +43 -0
- data/lib/zakuro/version/genka/const/remainder.rb +33 -0
- data/lib/zakuro/version/genka/cycle/remainder.rb +92 -0
- data/lib/zakuro/version/genka/cycle/solar_term.rb +34 -0
- data/lib/zakuro/version/genka/genka.rb +19 -2
- data/lib/zakuro/version/genka/monthly/lunar_phase.rb +95 -0
- data/lib/zakuro/version/genka/range/annual_range.rb +77 -0
- data/lib/zakuro/version/genka/stella/origin/first_term.rb +55 -0
- data/lib/zakuro/version/genka/stella/origin/january.rb +49 -0
- data/lib/zakuro/version/genka/stella/solar/average.rb +41 -0
- data/lib/zakuro/version/gihou/const/number.rb +55 -0
- data/lib/zakuro/version/gihou/const/remainder.rb +54 -0
- data/lib/zakuro/version/gihou/cycle/remainder.rb +82 -0
- data/lib/zakuro/version/gihou/cycle/solar_term.rb +34 -0
- data/lib/zakuro/version/gihou/gihou.rb +23 -2
- data/lib/zakuro/version/gihou/monthly/lunar_phase.rb +106 -0
- data/lib/zakuro/version/gihou/range/annual_range.rb +39 -0
- data/lib/zakuro/version/gihou/stella/lunar/adjustment.rb +250 -0
- data/lib/zakuro/version/gihou/stella/lunar/localization.rb +44 -0
- data/lib/zakuro/version/gihou/stella/lunar/location.rb +80 -0
- data/lib/zakuro/version/gihou/stella/lunar/value.rb +75 -0
- data/lib/zakuro/version/gihou/stella/origin/average_november.rb +34 -0
- data/lib/zakuro/version/gihou/stella/origin/lunar_age.rb +62 -0
- data/lib/zakuro/version/gihou/stella/origin/winter_solstice.rb +55 -0
- data/lib/zakuro/version/gihou/stella/solar/adjustment.rb +93 -0
- data/lib/zakuro/version/gihou/stella/solar/average.rb +97 -0
- data/lib/zakuro/version/gihou/stella/solar/interval.rb +108 -0
- data/lib/zakuro/version/gihou/stella/solar/location.rb +61 -0
- data/lib/zakuro/version/gihou/stella/solar/value.rb +36 -0
- data/lib/zakuro/version/senmyou/const/number.rb +1 -1
- data/lib/zakuro/version/senmyou/const/remainder.rb +7 -3
- data/lib/zakuro/version/senmyou/cycle/remainder.rb +27 -6
- data/lib/zakuro/version/senmyou/cycle/solar_term.rb +4 -1
- data/lib/zakuro/version/senmyou/monthly/lunar_phase.rb +12 -112
- data/lib/zakuro/version/senmyou/range/annual_range.rb +5 -77
- data/lib/zakuro/version/senmyou/stella/lunar/localization.rb +2 -3
- data/lib/zakuro/version/senmyou/stella/lunar/location.rb +13 -34
- data/lib/zakuro/version/senmyou/stella/lunar/value.rb +8 -30
- data/lib/zakuro/version/senmyou/stella/solar/adjustment.rb +29 -29
- data/lib/zakuro/version/senmyou/stella/solar/average.rb +14 -92
- data/lib/zakuro/version/senmyou/stella/solar/location.rb +18 -121
- data/lib/zakuro/version/senmyou/stella/solar/value.rb +4 -103
- data/lib/zakuro/version/version_class_resolver.rb +12 -0
- data/lib/zakuro/version.rb +1 -1
- data/lib/zakuro/version_factory.rb +1 -1
- metadata +61 -7
- data/lib/zakuro/version/taien/taien.rb +0 -19
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zakuro
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- pldb
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-10-07 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: mainly lunar solar calendar
|
14
14
|
email:
|
@@ -42,22 +42,31 @@ files:
|
|
42
42
|
- lib/zakuro.rb
|
43
43
|
- lib/zakuro/calculation/base/multi_gengou.rb
|
44
44
|
- lib/zakuro/calculation/base/multi_gengou_roller.rb
|
45
|
+
- lib/zakuro/calculation/base/operated_year.rb
|
45
46
|
- lib/zakuro/calculation/base/year.rb
|
46
47
|
- lib/zakuro/calculation/cycle/abstract_remainder.rb
|
47
48
|
- lib/zakuro/calculation/cycle/abstract_solar_term.rb
|
48
49
|
- lib/zakuro/calculation/cycle/zodiac.rb
|
50
|
+
- lib/zakuro/calculation/monthly/abstract_lunar_phase.rb
|
49
51
|
- lib/zakuro/calculation/monthly/first_day.rb
|
50
52
|
- lib/zakuro/calculation/monthly/initialized_month.rb
|
51
53
|
- lib/zakuro/calculation/monthly/month.rb
|
52
54
|
- lib/zakuro/calculation/monthly/month_label.rb
|
53
55
|
- lib/zakuro/calculation/monthly/operated_month.rb
|
54
56
|
- lib/zakuro/calculation/range/full_range.rb
|
57
|
+
- lib/zakuro/calculation/range/medieval_annual_range.rb
|
55
58
|
- lib/zakuro/calculation/range/operated_range.rb
|
56
59
|
- lib/zakuro/calculation/range/operated_solar_terms.rb
|
57
60
|
- lib/zakuro/calculation/range/transfer/western_date_allocation.rb
|
58
61
|
- lib/zakuro/calculation/range/transfer/year_boundary.rb
|
59
62
|
- lib/zakuro/calculation/specifier/single_day.rb
|
63
|
+
- lib/zakuro/calculation/stella/lunar/abstract_location.rb
|
64
|
+
- lib/zakuro/calculation/stella/lunar/choukei_value.rb
|
65
|
+
- lib/zakuro/calculation/stella/solar/abstract_average.rb
|
66
|
+
- lib/zakuro/calculation/stella/solar/abstract_location.rb
|
67
|
+
- lib/zakuro/calculation/stella/solar/choukei_value.rb
|
60
68
|
- lib/zakuro/calculation/summary/single.rb
|
69
|
+
- lib/zakuro/calculation/type/old_float.rb
|
61
70
|
- lib/zakuro/condition.rb
|
62
71
|
- lib/zakuro/era/japan/gengou.rb
|
63
72
|
- lib/zakuro/era/japan/gengou/parser.rb
|
@@ -86,8 +95,54 @@ files:
|
|
86
95
|
- lib/zakuro/version.rb
|
87
96
|
- lib/zakuro/version/abstract_version.rb
|
88
97
|
- lib/zakuro/version/context.rb
|
98
|
+
- lib/zakuro/version/daien/const/number.rb
|
99
|
+
- lib/zakuro/version/daien/const/remainder.rb
|
100
|
+
- lib/zakuro/version/daien/cycle/remainder.rb
|
101
|
+
- lib/zakuro/version/daien/cycle/solar_term.rb
|
102
|
+
- lib/zakuro/version/daien/daien.rb
|
103
|
+
- lib/zakuro/version/daien/monthly/lunar_phase.rb
|
104
|
+
- lib/zakuro/version/daien/range/annual_range.rb
|
105
|
+
- lib/zakuro/version/daien/stella/lunar/adjustment.rb
|
106
|
+
- lib/zakuro/version/daien/stella/lunar/localization.rb
|
107
|
+
- lib/zakuro/version/daien/stella/lunar/location.rb
|
108
|
+
- lib/zakuro/version/daien/stella/lunar/value.rb
|
109
|
+
- lib/zakuro/version/daien/stella/origin/average_november.rb
|
110
|
+
- lib/zakuro/version/daien/stella/origin/lunar_age.rb
|
111
|
+
- lib/zakuro/version/daien/stella/origin/winter_solstice.rb
|
112
|
+
- lib/zakuro/version/daien/stella/solar/adjustment.rb
|
113
|
+
- lib/zakuro/version/daien/stella/solar/average.rb
|
114
|
+
- lib/zakuro/version/daien/stella/solar/interval.rb
|
115
|
+
- lib/zakuro/version/daien/stella/solar/location.rb
|
116
|
+
- lib/zakuro/version/daien/stella/solar/value.rb
|
117
|
+
- lib/zakuro/version/genka/const/number.rb
|
118
|
+
- lib/zakuro/version/genka/const/remainder.rb
|
119
|
+
- lib/zakuro/version/genka/cycle/remainder.rb
|
120
|
+
- lib/zakuro/version/genka/cycle/solar_term.rb
|
89
121
|
- lib/zakuro/version/genka/genka.rb
|
122
|
+
- lib/zakuro/version/genka/monthly/lunar_phase.rb
|
123
|
+
- lib/zakuro/version/genka/range/annual_range.rb
|
124
|
+
- lib/zakuro/version/genka/stella/origin/first_term.rb
|
125
|
+
- lib/zakuro/version/genka/stella/origin/january.rb
|
126
|
+
- lib/zakuro/version/genka/stella/solar/average.rb
|
127
|
+
- lib/zakuro/version/gihou/const/number.rb
|
128
|
+
- lib/zakuro/version/gihou/const/remainder.rb
|
129
|
+
- lib/zakuro/version/gihou/cycle/remainder.rb
|
130
|
+
- lib/zakuro/version/gihou/cycle/solar_term.rb
|
90
131
|
- lib/zakuro/version/gihou/gihou.rb
|
132
|
+
- lib/zakuro/version/gihou/monthly/lunar_phase.rb
|
133
|
+
- lib/zakuro/version/gihou/range/annual_range.rb
|
134
|
+
- lib/zakuro/version/gihou/stella/lunar/adjustment.rb
|
135
|
+
- lib/zakuro/version/gihou/stella/lunar/localization.rb
|
136
|
+
- lib/zakuro/version/gihou/stella/lunar/location.rb
|
137
|
+
- lib/zakuro/version/gihou/stella/lunar/value.rb
|
138
|
+
- lib/zakuro/version/gihou/stella/origin/average_november.rb
|
139
|
+
- lib/zakuro/version/gihou/stella/origin/lunar_age.rb
|
140
|
+
- lib/zakuro/version/gihou/stella/origin/winter_solstice.rb
|
141
|
+
- lib/zakuro/version/gihou/stella/solar/adjustment.rb
|
142
|
+
- lib/zakuro/version/gihou/stella/solar/average.rb
|
143
|
+
- lib/zakuro/version/gihou/stella/solar/interval.rb
|
144
|
+
- lib/zakuro/version/gihou/stella/solar/location.rb
|
145
|
+
- lib/zakuro/version/gihou/stella/solar/value.rb
|
91
146
|
- lib/zakuro/version/gregorio/gregorio.rb
|
92
147
|
- lib/zakuro/version/houryaku/houryaku.rb
|
93
148
|
- lib/zakuro/version/joukyou/joukyou.rb
|
@@ -112,7 +167,6 @@ files:
|
|
112
167
|
- lib/zakuro/version/senmyou/stella/solar/interval.rb
|
113
168
|
- lib/zakuro/version/senmyou/stella/solar/location.rb
|
114
169
|
- lib/zakuro/version/senmyou/stella/solar/value.rb
|
115
|
-
- lib/zakuro/version/taien/taien.rb
|
116
170
|
- lib/zakuro/version/tenpou/tenpou.rb
|
117
171
|
- lib/zakuro/version/version_class_resolver.rb
|
118
172
|
- lib/zakuro/version_factory.rb
|
@@ -125,7 +179,7 @@ metadata:
|
|
125
179
|
homepage_uri: https://github.com/pldb/zakuro
|
126
180
|
source_code_uri: https://github.com/pldb/zakuro
|
127
181
|
changelog_uri: https://github.com/pldb/zakuro
|
128
|
-
post_install_message:
|
182
|
+
post_install_message:
|
129
183
|
rdoc_options: []
|
130
184
|
require_paths:
|
131
185
|
- lib
|
@@ -140,8 +194,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
140
194
|
- !ruby/object:Gem::Version
|
141
195
|
version: '0'
|
142
196
|
requirements: []
|
143
|
-
rubygems_version: 3.1.
|
144
|
-
signing_key:
|
197
|
+
rubygems_version: 3.1.2
|
198
|
+
signing_key:
|
145
199
|
specification_version: 4
|
146
200
|
summary: japanese calendar library.
|
147
201
|
test_files: []
|
@@ -1,19 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require_relative '../abstract_version'
|
4
|
-
|
5
|
-
# :nodoc:
|
6
|
-
module Zakuro
|
7
|
-
#
|
8
|
-
# Taien 大衍暦
|
9
|
-
#
|
10
|
-
module Taien
|
11
|
-
#
|
12
|
-
# Gateway アクセサメソッド群
|
13
|
-
#
|
14
|
-
class Gateway < AbstractVersion
|
15
|
-
# @return [False] リリースなし
|
16
|
-
RELEASE = false
|
17
|
-
end
|
18
|
-
end
|
19
|
-
end
|