rrschedule 0.1.7 → 0.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/rrschedule.rb +2 -2
  3. metadata +3 -3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.7
1
+ 0.1.8
data/lib/rrschedule.rb CHANGED
@@ -219,13 +219,13 @@ module RRSchedule
219
219
 
220
220
  gameday.games = gameday.games.sort_by {|g| [g.game_time,g.playing_surface]}
221
221
  self.gamedays << gameday
222
- cur_date += (60*60*24)
222
+ cur_date += 1
223
223
  end
224
224
  end
225
225
 
226
226
  #get the next gameday
227
227
  def next_game_date(dt,wday)
228
- dt += (60*60*24) until wday == dt.wday && !self.exclude_dates.include?(dt)
228
+ dt += 1 until wday == dt.wday && !self.exclude_dates.include?(dt)
229
229
  dt
230
230
  end
231
231
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rrschedule
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
4
+ hash: 11
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 7
10
- version: 0.1.7
9
+ - 8
10
+ version: 0.1.8
11
11
  platform: ruby
12
12
  authors:
13
13
  - flamontagne