hebrew_date 1.0.6 → 1.0.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
2
  SHA1:
3
- metadata.gz: ed501da770884bb19509220ee67fe9070ada1072
4
- data.tar.gz: a8115661af9a5d5f5d2c141b1c456fd8d368ff7f
3
+ metadata.gz: b999b36e4bb49c83666744e8b5354aeb3b021662
4
+ data.tar.gz: f5bbcf4dd81c65fd92495bbba83b689d8f84b5c7
5
5
  SHA512:
6
- metadata.gz: 1826d00264e75d19a8faedfa13765caa7523199f9b38e92db560ecd373003442a058dd6707eb0cf17c809d5803a1a5ac513d5569546552b22c8507209a4d6122
7
- data.tar.gz: 768850c75fb273074c214a57e91892916e6af7e00ed150a5369cb16e04ee430c0428cc4746c820765e327a612273e7d38f19e2f9c2c46948964afb63a0b1d551
6
+ metadata.gz: 125fe15016bd387ccacf05a28a5d26f231976b2a33baaddb57d34d589be0be392fe0bdf48bc46af76a96c6b9b4dc9bb484f0d753b01a6c8e8305c25cb4592f99
7
+ data.tar.gz: a24e573236d2dc65f3c902c569a4dff8e5ae78532d5a3c03b8e0b9f18a2bd970a61b3efb5128a78833d7bce5f21eff58b8fa9c69a388833e7830ddb0949d5f70
data/hebrew_date.gemspec CHANGED
@@ -1,7 +1,7 @@
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.6'
4
+ s.version = '1.0.7'
5
5
  s.date = '2014-01-27'
6
6
  s.summary = 'Hebrew/Jewish dates, times, and holidays.'
7
7
  s.description = <<-EOF
data/lib/hebrew_date.rb CHANGED
@@ -90,7 +90,7 @@ class HebrewDate < Delegator
90
90
  :next_month, :next_year, :prev_day, :prev_month,
91
91
  :prev_year].each do |method_name|
92
92
  define_method(method_name) do |*args|
93
- HebrewDate.new(self.to_date.send(method_name, *args))
93
+ self.class.new(self.to_date.send(method_name, *args))
94
94
  end
95
95
  end
96
96
 
@@ -107,7 +107,7 @@ class HebrewDate < Delegator
107
107
  # Get a clone of this object.
108
108
  # @return [HebrewDate]
109
109
  def clone
110
- HebrewDate.new(self.to_date)
110
+ self.class.new(self.to_date)
111
111
  end
112
112
 
113
113
  # Comparison operator.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hebrew_date
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.6
4
+ version: 1.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Orner