xmlss 1.0.0.rc.2 → 1.0.0.rc.3
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +3 -3
- data/lib/xmlss/version.rb +1 -1
- data/lib/xmlss/workbook.rb +8 -5
- data/xmlss.gemspec +1 -1
- metadata +7 -7
data/Gemfile.lock
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
xmlss (1.0.0.rc.
|
4
|
+
xmlss (1.0.0.rc.3)
|
5
5
|
enumeration (~> 1.3)
|
6
|
-
undies (~> 3.0.0.rc.
|
6
|
+
undies (~> 3.0.0.rc.2)
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: http://rubygems.org/
|
@@ -16,7 +16,7 @@ GEM
|
|
16
16
|
enumeration (1.3.1)
|
17
17
|
rake (0.9.2)
|
18
18
|
ruby-prof (0.10.8)
|
19
|
-
undies (3.0.0.rc.
|
19
|
+
undies (3.0.0.rc.2)
|
20
20
|
whysoslow (0.0.2)
|
21
21
|
ansi (~> 1.4)
|
22
22
|
|
data/lib/xmlss/version.rb
CHANGED
data/lib/xmlss/workbook.rb
CHANGED
@@ -101,6 +101,13 @@ module Xmlss
|
|
101
101
|
|
102
102
|
# Workbook element attributes API
|
103
103
|
|
104
|
+
def style_id(value) # cell, row, column
|
105
|
+
# check to make sure there is a current on this one
|
106
|
+
if (c = self.class.worksheets_stack(self).current)
|
107
|
+
c.style_id = value
|
108
|
+
end
|
109
|
+
end
|
110
|
+
|
104
111
|
def data(value) # cell
|
105
112
|
self.class.worksheets_stack(self).current.data = value
|
106
113
|
end
|
@@ -113,10 +120,6 @@ module Xmlss
|
|
113
120
|
self.class.worksheets_stack(self).current.index = value
|
114
121
|
end
|
115
122
|
|
116
|
-
def style_id(value) # cell, row, column
|
117
|
-
self.class.worksheets_stack(self).current.style_id = value
|
118
|
-
end
|
119
|
-
|
120
123
|
def formula(value) # cell
|
121
124
|
self.class.worksheets_stack(self).current.formula = value
|
122
125
|
end
|
@@ -146,7 +149,7 @@ module Xmlss
|
|
146
149
|
end
|
147
150
|
|
148
151
|
def width(value) # column
|
149
|
-
self.class.worksheets_stack(self).current.
|
152
|
+
self.class.worksheets_stack(self).current.width = value
|
150
153
|
end
|
151
154
|
|
152
155
|
def auto_fit_width(value) # column
|
data/xmlss.gemspec
CHANGED
@@ -19,6 +19,6 @@ Gem::Specification.new do |s|
|
|
19
19
|
|
20
20
|
s.add_development_dependency("assert", ["~> 0.7.3"])
|
21
21
|
s.add_development_dependency("assert-view", ["~> 0.6"])
|
22
|
-
s.add_dependency("undies", ["~> 3.0.0.rc.
|
22
|
+
s.add_dependency("undies", ["~> 3.0.0.rc.2"])
|
23
23
|
s.add_dependency("enumeration", ["~> 1.3"])
|
24
24
|
end
|
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: xmlss
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 15424051
|
5
5
|
prerelease: 6
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
9
|
- 0
|
10
10
|
- rc
|
11
|
-
-
|
12
|
-
version: 1.0.0.rc.
|
11
|
+
- 3
|
12
|
+
version: 1.0.0.rc.3
|
13
13
|
platform: ruby
|
14
14
|
authors:
|
15
15
|
- Kelly Redding
|
@@ -17,7 +17,7 @@ autorequire:
|
|
17
17
|
bindir: bin
|
18
18
|
cert_chain: []
|
19
19
|
|
20
|
-
date: 2012-04-
|
20
|
+
date: 2012-04-18 00:00:00 Z
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|
23
23
|
type: :development
|
@@ -57,14 +57,14 @@ dependencies:
|
|
57
57
|
requirements:
|
58
58
|
- - ~>
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
hash:
|
60
|
+
hash: 15424113
|
61
61
|
segments:
|
62
62
|
- 3
|
63
63
|
- 0
|
64
64
|
- 0
|
65
65
|
- rc
|
66
|
-
-
|
67
|
-
version: 3.0.0.rc.
|
66
|
+
- 2
|
67
|
+
version: 3.0.0.rc.2
|
68
68
|
name: undies
|
69
69
|
version_requirements: *id003
|
70
70
|
prerelease: false
|