xyp 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/xyp/gui.rb +2 -2
- data/lib/xyp/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e232d2b7ce0e9a72182ad5b9166f3548302b7a3aeb640048e7e03dc08785f4e2
|
4
|
+
data.tar.gz: e6e2c045246b1a3fe35b7f1033128c03c2375f146bacf0d2477b88d633e3d4c6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 63b1e457545ef7bfacd4b632fb3c9e3eb02db481443f68900400937550e054204cae2f254ac81b178137dc5fc8d7cff69b5c7d4ea9a35db1db0e5e44ad817824
|
7
|
+
data.tar.gz: b6315f19315e2c141107d9e7e7ba2cfaa8ce0cf1f32cb15c93517a29e0e25be4651217d38558db9c18b5e95e82137a5bf313eddd4d1fcef2fbcf1333f38ff7b4
|
data/lib/xyp/gui.rb
CHANGED
@@ -80,7 +80,7 @@ module XYP
|
|
80
80
|
def on_button_info_clicked
|
81
81
|
about = Gtk::AboutDialog.new
|
82
82
|
about.set_program_name "xyp"
|
83
|
-
about.set_version
|
83
|
+
about.set_version VERSION
|
84
84
|
about.set_copyright "(c) Jean-Christophe Le Lann"
|
85
85
|
about.set_comments "Ruby GTK3 XY Plotter"
|
86
86
|
about.set_website "http://www.jcll.fr"
|
@@ -118,7 +118,7 @@ module XYP
|
|
118
118
|
if @dataset
|
119
119
|
min_x,max_x=@dataset.keys.minmax
|
120
120
|
min_y,max_y=@dataset.values.minmax
|
121
|
-
|
121
|
+
|
122
122
|
center_x=min_x+(max_x-min_x).abs/2
|
123
123
|
center_y=min_y+(max_y-min_y).abs/2
|
124
124
|
center=Point.new(center_x,center_y)
|
data/lib/xyp/version.rb
CHANGED