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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ef56a31e0eaff2fe2873264e052138e1a751a2fd
4
- data.tar.gz: 595843b7a15ed91352a8f35e3069f8be0f6ec9b1
3
+ metadata.gz: 424ea22b97099e75f017bc8880c1e43b03f76ea5
4
+ data.tar.gz: 84304c12fc3fa6630c1aac86270b21e210b871b3
5
5
  SHA512:
6
- metadata.gz: b0346e50cac7cff1626d50f6da33380d0409149f7162f1692c48a96537d90e4522bd6942a7c9834175cebdc9d81d196cd13b95fddf093f8be41289778d7a45d2
7
- data.tar.gz: 8e2531fa740934717912ec1a9f10ec653f788f8e1d390015423acd132c7c3c31f97a4c08553a3efce28b566ffa550c47c0b396a8bd8504c4cac1484d3c0d5f63
6
+ metadata.gz: c879389b3d71033b567874ecf28a7abd3c686189c5464617a47378267fd11631c67f22a3589ad49c4b9c1051f1c07be15819add47aa7a77b43e375e99072bbee
7
+ data.tar.gz: e12386925189f8533a9e2a64eb1a5d7a57cc9c29ef823d37eebb92cb4c6290664dada94cfd033d5e5942050522b4c69ba00a5482a548d8974879215db7429934
@@ -7,7 +7,7 @@ module LedgerGen
7
7
  sig {void}
8
8
  def initialize
9
9
  @account = T.let('', String)
10
- @amount = T.let(0, Numeric)
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
@@ -1,4 +1,4 @@
1
1
  # typed: strong
2
2
  module LedgerGen
3
- VERSION = "1.0.0"
3
+ VERSION = "1.0.1"
4
4
  end
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.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-20 00:00:00.000000000 Z
11
+ date: 2020-05-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sorbet-runtime