visualruby 3.0.21 → 3.0.22
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.
- checksums.yaml +4 -4
- data/.vr_settings.yaml +6 -2
- data/examples/alert_box/.vr_settings.yaml +14 -0
- data/examples/alert_box/main.rb +0 -10
- data/examples/phantom/.vr_settings.yaml +17 -0
- data/examples/settings_file/.vr_settings.yaml +18 -0
- data/examples/settings_file/main.rb +0 -3
- data/examples/settings_file/settings.yaml +2 -2
- metadata +4 -4
- data/examples/pop_up/main.rb +0 -10
- data/examples/pop_up/src/MyClass.rb +0 -15
- data/examples/pop_up/src/glade/MyClass.glade +0 -36
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d2d3753e3ccf32379b1cbc130197502e7f8f98c2
|
|
4
|
+
data.tar.gz: 748531c260a265b213150135d3d31d41f279113c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: aaebf350cd8ed542a22613bdeced1e5a58a33f084713a48e20444acc83929cca7aaa34fdc9adafd0a5a0ff9f7c74075b76ecc1b2472eddc7789098426292f570
|
|
7
|
+
data.tar.gz: 5daabade76d3563c116fd0a0e7b0546545a12cd3c1eb1f31609df46e25253394872a7a4c86a0d05571e37333c236d71f13d59a96c0c20233bb65a2e743fb28c1
|
data/.vr_settings.yaml
CHANGED
|
@@ -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/
|
|
28
|
-
current_line:
|
|
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
|
data/examples/alert_box/main.rb
CHANGED
|
@@ -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
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
--- !ruby/object:SavableSettings
|
|
2
2
|
height: 415
|
|
3
|
-
width:
|
|
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.
|
|
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/
|
|
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"
|
data/examples/pop_up/main.rb
DELETED
|
@@ -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>
|