hebrew_date 1.0.16 → 1.0.17
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/hebrew_date.gemspec +1 -1
- data/lib/support/holidays.rb +3 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c2235704ba0fb5579772edb819051d8c8b927a6e
|
|
4
|
+
data.tar.gz: d9019f7b144f2a4b68f4553023b974241de1643e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 24ba395fa303ff692d9bdb01af7b32f27125b024abdecb46f3cbaa1265d03df36987c72e15d1c62466bf94b5a944b0fa242499466433420906bdc3bfc59858b2
|
|
7
|
+
data.tar.gz: 3e6074d416d6384e22fde86e65290c0c829a4a4ec84217df06ccab925e4dd309616ef7bf9614233820157c5717186704d295e55d9b6bc2ca1d690cf7af76e1ed
|
data/hebrew_date.gemspec
CHANGED
data/lib/support/holidays.rb
CHANGED
|
@@ -148,6 +148,9 @@ module HebrewDateSupport
|
|
|
148
148
|
# check by month (starts from Nissan)
|
|
149
149
|
case @hebrew_month
|
|
150
150
|
when 1
|
|
151
|
+
if @hebrew_date == 12 && self.thursday?
|
|
152
|
+
return @ashkenaz ? "Ta'anis Bechoros" : "Ta'anit Bechorot"
|
|
153
|
+
end
|
|
151
154
|
return 'Erev Pesach' if @hebrew_date == 14
|
|
152
155
|
if @hebrew_date == 15 || @hebrew_date == 21 ||
|
|
153
156
|
(!@israeli && (@hebrew_date == 16 || @hebrew_date == 22))
|