hebrew_date 1.0.19 → 1.0.20

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: c9b06836b1e07afa0a06de13451907261ea75cd0
4
- data.tar.gz: 80e96f00415a3396eec12a6bb48b300aa8c0c7b6
3
+ metadata.gz: 52501f24bf488f04ca6ee97e552cae35785a9af9
4
+ data.tar.gz: cb88066eaa298101ad858c92fd52fb942e37cdb5
5
5
  SHA512:
6
- metadata.gz: 1c2b83ec6c71d6057deccc8388cd666d44420eb6d4029a708ce2afcbbc6b593bbf2ffd5300efea50617e5ec5ccfcade373b3238f18a53697b94c54e9329a7492
7
- data.tar.gz: 288224dd8c89be103b548b07c3a2108211e98780d566c8763ab9ead194d09846dbdfb05c025fada8659b81d067dcbbf1892c71c7d44b5b61b5411662bb57a884
6
+ metadata.gz: 3b1b245082913951d3226eca43217e5a14c80f08fd0b6be0d025612f3cb1b15a1b9e9f6ecb38ee03352e2daa45834eb0f98db486febfd4f554a1d8818f705a05
7
+ data.tar.gz: f7633d88bd980b1e2665600507cfc7d4698904616387fdd6f9433b2a3a33cb72154a50e46cdd747334e487f9b74bdcc25f4350624b1fba1fde09c628febff922
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.19'
5
- s.date = '2014-03-31'
4
+ s.version = '1.0.20'
5
+ s.date = '2014-04-03'
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
@@ -4,7 +4,7 @@ module HebrewDateSupport
4
4
 
5
5
  # A list of holidays which can be passed into the from_holiday method.
6
6
  HOLIDAYS = [
7
- :TAANIT_BECHOROT,
7
+ :TAANIT_BECHORIM,
8
8
  :EREV_PESACH,
9
9
  :PESACH,
10
10
  :PESACH_2,
@@ -45,7 +45,7 @@ module HebrewDateSupport
45
45
  def from_holiday(holiday, year=nil)
46
46
  year ||= self.new.hebrew_year
47
47
  case holiday
48
- when :TAANIT_BECHOROT
48
+ when :TAANIT_BECHORIM
49
49
  date = self.from_holiday(:EREV_PESACH, year)
50
50
  date.shabbos? ? date - 2 : date
51
51
  when :EREV_PESACH
@@ -149,7 +149,7 @@ module HebrewDateSupport
149
149
  case @hebrew_month
150
150
  when 1
151
151
  if @hebrew_date == 12 && self.thursday?
152
- return @ashkenaz ? "Ta'anis Bechoros" : "Ta'anit Bechorot"
152
+ return @ashkenaz ? "Ta'anis Bechorim" : "Ta'anit Bechorim"
153
153
  end
154
154
  return 'Erev Pesach' if @hebrew_date == 14
155
155
  if @hebrew_date == 15 || @hebrew_date == 21 ||
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.19
4
+ version: 1.0.20
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-03-31 00:00:00.000000000 Z
11
+ date: 2014-04-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: yard