ledger_gen 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ledger_gen/posting.rb +2 -2
- data/lib/ledger_gen/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 424ea22b97099e75f017bc8880c1e43b03f76ea5
|
4
|
+
data.tar.gz: 84304c12fc3fa6630c1aac86270b21e210b871b3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c879389b3d71033b567874ecf28a7abd3c686189c5464617a47378267fd11631c67f22a3589ad49c4b9c1051f1c07be15819add47aa7a77b43e375e99072bbee
|
7
|
+
data.tar.gz: e12386925189f8533a9e2a64eb1a5d7a57cc9c29ef823d37eebb92cb4c6290664dada94cfd033d5e5942050522b4c69ba00a5482a548d8974879215db7429934
|
data/lib/ledger_gen/posting.rb
CHANGED
@@ -7,7 +7,7 @@ module LedgerGen
|
|
7
7
|
sig {void}
|
8
8
|
def initialize
|
9
9
|
@account = T.let('', String)
|
10
|
-
@amount = T.let(
|
10
|
+
@amount = T.let(nil, T.nilable(Numeric))
|
11
11
|
end
|
12
12
|
|
13
13
|
sig { params(account: String).returns(String) }
|
@@ -15,7 +15,7 @@ module LedgerGen
|
|
15
15
|
@account = account
|
16
16
|
end
|
17
17
|
|
18
|
-
sig { params(amount: Numeric).returns(Numeric) }
|
18
|
+
sig { params(amount: Numeric).returns(T.nilable(Numeric)) }
|
19
19
|
def amount(amount)
|
20
20
|
@amount = amount
|
21
21
|
end
|
data/lib/ledger_gen/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ledger_gen
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pete Keen
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-05-
|
11
|
+
date: 2020-05-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sorbet-runtime
|