xmlss 1.0.0.rc.4 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +18 -2
- data/Gemfile +4 -5
- data/LICENSE.txt +22 -0
- data/{README.rdoc → README.md} +74 -71
- data/Rakefile +1 -7
- data/lib/xmlss/element/cell.rb +5 -0
- data/lib/xmlss/element/worksheet.rb +1 -0
- data/lib/xmlss/version.rb +1 -1
- data/lib/xmlss/writer.rb +53 -60
- data/test/helper.rb +6 -3
- data/test/unit/element/cell_tests.rb +124 -0
- data/test/{element/column_test.rb → unit/element/column_tests.rb} +14 -12
- data/test/{element/row_test.rb → unit/element/row_tests.rb} +14 -13
- data/test/{element/worksheet_test.rb → unit/element/worksheet_tests.rb} +16 -11
- data/test/{element_stack_test.rb → unit/element_stack_tests.rb} +5 -13
- data/test/{style/alignment_test.rb → unit/style/alignment_tests.rb} +17 -16
- data/test/{style/base_test.rb → unit/style/base_tests.rb} +7 -7
- data/test/{style/border_test.rb → unit/style/border_tests.rb} +18 -24
- data/test/{style/font_test.rb → unit/style/font_tests.rb} +8 -7
- data/test/{style/interior_test.rb → unit/style/interior_tests.rb} +6 -6
- data/test/{style/number_format_test.rb → unit/style/number_format_tests.rb} +6 -5
- data/test/{style/protection_test.rb → unit/style/protection_tests.rb} +2 -3
- data/test/{workbook_test.rb → unit/workbook_tests.rb} +2 -2
- data/test/{writer_test.rb → unit/writer_tests.rb} +20 -32
- data/xmlss.gemspec +20 -18
- metadata +58 -85
- data/Gemfile.lock +0 -33
- data/test/element/cell_test.rb +0 -117
- data/test/irb.rb +0 -10
- data/test/thing.rb +0 -9
@@ -1,14 +1,15 @@
|
|
1
1
|
require "assert"
|
2
|
+
require 'xmlss/style/font'
|
3
|
+
|
2
4
|
require 'enumeration/assert_macros'
|
3
5
|
|
4
|
-
|
6
|
+
class Xmlss::Style::Font
|
5
7
|
|
6
|
-
|
7
|
-
class FontTest < Assert::Context
|
8
|
+
class UnitTests < Assert::Context
|
8
9
|
include Enumeration::AssertMacros
|
9
10
|
|
10
11
|
desc "Xmlss::Style::Font"
|
11
|
-
before { @f = Font.new }
|
12
|
+
before { @f = Xmlss::Style::Font.new }
|
12
13
|
subject { @f }
|
13
14
|
|
14
15
|
should have_enum :underline, {
|
@@ -55,13 +56,13 @@ module Xmlss::Style
|
|
55
56
|
:alignment => :superscript,
|
56
57
|
:name => 'Verdana'
|
57
58
|
}
|
58
|
-
font = Font.new(attrs)
|
59
|
+
font = Xmlss::Style::Font.new(attrs)
|
59
60
|
|
60
61
|
attrs.reject{|a, v| [:underline, :alignment].include?(a)}.each do |a,v|
|
61
62
|
assert_equal v, font.send(a)
|
62
63
|
end
|
63
|
-
assert_equal Font.underline(:single), font.underline
|
64
|
-
assert_equal Font.alignment(:superscript), font.alignment
|
64
|
+
assert_equal Xmlss::Style::Font.underline(:single), font.underline
|
65
|
+
assert_equal Xmlss::Style::Font.alignment(:superscript), font.alignment
|
65
66
|
end
|
66
67
|
|
67
68
|
end
|
@@ -1,15 +1,15 @@
|
|
1
1
|
require "assert"
|
2
|
-
require 'enumeration/assert_macros'
|
3
|
-
|
4
2
|
require 'xmlss/style/interior'
|
5
3
|
|
6
|
-
|
4
|
+
require 'enumeration/assert_macros'
|
5
|
+
|
6
|
+
class Xmlss::Style::Interior
|
7
7
|
|
8
|
-
class
|
8
|
+
class UnitTests < Assert::Context
|
9
9
|
include Enumeration::AssertMacros
|
10
10
|
|
11
11
|
desc "Xmlss::Style::Interior"
|
12
|
-
before { @i = Interior.new }
|
12
|
+
before { @i = Xmlss::Style::Interior.new }
|
13
13
|
subject { @i }
|
14
14
|
|
15
15
|
should have_enum :pattern, {
|
@@ -48,7 +48,7 @@ module Xmlss::Style
|
|
48
48
|
end
|
49
49
|
|
50
50
|
should "set attributes at init" do
|
51
|
-
i = Interior.new({
|
51
|
+
i = Xmlss::Style::Interior.new({
|
52
52
|
:color => "#000000",
|
53
53
|
:pattern => :solid,
|
54
54
|
:pattern_color => "#FF0000"
|
@@ -1,14 +1,15 @@
|
|
1
1
|
require "assert"
|
2
|
+
require 'xmlss/style/number_format'
|
3
|
+
|
2
4
|
require 'enumeration/assert_macros'
|
3
5
|
|
4
|
-
|
6
|
+
class Xmlss::Style::NumberFormat
|
5
7
|
|
6
|
-
|
7
|
-
class NumberFormatTest < Assert::Context
|
8
|
+
class UnitTests < Assert::Context
|
8
9
|
include Enumeration::AssertMacros
|
9
10
|
|
10
11
|
desc "Xmlss::Style::NumberFormat"
|
11
|
-
before { @nf = NumberFormat.new }
|
12
|
+
before { @nf = Xmlss::Style::NumberFormat.new }
|
12
13
|
subject { @nf }
|
13
14
|
|
14
15
|
should have_class_method :writer
|
@@ -19,7 +20,7 @@ module Xmlss::Style
|
|
19
20
|
end
|
20
21
|
|
21
22
|
should "set attributes at init" do
|
22
|
-
nf = NumberFormat.new("General")
|
23
|
+
nf = Xmlss::Style::NumberFormat.new("General")
|
23
24
|
assert_equal "General", nf.format
|
24
25
|
end
|
25
26
|
|
@@ -1,10 +1,9 @@
|
|
1
1
|
require "assert"
|
2
|
-
|
3
2
|
require 'xmlss/style/protection'
|
4
3
|
|
5
|
-
|
4
|
+
class Xmlss::Style::Protection
|
6
5
|
|
7
|
-
class
|
6
|
+
class UnitTests < Assert::Context
|
8
7
|
desc "Xmlss::Style::Protection"
|
9
8
|
before { @sp = Xmlss::Style::Protection.new }
|
10
9
|
subject { @sp }
|
@@ -3,7 +3,7 @@ require 'xmlss/workbook'
|
|
3
3
|
|
4
4
|
module Xmlss::Worbook
|
5
5
|
|
6
|
-
class
|
6
|
+
class UnitTests < Assert::Context
|
7
7
|
desc "Xmlss::Workbook"
|
8
8
|
before { @wkbk = Xmlss::Workbook.new(Xmlss::Writer.new) }
|
9
9
|
subject { @wkbk }
|
@@ -83,7 +83,7 @@ module Xmlss::Worbook
|
|
83
83
|
|
84
84
|
end
|
85
85
|
|
86
|
-
class DataTests <
|
86
|
+
class DataTests < UnitTests
|
87
87
|
|
88
88
|
should "bork if non hash-like data is provided" do
|
89
89
|
assert_raises NoMethodError do
|
@@ -1,18 +1,16 @@
|
|
1
1
|
require 'assert'
|
2
|
-
|
3
2
|
require 'xmlss/writer'
|
4
|
-
require 'xmlss/workbook'
|
5
|
-
|
6
|
-
module Xmlss
|
7
3
|
|
4
|
+
require 'xmlss/workbook'
|
8
5
|
|
6
|
+
class Xmlss::Writer
|
9
7
|
|
10
|
-
class
|
11
|
-
desc "
|
8
|
+
class UnitTests < Assert::Context
|
9
|
+
desc "Xmlss::Writer"
|
12
10
|
setup do
|
13
|
-
@
|
11
|
+
@writer = Xmlss::Writer.new
|
14
12
|
end
|
15
|
-
subject { @
|
13
|
+
subject { @writer }
|
16
14
|
|
17
15
|
should have_readers :styles_markup, :worksheets_markup
|
18
16
|
should have_instance_methods :write, :push, :pop, :flush, :workbook
|
@@ -33,14 +31,12 @@ module Xmlss
|
|
33
31
|
|
34
32
|
end
|
35
33
|
|
36
|
-
|
37
|
-
|
38
|
-
class AttrsHashTests < BasicTests
|
34
|
+
class AttrsHashTests < UnitTests
|
39
35
|
desc "AttrsHash"
|
40
36
|
before do
|
41
|
-
@
|
37
|
+
@attrs = Xmlss::Writer::AttrsHash.new
|
42
38
|
end
|
43
|
-
subject { @
|
39
|
+
subject { @attrs }
|
44
40
|
|
45
41
|
should have_reader :raw
|
46
42
|
should have_instance_methods :value, :bool
|
@@ -50,7 +46,7 @@ module Xmlss
|
|
50
46
|
end
|
51
47
|
|
52
48
|
should "apply values to a raw hash with the writer namespace" do
|
53
|
-
assert_equal({"#{Writer::SHEET_NS}:a" => 'b'}, subject.value('a', 'b').raw)
|
49
|
+
assert_equal({"#{Xmlss::Writer::SHEET_NS}:a" => 'b'}, subject.value('a', 'b').raw)
|
54
50
|
end
|
55
51
|
|
56
52
|
should "ignore nil values" do
|
@@ -63,14 +59,12 @@ module Xmlss
|
|
63
59
|
|
64
60
|
should "apply booleans as '1' and otherwise ignore" do
|
65
61
|
assert_equal({}, subject.bool('a', false).raw)
|
66
|
-
assert_equal({"#{Writer::SHEET_NS}:a" => 1}, subject.bool('a', true).raw)
|
62
|
+
assert_equal({"#{Xmlss::Writer::SHEET_NS}:a" => 1}, subject.bool('a', true).raw)
|
67
63
|
end
|
68
64
|
|
69
65
|
end
|
70
66
|
|
71
|
-
|
72
|
-
|
73
|
-
class StyleWritingTests < BasicTests
|
67
|
+
class StyleWritingTests < UnitTests
|
74
68
|
|
75
69
|
should "write alignment markup" do
|
76
70
|
subject.write(Xmlss::Style::Alignment.new({
|
@@ -208,9 +202,7 @@ module Xmlss
|
|
208
202
|
|
209
203
|
end
|
210
204
|
|
211
|
-
|
212
|
-
|
213
|
-
class WorksheetWritingTests < BasicTests
|
205
|
+
class WorksheetWritingTests < UnitTests
|
214
206
|
desc "writing worksheet markup"
|
215
207
|
|
216
208
|
should "write cell data markup" do
|
@@ -227,28 +219,28 @@ module Xmlss
|
|
227
219
|
subject.write(Xmlss::Element::Cell.new("line\nbreak", :type => :string))
|
228
220
|
subject.flush
|
229
221
|
|
230
|
-
assert_equal "<Cell><Data ss:Type=\"String\">line#{Writer::LB}break</Data></Cell>", subject.worksheets_markup.to_s
|
222
|
+
assert_equal "<Cell><Data ss:Type=\"String\">line#{Xmlss::Writer::LB}break</Data></Cell>", subject.worksheets_markup.to_s
|
231
223
|
end
|
232
224
|
|
233
225
|
should "write cell data markup w/ \\r line breaks" do
|
234
226
|
subject.write(Xmlss::Element::Cell.new("line\rbreak", :type => :string))
|
235
227
|
subject.flush
|
236
228
|
|
237
|
-
assert_equal "<Cell><Data ss:Type=\"String\">line#{Writer::LB}break</Data></Cell>", subject.worksheets_markup.to_s
|
229
|
+
assert_equal "<Cell><Data ss:Type=\"String\">line#{Xmlss::Writer::LB}break</Data></Cell>", subject.worksheets_markup.to_s
|
238
230
|
end
|
239
231
|
|
240
232
|
should "write cell data markup w/ \\r\\n line breaks" do
|
241
233
|
subject.write(Xmlss::Element::Cell.new("line\r\nbreak", :type => :string))
|
242
234
|
subject.flush
|
243
235
|
|
244
|
-
assert_equal "<Cell><Data ss:Type=\"String\">line#{Writer::LB}break</Data></Cell>", subject.worksheets_markup.to_s
|
236
|
+
assert_equal "<Cell><Data ss:Type=\"String\">line#{Xmlss::Writer::LB}break</Data></Cell>", subject.worksheets_markup.to_s
|
245
237
|
end
|
246
238
|
|
247
239
|
should "write cell data markup w/ \\n\\r line breaks" do
|
248
240
|
subject.write(Xmlss::Element::Cell.new("line\n\rbreak", :type => :string))
|
249
241
|
subject.flush
|
250
242
|
|
251
|
-
assert_equal "<Cell><Data ss:Type=\"String\">line#{Writer::LB}break</Data></Cell>", subject.worksheets_markup.to_s
|
243
|
+
assert_equal "<Cell><Data ss:Type=\"String\">line#{Xmlss::Writer::LB}break</Data></Cell>", subject.worksheets_markup.to_s
|
252
244
|
end
|
253
245
|
|
254
246
|
should "write cell data markup w/ line breaks and leading space" do
|
@@ -259,7 +251,7 @@ Should
|
|
259
251
|
subject.flush
|
260
252
|
|
261
253
|
assert_equal(
|
262
|
-
"<Cell><Data ss:Type=\"String\">#{Writer::LB}Should#{Writer::LB} honor#{Writer::LB} this</Data></Cell>",
|
254
|
+
"<Cell><Data ss:Type=\"String\">#{Xmlss::Writer::LB}Should#{Xmlss::Writer::LB} honor#{Xmlss::Writer::LB} this</Data></Cell>",
|
263
255
|
subject.worksheets_markup.to_s
|
264
256
|
)
|
265
257
|
end
|
@@ -345,9 +337,7 @@ Should
|
|
345
337
|
|
346
338
|
end
|
347
339
|
|
348
|
-
|
349
|
-
|
350
|
-
class WorkbookWritingTests < BasicTests
|
340
|
+
class WorkbookWritingTests < UnitTests
|
351
341
|
|
352
342
|
def build_workbook(writer)
|
353
343
|
writer.write(Xmlss::Style::Base.new(:some_font))
|
@@ -388,7 +378,7 @@ Should
|
|
388
378
|
end
|
389
379
|
|
390
380
|
should "return pretty workbook markup" do
|
391
|
-
writer = Writer.new(:pp => 2)
|
381
|
+
writer = Xmlss::Writer.new(:pp => 2)
|
392
382
|
build_workbook(writer)
|
393
383
|
assert_equal(
|
394
384
|
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Workbook xmlns=\"urn:schemas-microsoft-com:office:spreadsheet\" xmlns:ss=\"urn:schemas-microsoft-com:office:spreadsheet\">\n <Styles>\n <Style ss:ID=\"some_font\">\n <Font ss:Bold=\"1\" />\n </Style>\n <Style ss:ID=\"some_numformat\">\n <NumberFormat ss:Format=\"General\" />\n </Style>\n </Styles>\n <Worksheet ss:Name=\"test1\">\n <Table>\n <Row ss:Hidden=\"1\">\n <Cell ss:Index=\"2\">\n <Data ss:Type=\"String\">some data</Data>\n </Cell>\n </Row>\n </Table>\n </Worksheet>\n <Worksheet ss:Name=\"test2\">\n <Table>\n <Row ss:Hidden=\"1\">\n <Cell ss:Index=\"2\">\n <Data ss:Type=\"String\">some data</Data>\n </Cell>\n </Row>\n </Table>\n </Worksheet>\n</Workbook>",
|
@@ -396,8 +386,6 @@ Should
|
|
396
386
|
)
|
397
387
|
end
|
398
388
|
|
399
|
-
|
400
|
-
|
401
389
|
end
|
402
390
|
|
403
391
|
end
|
data/xmlss.gemspec
CHANGED
@@ -1,24 +1,26 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
|
-
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
3
4
|
require "xmlss/version"
|
4
5
|
|
5
|
-
Gem::Specification.new do |
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
6
|
+
Gem::Specification.new do |gem|
|
7
|
+
gem.name = "xmlss"
|
8
|
+
gem.version = Xmlss::VERSION
|
9
|
+
gem.authors = ["Kelly Redding"]
|
10
|
+
gem.email = ["kelly@kellyredding.com"]
|
11
|
+
gem.summary = %q{Generate spreadsheet docs for MS Excel using XML Spreedsheet}
|
12
|
+
gem.description = %q{Generate spreadsheet docs for MS Excel using XML Spreedsheet}
|
13
|
+
gem.homepage = "http://github.com/kelredd/xmlss"
|
14
|
+
gem.license = 'MIT'
|
14
15
|
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
16
|
+
gem.files = `git ls-files`.split($/)
|
17
|
+
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
18
|
+
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
19
|
+
gem.require_paths = ["lib"]
|
20
|
+
|
21
|
+
gem.add_development_dependency("assert", ["~> 2.0"])
|
22
|
+
|
23
|
+
gem.add_dependency("undies", ["~> 3.0"])
|
24
|
+
gem.add_dependency("enumeration", ["~> 1.3"])
|
19
25
|
|
20
|
-
s.add_development_dependency("assert", ["~> 0.7.3"])
|
21
|
-
s.add_development_dependency("assert-view", ["~> 0.6"])
|
22
|
-
s.add_dependency("undies", ["~> 3.0.0.rc.3"])
|
23
|
-
s.add_dependency("enumeration", ["~> 1.3"])
|
24
26
|
end
|
metadata
CHANGED
@@ -1,15 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: xmlss
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 23
|
5
|
+
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
9
|
- 0
|
10
|
-
|
11
|
-
- 4
|
12
|
-
version: 1.0.0.rc.4
|
10
|
+
version: 1.0.0
|
13
11
|
platform: ruby
|
14
12
|
authors:
|
15
13
|
- Kelly Redding
|
@@ -17,26 +15,26 @@ autorequire:
|
|
17
15
|
bindir: bin
|
18
16
|
cert_chain: []
|
19
17
|
|
20
|
-
date:
|
18
|
+
date: 2013-07-21 00:00:00 Z
|
21
19
|
dependencies:
|
22
20
|
- !ruby/object:Gem::Dependency
|
23
|
-
|
21
|
+
name: assert
|
22
|
+
prerelease: false
|
24
23
|
requirement: &id001 !ruby/object:Gem::Requirement
|
25
24
|
none: false
|
26
25
|
requirements:
|
27
26
|
- - ~>
|
28
27
|
- !ruby/object:Gem::Version
|
29
|
-
hash:
|
28
|
+
hash: 3
|
30
29
|
segments:
|
30
|
+
- 2
|
31
31
|
- 0
|
32
|
-
|
33
|
-
|
34
|
-
version: 0.7.3
|
35
|
-
name: assert
|
32
|
+
version: "2.0"
|
33
|
+
type: :development
|
36
34
|
version_requirements: *id001
|
37
|
-
prerelease: false
|
38
35
|
- !ruby/object:Gem::Dependency
|
39
|
-
|
36
|
+
name: undies
|
37
|
+
prerelease: false
|
40
38
|
requirement: &id002 !ruby/object:Gem::Requirement
|
41
39
|
none: false
|
42
40
|
requirements:
|
@@ -44,33 +42,15 @@ dependencies:
|
|
44
42
|
- !ruby/object:Gem::Version
|
45
43
|
hash: 7
|
46
44
|
segments:
|
45
|
+
- 3
|
47
46
|
- 0
|
48
|
-
|
49
|
-
|
50
|
-
name: assert-view
|
47
|
+
version: "3.0"
|
48
|
+
type: :runtime
|
51
49
|
version_requirements: *id002
|
52
|
-
prerelease: false
|
53
50
|
- !ruby/object:Gem::Dependency
|
54
|
-
|
55
|
-
requirement: &id003 !ruby/object:Gem::Requirement
|
56
|
-
none: false
|
57
|
-
requirements:
|
58
|
-
- - ~>
|
59
|
-
- !ruby/object:Gem::Version
|
60
|
-
hash: 15424115
|
61
|
-
segments:
|
62
|
-
- 3
|
63
|
-
- 0
|
64
|
-
- 0
|
65
|
-
- rc
|
66
|
-
- 3
|
67
|
-
version: 3.0.0.rc.3
|
68
|
-
name: undies
|
69
|
-
version_requirements: *id003
|
51
|
+
name: enumeration
|
70
52
|
prerelease: false
|
71
|
-
|
72
|
-
type: :runtime
|
73
|
-
requirement: &id004 !ruby/object:Gem::Requirement
|
53
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
74
54
|
none: false
|
75
55
|
requirements:
|
76
56
|
- - ~>
|
@@ -80,12 +60,11 @@ dependencies:
|
|
80
60
|
- 1
|
81
61
|
- 3
|
82
62
|
version: "1.3"
|
83
|
-
|
84
|
-
version_requirements: *
|
85
|
-
|
86
|
-
description: This gem provides an api for constructing spreadsheet data and then uses that data to generate xml that can be interpreted by MS Excel. The xml conforms to the XML Spreadsheet spec (http://msdn.microsoft.com/en-us/library/aa140066(office.10).aspx).
|
63
|
+
type: :runtime
|
64
|
+
version_requirements: *id003
|
65
|
+
description: Generate spreadsheet docs for MS Excel using XML Spreedsheet
|
87
66
|
email:
|
88
|
-
- kelly@
|
67
|
+
- kelly@kellyredding.com
|
89
68
|
executables: []
|
90
69
|
|
91
70
|
extensions: []
|
@@ -95,8 +74,8 @@ extra_rdoc_files: []
|
|
95
74
|
files:
|
96
75
|
- .gitignore
|
97
76
|
- Gemfile
|
98
|
-
-
|
99
|
-
- README.
|
77
|
+
- LICENSE.txt
|
78
|
+
- README.md
|
100
79
|
- Rakefile
|
101
80
|
- bench/bench_runner.rb
|
102
81
|
- bench/profiler.rb
|
@@ -126,27 +105,25 @@ files:
|
|
126
105
|
- lib/xmlss/version.rb
|
127
106
|
- lib/xmlss/workbook.rb
|
128
107
|
- lib/xmlss/writer.rb
|
129
|
-
- test/element/cell_test.rb
|
130
|
-
- test/element/column_test.rb
|
131
|
-
- test/element/row_test.rb
|
132
|
-
- test/element/worksheet_test.rb
|
133
|
-
- test/element_stack_test.rb
|
134
108
|
- test/helper.rb
|
135
|
-
- test/
|
136
|
-
- test/
|
137
|
-
- test/
|
138
|
-
- test/
|
139
|
-
- test/
|
140
|
-
- test/style/
|
141
|
-
- test/style/
|
142
|
-
- test/style/
|
143
|
-
- test/
|
144
|
-
- test/
|
145
|
-
- test/
|
109
|
+
- test/unit/element/cell_tests.rb
|
110
|
+
- test/unit/element/column_tests.rb
|
111
|
+
- test/unit/element/row_tests.rb
|
112
|
+
- test/unit/element/worksheet_tests.rb
|
113
|
+
- test/unit/element_stack_tests.rb
|
114
|
+
- test/unit/style/alignment_tests.rb
|
115
|
+
- test/unit/style/base_tests.rb
|
116
|
+
- test/unit/style/border_tests.rb
|
117
|
+
- test/unit/style/font_tests.rb
|
118
|
+
- test/unit/style/interior_tests.rb
|
119
|
+
- test/unit/style/number_format_tests.rb
|
120
|
+
- test/unit/style/protection_tests.rb
|
121
|
+
- test/unit/workbook_tests.rb
|
122
|
+
- test/unit/writer_tests.rb
|
146
123
|
- xmlss.gemspec
|
147
124
|
homepage: http://github.com/kelredd/xmlss
|
148
|
-
licenses:
|
149
|
-
|
125
|
+
licenses:
|
126
|
+
- MIT
|
150
127
|
post_install_message:
|
151
128
|
rdoc_options: []
|
152
129
|
|
@@ -164,36 +141,32 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
164
141
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
165
142
|
none: false
|
166
143
|
requirements:
|
167
|
-
- - "
|
144
|
+
- - ">="
|
168
145
|
- !ruby/object:Gem::Version
|
169
|
-
hash:
|
146
|
+
hash: 3
|
170
147
|
segments:
|
171
|
-
-
|
172
|
-
|
173
|
-
- 1
|
174
|
-
version: 1.3.1
|
148
|
+
- 0
|
149
|
+
version: "0"
|
175
150
|
requirements: []
|
176
151
|
|
177
152
|
rubyforge_project:
|
178
|
-
rubygems_version: 1.8.
|
153
|
+
rubygems_version: 1.8.24
|
179
154
|
signing_key:
|
180
155
|
specification_version: 3
|
181
156
|
summary: Generate spreadsheet docs for MS Excel using XML Spreedsheet
|
182
157
|
test_files:
|
183
|
-
- test/element/cell_test.rb
|
184
|
-
- test/element/column_test.rb
|
185
|
-
- test/element/row_test.rb
|
186
|
-
- test/element/worksheet_test.rb
|
187
|
-
- test/element_stack_test.rb
|
188
158
|
- test/helper.rb
|
189
|
-
- test/
|
190
|
-
- test/
|
191
|
-
- test/
|
192
|
-
- test/
|
193
|
-
- test/
|
194
|
-
- test/style/
|
195
|
-
- test/style/
|
196
|
-
- test/style/
|
197
|
-
- test/
|
198
|
-
- test/
|
199
|
-
- test/
|
159
|
+
- test/unit/element/cell_tests.rb
|
160
|
+
- test/unit/element/column_tests.rb
|
161
|
+
- test/unit/element/row_tests.rb
|
162
|
+
- test/unit/element/worksheet_tests.rb
|
163
|
+
- test/unit/element_stack_tests.rb
|
164
|
+
- test/unit/style/alignment_tests.rb
|
165
|
+
- test/unit/style/base_tests.rb
|
166
|
+
- test/unit/style/border_tests.rb
|
167
|
+
- test/unit/style/font_tests.rb
|
168
|
+
- test/unit/style/interior_tests.rb
|
169
|
+
- test/unit/style/number_format_tests.rb
|
170
|
+
- test/unit/style/protection_tests.rb
|
171
|
+
- test/unit/workbook_tests.rb
|
172
|
+
- test/unit/writer_tests.rb
|