chinese-holidays 0.5.0 → 0.6.0
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 +4 -4
- data/README.md +1 -0
- data/lib/chinese/holidays/data/2021.json +72 -0
- data/lib/chinese/holidays/version.rb +1 -1
- metadata +6 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f51e0982897124a0d8af879e905c95864f94caa9513d3aa75e66020c1933068e
|
4
|
+
data.tar.gz: c42334ce5cf85c8d1a887825ab4208f335577e355e42ebfc027d2414aa99d282
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aa6059731161c6650f24aa177e4a979562128c6a8f781d49527e5a654136c58cc4885895a85b2acc540dae54112fd3e7525422c25749f578eb15c54b06e5fb81
|
7
|
+
data.tar.gz: c3a70ad8dd15642c52c96ce812efedfd67eed82dd798af485bc2d5d5db277b46ed572c81753ce05cd1fc6a79b43860d65af832690c9f72d078d18e68dcc16cb1
|
data/README.md
CHANGED
@@ -40,6 +40,7 @@ end
|
|
40
40
|
|
41
41
|
## 支持
|
42
42
|
|
43
|
+
* [支持 2021 年](http://www.gov.cn/zhengce/content/2020-11/25/content_5564127.htm)
|
43
44
|
* [支持 2020 年](http://www.gov.cn/zhengce/content/2019-11/21/content_5454164.htm)
|
44
45
|
* [支持 2019 年](http://www.gov.cn/zhengce/content/2018-12/06/content_5346276.htm) [五一假期调整](http://www.gov.cn/zhengce/content/2019-03/22/content_5375877.htm)
|
45
46
|
* [支持 2018 年](http://www.gov.cn/zhengce/content/2017-11/30/content_5243579.htm)
|
@@ -0,0 +1,72 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"name": "元旦",
|
4
|
+
"range": ["2021-01-01", "2021-01-03"],
|
5
|
+
"type": "holiday"
|
6
|
+
},
|
7
|
+
{
|
8
|
+
"name": "春节",
|
9
|
+
"range": ["2021-02-07"],
|
10
|
+
"type": "workingday"
|
11
|
+
},
|
12
|
+
{
|
13
|
+
"name": "春节",
|
14
|
+
"range": ["2021-02-11", "2021-02-17"],
|
15
|
+
"type": "holiday"
|
16
|
+
},
|
17
|
+
{
|
18
|
+
"name": "春节",
|
19
|
+
"range": ["2021-02-20"],
|
20
|
+
"type": "workingday"
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"name": "清明节",
|
24
|
+
"range": ["2021-04-03", "2021-04-05"],
|
25
|
+
"type": "holiday"
|
26
|
+
},
|
27
|
+
{
|
28
|
+
"name": "劳动节",
|
29
|
+
"range": ["2021-04-25"],
|
30
|
+
"type": "workingday"
|
31
|
+
},
|
32
|
+
{
|
33
|
+
"name": "劳动节",
|
34
|
+
"range": ["2021-05-01", "2021-05-05"],
|
35
|
+
"type": "holiday"
|
36
|
+
},
|
37
|
+
{
|
38
|
+
"name": "劳动节",
|
39
|
+
"range": ["2021-05-08"],
|
40
|
+
"type": "workingday"
|
41
|
+
},
|
42
|
+
{
|
43
|
+
"name": "端午节",
|
44
|
+
"range": ["2021-06-12", "2021-06-14"],
|
45
|
+
"type": "holiday"
|
46
|
+
},
|
47
|
+
{
|
48
|
+
"name": "中秋节",
|
49
|
+
"range": ["2021-09-18"],
|
50
|
+
"type": "workingday"
|
51
|
+
},
|
52
|
+
{
|
53
|
+
"name": "中秋节",
|
54
|
+
"range": ["2021-09-19", "2021-09-21"],
|
55
|
+
"type": "holiday"
|
56
|
+
},
|
57
|
+
{
|
58
|
+
"name": "国庆节",
|
59
|
+
"range": ["2021-09-26"],
|
60
|
+
"type": "workingday"
|
61
|
+
},
|
62
|
+
{
|
63
|
+
"name": "国庆节",
|
64
|
+
"range": ["2021-10-01", "2021-10-07"],
|
65
|
+
"type": "holiday"
|
66
|
+
},
|
67
|
+
{
|
68
|
+
"name": "国庆节",
|
69
|
+
"range": ["2021-10-09"],
|
70
|
+
"type": "workingday"
|
71
|
+
}
|
72
|
+
]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chinese-holidays
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- bastengao
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-12-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -82,13 +82,14 @@ files:
|
|
82
82
|
- lib/chinese/holidays/data/2018.json
|
83
83
|
- lib/chinese/holidays/data/2019.json
|
84
84
|
- lib/chinese/holidays/data/2020.json
|
85
|
+
- lib/chinese/holidays/data/2021.json
|
85
86
|
- lib/chinese/holidays/days.rb
|
86
87
|
- lib/chinese/holidays/version.rb
|
87
88
|
homepage: https://github.com/bastengao/chinese-holidays-ruby
|
88
89
|
licenses:
|
89
90
|
- MIT
|
90
91
|
metadata: {}
|
91
|
-
post_install_message:
|
92
|
+
post_install_message:
|
92
93
|
rdoc_options: []
|
93
94
|
require_paths:
|
94
95
|
- lib
|
@@ -104,7 +105,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
104
105
|
version: '0'
|
105
106
|
requirements: []
|
106
107
|
rubygems_version: 3.0.6
|
107
|
-
signing_key:
|
108
|
+
signing_key:
|
108
109
|
specification_version: 4
|
109
110
|
summary: Chinese holidays
|
110
111
|
test_files: []
|