christian_calendar 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- checksums.yaml.gz.sig +2 -3
- data.tar.gz.sig +0 -0
- data/lib/christian_calendar.rb +6 -1
- metadata +27 -23
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 21ac6511b4b24a4d5506b92515fb86901c22087dcd9d318c456c980d55a4f216
|
4
|
+
data.tar.gz: 5c05e772e808c08748364eb967084b0880f7a178cdbd6b7ba84f20fdaaaed696
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 30fba1b32c09d8713f132d8933e8073c89da8a382e95582951bb477863ebc0b3a6b6d4f192c7addf9a9f96c51b1fe1546d42292ac9f826f032b440bbfb617387
|
7
|
+
data.tar.gz: 33eaeb8985ea6545482cb0db57e96d7d6107179239b678d9d7298746571558cb1396461e3a4fb831948d1568688beae264e009e2645a3a4f751939e0bb933016
|
checksums.yaml.gz.sig
CHANGED
@@ -1,3 +1,2 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
�:_~���_靋�1é�+��Dr���T�E!��cz���N�����>�G�7:�m���ci,�\R�_h��l@
|
1
|
+
d%���*���������X\/�.k'�D�S��ے&��8g�n��t�;�{�)��N�xA�p����F**��*� -Y�FA�uDV�Fc�8�����+�>6�K(���_|�~�76�A�'Cލ�� ����7\�Ye��m��A�&| � ���U����vR��-i9l� i&�R;J�ٙ�IʤV�'���%L���JSw�����q�����w�Ɛſ�hI~�[3ȯ��S�i�u�� ����$�*|�)�1jc�^��x�f�0
|
2
|
+
�%a>E�2zx�6 Թ��,¤��T�w^�T0�r�����G4e&6U:F����
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/christian_calendar.rb
CHANGED
@@ -94,10 +94,15 @@ class ChristianCalendar
|
|
94
94
|
def christmas(year=@year)
|
95
95
|
Date.new(year, 12, 25)
|
96
96
|
end
|
97
|
+
|
98
|
+
def query(s)
|
99
|
+
key = s.downcase.gsub(/\W+/,'_').to_sym
|
100
|
+
self.to_h[key]
|
101
|
+
end
|
97
102
|
|
98
103
|
def to_h
|
99
104
|
a = %i(epiphany st_davids_day ash_wednesday mothering_sunday)\
|
100
|
-
+ %i(st_patricks_day palm_sunday good_friday easter_sunday)\
|
105
|
+
+ %i(st_patricks_day palm_sunday good_friday easter easter_sunday)\
|
101
106
|
+ %i(whit_sunday trinity_sunday ascension_day pentecost st_andrews_day)\
|
102
107
|
+ %i(advent_sunday christmas)
|
103
108
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: christian_calendar
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -10,28 +10,32 @@ bindir: bin
|
|
10
10
|
cert_chain:
|
11
11
|
- |
|
12
12
|
-----BEGIN CERTIFICATE-----
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
13
|
+
MIIEXjCCAsagAwIBAgIBATANBgkqhkiG9w0BAQsFADAsMSowKAYDVQQDDCFnZW1t
|
14
|
+
YXN0ZXIvREM9amFtZXNyb2JlcnRzb24vREM9ZXUwHhcNMjEwMjIzMTIwMzMwWhcN
|
15
|
+
MjIwMjIzMTIwMzMwWjAsMSowKAYDVQQDDCFnZW1tYXN0ZXIvREM9amFtZXNyb2Jl
|
16
|
+
cnRzb24vREM9ZXUwggGiMA0GCSqGSIb3DQ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
|
+
ifukkKMdo9xNMu5D59X2DdFC9tLJt7gxdyyeSXivqm/tZbUQpnkNz/GafAJ50QZH
|
32
|
+
KlWYBmPv7SR005r90DZSvcmVWRMvh6ayB7LRwv6MB4vVXwPgMgPbzkYkMDwAujDC
|
33
|
+
rBYI7T++nB7NmaknSzZFSM9J8bkG/YZIeeVgvdvbx8O1fJxNol8T8viHr7TDumw5
|
34
|
+
yxomegosdRYm0IphoXe68u7ULYL+Pm96URNCgPJ8MBI61EEV3sfeGgOm9rp/wpB5
|
35
|
+
EDu38TLU1QmXqx2josvEv8qQeGqufRaJ5jCTc7W/8j7wxMhrpLBospO9XDN+raIX
|
36
|
+
XrzS00Ke3QGI3gJzx6QPu4Uz
|
33
37
|
-----END CERTIFICATE-----
|
34
|
-
date:
|
38
|
+
date: 2021-02-23 00:00:00.000000000 Z
|
35
39
|
dependencies:
|
36
40
|
- !ruby/object:Gem::Dependency
|
37
41
|
name: easter
|
@@ -103,7 +107,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
103
107
|
version: '0'
|
104
108
|
requirements: []
|
105
109
|
rubyforge_project:
|
106
|
-
rubygems_version: 2.
|
110
|
+
rubygems_version: 2.7.10
|
107
111
|
signing_key:
|
108
112
|
specification_version: 4
|
109
113
|
summary: Returns the date for Easter, Ash Wednesday, Good Friday, Trinity Sunday,
|
metadata.gz.sig
CHANGED
Binary file
|