website/index.txt in simonmenke-xlsx-0.0.1 vs website/index.txt in simonmenke-xlsx-0.0.2

- old
+ new

@@ -1,73 +1,49 @@ h1. xlsx -h1. &#x2192; 'xlsx' +h1. → 'xlsx' h2. What +This little gem writes MS Excel 2007 xlsx files. + h2. Installing -<pre syntax="ruby">sudo gem install xlsx</pre> +<pre syntax="ruby">sudo gem install simonmenke-xlsx</pre> -h2. The basics - h2. Demonstration of usage +<pre syntax="ruby">require 'rubygems' +require 'xlsx' +workbook = XLSX::Workbook.new +workbook.add_sheet("My sheet") do |sheet| + + sheet[0,0] = 'ID' + sheet[0,1] = 'VALUE' + + sheet[1,0] = 3 + sheet[1,1] = 'Hello' + +end -h2. Forum +workbook.dump('~/data.xlsx') # write the file +workbook.build # or get the data</pre> -"http://groups.google.com/group/xlsx":http://groups.google.com/group/xlsx - -TODO - create Google Group - xlsx - h2. How to submit patches Read the "8 steps for fixing other people's code":http://drnicwilliams.com/2007/06/01/8-steps-for-fixing-other-peoples-code/ and for section "8b: Submit patch to Google Groups":http://drnicwilliams.com/2007/06/01/8-steps-for-fixing-other-peoples-code/#8b-google-groups, use the Google Group above. -TODO - pick SVN or Git instructions +You can fetch the source from: -The trunk repository is <code>svn://rubyforge.org/var/svn/xlsx/trunk</code> for anonymous access. +* github: "http://github.com/simonmenke/xlsx/tree/master":http://github.com/simonmenke/xlsx/tree/master -OOOORRRR +<pre>git clone git://github.com/simonmenke/xlsx.git</pre> -You can fetch the source from either: - -<% if rubyforge_project_id %> - -* rubyforge: "http://rubyforge.org/scm/?group_id=<%= rubyforge_project_id %>":http://rubyforge.org/scm/?group_id=<%= rubyforge_project_id %> - -<pre>git clone git://rubyforge.org/xlsx.git</pre> - -<% else %> - -* rubyforge: MISSING IN ACTION - -TODO - You can not created a RubyForge project, OR have not run <code>rubyforge config</code> -yet to refresh your local rubyforge data with this projects' id information. - -When you do this, this message will magically disappear! - -Or you can hack website/index.txt and make it all go away!! - -<% end %> - -* github: "http://github.com/GITHUB_USERNAME/xlsx/tree/master":http://github.com/GITHUB_USERNAME/xlsx/tree/master - -<pre>git clone git://github.com/GITHUB_USERNAME/xlsx.git</pre> - - -TODO - add "github_username: username" to ~/.rubyforge/user-config.yml and newgem will reuse it for future projects. - - -* gitorious: "git://gitorious.org/xlsx/mainline.git":git://gitorious.org/xlsx/mainline.git - -<pre>git clone git://gitorious.org/xlsx/mainline.git</pre> - h3. Build and test instructions <pre>cd xlsx rake test rake install_gem</pre> @@ -77,7 +53,7 @@ This code is free to use under the terms of the MIT license. h2. Contact -Comments are welcome. Send an email to "Simon Menke":mailto:simon@5xm.org via the "forum":http://groups.google.com/group/xlsx +Comments are welcome. Send an email to "Simon Menke":mailto:simon@5xm.org via the "lighthouse":http://menke.lighthouseapp.com/projects/16082-xlsx/overview