writeexcel 0.6.5 → 0.6.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -80,6 +80,9 @@ when use urf8 string data.
80
80
  * ruby 1.8, ruby 1.9.1, ruby 1.9.2
81
81
 
82
82
  == Recent Changes
83
+ v0.6.6
84
+ * add private method to avoid warning: private attribute?
85
+
83
86
  v0.6.5
84
87
  * Bug fix. if workbook already has worksheet of utf8 name, Workbook#add_worksheet, Workbook#add_chart, Workbook#add_chart_ext raise exception when add new worksheet of utf8 name.
85
88
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.6.5
1
+ 0.6.6
@@ -1040,7 +1040,7 @@ def store_axisparent_stream # :nodoc:
1040
1040
  end
1041
1041
 
1042
1042
  if !@y_axis_name.nil? || !@y_axis_formula.nil?
1043
- store_y_axis_text_stream();
1043
+ store_y_axis_text_stream
1044
1044
  end
1045
1045
 
1046
1046
  if @plotarea[:visible] != 0
@@ -994,7 +994,7 @@ def set_align(align = 'left')
994
994
  # method to differentiate between the vertical and horizontal properties.
995
995
  #
996
996
  def set_valign(alignment) # :nodoc:
997
- set_align(alignment);
997
+ set_align(alignment)
998
998
  end
999
999
 
1000
1000
  #
@@ -1187,10 +1187,10 @@ def set_right(style)
1187
1187
  # 'Borders' worksheet created by formats.rb.
1188
1188
  #
1189
1189
  def set_border_color(color)
1190
- set_bottom_color(color);
1191
- set_top_color(color);
1192
- set_left_color(color);
1193
- set_right_color(color);
1190
+ set_bottom_color(color)
1191
+ set_top_color(color)
1192
+ set_left_color(color)
1193
+ set_right_color(color)
1194
1194
  end
1195
1195
 
1196
1196
  #
@@ -1263,7 +1263,7 @@ def set_rotation(rotation)
1263
1263
  rotation = 0
1264
1264
  end
1265
1265
 
1266
- @rotation = rotation;
1266
+ @rotation = rotation
1267
1267
  end
1268
1268
 
1269
1269
 
@@ -595,7 +595,7 @@ def convert_function(token, num_args)
595
595
  if (args >= 0)
596
596
  # Check that the number of args is valid.
597
597
  if (args != num_args)
598
- raise "Incorrect number of arguments for #{token}() in formula\n";
598
+ raise "Incorrect number of arguments for #{token}() in formula\n"
599
599
  else
600
600
  return [@ptg['ptgFuncV'], @functions[token][0]].pack("Cv")
601
601
  end
@@ -779,7 +779,7 @@ def initialize_hashes
779
779
  'ptgArea3dA' => 0x7B,
780
780
  'ptgRefErr3dA' => 0x7C,
781
781
  'ptgAreaErr3d' => 0x7D
782
- };
782
+ }
783
783
 
784
784
  # Thanks to Michael Meeks and Gnumeric for the initial arg values.
785
785
  #
@@ -30,13 +30,6 @@ class Workbook < BIFFWriter
30
30
  EOF = 4 # :nodoc:
31
31
  SheetName = "Sheet" # :nodoc:
32
32
 
33
- private
34
-
35
- attr_accessor :add_doc_properties #:nodoc:
36
- attr_reader :formats, :defined_names #:nodoc:
37
-
38
- public
39
-
40
33
  #
41
34
  # _file_ is a filename (as string) or io object where to out spreadsheet data.
42
35
  # you can set default format of workbook using _default_formats_.
@@ -727,14 +720,14 @@ def set_custom_color(index = nil, red = nil, green = nil, blue = nil)
727
720
 
728
721
  # Check that the colour index is the right range
729
722
  if index < 8 || index > 64
730
- raise "Color index #{index} outside range: 8 <= index <= 64";
723
+ raise "Color index #{index} outside range: 8 <= index <= 64"
731
724
  end
732
725
 
733
726
  # Check that the colour components are in the right range
734
727
  if (red < 0 || red > 255) ||
735
728
  (green < 0 || green > 255) ||
736
729
  (blue < 0 || blue > 255)
737
- raise "Color component outside range: 0 <= color <= 255";
730
+ raise "Color component outside range: 0 <= color <= 255"
738
731
  end
739
732
 
740
733
  index -=8 # Adjust colour index (wingless dragonfly)
@@ -916,7 +909,7 @@ def define_name(name, formula, encoding = 0)
916
909
 
917
910
  if name =~ /^(.*)!(.*)$/
918
911
  sheetname = $1
919
- name = $2;
912
+ name = $2
920
913
  sheet_index = 1 + @parser.get_sheet_index(sheetname)
921
914
  end
922
915
 
@@ -984,9 +977,9 @@ def define_name(name, formula, encoding = 0)
984
977
  #
985
978
  # You can also pass UTF-8 strings as properties.
986
979
  #
987
- # $workbook->set_properties(
988
- # :subject => "住所録",
989
- # );
980
+ # workbook.set_properties(
981
+ # :subject => "住所録"
982
+ # )
990
983
  #
991
984
  # Usually WriteExcel allows you to use UTF-16. However, document properties
992
985
  # don't support UTF-16 for these type of strings.
@@ -1087,7 +1080,7 @@ def valid_properties #:nodoc:
1087
1080
  def check_valid_params_for_properties(params) #:nodoc:
1088
1081
  params.each_key do |k|
1089
1082
  unless valid_properties.has_key?(k)
1090
- raise "Unknown parameter '#{k}' in set_properties()";
1083
+ raise "Unknown parameter '#{k}' in set_properties()"
1091
1084
  end
1092
1085
  end
1093
1086
  end
@@ -1108,7 +1101,7 @@ def get_property_set_codepage(params, properties) #:nodoc:
1108
1101
  next unless params.has_key?(property.to_sym)
1109
1102
  return 0xFDE9 if is_utf8?(params[property.to_sym])
1110
1103
  end
1111
- return 0x04E4; # Default codepage, Latin 1.
1104
+ return 0x04E4 # Default codepage, Latin 1.
1112
1105
  end
1113
1106
  private :get_property_set_codepage
1114
1107
 
@@ -1426,8 +1419,8 @@ def process_images #:nodoc:
1426
1419
  images_seen = {}
1427
1420
  image_data = []
1428
1421
  previous_images = []
1429
- image_id = 1;
1430
- images_size = 0;
1422
+ image_id = 1
1423
+ images_size = 0
1431
1424
 
1432
1425
  @worksheets.each do |sheet|
1433
1426
  next unless sheet.sheet_type == 0x0000
@@ -1510,8 +1503,8 @@ def process_images #:nodoc:
1510
1503
  checksum1, checksum2])
1511
1504
 
1512
1505
  # Keep track of overall data size.
1513
- images_size += size +61; # Size for bstore container.
1514
- image_mso_size += size +69; # Size for dgg container.
1506
+ images_size += size +61 # Size for bstore container.
1507
+ image_mso_size += size +69 # Size for dgg container.
1515
1508
 
1516
1509
  images_seen[filename] = image_id
1517
1510
  image_id += 1
@@ -1642,7 +1635,7 @@ def process_bmp(data, filename) #:nodoc:
1642
1635
  def process_jpg(data, filename) # :nodoc:
1643
1636
  type = 5 # Excel Blip type (MSOBLIPTYPE).
1644
1637
 
1645
- offset = 2;
1638
+ offset = 2
1646
1639
  data_length = data.bytesize
1647
1640
 
1648
1641
  # Search through the image data to find the 0xFFC0 marker. The height and
@@ -3207,4 +3200,22 @@ def cleanup #:nodoc:
3207
3200
  sheets.each { |sheet| sheet.cleanup }
3208
3201
  end
3209
3202
  private :cleanup
3203
+
3204
+ private
3205
+
3206
+ def add_doc_properties
3207
+ @add_doc_properties
3208
+ end
3209
+
3210
+ def add_doc_properties=(val)
3211
+ @add_doc_properties = val
3212
+ end
3213
+
3214
+ def formats
3215
+ @formats
3216
+ end
3217
+
3218
+ def defined_names
3219
+ @defined_names
3220
+ end
3210
3221
  end
@@ -1290,7 +1290,7 @@ def filter_column(col, expression)
1290
1290
  # Reject column if it is outside filter range.
1291
1291
  if (col < col_first or col > col_last)
1292
1292
  raise "Column '#{col}' outside autofilter() column range " +
1293
- "(#{col_first} .. #{col_last})";
1293
+ "(#{col_first} .. #{col_last})"
1294
1294
  end
1295
1295
 
1296
1296
  tokens = extract_filter_tokens(expression)
@@ -3183,7 +3183,7 @@ def write_row(*args)
3183
3183
 
3184
3184
  # Catch non array refs passed by user.
3185
3185
  unless args[2].respond_to?(:to_ary)
3186
- raise "Not an array ref in call to write_row() #{$!}";
3186
+ raise "Not an array ref in call to write_row() #{$!}"
3187
3187
  end
3188
3188
 
3189
3189
  row, col, tokens, options = args
@@ -3285,7 +3285,7 @@ def write_col(*args)
3285
3285
 
3286
3286
  # Catch non array refs passed by user.
3287
3287
  unless args[2].respond_to?(:to_ary)
3288
- raise "Not an array ref in call to write_row()";
3288
+ raise "Not an array ref in call to write_row()"
3289
3289
  end
3290
3290
 
3291
3291
  row, col, tokens, options = args
@@ -3769,7 +3769,7 @@ def encode_password(password) #:nodoc:
3769
3769
  # Encode the user supplied result for a formula.
3770
3770
  #
3771
3771
  def encode_formula_result(value = nil) #:nodoc:
3772
- is_string = 0; # Formula evaluates to str.
3772
+ is_string = 0 # Formula evaluates to str.
3773
3773
  # my $num; # Current value of formula.
3774
3774
  # my $grbit; # Option flags.
3775
3775
 
@@ -4378,7 +4378,7 @@ def write_url_internal(row1, col1, row2, col2, url, str = nil, format = nil)
4378
4378
  # Convert an Utf8 URL type and to a null terminated wchar string.
4379
4379
  if is_utf8?(str)
4380
4380
  # Quote sheet name if not already, i.e., Sheet!A1 to 'Sheet!A1'.
4381
- url.sub!(/^(.+)!/, "'\1'!") if not url =~ /^'/;
4381
+ url.sub!(/^(.+)!/, "'\1'!") if not url =~ /^'/
4382
4382
  # URL is null terminated.
4383
4383
  ruby_18 { url = utf8_to_16be(url) + "\0\0" } ||
4384
4384
  ruby_19 { url = url.encode('UTF-16LE') + "\0\0".encode('UTF-16LE') }
@@ -1,15 +1,15 @@
1
1
  # Generated by jeweler
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in rakefile, and run the gemspec command
3
+ # Instead, edit Jeweler::Tasks in rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{writeexcel}
8
- s.version = "0.6.5"
8
+ s.version = "0.6.6"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Hideo NAKAMURA"]
12
- s.date = %q{2011-05-14}
12
+ s.date = %q{2011-06-08}
13
13
  s.description = %q{Multiple worksheets can be added to a workbook and formatting can be applied to cells. Text, numbers, formulas, hyperlinks and images can be written to the cells.}
14
14
  s.email = %q{cxn03651@msj.biglobe.ne.jp}
15
15
  s.extra_rdoc_files = [
@@ -17,316 +17,221 @@ Gem::Specification.new do |s|
17
17
  ]
18
18
  s.files = [
19
19
  ".document",
20
- ".gitattributes",
21
- ".gitignore",
22
- "README.rdoc",
23
- "Rakefile",
24
- "VERSION",
25
- "charts/chartex.rb",
26
- "charts/demo1.rb",
27
- "charts/demo101.bin",
28
- "charts/demo2.rb",
29
- "charts/demo201.bin",
30
- "charts/demo3.rb",
31
- "charts/demo301.bin",
32
- "charts/demo4.rb",
33
- "charts/demo401.bin",
34
- "charts/demo5.rb",
35
- "charts/demo501.bin",
36
- "examples/a_simple.rb",
37
- "examples/autofilter.rb",
38
- "examples/bigfile.rb",
39
- "examples/chart_area.rb",
40
- "examples/chart_bar.rb",
41
- "examples/chart_column.rb",
42
- "examples/chart_line.rb",
43
- "examples/chart_pie.rb",
44
- "examples/chart_scatter.rb",
45
- "examples/chart_stock.rb",
46
- "examples/chess.rb",
47
- "examples/colors.rb",
48
- "examples/comments1.rb",
49
- "examples/comments2.rb",
50
- "examples/copyformat.rb",
51
- "examples/data_validate.rb",
52
- "examples/date_time.rb",
53
- "examples/defined_name.rb",
54
- "examples/demo.rb",
55
- "examples/diag_border.rb",
56
- "examples/formats.rb",
57
- "examples/formula_result.rb",
58
- "examples/header.rb",
59
- "examples/hide_sheet.rb",
60
- "examples/hyperlink.rb",
61
- "examples/images.rb",
62
- "examples/indent.rb",
63
- "examples/merge1.rb",
64
- "examples/merge2.rb",
65
- "examples/merge3.rb",
66
- "examples/merge4.rb",
67
- "examples/merge5.rb",
68
- "examples/merge6.rb",
69
- "examples/outline.rb",
70
- "examples/outline_collapsed.rb",
71
- "examples/panes.rb",
72
- "examples/properties.rb",
73
- "examples/properties_jp.rb",
74
- "examples/protection.rb",
75
- "examples/regions.rb",
76
- "examples/repeat.rb",
77
- "examples/republic.png",
78
- "examples/right_to_left.rb",
79
- "examples/row_wrap.rb",
80
- "examples/stats.rb",
81
- "examples/stocks.rb",
82
- "examples/tab_colors.rb",
83
- "examples/utf8.rb",
84
- "examples/write_arrays.rb",
85
- "lib/writeexcel.rb",
86
- "lib/writeexcel/biffwriter.rb",
87
- "lib/writeexcel/caller_info.rb",
88
- "lib/writeexcel/chart.rb",
89
- "lib/writeexcel/charts/area.rb",
90
- "lib/writeexcel/charts/bar.rb",
91
- "lib/writeexcel/charts/column.rb",
92
- "lib/writeexcel/charts/external.rb",
93
- "lib/writeexcel/charts/line.rb",
94
- "lib/writeexcel/charts/pie.rb",
95
- "lib/writeexcel/charts/scatter.rb",
96
- "lib/writeexcel/charts/stock.rb",
97
- "lib/writeexcel/colors.rb",
98
- "lib/writeexcel/compatibility.rb",
99
- "lib/writeexcel/debug_info.rb",
100
- "lib/writeexcel/excelformula.y",
101
- "lib/writeexcel/excelformulaparser.rb",
102
- "lib/writeexcel/format.rb",
103
- "lib/writeexcel/formula.rb",
104
- "lib/writeexcel/helper.rb",
105
- "lib/writeexcel/olewriter.rb",
106
- "lib/writeexcel/properties.rb",
107
- "lib/writeexcel/storage_lite.rb",
108
- "lib/writeexcel/workbook.rb",
109
- "lib/writeexcel/worksheet.rb",
110
- "lib/writeexcel/write_file.rb",
111
- "test/excelfile/Chart1.xls",
112
- "test/excelfile/Chart2.xls",
113
- "test/excelfile/Chart3.xls",
114
- "test/excelfile/Chart4.xls",
115
- "test/excelfile/Chart5.xls",
116
- "test/helper.rb",
117
- "test/perl_output/Chart1.xls.data",
118
- "test/perl_output/Chart2.xls.data",
119
- "test/perl_output/Chart3.xls.data",
120
- "test/perl_output/Chart4.xls.data",
121
- "test/perl_output/Chart5.xls.data",
122
- "test/perl_output/README",
123
- "test/perl_output/a_simple.xls",
124
- "test/perl_output/autofilter.xls",
125
- "test/perl_output/biff_add_continue_testdata",
126
- "test/perl_output/chart_area.xls",
127
- "test/perl_output/chart_bar.xls",
128
- "test/perl_output/chart_column.xls",
129
- "test/perl_output/chart_line.xls",
130
- "test/perl_output/chess.xls",
131
- "test/perl_output/colors.xls",
132
- "test/perl_output/comments1.xls",
133
- "test/perl_output/comments2.xls",
134
- "test/perl_output/data_validate.xls",
135
- "test/perl_output/date_time.xls",
136
- "test/perl_output/defined_name.xls",
137
- "test/perl_output/demo.xls",
138
- "test/perl_output/demo101.bin",
139
- "test/perl_output/demo201.bin",
140
- "test/perl_output/demo301.bin",
141
- "test/perl_output/demo401.bin",
142
- "test/perl_output/demo501.bin",
143
- "test/perl_output/diag_border.xls",
144
- "test/perl_output/f_font_biff",
145
- "test/perl_output/f_font_key",
146
- "test/perl_output/f_xf_biff",
147
- "test/perl_output/file_font_biff",
148
- "test/perl_output/file_font_key",
149
- "test/perl_output/file_xf_biff",
150
- "test/perl_output/formula_result.xls",
151
- "test/perl_output/headers.xls",
152
- "test/perl_output/hidden.xls",
153
- "test/perl_output/hyperlink.xls",
154
- "test/perl_output/images.xls",
155
- "test/perl_output/indent.xls",
156
- "test/perl_output/merge1.xls",
157
- "test/perl_output/merge2.xls",
158
- "test/perl_output/merge3.xls",
159
- "test/perl_output/merge4.xls",
160
- "test/perl_output/merge5.xls",
161
- "test/perl_output/merge6.xls",
162
- "test/perl_output/ole_write_header",
163
- "test/perl_output/outline.xls",
164
- "test/perl_output/outline_collapsed.xls",
165
- "test/perl_output/panes.xls",
166
- "test/perl_output/protection.xls",
167
- "test/perl_output/regions.xls",
168
- "test/perl_output/right_to_left.xls",
169
- "test/perl_output/stats.xls",
170
- "test/perl_output/stocks.xls",
171
- "test/perl_output/tab_colors.xls",
172
- "test/perl_output/unicode_cyrillic.xls",
173
- "test/perl_output/utf8.xls",
174
- "test/perl_output/workbook1.xls",
175
- "test/perl_output/workbook2.xls",
176
- "test/perl_output/ws_colinfo",
177
- "test/perl_output/ws_store_colinfo",
178
- "test/perl_output/ws_store_dimensions",
179
- "test/perl_output/ws_store_filtermode",
180
- "test/perl_output/ws_store_filtermode_off",
181
- "test/perl_output/ws_store_filtermode_on",
182
- "test/perl_output/ws_store_selection",
183
- "test/perl_output/ws_store_window2",
184
- "test/republic.png",
185
- "test/test_00_IEEE_double.rb",
186
- "test/test_01_add_worksheet.rb",
187
- "test/test_02_merge_formats.rb",
188
- "test/test_04_dimensions.rb",
189
- "test/test_05_rows.rb",
190
- "test/test_06_extsst.rb",
191
- "test/test_11_date_time.rb",
192
- "test/test_12_date_only.rb",
193
- "test/test_13_date_seconds.rb",
194
- "test/test_21_escher.rb",
195
- "test/test_22_mso_drawing_group.rb",
196
- "test/test_23_note.rb",
197
- "test/test_24_txo.rb",
198
- "test/test_25_position_object.rb",
199
- "test/test_26_autofilter.rb",
200
- "test/test_27_autofilter.rb",
201
- "test/test_28_autofilter.rb",
202
- "test/test_29_process_jpg.rb",
203
- "test/test_30_validation_dval.rb",
204
- "test/test_31_validation_dv_strings.rb",
205
- "test/test_32_validation_dv_formula.rb",
206
- "test/test_40_property_types.rb",
207
- "test/test_41_properties.rb",
208
- "test/test_42_set_properties.rb",
209
- "test/test_50_name_stored.rb",
210
- "test/test_51_name_print_area.rb",
211
- "test/test_52_name_print_titles.rb",
212
- "test/test_53_autofilter.rb",
213
- "test/test_60_chart_generic.rb",
214
- "test/test_61_chart_subclasses.rb",
215
- "test/test_62_chart_formats.rb",
216
- "test/test_63_chart_area_formats.rb",
217
- "test/test_biff.rb",
218
- "test/test_compatibility.rb",
219
- "test/test_example_match.rb",
220
- "test/test_format.rb",
221
- "test/test_formula.rb",
222
- "test/test_ole.rb",
223
- "test/test_storage_lite.rb",
224
- "test/test_workbook.rb",
225
- "test/test_worksheet.rb",
226
- "utils/add_magic_comment.rb",
227
- "writeexcel.gemspec",
228
- "writeexcel.rdoc"
20
+ ".gitattributes",
21
+ "README.rdoc",
22
+ "Rakefile",
23
+ "VERSION",
24
+ "charts/chartex.rb",
25
+ "charts/demo1.rb",
26
+ "charts/demo101.bin",
27
+ "charts/demo2.rb",
28
+ "charts/demo201.bin",
29
+ "charts/demo3.rb",
30
+ "charts/demo301.bin",
31
+ "charts/demo4.rb",
32
+ "charts/demo401.bin",
33
+ "charts/demo5.rb",
34
+ "charts/demo501.bin",
35
+ "examples/a_simple.rb",
36
+ "examples/autofilter.rb",
37
+ "examples/bigfile.rb",
38
+ "examples/chart_area.rb",
39
+ "examples/chart_bar.rb",
40
+ "examples/chart_column.rb",
41
+ "examples/chart_line.rb",
42
+ "examples/chart_pie.rb",
43
+ "examples/chart_scatter.rb",
44
+ "examples/chart_stock.rb",
45
+ "examples/chess.rb",
46
+ "examples/colors.rb",
47
+ "examples/comments1.rb",
48
+ "examples/comments2.rb",
49
+ "examples/copyformat.rb",
50
+ "examples/data_validate.rb",
51
+ "examples/date_time.rb",
52
+ "examples/defined_name.rb",
53
+ "examples/demo.rb",
54
+ "examples/diag_border.rb",
55
+ "examples/formats.rb",
56
+ "examples/formula_result.rb",
57
+ "examples/header.rb",
58
+ "examples/hide_sheet.rb",
59
+ "examples/hyperlink.rb",
60
+ "examples/images.rb",
61
+ "examples/indent.rb",
62
+ "examples/merge1.rb",
63
+ "examples/merge2.rb",
64
+ "examples/merge3.rb",
65
+ "examples/merge4.rb",
66
+ "examples/merge5.rb",
67
+ "examples/merge6.rb",
68
+ "examples/outline.rb",
69
+ "examples/outline_collapsed.rb",
70
+ "examples/panes.rb",
71
+ "examples/properties.rb",
72
+ "examples/properties_jp.rb",
73
+ "examples/protection.rb",
74
+ "examples/regions.rb",
75
+ "examples/repeat.rb",
76
+ "examples/republic.png",
77
+ "examples/right_to_left.rb",
78
+ "examples/row_wrap.rb",
79
+ "examples/stats.rb",
80
+ "examples/stocks.rb",
81
+ "examples/tab_colors.rb",
82
+ "examples/utf8.rb",
83
+ "examples/write_arrays.rb",
84
+ "lib/writeexcel.rb",
85
+ "lib/writeexcel/biffwriter.rb",
86
+ "lib/writeexcel/caller_info.rb",
87
+ "lib/writeexcel/chart.rb",
88
+ "lib/writeexcel/charts/area.rb",
89
+ "lib/writeexcel/charts/bar.rb",
90
+ "lib/writeexcel/charts/column.rb",
91
+ "lib/writeexcel/charts/external.rb",
92
+ "lib/writeexcel/charts/line.rb",
93
+ "lib/writeexcel/charts/pie.rb",
94
+ "lib/writeexcel/charts/scatter.rb",
95
+ "lib/writeexcel/charts/stock.rb",
96
+ "lib/writeexcel/colors.rb",
97
+ "lib/writeexcel/compatibility.rb",
98
+ "lib/writeexcel/debug_info.rb",
99
+ "lib/writeexcel/excelformula.y",
100
+ "lib/writeexcel/excelformulaparser.rb",
101
+ "lib/writeexcel/format.rb",
102
+ "lib/writeexcel/formula.rb",
103
+ "lib/writeexcel/helper.rb",
104
+ "lib/writeexcel/olewriter.rb",
105
+ "lib/writeexcel/properties.rb",
106
+ "lib/writeexcel/storage_lite.rb",
107
+ "lib/writeexcel/workbook.rb",
108
+ "lib/writeexcel/worksheet.rb",
109
+ "lib/writeexcel/write_file.rb",
110
+ "test/excelfile/Chart1.xls",
111
+ "test/excelfile/Chart2.xls",
112
+ "test/excelfile/Chart3.xls",
113
+ "test/excelfile/Chart4.xls",
114
+ "test/excelfile/Chart5.xls",
115
+ "test/helper.rb",
116
+ "test/perl_output/Chart1.xls.data",
117
+ "test/perl_output/Chart2.xls.data",
118
+ "test/perl_output/Chart3.xls.data",
119
+ "test/perl_output/Chart4.xls.data",
120
+ "test/perl_output/Chart5.xls.data",
121
+ "test/perl_output/README",
122
+ "test/perl_output/a_simple.xls",
123
+ "test/perl_output/autofilter.xls",
124
+ "test/perl_output/biff_add_continue_testdata",
125
+ "test/perl_output/chart_area.xls",
126
+ "test/perl_output/chart_bar.xls",
127
+ "test/perl_output/chart_column.xls",
128
+ "test/perl_output/chart_line.xls",
129
+ "test/perl_output/chess.xls",
130
+ "test/perl_output/colors.xls",
131
+ "test/perl_output/comments1.xls",
132
+ "test/perl_output/comments2.xls",
133
+ "test/perl_output/data_validate.xls",
134
+ "test/perl_output/date_time.xls",
135
+ "test/perl_output/defined_name.xls",
136
+ "test/perl_output/demo.xls",
137
+ "test/perl_output/demo101.bin",
138
+ "test/perl_output/demo201.bin",
139
+ "test/perl_output/demo301.bin",
140
+ "test/perl_output/demo401.bin",
141
+ "test/perl_output/demo501.bin",
142
+ "test/perl_output/diag_border.xls",
143
+ "test/perl_output/f_font_biff",
144
+ "test/perl_output/f_font_key",
145
+ "test/perl_output/f_xf_biff",
146
+ "test/perl_output/file_font_biff",
147
+ "test/perl_output/file_font_key",
148
+ "test/perl_output/file_xf_biff",
149
+ "test/perl_output/formula_result.xls",
150
+ "test/perl_output/headers.xls",
151
+ "test/perl_output/hidden.xls",
152
+ "test/perl_output/hyperlink.xls",
153
+ "test/perl_output/images.xls",
154
+ "test/perl_output/indent.xls",
155
+ "test/perl_output/merge1.xls",
156
+ "test/perl_output/merge2.xls",
157
+ "test/perl_output/merge3.xls",
158
+ "test/perl_output/merge4.xls",
159
+ "test/perl_output/merge5.xls",
160
+ "test/perl_output/merge6.xls",
161
+ "test/perl_output/ole_write_header",
162
+ "test/perl_output/outline.xls",
163
+ "test/perl_output/outline_collapsed.xls",
164
+ "test/perl_output/panes.xls",
165
+ "test/perl_output/protection.xls",
166
+ "test/perl_output/regions.xls",
167
+ "test/perl_output/right_to_left.xls",
168
+ "test/perl_output/stats.xls",
169
+ "test/perl_output/stocks.xls",
170
+ "test/perl_output/tab_colors.xls",
171
+ "test/perl_output/unicode_cyrillic.xls",
172
+ "test/perl_output/utf8.xls",
173
+ "test/perl_output/workbook1.xls",
174
+ "test/perl_output/workbook2.xls",
175
+ "test/perl_output/ws_colinfo",
176
+ "test/perl_output/ws_store_colinfo",
177
+ "test/perl_output/ws_store_dimensions",
178
+ "test/perl_output/ws_store_filtermode",
179
+ "test/perl_output/ws_store_filtermode_off",
180
+ "test/perl_output/ws_store_filtermode_on",
181
+ "test/perl_output/ws_store_selection",
182
+ "test/perl_output/ws_store_window2",
183
+ "test/republic.png",
184
+ "test/test_00_IEEE_double.rb",
185
+ "test/test_01_add_worksheet.rb",
186
+ "test/test_02_merge_formats.rb",
187
+ "test/test_04_dimensions.rb",
188
+ "test/test_05_rows.rb",
189
+ "test/test_06_extsst.rb",
190
+ "test/test_11_date_time.rb",
191
+ "test/test_12_date_only.rb",
192
+ "test/test_13_date_seconds.rb",
193
+ "test/test_21_escher.rb",
194
+ "test/test_22_mso_drawing_group.rb",
195
+ "test/test_23_note.rb",
196
+ "test/test_24_txo.rb",
197
+ "test/test_25_position_object.rb",
198
+ "test/test_26_autofilter.rb",
199
+ "test/test_27_autofilter.rb",
200
+ "test/test_28_autofilter.rb",
201
+ "test/test_29_process_jpg.rb",
202
+ "test/test_30_validation_dval.rb",
203
+ "test/test_31_validation_dv_strings.rb",
204
+ "test/test_32_validation_dv_formula.rb",
205
+ "test/test_40_property_types.rb",
206
+ "test/test_41_properties.rb",
207
+ "test/test_42_set_properties.rb",
208
+ "test/test_50_name_stored.rb",
209
+ "test/test_51_name_print_area.rb",
210
+ "test/test_52_name_print_titles.rb",
211
+ "test/test_53_autofilter.rb",
212
+ "test/test_60_chart_generic.rb",
213
+ "test/test_61_chart_subclasses.rb",
214
+ "test/test_62_chart_formats.rb",
215
+ "test/test_63_chart_area_formats.rb",
216
+ "test/test_biff.rb",
217
+ "test/test_compatibility.rb",
218
+ "test/test_example_match.rb",
219
+ "test/test_format.rb",
220
+ "test/test_formula.rb",
221
+ "test/test_ole.rb",
222
+ "test/test_storage_lite.rb",
223
+ "test/test_workbook.rb",
224
+ "test/test_worksheet.rb",
225
+ "utils/add_magic_comment.rb",
226
+ "writeexcel.gemspec",
227
+ "writeexcel.rdoc"
229
228
  ]
230
229
  s.homepage = %q{http://wiki.github.com/cxn03651/writeexcel/}
231
- s.rdoc_options = ["--charset=UTF-8"]
232
230
  s.require_paths = ["lib"]
233
- s.rubygems_version = %q{1.3.7}
231
+ s.rubygems_version = %q{1.5.2}
234
232
  s.summary = %q{Write to a cross-platform Excel binary file.}
235
- s.test_files = [
236
- "test/helper.rb",
237
- "test/test_00_IEEE_double.rb",
238
- "test/test_01_add_worksheet.rb",
239
- "test/test_02_merge_formats.rb",
240
- "test/test_04_dimensions.rb",
241
- "test/test_05_rows.rb",
242
- "test/test_06_extsst.rb",
243
- "test/test_11_date_time.rb",
244
- "test/test_12_date_only.rb",
245
- "test/test_13_date_seconds.rb",
246
- "test/test_21_escher.rb",
247
- "test/test_22_mso_drawing_group.rb",
248
- "test/test_23_note.rb",
249
- "test/test_24_txo.rb",
250
- "test/test_25_position_object.rb",
251
- "test/test_26_autofilter.rb",
252
- "test/test_27_autofilter.rb",
253
- "test/test_28_autofilter.rb",
254
- "test/test_29_process_jpg.rb",
255
- "test/test_30_validation_dval.rb",
256
- "test/test_31_validation_dv_strings.rb",
257
- "test/test_32_validation_dv_formula.rb",
258
- "test/test_40_property_types.rb",
259
- "test/test_41_properties.rb",
260
- "test/test_42_set_properties.rb",
261
- "test/test_50_name_stored.rb",
262
- "test/test_51_name_print_area.rb",
263
- "test/test_52_name_print_titles.rb",
264
- "test/test_53_autofilter.rb",
265
- "test/test_60_chart_generic.rb",
266
- "test/test_61_chart_subclasses.rb",
267
- "test/test_62_chart_formats.rb",
268
- "test/test_63_chart_area_formats.rb",
269
- "test/test_biff.rb",
270
- "test/test_compatibility.rb",
271
- "test/test_example_match.rb",
272
- "test/test_format.rb",
273
- "test/test_formula.rb",
274
- "test/test_ole.rb",
275
- "test/test_storage_lite.rb",
276
- "test/test_workbook.rb",
277
- "test/test_worksheet.rb",
278
- "examples/autofilter.rb",
279
- "examples/a_simple.rb",
280
- "examples/bigfile.rb",
281
- "examples/chart_area.rb",
282
- "examples/chart_bar.rb",
283
- "examples/chart_column.rb",
284
- "examples/chart_line.rb",
285
- "examples/chart_pie.rb",
286
- "examples/chart_scatter.rb",
287
- "examples/chart_stock.rb",
288
- "examples/chess.rb",
289
- "examples/colors.rb",
290
- "examples/comments1.rb",
291
- "examples/comments2.rb",
292
- "examples/copyformat.rb",
293
- "examples/data_validate.rb",
294
- "examples/date_time.rb",
295
- "examples/defined_name.rb",
296
- "examples/demo.rb",
297
- "examples/diag_border.rb",
298
- "examples/formats.rb",
299
- "examples/formula_result.rb",
300
- "examples/header.rb",
301
- "examples/hide_sheet.rb",
302
- "examples/hyperlink.rb",
303
- "examples/images.rb",
304
- "examples/indent.rb",
305
- "examples/merge1.rb",
306
- "examples/merge2.rb",
307
- "examples/merge3.rb",
308
- "examples/merge4.rb",
309
- "examples/merge5.rb",
310
- "examples/merge6.rb",
311
- "examples/outline.rb",
312
- "examples/outline_collapsed.rb",
313
- "examples/panes.rb",
314
- "examples/properties.rb",
315
- "examples/properties_jp.rb",
316
- "examples/protection.rb",
317
- "examples/regions.rb",
318
- "examples/repeat.rb",
319
- "examples/right_to_left.rb",
320
- "examples/row_wrap.rb",
321
- "examples/stats.rb",
322
- "examples/stocks.rb",
323
- "examples/tab_colors.rb",
324
- "examples/utf8.rb",
325
- "examples/write_arrays.rb"
326
- ]
327
233
 
328
234
  if s.respond_to? :specification_version then
329
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
330
235
  s.specification_version = 3
331
236
 
332
237
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: writeexcel
3
3
  version: !ruby/object:Gem::Version
4
- hash: 13
5
- prerelease: false
4
+ hash: 11
5
+ prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 6
9
- - 5
10
- version: 0.6.5
9
+ - 6
10
+ version: 0.6.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - Hideo NAKAMURA
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-05-14 00:00:00 +09:00
18
+ date: 2011-06-08 00:00:00 +09:00
19
19
  default_executable:
20
20
  dependencies: []
21
21
 
@@ -30,7 +30,6 @@ extra_rdoc_files:
30
30
  files:
31
31
  - .document
32
32
  - .gitattributes
33
- - .gitignore
34
33
  - README.rdoc
35
34
  - Rakefile
36
35
  - VERSION
@@ -243,8 +242,8 @@ homepage: http://wiki.github.com/cxn03651/writeexcel/
243
242
  licenses: []
244
243
 
245
244
  post_install_message:
246
- rdoc_options:
247
- - --charset=UTF-8
245
+ rdoc_options: []
246
+
248
247
  require_paths:
249
248
  - lib
250
249
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -268,98 +267,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
268
267
  requirements: []
269
268
 
270
269
  rubyforge_project:
271
- rubygems_version: 1.3.7
270
+ rubygems_version: 1.5.2
272
271
  signing_key:
273
272
  specification_version: 3
274
273
  summary: Write to a cross-platform Excel binary file.
275
- test_files:
276
- - test/helper.rb
277
- - test/test_00_IEEE_double.rb
278
- - test/test_01_add_worksheet.rb
279
- - test/test_02_merge_formats.rb
280
- - test/test_04_dimensions.rb
281
- - test/test_05_rows.rb
282
- - test/test_06_extsst.rb
283
- - test/test_11_date_time.rb
284
- - test/test_12_date_only.rb
285
- - test/test_13_date_seconds.rb
286
- - test/test_21_escher.rb
287
- - test/test_22_mso_drawing_group.rb
288
- - test/test_23_note.rb
289
- - test/test_24_txo.rb
290
- - test/test_25_position_object.rb
291
- - test/test_26_autofilter.rb
292
- - test/test_27_autofilter.rb
293
- - test/test_28_autofilter.rb
294
- - test/test_29_process_jpg.rb
295
- - test/test_30_validation_dval.rb
296
- - test/test_31_validation_dv_strings.rb
297
- - test/test_32_validation_dv_formula.rb
298
- - test/test_40_property_types.rb
299
- - test/test_41_properties.rb
300
- - test/test_42_set_properties.rb
301
- - test/test_50_name_stored.rb
302
- - test/test_51_name_print_area.rb
303
- - test/test_52_name_print_titles.rb
304
- - test/test_53_autofilter.rb
305
- - test/test_60_chart_generic.rb
306
- - test/test_61_chart_subclasses.rb
307
- - test/test_62_chart_formats.rb
308
- - test/test_63_chart_area_formats.rb
309
- - test/test_biff.rb
310
- - test/test_compatibility.rb
311
- - test/test_example_match.rb
312
- - test/test_format.rb
313
- - test/test_formula.rb
314
- - test/test_ole.rb
315
- - test/test_storage_lite.rb
316
- - test/test_workbook.rb
317
- - test/test_worksheet.rb
318
- - examples/autofilter.rb
319
- - examples/a_simple.rb
320
- - examples/bigfile.rb
321
- - examples/chart_area.rb
322
- - examples/chart_bar.rb
323
- - examples/chart_column.rb
324
- - examples/chart_line.rb
325
- - examples/chart_pie.rb
326
- - examples/chart_scatter.rb
327
- - examples/chart_stock.rb
328
- - examples/chess.rb
329
- - examples/colors.rb
330
- - examples/comments1.rb
331
- - examples/comments2.rb
332
- - examples/copyformat.rb
333
- - examples/data_validate.rb
334
- - examples/date_time.rb
335
- - examples/defined_name.rb
336
- - examples/demo.rb
337
- - examples/diag_border.rb
338
- - examples/formats.rb
339
- - examples/formula_result.rb
340
- - examples/header.rb
341
- - examples/hide_sheet.rb
342
- - examples/hyperlink.rb
343
- - examples/images.rb
344
- - examples/indent.rb
345
- - examples/merge1.rb
346
- - examples/merge2.rb
347
- - examples/merge3.rb
348
- - examples/merge4.rb
349
- - examples/merge5.rb
350
- - examples/merge6.rb
351
- - examples/outline.rb
352
- - examples/outline_collapsed.rb
353
- - examples/panes.rb
354
- - examples/properties.rb
355
- - examples/properties_jp.rb
356
- - examples/protection.rb
357
- - examples/regions.rb
358
- - examples/repeat.rb
359
- - examples/right_to_left.rb
360
- - examples/row_wrap.rb
361
- - examples/stats.rb
362
- - examples/stocks.rb
363
- - examples/tab_colors.rb
364
- - examples/utf8.rb
365
- - examples/write_arrays.rb
274
+ test_files: []
275
+
data/.gitignore DELETED
@@ -1,27 +0,0 @@
1
- ## MAC OS
2
- .DS_Store
3
-
4
- ## TEXTMATE
5
- *.tmproj
6
- tmtags
7
-
8
- ## EMACS
9
- *~
10
- \#*
11
- .\#*
12
-
13
- ## VIM
14
- *.swp
15
-
16
- ## REDCAR
17
- .redcar
18
-
19
- ## PROJECT::GENERAL
20
- coverage
21
- rdoc
22
- pkg
23
-
24
- ## PROJECT::SPECIFIC
25
-
26
- ## NETBEANS
27
- nbproject