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 +4 -4
- data/hebrew_date.gemspec +1 -1
- data/lib/hebrew_date.rb +2 -2
- 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: b999b36e4bb49c83666744e8b5354aeb3b021662
|
4
|
+
data.tar.gz: f5bbcf4dd81c65fd92495bbba83b689d8f84b5c7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 125fe15016bd387ccacf05a28a5d26f231976b2a33baaddb57d34d589be0be392fe0bdf48bc46af76a96c6b9b4dc9bb484f0d753b01a6c8e8305c25cb4592f99
|
7
|
+
data.tar.gz: a24e573236d2dc65f3c902c569a4dff8e5ae78532d5a3c03b8e0b9f18a2bd970a61b3efb5128a78833d7bce5f21eff58b8fa9c69a388833e7830ddb0949d5f70
|
data/hebrew_date.gemspec
CHANGED
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
|
-
|
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
|
-
|
110
|
+
self.class.new(self.to_date)
|
111
111
|
end
|
112
112
|
|
113
113
|
# Comparison operator.
|