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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 52501f24bf488f04ca6ee97e552cae35785a9af9
4
- data.tar.gz: cb88066eaa298101ad858c92fd52fb942e37cdb5
3
+ metadata.gz: 96da92e568f762c9720f3741f8b7d8d567e244e2
4
+ data.tar.gz: bfdcdfe4b2987423dbd02285b14667ad79f4582c
5
5
  SHA512:
6
- metadata.gz: 3b1b245082913951d3226eca43217e5a14c80f08fd0b6be0d025612f3cb1b15a1b9e9f6ecb38ee03352e2daa45834eb0f98db486febfd4f554a1d8818f705a05
7
- data.tar.gz: f7633d88bd980b1e2665600507cfc7d4698904616387fdd6f9433b2a3a33cb72154a50e46cdd747334e487f9b74bdcc25f4350624b1fba1fde09c628febff922
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.20'
5
- s.date = '2014-04-03'
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
@@ -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.20
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-04-03 00:00:00.000000000 Z
11
+ date: 2014-07-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: yard