grada 2.2.1 → 2.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/lib/grada/gnuplot.rb +8 -3
  2. metadata +1 -1
data/lib/grada/gnuplot.rb CHANGED
@@ -51,13 +51,18 @@ class Gnuplot
51
51
  break unless window
52
52
  sleep 1
53
53
  end
54
+ data_in.close
55
+ data_out.close
56
+ stderr.close
57
+
58
+ output.write(wait_th.value.exitstatus)
54
59
  end
55
60
 
56
61
  output.string
57
62
  end
58
63
  end
59
64
 
60
- class Plot
65
+ class Gnuplot::Plot
61
66
  attr_accessor :cmd, :data, :settings, :styles, :arbitrary_lines
62
67
 
63
68
  QUOTED_METHODS = [ "title", "output", "xlabel", "x2label", "ylabel", "y2label", "clabel", "cblabel", "zlabel" ]
@@ -108,7 +113,7 @@ class Plot
108
113
  end
109
114
  end
110
115
 
111
- class Style
116
+ class Gnuplot::Style
112
117
  attr_accessor :linestyle, :linetype, :linewidth, :linecolor, :pointtype, :pointsize, :fill, :index
113
118
 
114
119
  alias :ls :linestyle
@@ -154,7 +159,7 @@ class Style
154
159
  end
155
160
  end
156
161
 
157
- class DataSet
162
+ class Gnuplot::DataSet
158
163
  attr_accessor :title, :with, :using, :data, :linewidth, :linecolor, :matrix, :smooth, :axes, :index, :linestyle
159
164
 
160
165
  alias :ls :linestyle
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: grada
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.1
4
+ version: 2.2.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: