hebrew_date 1.0.4 → 1.0.5
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 +7 -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: 74f197a39c9a10c1a44b0891a03ecb3d46fe5dd7
|
4
|
+
data.tar.gz: 586235c103424c0e6ba844f9bf90bc3caea38724
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3b58d2961d534b8e1ae594ec0b5effdcea04dd8f18d5cae699b610f1859b26be445b74471497e4dfdcbf5a496a4214c67525b63eaa1523510d0321670c45950e
|
7
|
+
data.tar.gz: 1db6e4284f3ec8933908f70e85d147e0ba039ec3231de001c3a55f070a6c5c5b07e166f88da5fa968652d20d47c2b21a3c5acef929e3d1b54d1da49aa4af8613
|
data/hebrew_date.gemspec
CHANGED
data/lib/hebrew_date.rb
CHANGED
@@ -224,8 +224,13 @@ class HebrewDate < Delegator
|
|
224
224
|
self
|
225
225
|
end
|
226
226
|
|
227
|
-
|
228
|
-
|
227
|
+
# This does not modify the current date, but creates a new one.
|
228
|
+
# @return [HebrewDate]
|
229
|
+
def next
|
230
|
+
self + 1
|
231
|
+
end
|
232
|
+
|
233
|
+
alias_method :succ, :next
|
229
234
|
|
230
235
|
# Move back one day.
|
231
236
|
# @return [HebrewDate] the same HebrewDate object again, for chaining.
|