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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 39a4dbf5551c93ded677f56801766459f5d1ab47
4
- data.tar.gz: 75019841deb32f9269035df4220ae81b97a494cc
3
+ metadata.gz: 74f197a39c9a10c1a44b0891a03ecb3d46fe5dd7
4
+ data.tar.gz: 586235c103424c0e6ba844f9bf90bc3caea38724
5
5
  SHA512:
6
- metadata.gz: 3c355b53de7f533d352ec0eeab52643c20ff36cb8cf057d62092b589f8d8dea88af6b4198b4f522be9673b639fa8195e5bbc02fa4cac802d5675fff8b1d06c07
7
- data.tar.gz: be21b1c297e43de7baf02d1c068ab9819bcf8ab59e76e067adce0aa586b6269d64bb25f933b096a457454835ecfaa749ec4dee91ac0e2c484f7df2aeb38532a1
6
+ metadata.gz: 3b58d2961d534b8e1ae594ec0b5effdcea04dd8f18d5cae699b610f1859b26be445b74471497e4dfdcbf5a496a4214c67525b63eaa1523510d0321670c45950e
7
+ data.tar.gz: 1db6e4284f3ec8933908f70e85d147e0ba039ec3231de001c3a55f070a6c5c5b07e166f88da5fa968652d20d47c2b21a3c5acef929e3d1b54d1da49aa4af8613
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.4'
4
+ s.version = '1.0.5'
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
@@ -224,8 +224,13 @@ class HebrewDate < Delegator
224
224
  self
225
225
  end
226
226
 
227
- alias_method :next, :forward
228
- alias_method :succ, :forward
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.
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.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Orner