spreadsheetx 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.1
1
+ 0.2.2
@@ -129,7 +129,8 @@ module SpreadsheetX
129
129
 
130
130
  # turns a cell address into its excel name, 1,1 = A1 2,3 = C2 etc.
131
131
  def self.cell_id(col_number, row_number)
132
- raise 'There is no row 0, start at 1 instead' if row_number < 1
132
+ raise 'There is no row 0 in an excel sheet, start at 1 instead' if row_number < 1
133
+ raise 'There is no column 0 in an excel sheet, start at 1 instead' if col_number < 1
133
134
  letter = 'A'
134
135
  # some day, speed this up
135
136
  (col_number.to_i-1).times{letter = letter.succ}
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{spreadsheetx}
8
- s.version = "0.2.1"
8
+ s.version = "0.2.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Craig Ulliott"]
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: spreadsheetx
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.2.1
5
+ version: 0.2.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - Craig Ulliott
@@ -119,7 +119,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
119
119
  requirements:
120
120
  - - ">="
121
121
  - !ruby/object:Gem::Version
122
- hash: 3923025067229430193
122
+ hash: -3885931642125735789
123
123
  segments:
124
124
  - 0
125
125
  version: "0"