lucaterm 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +13 -0
- data/lib/luca_term/book.rb +2 -1
- data/lib/luca_term/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2b89d7a16d5e1b11ec8bc4caccc299fff6dcaa7edceda8d3ae3e0ad8d24686bb
|
4
|
+
data.tar.gz: 448a0ed6d343ffd78a09f8f83e80cf729699f49db1f0c3cced73d7cb116cc595
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9e50a20eb61aa70ac29caefedbb0316aaa578179eed5d5c5df340161e821ab5b02b65657a4b39e473bba547e356537153e405a0c508ecf48ec3b036238dffbce
|
7
|
+
data.tar.gz: 53fb5a7d452aaaf0a528e2785601a06d36d16f8790fa48981ab21d43d4f08dbdd43925db67a522f6911be7ff348cd911baa1a49447b199f8271a621f6b23cf53
|
data/CHANGELOG.md
CHANGED
data/README.md
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
# LucaTerm
|
2
|
+
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/lucaterm.svg)](https://badge.fury.io/rb/lucaterm)
|
4
|
+
[![doc](https://img.shields.io/badge/doc-rubydoc-green.svg)](https://www.rubydoc.info/gems/lucaterm/index)
|
5
|
+
![license](https://img.shields.io/github/license/chumaltd/luca)
|
6
|
+
|
7
|
+
Terminal frontend app for LucaSuite.
|
8
|
+
|
9
|
+
## Usage
|
10
|
+
|
11
|
+
```bash
|
12
|
+
$ luca book [yyyy m]
|
13
|
+
```
|
data/lib/luca_term/book.rb
CHANGED
@@ -316,11 +316,12 @@ module LucaTerm
|
|
316
316
|
when 'G'
|
317
317
|
cursor_last list, sub.maxy - 2
|
318
318
|
when KEY_CTRL_J
|
319
|
+
selected = list[@index][:code]
|
319
320
|
@visible = visible_dup
|
320
321
|
@index = index_dup
|
321
322
|
@active = active_dup
|
322
323
|
sub.close
|
323
|
-
return
|
324
|
+
return selected
|
324
325
|
when 'q'
|
325
326
|
@visible = visible_dup
|
326
327
|
@index = index_dup
|
data/lib/luca_term/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lucaterm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chuma Takahiro
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-03-
|
11
|
+
date: 2022-03-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: curses
|
@@ -119,6 +119,7 @@ extensions: []
|
|
119
119
|
extra_rdoc_files: []
|
120
120
|
files:
|
121
121
|
- CHANGELOG.md
|
122
|
+
- README.md
|
122
123
|
- exe/luca
|
123
124
|
- lib/luca_term.rb
|
124
125
|
- lib/luca_term/book.rb
|