hebrew_date 1.0.20 → 1.0.21
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/hebrew_date.gemspec +2 -2
- data/lib/support/parshiot.rb +9 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 96da92e568f762c9720f3741f8b7d8d567e244e2
|
4
|
+
data.tar.gz: bfdcdfe4b2987423dbd02285b14667ad79f4582c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c2a4a34259f2b7c3f440587a35741ffbba9c3ca2b5f101fe60808252e390de05b5544c96cf3d77c191ba888cc9461dccaa3e7bca056d4552b2ed752e4bdc5cc7
|
7
|
+
data.tar.gz: d693076d2e6433f7b1d2c477919458883b0f24d26d180f0c3df1d23d12c2050f9b8947f6a662c6444f9f34affb71d97a1333e151378aec00a76f504c599c7a31
|
data/hebrew_date.gemspec
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'hebrew_date'
|
3
3
|
s.require_paths = %w(. lib)
|
4
|
-
s.version = '1.0.
|
5
|
-
s.date = '2014-
|
4
|
+
s.version = '1.0.21'
|
5
|
+
s.date = '2014-07-26'
|
6
6
|
s.summary = 'Hebrew/Jewish dates, times, and holidays.'
|
7
7
|
s.description = <<-EOF
|
8
8
|
hebrew_date is a library designed to provide information about the Jewish
|
data/lib/support/parshiot.rb
CHANGED
@@ -310,6 +310,15 @@ module HebrewDateSupport
|
|
310
310
|
return 'Parah' if @hebrew_date > 17 && @hebrew_date < 24
|
311
311
|
return 'Hachodesh' if @hebrew_date > 24
|
312
312
|
end
|
313
|
+
|
314
|
+
if @hebrew_month == 5
|
315
|
+
if @hebrew_date < 9 && @hebrew_date > 2
|
316
|
+
return 'Chazon'
|
317
|
+
elsif @hebrew_date > 9 && @hebrew_date < 16
|
318
|
+
return 'Nachamu'
|
319
|
+
end
|
320
|
+
end
|
321
|
+
|
313
322
|
nil
|
314
323
|
end
|
315
324
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hebrew_date
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.21
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Orner
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-07-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: yard
|