visualruby 3.0.21 → 3.0.22

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0b6f576903b2fc8e342365be9f990f56669bc91a
4
- data.tar.gz: c77225f63d0a890bdf7b567866326c90373fdd8d
3
+ metadata.gz: d2d3753e3ccf32379b1cbc130197502e7f8f98c2
4
+ data.tar.gz: 748531c260a265b213150135d3d31d41f279113c
5
5
  SHA512:
6
- metadata.gz: 7c17e30a2e4ae0fd78f876ea107c79bbb05d66c5dc6a3b76fcc5de39ecf078e8d1303e61b6e66ae68b044173ba4288dfb42858607970024067d86df55c886ac2
7
- data.tar.gz: f92fb52054092780ba9d5d4f0d5494f007d0af7ada6f03d4fb12a179d0c7d191df689b9fe59f879269914a75b42b480e170ed9d46b361ca400424c8eda980848
6
+ metadata.gz: aaebf350cd8ed542a22613bdeced1e5a58a33f084713a48e20444acc83929cca7aaa34fdc9adafd0a5a0ff9f7c74075b76ecc1b2472eddc7789098426292f570
7
+ data.tar.gz: 5daabade76d3563c116fd0a0e7b0546545a12cd3c1eb1f31609df46e25253394872a7a4c86a0d05571e37333c236d71f13d59a96c0c20233bb65a2e743fb28c1
@@ -19,13 +19,17 @@ open_files:
19
19
  - "/home/eric/vrp/vr3/examples/active_record/active_record.rb"
20
20
  - "/home/eric/vrp/vr3/src/main/VR_ENV.rb"
21
21
  - "/home/eric/vrp/vr3/vr.gemspec"
22
+ - "/home/eric/vrp/vr3/examples/phantom/main.rb"
23
+ - "/home/eric/vrp/vr3/examples/phantom/src/MyClass.rb"
22
24
  open_folders:
23
25
  - "/home/eric/vrp/vr3"
24
26
  - "/home/eric/vrp/vr3/examples"
27
+ - "/home/eric/vrp/vr3/examples/phantom"
28
+ - "/home/eric/vrp/vr3/examples/phantom/src"
25
29
  - "/home/eric/vrp/vr3/src"
26
30
  - "/home/eric/vrp/vr3/src/main"
27
- current_file: "/home/eric/vrp/vr3/vr.gemspec"
28
- current_line: 4
31
+ current_file: "/home/eric/vrp/vr3/examples/phantom/src/MyClass.rb"
32
+ current_line: 6
29
33
  rdoc_command_line: yardoc lib - site/*.*
30
34
  builder: !ruby/object:Gtk::Builder {}
31
35
  top_level_window: false
@@ -0,0 +1,14 @@
1
+ --- !ruby/object:VR_ENV
2
+ vr_yaml_file: "/home/eric/vrp/vr3/examples/alert_box/.vr_settings.yaml"
3
+ width: 800
4
+ height: 600
5
+ panel_pos: 360
6
+ notebook_panel_position: 400
7
+ run_command_line: ruby main.rb
8
+ open_files:
9
+ - "/home/eric/vrp/vr3/examples/alert_box/main.rb"
10
+ open_folders:
11
+ - "/home/eric/vrp/vr3/examples/alert_box"
12
+ current_file: "/home/eric/vrp/vr3/examples/alert_box/main.rb"
13
+ current_line: 8
14
+ rdoc_command_line: rdoc -x README
@@ -6,15 +6,5 @@ require File.exists?("./../../vrlib/vrlib.rb") ? "./../../vrlib/vrlib.rb" : "vr
6
6
  # from require_all gem:
7
7
  require_rel 'bin/'
8
8
 
9
- alert "The file you selected is already on disk. Do you want to overwrite it?",
10
- headline: "Overwrite FIle?",
11
- button_yes: "Overwrite",
12
- button_no: "Reload From Disk",
13
- button_cancel: "Cancel"
14
-
15
-
16
-
17
-
18
-
19
9
  AlertBoxDemo.new.show_glade()
20
10
 
@@ -0,0 +1,17 @@
1
+ --- !ruby/object:VR_ENV
2
+ vr_yaml_file: "/home/eric/vrp/vr3/examples/phantom/.vr_settings.yaml"
3
+ width: 812
4
+ height: 600
5
+ panel_pos: 360
6
+ notebook_panel_position: 400
7
+ run_command_line: ruby main.rb
8
+ open_files:
9
+ - "/home/eric/vrp/vr3/examples/phantom/src/MyClass.rb"
10
+ - "/home/eric/vrp/vr3/examples/phantom/main.rb"
11
+ open_folders:
12
+ - "/home/eric/vrp/vr3/examples/phantom"
13
+ - "/home/eric/vrp/vr3/examples/phantom/src"
14
+ - "/home/eric/vrp/vr3/examples/phantom/src/glade"
15
+ current_file: "/home/eric/vrp/vr3/examples/phantom/main.rb"
16
+ current_line: 11
17
+ rdoc_command_line: rdoc -x README
@@ -0,0 +1,18 @@
1
+ --- !ruby/object:VR_ENV
2
+ vr_yaml_file: "/home/eric/vrp/vr3/examples/settings_file/.vr_settings.yaml"
3
+ width: 800
4
+ height: 600
5
+ panel_pos: 360
6
+ notebook_panel_position: 400
7
+ run_command_line: ruby main.rb
8
+ open_files:
9
+ - "/home/eric/vrp/vr3/examples/settings_file/main.rb"
10
+ - "/home/eric/vrp/vr3/examples/settings_file/bin/MainApp.rb"
11
+ - "/home/eric/vrp/vr3/examples/settings_file/bin/SavableSettings.rb"
12
+ open_folders:
13
+ - "/home/eric/vrp/vr3/examples/settings_file"
14
+ - "/home/eric/vrp/vr3/examples/settings_file/bin"
15
+ - "/home/eric/vrp/vr3/examples/settings_file/bin/glade"
16
+ current_file: "/home/eric/vrp/vr3/examples/settings_file/bin/SavableSettings.rb"
17
+ current_line: 39
18
+ rdoc_command_line: rdoc -x README
@@ -7,8 +7,5 @@ require File.exists?("./../../vrlib/vrlib.rb") ? "./../../vrlib/vrlib.rb" : "vr
7
7
  # from require_all gem:
8
8
  require_rel 'bin/'
9
9
 
10
-
11
-
12
-
13
10
  MainApp.new.show_glade()
14
11
 
@@ -1,6 +1,6 @@
1
1
  --- !ruby/object:SavableSettings
2
2
  height: 415
3
- width: 408
3
+ width: 609
4
4
  title: Savable Settings Demo
5
5
  text: |-
6
6
  Try running this program multiple times.
@@ -10,6 +10,6 @@ text: |-
10
10
  If you want to reset the file to the defaults, just delete the settings.yamls file.
11
11
 
12
12
  You may need to click the 'Refresh' to see the settings.yaml file.
13
- vr_yaml_file: settings.yaml
13
+ vr_yaml_file: "/home/eric/vrp/vr3/examples/settings_file/settings.yaml"
14
14
  builder: !ruby/object:Gtk::Builder {}
15
15
  top_level_window: false
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: visualruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.21
4
+ version: 3.0.22
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Cunningham
@@ -84,6 +84,7 @@ files:
84
84
  - "./examples/active_record2/bin/glade/Paycheck.glade"
85
85
  - "./examples/active_record2/db/development.sqlite3"
86
86
  - "./examples/active_record2/main.rb"
87
+ - "./examples/alert_box/.vr_settings.yaml"
87
88
  - "./examples/alert_box/bin/AlertBoxDemo.rb"
88
89
  - "./examples/alert_box/bin/glade/AlertBoxDemo.glade"
89
90
  - "./examples/alert_box/main.rb"
@@ -142,12 +143,11 @@ files:
142
143
  - "./examples/listview_objects/bin/glade/DataObject.glade"
143
144
  - "./examples/listview_objects/bin/glade/ListViewObjectsGUI.glade"
144
145
  - "./examples/listview_objects/main.rb"
146
+ - "./examples/phantom/.vr_settings.yaml"
145
147
  - "./examples/phantom/main.rb"
146
148
  - "./examples/phantom/src/MyClass.rb"
147
149
  - "./examples/phantom/src/glade/MyClass.glade"
148
- - "./examples/pop_up/main.rb"
149
- - "./examples/pop_up/src/MyClass.rb"
150
- - "./examples/pop_up/src/glade/MyClass.glade"
150
+ - "./examples/settings_file/.vr_settings.yaml"
151
151
  - "./examples/settings_file/bin/MainApp.rb"
152
152
  - "./examples/settings_file/bin/SavableSettings.rb"
153
153
  - "./examples/settings_file/bin/glade/MainApp.glade"
@@ -1,10 +0,0 @@
1
- #!/usr/bin/ruby
2
-
3
- require "vrlib"
4
-
5
- # from require_all gem:
6
- require_rel 'src/'
7
-
8
-
9
- MyClass.new.show_glade()
10
-
@@ -1,15 +0,0 @@
1
-
2
- class MyClass #(change name)
3
-
4
- include GladeGUI
5
-
6
- def before_show()
7
- @button1 = "Hello World"
8
- end
9
-
10
- def button1__clicked(*args)
11
- @builder["button1"].label = "Goodbye World"
12
- end
13
-
14
- end
15
-
@@ -1,36 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!-- Generated with glade 3.16.1 -->
3
- <interface>
4
- <requires lib="gtk+" version="3.0"/>
5
- <object class="GtkWindow" id="window1">
6
- <property name="can_focus">False</property>
7
- <property name="window_position">center</property>
8
- <child>
9
- <object class="GtkButtonBox" id="buttonbox1">
10
- <property name="visible">True</property>
11
- <property name="can_focus">False</property>
12
- <property name="halign">center</property>
13
- <property name="valign">center</property>
14
- <property name="margin_left">50</property>
15
- <property name="margin_right">50</property>
16
- <property name="margin_top">50</property>
17
- <property name="margin_bottom">50</property>
18
- <property name="orientation">vertical</property>
19
- <property name="layout_style">start</property>
20
- <child>
21
- <object class="GtkButton" id="button1">
22
- <property name="label" translatable="yes">button</property>
23
- <property name="visible">True</property>
24
- <property name="can_focus">True</property>
25
- <property name="receives_default">True</property>
26
- </object>
27
- <packing>
28
- <property name="expand">True</property>
29
- <property name="fill">True</property>
30
- <property name="position">0</property>
31
- </packing>
32
- </child>
33
- </object>
34
- </child>
35
- </object>
36
- </interface>