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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c072f724a2ad3fb09fc648c4912c974d8c874fd82165e525bb6cd3d06073f645
4
- data.tar.gz: 6d6a198f22a9fab3ea8c6426f98571927577862b61f1b6b4f955e8442375b778
3
+ metadata.gz: 2b89d7a16d5e1b11ec8bc4caccc299fff6dcaa7edceda8d3ae3e0ad8d24686bb
4
+ data.tar.gz: 448a0ed6d343ffd78a09f8f83e80cf729699f49db1f0c3cced73d7cb116cc595
5
5
  SHA512:
6
- metadata.gz: 8d6b3ec02aaf1dac932d47dc74fa0c61604915a7ab79a3198c83075f67d94a5cffd5c5a2673cd8c852806aafcc8d875cc3040d5680c248fcfdcc25797c0030c2
7
- data.tar.gz: 74d40973ea0f60f6e5dc9d40fd52d3548683525ffe018b5c1e054175dc06303eac3da2d4da9a10bff02c4f5e496bef4d495180dac7a5b37352c7d5816a606d11
6
+ metadata.gz: 9e50a20eb61aa70ac29caefedbb0316aaa578179eed5d5c5df340161e821ab5b02b65657a4b39e473bba547e356537153e405a0c508ecf48ec3b036238dffbce
7
+ data.tar.gz: 53fb5a7d452aaaf0a528e2785601a06d36d16f8790fa48981ab21d43d4f08dbdd43925db67a522f6911be7ff348cd911baa1a49447b199f8271a621f6b23cf53
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## LucaTerm 0.2.1
2
+
3
+ * `luca book` Fix: proper account code selection
4
+
1
5
  ## LucaTerm 0.2.0
2
6
 
3
7
  * `luca book`: Works without args. Show journals of the latest month.
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
+ ```
@@ -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 list[@index][:code]
324
+ return selected
324
325
  when 'q'
325
326
  @visible = visible_dup
326
327
  @index = index_dup
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module LucaTerm
4
- VERSION = '0.2.0'
4
+ VERSION = '0.2.1'
5
5
  end
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.0
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-16 00:00:00.000000000 Z
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