xlsx 0.1 → 0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/xlsx/cell.rb +2 -2
  2. metadata +31 -13
@@ -44,10 +44,10 @@ module XLSX
44
44
  col_name = ''
45
45
  else
46
46
  c = col_number / 26
47
- col_name = (?A + c - 1).chr
47
+ col_name = (?A.ord + c - 1).chr
48
48
  col_number = col_number % 26
49
49
  end
50
- col_name += (?A + col_number).chr
50
+ col_name += (?A.ord + col_number).chr
51
51
  "#{col_name}#{row_number + 1}"
52
52
  end
53
53
  end
metadata CHANGED
@@ -1,7 +1,11 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xlsx
3
3
  version: !ruby/object:Gem::Version
4
- version: "0.1"
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 2
8
+ version: "0.2"
5
9
  platform: ruby
6
10
  authors:
7
11
  - Brian Buchanan
@@ -9,29 +13,39 @@ autorequire:
9
13
  bindir: bin
10
14
  cert_chain: []
11
15
 
12
- date: 2010-10-21 00:00:00 -07:00
16
+ date: 2010-10-18 00:00:00 -07:00
13
17
  default_executable:
14
18
  dependencies:
15
19
  - !ruby/object:Gem::Dependency
16
20
  name: builder
17
- type: :runtime
18
- version_requirement:
19
- version_requirements: !ruby/object:Gem::Requirement
21
+ prerelease: false
22
+ requirement: &id001 !ruby/object:Gem::Requirement
23
+ none: false
20
24
  requirements:
21
25
  - - ">="
22
26
  - !ruby/object:Gem::Version
27
+ segments:
28
+ - 2
29
+ - 1
30
+ - 2
23
31
  version: 2.1.2
24
- version:
32
+ type: :runtime
33
+ version_requirements: *id001
25
34
  - !ruby/object:Gem::Dependency
26
35
  name: rubyzip
27
- type: :runtime
28
- version_requirement:
29
- version_requirements: !ruby/object:Gem::Requirement
36
+ prerelease: false
37
+ requirement: &id002 !ruby/object:Gem::Requirement
38
+ none: false
30
39
  requirements:
31
40
  - - ">="
32
41
  - !ruby/object:Gem::Version
42
+ segments:
43
+ - 0
44
+ - 9
45
+ - 1
33
46
  version: 0.9.1
34
- version:
47
+ type: :runtime
48
+ version_requirements: *id002
35
49
  description: XLSX is a Ruby library for writing simple XLSX-format Excel documents.
36
50
  email: bwb@holo.org
37
51
  executables: []
@@ -60,21 +74,25 @@ rdoc_options:
60
74
  require_paths:
61
75
  - lib
62
76
  required_ruby_version: !ruby/object:Gem::Requirement
77
+ none: false
63
78
  requirements:
64
79
  - - ">="
65
80
  - !ruby/object:Gem::Version
81
+ segments:
82
+ - 0
66
83
  version: "0"
67
- version:
68
84
  required_rubygems_version: !ruby/object:Gem::Requirement
85
+ none: false
69
86
  requirements:
70
87
  - - ">="
71
88
  - !ruby/object:Gem::Version
89
+ segments:
90
+ - 0
72
91
  version: "0"
73
- version:
74
92
  requirements: []
75
93
 
76
94
  rubyforge_project:
77
- rubygems_version: 1.3.5
95
+ rubygems_version: 1.3.7
78
96
  signing_key:
79
97
  specification_version: 2
80
98
  summary: XLSX is a Ruby library for writing simple XLSX-format Excel documents.