Skip to content

Commit

Permalink
* Update to_excel.gemspec
Browse files Browse the repository at this point in the history
* Style README
  • Loading branch information
anoiaque committed May 1, 2010
1 parent b38d405 commit 83a572f
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 19 deletions.
2 changes: 1 addition & 1 deletion README.rdoc
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ You can export the column values as if it was an attribute :
[@computers].to_excel(:map => {Computer => [:id, :macintosh?]})


==== Controller side
== Controller side

class UsersController < ....

Expand Down
32 changes: 14 additions & 18 deletions to_excel.gemspec
Original file line number Diff line number Diff line change
@@ -1,18 +1,14 @@
spec = Gem::Specification.new do |s|
s.name = "to_excel"
s.version = "1.0"
s.author = "Philippe Cantin"
s.email = ""
s.homepage = "http://github.com/anoiaque/to_excel"
s.platform = Gem::Platform::RUBY
s.summary = "Export ruby objects to excel file. Allow many collections of different class. Can include associations attributes."
s.files = FileList["{lib}/*.rb"].to_a
s.require_path = "lib"
s.test_files = FileList["{test}/*test.rb"].to_a
s.has_rdoc = false
s.extra_rdoc_files = ["README"]
end

Rake::GemPackageTask.new(spec) do |pkg|
pkg.need_tar = false
end
specifications = Gem::Specification.new do |spec|
spec.name = "to_excel"
spec.version = "1.0"
spec.author = "Philippe Cantin"
spec.homepage = "http://github.com/anoiaque/to_excel"
spec.platform = Gem::Platform::RUBY
spec.summary = "Export ruby objects to excel file. Allow many collections of different classpec. Can include associations attributespec."
spec.description = "Export ruby objects to excel file"
spec.files = Dir['lib/**/*.rb']
spec.require_path = "lib"
spec.test_files = Dir['test/**/*.rb']
spec.has_rdoc = false
spec.extra_rdoc_files = ["README.rdoc"]
end

0 comments on commit 83a572f

Please sign in to comment.