xyp 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/xyp/gui.rb +2 -2
  3. data/lib/xyp/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 447e2a58ef2eb8aaf6e6fc650204b0ec402059f48b55ade19005d0da599951f4
4
- data.tar.gz: 31fd403b1c0231a2c881a058b94662e233ca5160dc4e1c7c7632bc5e3629878c
3
+ metadata.gz: e232d2b7ce0e9a72182ad5b9166f3548302b7a3aeb640048e7e03dc08785f4e2
4
+ data.tar.gz: e6e2c045246b1a3fe35b7f1033128c03c2375f146bacf0d2477b88d633e3d4c6
5
5
  SHA512:
6
- metadata.gz: 2346a62ce1e6ddf3f8edb0e31b3180200d1c9cf1e89e8e2d2ae07a4aeeddaa2ed84999f951e9685f4836c9647e2423a46ee9ab6aefcfd78ddd6aa9c3972c6b87
7
- data.tar.gz: 0e41d1fb7fbbc945d5166110ccc60de6a20ae57bc12d90fdd767390b89b4a159e3406de26e8765bbb057a8a8d566fd92a1544591d6f85186c676b25b418ceda9
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 "0.0.1"
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
@@ -1,3 +1,3 @@
1
1
  module XYP
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xyp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jean-Christophe Le Lann