rails-scheduler 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -12,7 +12,7 @@ Scheduler.form = (function($, undefined) {
12
12
 
13
13
  if (startDate) {
14
14
  var weekDay = (startDate.getDay() + 6) % 7; // monday is 0 in Rails
15
- var weekDayOrder = Math.floor((startDate.getDate() - startDate.getDay() + 6) / 7);
15
+ var weekDayOrder = Math.floor((startDate.getDate() + 6) / 7);
16
16
  if (weekDayOrder > 3) {
17
17
  weekDayOrder = -1;
18
18
  }
@@ -1,3 +1,3 @@
1
1
  module Scheduler
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails-scheduler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-12-20 00:00:00.000000000 Z
12
+ date: 2013-01-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -156,7 +156,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
156
156
  version: '0'
157
157
  segments:
158
158
  - 0
159
- hash: -160142861
159
+ hash: 842586223
160
160
  required_rubygems_version: !ruby/object:Gem::Requirement
161
161
  none: false
162
162
  requirements:
@@ -165,7 +165,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
165
165
  version: '0'
166
166
  segments:
167
167
  - 0
168
- hash: -160142861
168
+ hash: 842586223
169
169
  requirements: []
170
170
  rubyforge_project:
171
171
  rubygems_version: 1.8.24