ncumbra 0.1.0 → 0.1.1

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
  SHA256:
3
- metadata.gz: e2e982667f4938fcec8de0033c42123cef862f3a4ccdf605abfd509852949b2b
4
- data.tar.gz: 259e0d105fbbae4bfa07d3470be80d726cee091de29447a7ae70a994b376c262
3
+ metadata.gz: 53f2260b5bcdb4fece6ddca02d985adba2f742340079d37d422230e47e7a1f26
4
+ data.tar.gz: e1ddc50d55672c99787d3fbcf7617184f64c43995b6249c050f6022679902bb5
5
5
  SHA512:
6
- metadata.gz: e7ce64a554e6644cb8303da6bd76d2a837c8009231adf5c680acf4af3324ae3351a763fa96a66e9e554ca3dde008fe9b696ccce21a1831a0128bf7f30e4dceeb
7
- data.tar.gz: 32acff4e2f0c371a512fd8258ad5f1d565b97f22b0af067ebbbcff5f8009bbb37c0f3e499f371680ae3a964eb43cad834903b300f750a53905e5eab14cb52081
6
+ metadata.gz: 0aea1415f138232ac97f9903ee82debd45eb1038562c792964ba6a4e01317fd70bfe7081ff6fa4d89fa221b75cfb660ea33de27d944ba4602b174c167c426fc2
7
+ data.tar.gz: 844a11a40aff0903b8aa98089994aeaf55798552504f151426abe89e652368645a4bd64ffe9bcc9dd0fbdb07b57b11ba485c7160d65cd0e7d2e17738cf6df032
data/.gitignore CHANGED
@@ -23,3 +23,4 @@ bug
23
23
  *.rbc
24
24
  tmp.*
25
25
  *.bak
26
+ *.sqlite
data/CHANGELOG ADDED
@@ -0,0 +1,14 @@
1
+ 2018-05-23
2
+ - for 0.1.1
3
+ - cleanup of Messagebox
4
+ - add attr_property so that repaint will automatically happen on changing
5
+ properties.
6
+ - add Table widget
7
+ - rewrite of field traversal so that on_enter and on_leave are always
8
+ executed atomically. There was one case when on_enter was not executed.
9
+ This invalidates @active_index.
10
+ - added Table widget
11
+ - refactor Label so caller can customize printing
12
+ - Introduce negative width and height, which will extend till end of
13
+ screen.
14
+
data/README.md CHANGED
@@ -1,18 +1,33 @@
1
1
  # Umbra
2
2
 
3
- stripped version of canis (ncurses ruby)
3
+ Create ncurses applications using a simple small library.
4
+ The source is small and simple, so easy to hack if need be.
5
+ This is a stripped version of `canis` gem (ncurses ruby).
4
6
 
5
7
  - Minimal functionality
6
8
  - Very close to ncurses, should not try to wrap everything
7
9
  - load only what you need
8
10
  - not necessarily object oriented, that is not a goal
9
- - should be able to use a file or widget from here without having to copy too much
11
+ - should be able to use a file or widget from here (in another application) without having to copy too much
10
12
  - should be able to understand one file without having to understand entire library
11
13
  - should be easy for others to change as per their needs, or copy parts.
12
- -
13
14
 
14
15
 
15
- Currently, not looking at ALT keys, this may change in the future. Only single and control keys and function keys trapped
16
+ ## Gem name
17
+ The name `umbra` was taken, so had to change the gem name to `ncumbra` but the packages and structure etc remain umbra.
18
+
19
+ ## Motivation for yet another ncurses library
20
+
21
+ `rbcurse` and `canis` are very large. Too many dependencies on other parts of system. This aims to be small and minimal,
22
+ keeping parts as independent as possible.
23
+
24
+ ## Future versions
25
+ - Ampersand in Label and Button to signify shortcut/mnemonic.
26
+ - table (0.1.1 has it)
27
+ - combo list
28
+ - 256 colors
29
+ - tree (maybe)
30
+
16
31
  ## Installation
17
32
 
18
33
  Add this line to your application's Gemfile:
@@ -27,11 +42,11 @@ And then execute:
27
42
 
28
43
  Or install it yourself as:
29
44
 
30
- $ gem install umbra
45
+ $ gem install ncumbra
31
46
 
32
47
  ## Usage
33
48
 
34
- TODO: Write usage instructions here
49
+ See examples directory for code samples.
35
50
 
36
51
  ## Development
37
52