curses-extension 3.0 → 3.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/{lib/README.md → README.md} +10 -0
- metadata +9 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c10f1ddc15494c0013a4d678c69d231be563f269ede3dd2a0359b375c79f4c93
|
4
|
+
data.tar.gz: 39cb3adb2a69bcd6336cf04e611cd6b3b63bf946763f30dd615292d42cf24a27
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c50d4c520d5aa6cc4df91595507b3347dd7e215f095fa2f95408d06649623031a60b7f91964aa9c581fce740384954eaac931ea2ea53ada7abdb09c8ba70e60f
|
7
|
+
data.tar.gz: d9a8709107fa70f83cf32d62154fcb7bfc25bb394cf3892ae8c6b825f87d467f62cd7894f5197284a2aaa2eb777f3e599e8b8d17d81dc058b96b084f7e769e51
|
data/{lib/README.md → README.md}
RENAMED
@@ -23,6 +23,16 @@ spaces and (optional) background color, making it an effective newline.
|
|
23
23
|
And then there is the convenient `frame`method that toggles a frame for the
|
24
24
|
window.
|
25
25
|
|
26
|
+
You may ask why the methods `xy`, `x?`, `y?`, `mx?` and `my?` as these must
|
27
|
+
surely be covered already by the original Ruby Curses::Window library? They
|
28
|
+
serve a special purpose as they take into account that a window can be framed.
|
29
|
+
In a framed window, the top left corner is not `0,0`as that would be the top
|
30
|
+
left frame position. The inside top left of the frame is actually `1,1`, but
|
31
|
+
these functions treat that position as `0,0` if the window is framed and as
|
32
|
+
`1,1` if it is not. So - when using these functions you don't have to think
|
33
|
+
about compensating for the frame. Everything works just fine whether the
|
34
|
+
window is framed or not.
|
35
|
+
|
26
36
|
The `curses-template.rb` contains code that helps you understand how you can
|
27
37
|
easily create curses applications in Ruby. It is a fully runnable app that
|
28
38
|
doesn't do much - but you can fiddle around with the code and test
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: curses-extension
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 3.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Geir Isene
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-11-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: curses
|
@@ -35,13 +35,14 @@ description: 'The Ruby curses library is sorely lacking some important features.
|
|
35
35
|
terminal curses applications in Ruby. See the Github page for information on what
|
36
36
|
properties and functions are included: https://github.com/isene/Ruby-Curses-Class-Extension.
|
37
37
|
The curses_template.rb is also installed in the lib directory and serves as the
|
38
|
-
basis for my own curses applications. New in 3.0: Major rewrite. Lots of changes/improvements.
|
38
|
+
basis for my own curses applications. New in 3.0: Major rewrite. Lots of changes/improvements.
|
39
|
+
3.0.2: Path fix'
|
39
40
|
email: g@isene.com
|
40
41
|
executables: []
|
41
42
|
extensions: []
|
42
43
|
extra_rdoc_files: []
|
43
44
|
files:
|
44
|
-
-
|
45
|
+
- README.md
|
45
46
|
- lib/curses-extension.rb
|
46
47
|
- lib/curses-template.rb
|
47
48
|
homepage: https://isene.com/
|
@@ -49,7 +50,7 @@ licenses:
|
|
49
50
|
- Unlicense
|
50
51
|
metadata:
|
51
52
|
source_code_uri: https://github.com/isene/Ruby-Curses-Class-Extension
|
52
|
-
post_install_message:
|
53
|
+
post_install_message:
|
53
54
|
rdoc_options: []
|
54
55
|
require_paths:
|
55
56
|
- lib
|
@@ -64,8 +65,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
64
65
|
- !ruby/object:Gem::Version
|
65
66
|
version: '0'
|
66
67
|
requirements: []
|
67
|
-
rubygems_version: 3.
|
68
|
-
signing_key:
|
68
|
+
rubygems_version: 3.4.20
|
69
|
+
signing_key:
|
69
70
|
specification_version: 4
|
70
71
|
summary: Extending the Ruby Curses module with some obvious functionality
|
71
72
|
test_files: []
|