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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 71a00a7ed18b45caf96820a7aa249fa1d56cc880
4
- data.tar.gz: f396804091f7698b73097670b00a236e37acc3f4
2
+ SHA256:
3
+ metadata.gz: 21ac6511b4b24a4d5506b92515fb86901c22087dcd9d318c456c980d55a4f216
4
+ data.tar.gz: 5c05e772e808c08748364eb967084b0880f7a178cdbd6b7ba84f20fdaaaed696
5
5
  SHA512:
6
- metadata.gz: 9a89ba05c9199bf234318e7be3daf95aca21234032d34058694b06a14203225464d2656f7a3194fee0ba6b1feea3e481cd088e0dca30fc9f859600c198a49bff
7
- data.tar.gz: 81cf9d77ea91cbfd42bf55f233bd9f6a87373cfad3cf72232d3b31129e745eebf0df4f940729582a581c627e70f19a7a3aec2720362aade0bd3922bff858d70a
6
+ metadata.gz: 30fba1b32c09d8713f132d8933e8073c89da8a382e95582951bb477863ebc0b3a6b6d4f192c7addf9a9f96c51b1fe1546d42292ac9f826f032b440bbfb617387
7
+ data.tar.gz: 33eaeb8985ea6545482cb0db57e96d7d6107179239b678d9d7298746571558cb1396461e3a4fb831948d1568688beae264e009e2645a3a4f751939e0bb933016
checksums.yaml.gz.sig CHANGED
@@ -1,3 +1,2 @@
1
- �;�m�nޜ#R�F��I4��Ŀ�����W��G��uTq��st���Y��%���TA(���gG}[Z2Q��%����1׼�ߌkM���}ۂ
2
- VW\�s9͠� ���a�5p7��xF���c �^励D�e��ڵ��o ���@�?���z2�Tci���� >v��
3
- �:_~���_靋�1é�+��Dr���T�E!��cz���N�����>�G�7:�m���ci,�\R�_h��l@
1
+ d%���*���������X\/�.k'D�S��ے&��8g�n��t�;�{)��NxA�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ȯ��Siu�� ����$�*|�)�1jc�^��x�f�0
2
+ �%a>E2zx�6 Թ��,¤��Tw^�T0r �����G4e&6U:F����
data.tar.gz.sig CHANGED
Binary file
@@ -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.6
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
- MIIDljCCAn6gAwIBAgIBATANBgkqhkiG9w0BAQUFADBIMRIwEAYDVQQDDAlnZW1t
14
- YXN0ZXIxHjAcBgoJkiaJk/IsZAEZFg5qYW1lc3JvYmVydHNvbjESMBAGCgmSJomT
15
- 8ixkARkWAmV1MB4XDTE3MDQwMzA1NTUxMVoXDTE4MDQwMzA1NTUxMVowSDESMBAG
16
- A1UEAwwJZ2VtbWFzdGVyMR4wHAYKCZImiZPyLGQBGRYOamFtZXNyb2JlcnRzb24x
17
- EjAQBgoJkiaJk/IsZAEZFgJldTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC
18
- ggEBALs1SO/pvokAQ35klA/Xocno+F+O3q3E5Zw+yZJ9+H9e1bun7nn/Sqr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6MGnQzelM6xNVA3zdqGxNsHorFPULmkV8ZL
31
+ 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: 2017-04-03 00:00:00.000000000 Z
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.6.8
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