national_holidays 1.3.0 → 1.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +20 -0
- data/national-holidays-config/conf/lc/saint_lucia01.yml +8 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f332ba3da8cc197c95af6fd4c507bb30016fa1fa45a623a7e74c9650748a084b
|
4
|
+
data.tar.gz: 766e2814e4efb3befda9cf9c6dd955da0417f1b8447a00916a8ffde553db56b2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 061b8770880d46cfa5369ca0885df55d043ae42ad7eca0a715888e8ea3bb90e64543637e362c45bff133a4dadb7bf369a65b737a8a93d72ec3965016e3faac12
|
7
|
+
data.tar.gz: 975d6ea2a8e0f06fc63d4dbf38201a7088e6e5654358bc22278a63abd7b84b70e882c5ed32fcfe6dafbdcc90157b1388d79cf99ea5a4326964325ce3bc4242a6
|
data/README.md
CHANGED
@@ -8,6 +8,26 @@ The national holidays data used in this gem comes from the [national-holidays-co
|
|
8
8
|
|
9
9
|
gem install national_holidays
|
10
10
|
|
11
|
+
## Development
|
12
|
+
|
13
|
+
This project uses git submodules, so the first time you clone the repository you will need to run:
|
14
|
+
|
15
|
+
git submodule init
|
16
|
+
|
17
|
+
Then to keep the config up to date use:
|
18
|
+
|
19
|
+
git pull --recurse-submodules
|
20
|
+
|
21
|
+
And to actually pull in new config use:
|
22
|
+
|
23
|
+
git submodule foreach git pull origin master
|
24
|
+
|
25
|
+
Then to publish:
|
26
|
+
|
27
|
+
gem build national_holidays.gemspec
|
28
|
+
gem push national_holidays-{VERSION}.gem
|
29
|
+
rm national_holidays-{VERSION}.gem
|
30
|
+
|
11
31
|
## Usage
|
12
32
|
|
13
33
|
require 'national_holidays'
|
@@ -42,6 +42,10 @@ years:
|
|
42
42
|
date: '2018-10-01'
|
43
43
|
names:
|
44
44
|
en: 'Thanksgiving Day'
|
45
|
+
- public_holiday: true
|
46
|
+
date: '2018-12-13'
|
47
|
+
names:
|
48
|
+
en: 'National Day of St. Lucia'
|
45
49
|
- public_holiday: true
|
46
50
|
date: '2018-12-25'
|
47
51
|
names:
|
@@ -87,6 +91,10 @@ years:
|
|
87
91
|
date: '2019-10-07'
|
88
92
|
names:
|
89
93
|
en: 'Thanksgiving Day'
|
94
|
+
- public_holiday: true
|
95
|
+
date: '2019-12-13'
|
96
|
+
names:
|
97
|
+
en: 'National Day of St. Lucia'
|
90
98
|
- public_holiday: true
|
91
99
|
date: '2019-12-25'
|
92
100
|
names:
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: national_holidays
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alex Balhatchet
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-10-
|
11
|
+
date: 2018-10-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: countries
|