diff --git a/gnuplot.gemspec b/gnuplot.gemspec new file mode 100644 index 0000000..b1f85dd --- /dev/null +++ b/gnuplot.gemspec @@ -0,0 +1,15 @@ +Gem::Specification.new do |s| + s.name = 'gnuplot' + s.description = s.summary = "Utility library to aid in interacting with gnuplot" + s.version = "2.3.6" + s.autorequire = 'gnuplot.rb' + s.authors = "rogerpack2005@gmail.com" + s.email = "rogerpack2005@gmail.com" + s.homepage = "http://github.com/rdp/ruby_gnuplot/tree/master" + + s.files = `git ls-files`.split("\n") + s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n") + s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) } + s.require_paths = ["lib"] + +end diff --git a/lib/gnuplot.rb b/lib/gnuplot.rb index f8faf42..97e4fbb 100644 --- a/lib/gnuplot.rb +++ b/lib/gnuplot.rb @@ -99,7 +99,7 @@ def initialize (io = nil, cmd = "plot") @data = [] @styles = [] yield self if block_given? - puts "writing this to gnuplot:\n" + to_gplot + "\n" if $VERBOSE + puts "writing this to gnuplot:\n" + to_gplot + "\n" + store_datasets + "\n" if $VERBOSE if io io << to_gplot