3months_staff_schedule 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -65,8 +65,7 @@ def project_header_for_row(row, index)
65
65
  # Does the row meet our requirements:
66
66
  # - one column present only
67
67
  # - only first column filled in
68
- row_size = row.dup.delete_if(&:empty?).length
69
- return row[0] if row_size == 1 and !row[0].blank?
68
+ return row[0] if !row[0].blank? && row[1].blank?
70
69
 
71
70
  # Otherwise recurse
72
71
  return project_header_for_row(schedule.rows[index - 1], index - 1)
@@ -1,3 +1,3 @@
1
1
  module StaffSchedule
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: 3months_staff_schedule
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
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-17 00:00:00.000000000 Z
12
+ date: 2013-03-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: google_drive
@@ -92,8 +92,6 @@ files:
92
92
  - bin/staff_schedule
93
93
  - lib/3months_staff_schedule.rb
94
94
  - lib/staff_schedule/version.rb
95
- - pkg/3months_staff_schedule-0.0.1.gem
96
- - pkg/3months_staff_schedule-0.0.2.gem
97
95
  homepage: ''
98
96
  licenses: []
99
97
  post_install_message:
@@ -108,7 +106,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
108
106
  version: '0'
109
107
  segments:
110
108
  - 0
111
- hash: 662801639659897258
109
+ hash: -3552182885558647555
112
110
  required_rubygems_version: !ruby/object:Gem::Requirement
113
111
  none: false
114
112
  requirements:
@@ -117,10 +115,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
117
115
  version: '0'
118
116
  segments:
119
117
  - 0
120
- hash: 662801639659897258
118
+ hash: -3552182885558647555
121
119
  requirements: []
122
120
  rubyforge_project:
123
- rubygems_version: 1.8.24
121
+ rubygems_version: 1.8.23
124
122
  signing_key:
125
123
  specification_version: 3
126
124
  summary: Generate a report from the 3months staff schedule