summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRandy Morgan <[email protected]>2012-11-25 15:18:08 +0900
committerRandy Morgan <[email protected]>2012-11-25 15:18:08 +0900
commitbe2c173291e33e84c7de088d73f2f676a879306d (patch)
tree800b9fa826cff9d49b549a9d36d9213fbe4c9045
parent0a25dbeb32e20a3e8557e9dc32ea380cc543ae2a (diff)
downloadcaxlsx-be2c173291e33e84c7de088d73f2f676a879306d.tar.gz
caxlsx-be2c173291e33e84c7de088d73f2f676a879306d.zip
Cleaned up gemspec and removed pdf export example
-rw-r--r--axlsx.gemspec4
-rwxr-xr-xexamples/example.rb8
-rw-r--r--examples/extractive.pdfbin64125 -> 0 bytes
3 files changed, 5 insertions, 7 deletions
diff --git a/axlsx.gemspec b/axlsx.gemspec
index 9d2d7f0d..be46cb6b 100644
--- a/axlsx.gemspec
+++ b/axlsx.gemspec
@@ -1,5 +1,3 @@
-# This will recursively require rake when using rake 0.9.2.2 and bundler
-#require 'rake'
require File.expand_path('../lib/axlsx/version', __FILE__)
Gem::Specification.new do |s|
@@ -15,7 +13,7 @@ Gem::Specification.new do |s|
s.description = <<-eof
xlsx generation with charts, images, automated column width, customizable styles and full schema validation. Axlsx excels at helping you generate beautiful Office Open XML Spreadsheet documents without having to understand the entire ECMA specification. Check out the README for some examples of how easy it is. Best of all, you can validate your xlsx file before serialization so you know for sure that anything generated is going to load on your client's machine.
eof
- s.files = Dir.glob("{lib/**/*,examples/**/*}") + %w{ LICENSE README.md Rakefile CHANGELOG.md .yardopts }
+ s.files = Dir.glob("{lib/**/*,examples/**/*.rb,examples/**/*.jpeg}") + %w{ LICENSE README.md Rakefile CHANGELOG.md .yardopts }
s.test_files = Dir.glob("{test/**/*}")
s.add_runtime_dependency 'nokogiri', '>= 1.4.1'
diff --git a/examples/example.rb b/examples/example.rb
index ebb74dae..a675cfa6 100755
--- a/examples/example.rb
+++ b/examples/example.rb
@@ -348,7 +348,7 @@ if examples.include? :hyperlinks
wb.add_worksheet(:name => 'hyperlinks') do |sheet|
# external references
sheet.add_row ['axlsx']
- #sheet.add_hyperlink :location => 'https://github.com/randym/axlsx', :ref => sheet.rows.first.cells.first
+ sheet.add_hyperlink :location => 'https://github.com/randym/axlsx', :ref => sheet.rows.first.cells.first
# internal references
sheet.add_hyperlink :location => "'Next Sheet'!A1", :ref => 'A2', :target => :sheet
sheet.add_row ['next sheet']
@@ -676,9 +676,9 @@ if examples.include? :shared_strings
end
#```
-p.validate do |er|
-puts er.inspect
-end
+#p.validate do |er|
+#puts er.inspect
+#end
##Disabling Autowidth
#```ruby
diff --git a/examples/extractive.pdf b/examples/extractive.pdf
deleted file mode 100644
index e430df96..00000000
--- a/examples/extractive.pdf
+++ /dev/null
Binary files differ