lucaterm 0.3.0 → 0.3.2
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/CHANGELOG.md +9 -0
- data/exe/luca +4 -1
- data/lib/luca_term/book.rb +4 -4
- data/lib/luca_term/version.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 27c860aa2688fe8e9c9715ad2cfa7f99d9052357408a9f60de5895f3af25e151
|
4
|
+
data.tar.gz: 65b360b3822fa147992c5d655252254334ba4ad8d4eb623fceb3fdf829f76044
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0d464f5208abb1eaaae53581727c74beb2389e9e2580e2782138570106ecd6a8b385a113a89ade75df6a8eb5cce52b873daba7f5d46600903a00d40d395a2f04
|
7
|
+
data.tar.gz: 44b81f9a007bed740177fc7d6eae044503f400587b8262ad1fed7b0fb0976621204c029725e054c78959809c504eecaef4848029aef0ab32ba92fe0d931802c8
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,12 @@
|
|
1
|
+
## LucaTerm 0.3.2
|
2
|
+
|
3
|
+
* `luca book`: Add 'h'/'l' move as Prev/Next for monthly journals and code selection.
|
4
|
+
|
5
|
+
## LucaTerm 0.3.1
|
6
|
+
|
7
|
+
* `luca book`: Supports monorepo project including multi-app data.
|
8
|
+
* Removed bundler from test suite avoiding casual native build
|
9
|
+
|
1
10
|
## LucaTerm 0.2.2
|
2
11
|
|
3
12
|
* `luca book`: Basic Note edit('c' on detail screen).
|
data/exe/luca
CHANGED
@@ -4,6 +4,7 @@
|
|
4
4
|
require 'optparse'
|
5
5
|
require 'curses'
|
6
6
|
require 'luca_book/journal'
|
7
|
+
require 'luca_cmd'
|
7
8
|
require 'luca_term'
|
8
9
|
|
9
10
|
include Curses
|
@@ -30,5 +31,7 @@ params = {}
|
|
30
31
|
|
31
32
|
case cmd
|
32
33
|
when /book/, 'b'
|
33
|
-
LucaCmd.
|
34
|
+
LucaCmd.check_dir('journals') do
|
35
|
+
LucaCmd.book(cmd, params)
|
36
|
+
end
|
34
37
|
end
|
data/lib/luca_term/book.rb
CHANGED
@@ -66,14 +66,14 @@ module LucaTerm
|
|
66
66
|
@index = 0
|
67
67
|
@active = 0
|
68
68
|
@visible = set_visible(@data)
|
69
|
-
when '<'
|
69
|
+
when '<', 'h'
|
70
70
|
target = Date.parse("#{@year}-#{@month}-1").prev_month
|
71
71
|
@data = LucaSupport::Code.readable(LucaBook::List.term(target.year, target.month).data)
|
72
72
|
@year, @month = target.year, target.month
|
73
73
|
@index = 0
|
74
74
|
@active = 0
|
75
75
|
@visible = set_visible(@data)
|
76
|
-
when '>'
|
76
|
+
when '>', 'l'
|
77
77
|
target = Date.parse("#{@year}-#{@month}-1").next_month
|
78
78
|
@data = LucaSupport::Code.readable(LucaBook::List.term(target.year, target.month).data)
|
79
79
|
@year, @month = target.year, target.month
|
@@ -327,9 +327,9 @@ module LucaTerm
|
|
327
327
|
cursor_up list
|
328
328
|
when KEY_PPAGE
|
329
329
|
cursor_pageup list, sub.maxy - 2
|
330
|
-
when KEY_LEFT
|
330
|
+
when KEY_LEFT, 'h'
|
331
331
|
cursor_jump tabstop, list, rev: true
|
332
|
-
when KEY_RIGHT
|
332
|
+
when KEY_RIGHT, 'l'
|
333
333
|
cursor_jump tabstop, list
|
334
334
|
when 'G'
|
335
335
|
cursor_last list, sub.maxy - 2
|
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.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chuma Takahiro
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-03-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: curses
|
@@ -58,14 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
61
|
+
version: 0.7.3
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
68
|
+
version: 0.7.3
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: bundler
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -131,7 +131,7 @@ metadata:
|
|
131
131
|
homepage_uri: https://github.com/chumaltd/luca/tree/master/lucaterm
|
132
132
|
source_code_uri: https://github.com/chumaltd/luca/tree/master/lucaterm
|
133
133
|
changelog_uri: https://github.com/chumaltd/luca/tree/master/lucaterm/CHANGELOG.md
|
134
|
-
post_install_message:
|
134
|
+
post_install_message:
|
135
135
|
rdoc_options: []
|
136
136
|
require_paths:
|
137
137
|
- lib
|
@@ -147,7 +147,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
147
147
|
version: '0'
|
148
148
|
requirements: []
|
149
149
|
rubygems_version: 3.4.10
|
150
|
-
signing_key:
|
150
|
+
signing_key:
|
151
151
|
specification_version: 4
|
152
152
|
summary: Terminal frontend for Luca Suite
|
153
153
|
test_files: []
|