lucasalary 0.1.28 → 0.1.29
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 +4 -0
- data/exe/luca-salary +4 -1
- data/lib/luca_salary/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5f9a6cc60592a240edaa38b2fc9245efeefa74d16c2fff7abfdf8c2e9a7dbf4c
|
|
4
|
+
data.tar.gz: e09af61bfa146de7625f5877951ab4dfeb7b76549c443be7f1d0245b6e1e37ac
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a9068ec38591a0a8758498371497533b4c9d37303a3089b6441d4601bd88dc685fc338b1718a5fe549c2decaa89f8dc0534afc1b1144c99b7328ff25aa5a0166
|
|
7
|
+
data.tar.gz: 2f15b61cd215c260aeda9c6df1c053129fd8b20ab3390564f2d23308eb0b576c7c4f6e8c7f693b5c6c57951e0a13fe8d697a44574ac93666c14e6971acf3299d
|
data/CHANGELOG.md
CHANGED
data/exe/luca-salary
CHANGED
|
@@ -60,6 +60,8 @@ module LucaCmd
|
|
|
60
60
|
puts JSON.dump(dat)
|
|
61
61
|
when 'nu'
|
|
62
62
|
LucaSupport::View.nushell(dat)
|
|
63
|
+
when 'explore'
|
|
64
|
+
LucaSupport::View.nushell(dat, :explore)
|
|
63
65
|
else
|
|
64
66
|
puts YAML.dump(dat)
|
|
65
67
|
end
|
|
@@ -114,9 +116,10 @@ when 'pay', /payments?/
|
|
|
114
116
|
end
|
|
115
117
|
when 'list'
|
|
116
118
|
OptionParser.new do |opt|
|
|
117
|
-
opt.banner = 'Usage: luca-salary payments list [--mail|--nu] year month [date]'
|
|
119
|
+
opt.banner = 'Usage: luca-salary payments list [--mail|--nu|--explore] year month [date]'
|
|
118
120
|
opt.on('--mail', 'send to managers') { |_v| params['mode'] = 'mail' }
|
|
119
121
|
opt.on('--nu', 'show table in nushell') { |_v| params[:output] = 'nu' }
|
|
122
|
+
opt.on('--explore', 'explore table in nushell') { |_v| params[:output] = 'explore' }
|
|
120
123
|
args = opt.parse(ARGV)
|
|
121
124
|
LucaCmd::Payment.list(args, params)
|
|
122
125
|
end
|
data/lib/luca_salary/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: lucasalary
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.29
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Chuma Takahiro
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-04-
|
|
11
|
+
date: 2023-04-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: lucarecord
|