coinflip 0.0.9 → 1.0.0
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 +7 -0
- data/bin/glade/MyClass.glade +14 -14
- data/coinflip +5 -5
- metadata +21 -58
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 75885f7ae2c6872bd0c481062bf4886efa783eb4c2c33de03b97502cea59486d
|
|
4
|
+
data.tar.gz: caa80997ce176b9e66c3786d5d390cb41e1e7298c23f5c1b084626ffa0dd2303
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 12a4cbebc62a54efbf9346b8f57210a255e8e13b964b99c2afc0db166189c714782f0c5e4da30faeb37c79ed7bef7a2038241ade8af9e494cb91b4f5a3a81de8
|
|
7
|
+
data.tar.gz: b1ddef944c688191ef67d05d7e55d3633e340b50b6b2b89254950c1bbb63f5eb3305cbd57567a506e01e6a7da88e75176d94afc13a8dbbd6f593dcd876901162
|
data/bin/glade/MyClass.glade
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<!-- Generated with glade 3.38.2 -->
|
|
2
3
|
<interface>
|
|
3
|
-
<requires lib="gtk+" version="
|
|
4
|
-
<!-- interface-naming-policy project-wide -->
|
|
4
|
+
<requires lib="gtk+" version="3.0"/>
|
|
5
5
|
<object class="GtkWindow" id="window1">
|
|
6
6
|
<property name="visible">True</property>
|
|
7
|
-
<property name="
|
|
7
|
+
<property name="can-focus">False</property>
|
|
8
8
|
<property name="modal">True</property>
|
|
9
|
-
<property name="
|
|
10
|
-
<property name="
|
|
11
|
-
<property name="
|
|
12
|
-
<signal name="destroy" handler="destroy_window" swapped="no"/>
|
|
9
|
+
<property name="window-position">center-always</property>
|
|
10
|
+
<property name="default-width">300</property>
|
|
11
|
+
<property name="default-height">200</property>
|
|
13
12
|
<child>
|
|
14
|
-
<object class="
|
|
13
|
+
<object class="GtkBox">
|
|
15
14
|
<property name="visible">True</property>
|
|
16
|
-
<property name="
|
|
15
|
+
<property name="can-focus">False</property>
|
|
16
|
+
<property name="orientation">vertical</property>
|
|
17
17
|
<child>
|
|
18
18
|
<object class="GtkImage" id="image1">
|
|
19
19
|
<property name="visible">True</property>
|
|
20
|
-
<property name="
|
|
20
|
+
<property name="can-focus">False</property>
|
|
21
21
|
<property name="stock">gtk-missing-image</property>
|
|
22
22
|
</object>
|
|
23
23
|
<packing>
|
|
@@ -29,14 +29,14 @@
|
|
|
29
29
|
<child>
|
|
30
30
|
<object class="GtkHButtonBox" id="hbuttonbox1">
|
|
31
31
|
<property name="visible">True</property>
|
|
32
|
-
<property name="
|
|
32
|
+
<property name="can-focus">False</property>
|
|
33
33
|
<child>
|
|
34
34
|
<object class="GtkButton" id="button1">
|
|
35
35
|
<property name="label" translatable="yes">button</property>
|
|
36
|
+
<property name="use-action-appearance">False</property>
|
|
36
37
|
<property name="visible">True</property>
|
|
37
|
-
<property name="
|
|
38
|
-
<property name="
|
|
39
|
-
<property name="use_action_appearance">False</property>
|
|
38
|
+
<property name="can-focus">True</property>
|
|
39
|
+
<property name="receives-default">True</property>
|
|
40
40
|
</object>
|
|
41
41
|
<packing>
|
|
42
42
|
<property name="expand">False</property>
|
data/coinflip
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/ruby
|
|
2
|
-
|
|
2
|
+
#
|
|
3
3
|
require 'vrlib'
|
|
4
|
-
|
|
4
|
+
# require File.exists?(".././../../lib/vrlib.rb") ? "./../../lib/vrlib.rb" : "vrlib"
|
|
5
5
|
#make program output in real time so errors visible in VR.
|
|
6
6
|
STDOUT.sync = true
|
|
7
7
|
STDERR.sync = true
|
|
8
8
|
|
|
9
9
|
#everything in these directories will be included
|
|
10
|
-
my_path = File.expand_path(File.dirname(__FILE__))
|
|
11
|
-
|
|
10
|
+
# my_path = File.expand_path(File.dirname(__FILE__))
|
|
11
|
+
require_rel 'bin'
|
|
12
12
|
|
|
13
|
-
MyClass.new.
|
|
13
|
+
MyClass.new.show_glade
|
|
14
14
|
|
metadata
CHANGED
|
@@ -1,99 +1,62 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: coinflip
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0
|
|
5
|
-
prerelease:
|
|
4
|
+
version: 1.0.0
|
|
6
5
|
platform: ruby
|
|
7
6
|
authors:
|
|
8
|
-
-
|
|
7
|
+
- Eric Cunningham
|
|
9
8
|
autorequire:
|
|
10
9
|
bindir:
|
|
11
|
-
- .
|
|
10
|
+
- "."
|
|
12
11
|
cert_chain: []
|
|
13
|
-
date:
|
|
12
|
+
date: 2021-05-12 00:00:00.000000000 Z
|
|
14
13
|
dependencies:
|
|
15
14
|
- !ruby/object:Gem::Dependency
|
|
16
|
-
name:
|
|
15
|
+
name: visualruby
|
|
17
16
|
requirement: !ruby/object:Gem::Requirement
|
|
18
|
-
none: false
|
|
19
17
|
requirements:
|
|
20
|
-
- -
|
|
18
|
+
- - "~>"
|
|
21
19
|
- !ruby/object:Gem::Version
|
|
22
|
-
version:
|
|
20
|
+
version: 3.4.4
|
|
23
21
|
type: :runtime
|
|
24
22
|
prerelease: false
|
|
25
23
|
version_requirements: !ruby/object:Gem::Requirement
|
|
26
|
-
none: false
|
|
27
24
|
requirements:
|
|
28
|
-
- -
|
|
25
|
+
- - "~>"
|
|
29
26
|
- !ruby/object:Gem::Version
|
|
30
|
-
version:
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
requirement: !ruby/object:Gem::Requirement
|
|
34
|
-
none: false
|
|
35
|
-
requirements:
|
|
36
|
-
- - ! '>='
|
|
37
|
-
- !ruby/object:Gem::Version
|
|
38
|
-
version: 0.0.1
|
|
39
|
-
type: :runtime
|
|
40
|
-
prerelease: false
|
|
41
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
42
|
-
none: false
|
|
43
|
-
requirements:
|
|
44
|
-
- - ! '>='
|
|
45
|
-
- !ruby/object:Gem::Version
|
|
46
|
-
version: 0.0.1
|
|
47
|
-
- !ruby/object:Gem::Dependency
|
|
48
|
-
name: require_all
|
|
49
|
-
requirement: !ruby/object:Gem::Requirement
|
|
50
|
-
none: false
|
|
51
|
-
requirements:
|
|
52
|
-
- - ! '>='
|
|
53
|
-
- !ruby/object:Gem::Version
|
|
54
|
-
version: 0.0.1
|
|
55
|
-
type: :runtime
|
|
56
|
-
prerelease: false
|
|
57
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
58
|
-
none: false
|
|
59
|
-
requirements:
|
|
60
|
-
- - ! '>='
|
|
61
|
-
- !ruby/object:Gem::Version
|
|
62
|
-
version: 0.0.1
|
|
63
|
-
description: Full description here
|
|
64
|
-
email: you@yoursite.com
|
|
27
|
+
version: 3.4.4
|
|
28
|
+
description: ''
|
|
29
|
+
email: ''
|
|
65
30
|
executables:
|
|
66
31
|
- coinflip
|
|
67
32
|
extensions: []
|
|
68
33
|
extra_rdoc_files: []
|
|
69
34
|
files:
|
|
35
|
+
- "./coinflip"
|
|
70
36
|
- bin/MyClass.rb
|
|
71
37
|
- bin/glade/MyClass.glade
|
|
72
|
-
- bin/tails.jpg
|
|
73
38
|
- bin/heads.jpg
|
|
74
|
-
-
|
|
75
|
-
homepage:
|
|
39
|
+
- bin/tails.jpg
|
|
40
|
+
homepage: ''
|
|
76
41
|
licenses: []
|
|
42
|
+
metadata: {}
|
|
77
43
|
post_install_message:
|
|
78
44
|
rdoc_options: []
|
|
79
45
|
require_paths:
|
|
80
|
-
-
|
|
46
|
+
- lib
|
|
81
47
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
82
|
-
none: false
|
|
83
48
|
requirements:
|
|
84
|
-
- -
|
|
49
|
+
- - ">="
|
|
85
50
|
- !ruby/object:Gem::Version
|
|
86
51
|
version: '0'
|
|
87
52
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
88
|
-
none: false
|
|
89
53
|
requirements:
|
|
90
|
-
- -
|
|
54
|
+
- - ">="
|
|
91
55
|
- !ruby/object:Gem::Version
|
|
92
56
|
version: '0'
|
|
93
57
|
requirements: []
|
|
94
|
-
|
|
95
|
-
rubygems_version: 1.8.25
|
|
58
|
+
rubygems_version: 3.2.15
|
|
96
59
|
signing_key:
|
|
97
|
-
specification_version:
|
|
98
|
-
summary:
|
|
60
|
+
specification_version: 4
|
|
61
|
+
summary: Shows Ruby GUI in action.
|
|
99
62
|
test_files: []
|