ConsoleGL 1.0.2 → 1.0.3
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/lib/consolegl.rb +29 -27
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4b9698b40044e9f340674997a3bded847742d1e5b7014fdbc8fa5bd2bc23b390
|
4
|
+
data.tar.gz: 7fbde2b36b6fafcc1296e468166c512925d8face70841d682c52d66df32b9f1b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 18e8c070ef169653f8109c964762200491761073b40c2862706ecbcdc3e654d5d710819d1a27c0eea5a1a46851863a5b28e90bf948ef72e93c209d88bd0f6290
|
7
|
+
data.tar.gz: 8f853caadce9907d74d83215b2c7c59bfb72278ff3969f87c08505f1f31adab1bf107a0a12ce44018afd4a9cd076dc43338fabba5c39875f0f6110dcc5c30fa9
|
data/lib/consolegl.rb
CHANGED
@@ -1,31 +1,30 @@
|
|
1
|
-
|
2
|
-
ConsoleGL Version 1.0 || DOCS
|
1
|
+
#ConsoleGL Version 1.0 || DOCS
|
3
2
|
|
4
|
-
class: Color
|
3
|
+
#class: Color
|
5
4
|
# Color IDs
|
6
|
-
RED
|
7
|
-
GREEN
|
8
|
-
YELLOW
|
9
|
-
|
10
|
-
LIGHT_BLUE
|
11
|
-
WHITE
|
12
|
-
|
13
|
-
class: Console
|
14
|
-
addColor(x, s):
|
15
|
-
Adds Color to string or number
|
16
|
-
Params:
|
17
|
-
X = COLOR ID
|
18
|
-
S = STRING OR NUMBER
|
19
|
-
Usage:
|
20
|
-
addColor(Color.RED, 'ERROR')
|
21
|
-
LineVertical(color):
|
22
|
-
Returns a Vertical Line
|
23
|
-
Params:
|
24
|
-
Color = COLOR ID
|
25
|
-
Usage:
|
26
|
-
LineVertical(Color.BLUE)
|
27
|
-
|
28
|
-
|
5
|
+
#RED
|
6
|
+
#GREEN
|
7
|
+
#YELLOW
|
8
|
+
#BLUE
|
9
|
+
#LIGHT_BLUE
|
10
|
+
#WHITE
|
11
|
+
|
12
|
+
#class: Console
|
13
|
+
#addColor(x, s):
|
14
|
+
#Adds Color to string or number
|
15
|
+
#Params:
|
16
|
+
#X = COLOR ID
|
17
|
+
#S = STRING OR NUMBER
|
18
|
+
#Usage:
|
19
|
+
#addColor(Color.RED, 'ERROR')
|
20
|
+
#LineVertical(color):
|
21
|
+
#Returns a Vertical Line
|
22
|
+
#Params:
|
23
|
+
#Color = COLOR ID
|
24
|
+
#Usage:
|
25
|
+
#LineVertical(Color.BLUE)
|
26
|
+
|
27
|
+
|
29
28
|
class Color
|
30
29
|
|
31
30
|
## COLOR VALUE ##
|
@@ -67,6 +66,7 @@ class Console
|
|
67
66
|
|
68
67
|
def self.LineHorizontal(color)
|
69
68
|
return addColor(color, "│")
|
69
|
+
end
|
70
70
|
|
71
71
|
def self.BigSquareMiddle(color)
|
72
72
|
return addColor(color, "■")
|
@@ -136,5 +136,7 @@ class Console
|
|
136
136
|
def ResetConsoleColor()
|
137
137
|
system "COLOR 07"
|
138
138
|
end
|
139
|
+
end
|
140
|
+
|
141
|
+
|
139
142
|
|
140
|
-
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ConsoleGL
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Okistuff
|
@@ -11,7 +11,7 @@ cert_chain: []
|
|
11
11
|
date: 2020-07-16 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: 'Rendering Engine for Ruby kind of similar to OpenGL. It runs in the
|
14
|
-
console: 1.0.
|
14
|
+
console: 1.0.3 Updates: Fixed Bugs'
|
15
15
|
email: okistuffyt@gmail.com
|
16
16
|
executables: []
|
17
17
|
extensions: []
|