Skip to content

Commit

Permalink
Doc updates and next release.
Browse files Browse the repository at this point in the history
  • Loading branch information
Randy Morgan committed Nov 21, 2011
1 parent b20ad22 commit b279f1f
Show file tree
Hide file tree
Showing 62 changed files with 119 additions and 82 deletions.
2 changes: 1 addition & 1 deletion .yardoc/checksums
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ lib/axlsx/drawing/pie_3D_chart.rb dd669c8dc9ef1f762d45a9589260c8c17308d944
lib/axlsx/stylesheet/border_pr.rb 09dcb61ec7b0cf49f2da4c4f8ccba8f7e0df7b07
lib/axlsx/stylesheet/color.rb 4927aaebe27dda42d78bb7baf9a44edc1753c77f
lib/axlsx/drawing/marker.rb 3507738522c02a3733a01f115d9ef22fae4ea542
lib/axlsx/util/constants.rb ebb670bf42bffc225281bcec13e654118603c698
lib/axlsx/util/constants.rb 7c150ada1be46d42456f1d4c57072e8327cc4dd7
lib/axlsx/stylesheet/cell_protection.rb ce494f9add6de0a51407ddd9122fffe95759a48a
lib/axlsx/stylesheet/cell_style.rb 46c6ff183bce5c6b1ab6228823257d638007b03c
lib/axlsx/drawing/series_title.rb 7ace4ba7c7835db5a7c69d2319cd59ed8c45908a
Expand Down
Binary file modified .yardoc/objects/root.dat
Binary file not shown.
25 changes: 19 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ Axlsx: Office Open XML Spreadsheet Generation
**Author**: Randy Morgan
**Copyright**: 2011
**License**: MIT License
**Latest Version**: 1.0.4
**Release Date**: November 21st 2011
**Latest Version**: 1.0.5
**Ruby Version**: 1.8.7
**Release Date**: November 22nd 2011

Synopsis
--------
Expand Down Expand Up @@ -59,7 +60,7 @@ Usage
p.workbook.add_worksheet do |sheet|
sheet.add_row ["First", "Second", "Third"]
sheet.add_row [1, 2, 3]
sheet.add_chart(Axlsx::Bar3DChart, :start_at => [0,2], :end_at => [5, 15], :title=>"example 1: Chart") do |chart|
sheet.add_chart(Axlsx::Bar3DChart, :start_at => [0,2], :end_at => [5, 15], :title=>"example 2: Chart") do |chart|
chart.add_series :data=>sheet.rows.last.cells, :labels=> sheet.rows.first.cells
end
end
Expand All @@ -71,7 +72,7 @@ Usage
p.workbook.add_worksheet do |sheet|
sheet.add_row ["First", "Second", "Third"]
sheet.add_row [1, 2, 3]
sheet.add_chart(Axlsx::Pie3DChart, :start_at => [0,2], :end_at => [5, 15], :title=>"example 2: Pie Chart") do |chart|
sheet.add_chart(Axlsx::Pie3DChart, :start_at => [0,2], :end_at => [5, 15], :title=>"example 3: Pie Chart") do |chart|
chart.add_series :data=>sheet.rows.last.cells, :labels=> sheet.rows.first.cells
end
end
Expand Down Expand Up @@ -136,7 +137,7 @@ This gem is 100% documented with YARD, an exceptional documentation library. To


### Specs
This gem has 100% test coverage. To execute tests for this gem, simply run rake in the gem directory.
This gem has 100% test coverage using test/unit. To execute tests for this gem, simply run rake in the gem directory.

Changelog
---------
Expand All @@ -148,9 +149,21 @@ Changelog
- altered package to accept a filename string for serialization instead of a File object.
- Updated specs to conform
- More examples for readme
- **October.21.11**: 1.05
- **October.22.11**: 1.05
- Added support for line charts
- Updated examples and readme
- Updated series title to be a real title ** NOTE ** If you are accessing titles directly you will need to update text assignation to title.text = v
- BugFix: shape attribute for bar chart is now properly serialized
- BugFix: date1904 property now properly set for charts
- Added style property to charts
- Removed serialization write test as it most commonly fails when run from the gem's intalled directory

On Deck
-------

- Verification with ruby 1.9.3
- Active Record support via package::serialize_ar so you can dump an AR result into a worksheet in one go.

Copyright
---------

Expand Down
Binary file added axlsx-1.0.5.gem
Binary file not shown.
4 changes: 2 additions & 2 deletions doc/Axlsx.html
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ <h2>Constant Summary</h2>

</div>
</dt>
<dd><pre class="code"><span class='string val'>&quot;1.0.4&quot;</span>
<dd><pre class="code"><span class='string val'>&quot;1.0.5&quot;</span>
</pre></dd>

<dt id="ENCODING-constant" class="">ENCODING =
Expand Down Expand Up @@ -2434,7 +2434,7 @@ <h3>Parameters:</h3>
</div>

<div id="footer">
Generated on Mon Nov 21 23:44:19 2011 by
Generated on Tue Nov 22 00:08:49 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
Expand Down
2 changes: 1 addition & 1 deletion doc/Axlsx/App.html
Original file line number Diff line number Diff line change
Expand Up @@ -2631,7 +2631,7 @@ <h3>Returns:</h3>
</div>

<div id="footer">
Generated on Mon Nov 21 23:44:29 2011 by
Generated on Tue Nov 22 00:08:59 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
Expand Down
2 changes: 1 addition & 1 deletion doc/Axlsx/Axis.html
Original file line number Diff line number Diff line change
Expand Up @@ -1038,7 +1038,7 @@ <h3>Returns:</h3>
</div>

<div id="footer">
Generated on Mon Nov 21 23:44:22 2011 by
Generated on Tue Nov 22 00:08:51 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
Expand Down
2 changes: 1 addition & 1 deletion doc/Axlsx/Bar3DChart.html
Original file line number Diff line number Diff line change
Expand Up @@ -1144,7 +1144,7 @@ <h3>Returns:</h3>
</div>

<div id="footer">
Generated on Mon Nov 21 23:44:26 2011 by
Generated on Tue Nov 22 00:08:56 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
Expand Down
2 changes: 1 addition & 1 deletion doc/Axlsx/BarSeries.html
Original file line number Diff line number Diff line change
Expand Up @@ -755,7 +755,7 @@ <h3>Returns:</h3>
</div>

<div id="footer">
Generated on Mon Nov 21 23:44:31 2011 by
Generated on Tue Nov 22 00:09:01 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
Expand Down
2 changes: 1 addition & 1 deletion doc/Axlsx/Border.html
Original file line number Diff line number Diff line change
Expand Up @@ -766,7 +766,7 @@ <h3>Parameters:</h3>
</div>

<div id="footer">
Generated on Mon Nov 21 23:44:31 2011 by
Generated on Tue Nov 22 00:09:00 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
Expand Down
2 changes: 1 addition & 1 deletion doc/Axlsx/BorderPr.html
Original file line number Diff line number Diff line change
Expand Up @@ -700,7 +700,7 @@ <h3>Returns:</h3>
</div>

<div id="footer">
Generated on Mon Nov 21 23:44:20 2011 by
Generated on Tue Nov 22 00:08:50 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
Expand Down
2 changes: 1 addition & 1 deletion doc/Axlsx/CatAxis.html
Original file line number Diff line number Diff line change
Expand Up @@ -757,7 +757,7 @@ <h3>Returns:</h3>
</div>

<div id="footer">
Generated on Mon Nov 21 23:44:22 2011 by
Generated on Tue Nov 22 00:08:51 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
Expand Down
2 changes: 1 addition & 1 deletion doc/Axlsx/Cell.html
Original file line number Diff line number Diff line change
Expand Up @@ -1614,7 +1614,7 @@ <h3>Returns:</h3>
</div>

<div id="footer">
Generated on Mon Nov 21 23:44:34 2011 by
Generated on Tue Nov 22 00:09:04 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
Expand Down
2 changes: 1 addition & 1 deletion doc/Axlsx/CellAlignment.html
Original file line number Diff line number Diff line change
Expand Up @@ -1238,7 +1238,7 @@ <h3>Returns:</h3>
</div>

<div id="footer">
Generated on Mon Nov 21 23:44:33 2011 by
Generated on Tue Nov 22 00:09:03 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
Expand Down
2 changes: 1 addition & 1 deletion doc/Axlsx/CellProtection.html
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@ <h3>Returns:</h3>
</div>

<div id="footer">
Generated on Mon Nov 21 23:44:20 2011 by
Generated on Tue Nov 22 00:08:49 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
Expand Down
2 changes: 1 addition & 1 deletion doc/Axlsx/CellStyle.html
Original file line number Diff line number Diff line change
Expand Up @@ -940,7 +940,7 @@ <h3>Returns:</h3>
</div>

<div id="footer">
Generated on Mon Nov 21 23:44:27 2011 by
Generated on Tue Nov 22 00:08:56 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
Expand Down
2 changes: 1 addition & 1 deletion doc/Axlsx/Chart.html
Original file line number Diff line number Diff line change
Expand Up @@ -1450,7 +1450,7 @@ <h3>See Also:</h3>
</div>

<div id="footer">
Generated on Mon Nov 21 23:44:23 2011 by
Generated on Tue Nov 22 00:08:53 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
Expand Down
2 changes: 1 addition & 1 deletion doc/Axlsx/Color.html
Original file line number Diff line number Diff line change
Expand Up @@ -656,7 +656,7 @@ <h3>Returns:</h3>
</div>

<div id="footer">
Generated on Mon Nov 21 23:44:35 2011 by
Generated on Tue Nov 22 00:09:04 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
Expand Down
2 changes: 1 addition & 1 deletion doc/Axlsx/ContentType.html
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ <h3>Returns:</h3>
</div>

<div id="footer">
Generated on Mon Nov 21 23:44:24 2011 by
Generated on Tue Nov 22 00:08:54 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
Expand Down
2 changes: 1 addition & 1 deletion doc/Axlsx/Core.html
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ <h3>Returns:</h3>
</div>

<div id="footer">
Generated on Mon Nov 21 23:44:30 2011 by
Generated on Tue Nov 22 00:09:00 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
Expand Down
2 changes: 1 addition & 1 deletion doc/Axlsx/DataTypeValidator.html
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ <h3>See Also:</h3>
</div>

<div id="footer">
Generated on Mon Nov 21 23:44:15 2011 by
Generated on Tue Nov 22 00:08:45 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
Expand Down
2 changes: 1 addition & 1 deletion doc/Axlsx/Default.html
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@ <h3>Returns:</h3>
</div>

<div id="footer">
Generated on Mon Nov 21 23:44:15 2011 by
Generated on Tue Nov 22 00:08:44 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
Expand Down
2 changes: 1 addition & 1 deletion doc/Axlsx/Drawing.html
Original file line number Diff line number Diff line change
Expand Up @@ -1145,7 +1145,7 @@ <h3>Returns:</h3>
</div>

<div id="footer">
Generated on Mon Nov 21 23:44:17 2011 by
Generated on Tue Nov 22 00:08:46 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
Expand Down
2 changes: 1 addition & 1 deletion doc/Axlsx/Fill.html
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ <h3>Returns:</h3>
</div>

<div id="footer">
Generated on Mon Nov 21 23:44:25 2011 by
Generated on Tue Nov 22 00:08:55 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
Expand Down
2 changes: 1 addition & 1 deletion doc/Axlsx/Font.html
Original file line number Diff line number Diff line change
Expand Up @@ -1545,7 +1545,7 @@ <h3>Returns:</h3>
</div>

<div id="footer">
Generated on Mon Nov 21 23:44:32 2011 by
Generated on Tue Nov 22 00:09:02 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
Expand Down
2 changes: 1 addition & 1 deletion doc/Axlsx/GradientFill.html
Original file line number Diff line number Diff line change
Expand Up @@ -1017,7 +1017,7 @@ <h3>Returns:</h3>
</div>

<div id="footer">
Generated on Mon Nov 21 23:44:23 2011 by
Generated on Tue Nov 22 00:08:53 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
Expand Down
2 changes: 1 addition & 1 deletion doc/Axlsx/GradientStop.html
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ <h3>Returns:</h3>
</div>

<div id="footer">
Generated on Mon Nov 21 23:44:26 2011 by
Generated on Tue Nov 22 00:08:56 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
Expand Down
2 changes: 1 addition & 1 deletion doc/Axlsx/GraphicFrame.html
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,7 @@ <h3>Returns:</h3>
</div>

<div id="footer">
Generated on Mon Nov 21 23:44:31 2011 by
Generated on Tue Nov 22 00:09:01 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
Expand Down
2 changes: 1 addition & 1 deletion doc/Axlsx/Line3DChart.html
Original file line number Diff line number Diff line change
Expand Up @@ -912,7 +912,7 @@ <h3>Returns:</h3>
</div>

<div id="footer">
Generated on Mon Nov 21 23:44:24 2011 by
Generated on Tue Nov 22 00:08:54 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
Expand Down
2 changes: 1 addition & 1 deletion doc/Axlsx/LineSeries.html
Original file line number Diff line number Diff line change
Expand Up @@ -647,7 +647,7 @@ <h3>Returns:</h3>
</div>

<div id="footer">
Generated on Mon Nov 21 23:44:25 2011 by
Generated on Tue Nov 22 00:08:55 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
Expand Down
2 changes: 1 addition & 1 deletion doc/Axlsx/Marker.html
Original file line number Diff line number Diff line change
Expand Up @@ -848,7 +848,7 @@ <h3>Returns:</h3>
</div>

<div id="footer">
Generated on Mon Nov 21 23:44:26 2011 by
Generated on Tue Nov 22 00:08:55 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
Expand Down
2 changes: 1 addition & 1 deletion doc/Axlsx/NumFmt.html
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ <h3>Parameters:</h3>
</div>

<div id="footer">
Generated on Mon Nov 21 23:44:32 2011 by
Generated on Tue Nov 22 00:09:01 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
Expand Down
2 changes: 1 addition & 1 deletion doc/Axlsx/Override.html
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@ <h3>Parameters:</h3>
</div>

<div id="footer">
Generated on Mon Nov 21 23:44:33 2011 by
Generated on Tue Nov 22 00:09:03 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
Expand Down
2 changes: 1 addition & 1 deletion doc/Axlsx/Package.html
Original file line number Diff line number Diff line change
Expand Up @@ -1284,7 +1284,7 @@ <h3>Returns:</h3>
</div>

<div id="footer">
Generated on Mon Nov 21 23:44:16 2011 by
Generated on Tue Nov 22 00:08:45 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
Expand Down
2 changes: 1 addition & 1 deletion doc/Axlsx/PatternFill.html
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,7 @@ <h3>Returns:</h3>
</div>

<div id="footer">
Generated on Mon Nov 21 23:44:35 2011 by
Generated on Tue Nov 22 00:09:05 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
Expand Down
2 changes: 1 addition & 1 deletion doc/Axlsx/Pie3DChart.html
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ <h3>Returns:</h3>
</div>

<div id="footer">
Generated on Mon Nov 21 23:44:35 2011 by
Generated on Tue Nov 22 00:09:05 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
Expand Down
2 changes: 1 addition & 1 deletion doc/Axlsx/PieSeries.html
Original file line number Diff line number Diff line change
Expand Up @@ -753,7 +753,7 @@ <h3>Returns:</h3>
</div>

<div id="footer">
Generated on Mon Nov 21 23:44:22 2011 by
Generated on Tue Nov 22 00:08:52 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
Expand Down
2 changes: 1 addition & 1 deletion doc/Axlsx/RegexValidator.html
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ <h3>Raises:</h3>
</div>

<div id="footer">
Generated on Mon Nov 21 23:44:19 2011 by
Generated on Tue Nov 22 00:08:49 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
Expand Down
2 changes: 1 addition & 1 deletion doc/Axlsx/Relationship.html
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ <h3>Returns:</h3>
</div>

<div id="footer">
Generated on Mon Nov 21 23:44:30 2011 by
Generated on Tue Nov 22 00:09:00 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
Expand Down
Loading

0 comments on commit b279f1f

Please sign in to comment.