calendar_china 1.0.0 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e51679d9d8c820cb85946f5fd0224cc5d576fdd349872f4294596fb111ffeef8
4
- data.tar.gz: 8d08eb79716230d1be81f968939f901b4208ee73fa6c2f99e9c3ccf2160252f4
3
+ metadata.gz: c84b04952475d08e27f244e5317a90fa016f928377e828aa04fd8f46d3bdfbb7
4
+ data.tar.gz: 445cb0f30eed2306bc77968cf1d4760c27cd4d45d1fc28476f106d35f3a03e3c
5
5
  SHA512:
6
- metadata.gz: 59d3ac60984a3034a8f9a96f43865abf174fef864f6522cb38ab2cf8b66c53baf7d7659aad9102296cebb695e5a5afd0bd3bf2c4e37e2d1e1962acea8814d28b
7
- data.tar.gz: be7fab0d966b3aa68e904a4c3fb2cb56294cbdda20a7fcb3f70239b10044436ed148d5d7bafe300f5324b3b0c5925462c2d90b034b6a9b2cf52c7fc585c416c3
6
+ metadata.gz: 93f539c4736079018f42d692084883a4d7f7f9d68764f6466bf5559e43da5120e30d3b681281a9465661323c2e1cafa53ee4008463ada7410304d2fe7c1b527a
7
+ data.tar.gz: 77338a121fb3cd276bf7c9a6c628514eae25a9ce225e59d6fb2c94fe7b9624eee559c7c618e3dfc87fcbe0fe3b516c382d7f92ca3a56350fdb206ea0dc3b57ac
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- calendar_china (1.0.0)
4
+ calendar_china (2.0.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -1,3 +1,3 @@
1
1
  module CalendarChina
2
- VERSION = "1.0.0"
2
+ VERSION = "2.0.0"
3
3
  end
@@ -0,0 +1,200 @@
1
+ {
2
+ "$schema": "https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/schema.json",
3
+ "$id": "https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/2021.json",
4
+ "year": 2021,
5
+ "papers": [
6
+ "http://www.gov.cn/zhengce/content/2020-11/25/content_5564127.htm"
7
+ ],
8
+ "days": [
9
+ {
10
+ "name": "元旦",
11
+ "date": "2021-01-01",
12
+ "isOffDay": true
13
+ },
14
+ {
15
+ "name": "元旦",
16
+ "date": "2021-01-02",
17
+ "isOffDay": true
18
+ },
19
+ {
20
+ "name": "元旦",
21
+ "date": "2021-01-03",
22
+ "isOffDay": true
23
+ },
24
+ {
25
+ "name": "春节",
26
+ "date": "2021-02-07",
27
+ "isOffDay": false
28
+ },
29
+ {
30
+ "name": "春节",
31
+ "date": "2021-02-11",
32
+ "isOffDay": true
33
+ },
34
+ {
35
+ "name": "春节",
36
+ "date": "2021-02-12",
37
+ "isOffDay": true
38
+ },
39
+ {
40
+ "name": "春节",
41
+ "date": "2021-02-13",
42
+ "isOffDay": true
43
+ },
44
+ {
45
+ "name": "春节",
46
+ "date": "2021-02-14",
47
+ "isOffDay": true
48
+ },
49
+ {
50
+ "name": "春节",
51
+ "date": "2021-02-15",
52
+ "isOffDay": true
53
+ },
54
+ {
55
+ "name": "春节",
56
+ "date": "2021-02-16",
57
+ "isOffDay": true
58
+ },
59
+ {
60
+ "name": "春节",
61
+ "date": "2021-02-17",
62
+ "isOffDay": true
63
+ },
64
+ {
65
+ "name": "春节",
66
+ "date": "2021-02-20",
67
+ "isOffDay": false
68
+ },
69
+ {
70
+ "name": "清明节",
71
+ "date": "2021-04-03",
72
+ "isOffDay": true
73
+ },
74
+ {
75
+ "name": "清明节",
76
+ "date": "2021-04-04",
77
+ "isOffDay": true
78
+ },
79
+ {
80
+ "name": "清明节",
81
+ "date": "2021-04-05",
82
+ "isOffDay": true
83
+ },
84
+ {
85
+ "name": "劳动节",
86
+ "date": "2021-04-25",
87
+ "isOffDay": false
88
+ },
89
+ {
90
+ "name": "劳动节",
91
+ "date": "2021-05-01",
92
+ "isOffDay": true
93
+ },
94
+ {
95
+ "name": "劳动节",
96
+ "date": "2021-05-02",
97
+ "isOffDay": true
98
+ },
99
+ {
100
+ "name": "劳动节",
101
+ "date": "2021-05-03",
102
+ "isOffDay": true
103
+ },
104
+ {
105
+ "name": "劳动节",
106
+ "date": "2021-05-04",
107
+ "isOffDay": true
108
+ },
109
+ {
110
+ "name": "劳动节",
111
+ "date": "2021-05-05",
112
+ "isOffDay": true
113
+ },
114
+ {
115
+ "name": "劳动节",
116
+ "date": "2021-05-08",
117
+ "isOffDay": false
118
+ },
119
+ {
120
+ "name": "端午节",
121
+ "date": "2021-06-12",
122
+ "isOffDay": true
123
+ },
124
+ {
125
+ "name": "端午节",
126
+ "date": "2021-06-13",
127
+ "isOffDay": true
128
+ },
129
+ {
130
+ "name": "端午节",
131
+ "date": "2021-06-14",
132
+ "isOffDay": true
133
+ },
134
+ {
135
+ "name": "中秋节",
136
+ "date": "2021-09-18",
137
+ "isOffDay": false
138
+ },
139
+ {
140
+ "name": "中秋节",
141
+ "date": "2021-09-19",
142
+ "isOffDay": true
143
+ },
144
+ {
145
+ "name": "中秋节",
146
+ "date": "2021-09-20",
147
+ "isOffDay": true
148
+ },
149
+ {
150
+ "name": "中秋节",
151
+ "date": "2021-09-21",
152
+ "isOffDay": true
153
+ },
154
+ {
155
+ "name": "国庆节",
156
+ "date": "2021-09-26",
157
+ "isOffDay": false
158
+ },
159
+ {
160
+ "name": "国庆节",
161
+ "date": "2021-10-01",
162
+ "isOffDay": true
163
+ },
164
+ {
165
+ "name": "国庆节",
166
+ "date": "2021-10-02",
167
+ "isOffDay": true
168
+ },
169
+ {
170
+ "name": "国庆节",
171
+ "date": "2021-10-03",
172
+ "isOffDay": true
173
+ },
174
+ {
175
+ "name": "国庆节",
176
+ "date": "2021-10-04",
177
+ "isOffDay": true
178
+ },
179
+ {
180
+ "name": "国庆节",
181
+ "date": "2021-10-05",
182
+ "isOffDay": true
183
+ },
184
+ {
185
+ "name": "国庆节",
186
+ "date": "2021-10-06",
187
+ "isOffDay": true
188
+ },
189
+ {
190
+ "name": "国庆节",
191
+ "date": "2021-10-07",
192
+ "isOffDay": true
193
+ },
194
+ {
195
+ "name": "国庆节",
196
+ "date": "2021-10-09",
197
+ "isOffDay": false
198
+ }
199
+ ]
200
+ }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: calendar_china
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - JohnnyTing
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-04-30 00:00:00.000000000 Z
11
+ date: 2021-01-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -58,6 +58,7 @@ files:
58
58
  - lib/data/2018.json
59
59
  - lib/data/2019.json
60
60
  - lib/data/2020.json
61
+ - lib/data/2021.json
61
62
  - lib/helpers/date_helper.rb
62
63
  homepage: https://github.com/JohnnyTing/calendar_china
63
64
  licenses:
@@ -81,7 +82,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
81
82
  - !ruby/object:Gem::Version
82
83
  version: '0'
83
84
  requirements: []
84
- rubygems_version: 3.0.3
85
+ rubygems_version: 3.2.4
85
86
  signing_key:
86
87
  specification_version: 4
87
88
  summary: China's Calendar.