rbi 0.1.6 → 0.1.7

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: a9c7a723a9c06a572b7900bc847afc721ddcc074f1df09970ac7007641b99e6a
4
- data.tar.gz: 00c90f72193a7180ea5a1f6aa84d1d85070f01ecccaa9f84463acf5950ab9826
3
+ metadata.gz: 35328499ae10809952e30efeb716a795a86041a14d03b171017aa38043553812
4
+ data.tar.gz: 9e4ba162fd665f92233d5a546395c3f18419781ac6d4f5155a2d049fb2bcde36
5
5
  SHA512:
6
- metadata.gz: efa77d8b2e06e22968ca6ee76fb9341801da67afb59c3dc306501dd3290675f20163644625a2c1754118ee67965d63ee6477a5766e48c8efdc5cd96c5cae2b24
7
- data.tar.gz: d8c52b74124c48e939442760fc249af056dbe0b3c709d4321f38675b9aad4bcda8e207eb4a04a571c9170ff96f0abe9ab0f82aea11e8988dcbc523741a054089
6
+ metadata.gz: fb462c800409178b601b823e18b57cdc43b840a915e6bd7f43ef455a93d5240d7006a9371af9ae4a4d7069b3003f7039c1507605e07eb14f20ec428e91c0dad2
7
+ data.tar.gz: 431875089bc3fad60a16b86368945e412e4ebff7df6ceeb6f5222938148afcb7f25eafdf4379602f5b18a9604eef498d33ac17c4f27c3416531d4ac9addb107d
data/Gemfile CHANGED
@@ -10,7 +10,7 @@ group(:development, :test) do
10
10
  gem("minitest")
11
11
  gem("minitest-reporters")
12
12
  gem("rake", "~> 13.1")
13
- gem("rubocop", "~> 1.57", require: false)
13
+ gem("rubocop", "~> 1.60", require: false)
14
14
  gem("rubocop-shopify", require: false)
15
15
  gem("rubocop-sorbet", require: false)
16
16
  gem("sorbet", ">= 0.5.9204", require: false)
data/lib/rbi/parser.rb CHANGED
@@ -850,7 +850,7 @@ module RBI
850
850
  def visit_assoc_node(node)
851
851
  @current.params << SigParam.new(
852
852
  node_string!(node.key).delete_suffix(":"),
853
- node_string!(T.must(node.value)),
853
+ node_string!(node.value),
854
854
  )
855
855
  end
856
856
  end
data/lib/rbi/version.rb CHANGED
@@ -2,5 +2,5 @@
2
2
  # frozen_string_literal: true
3
3
 
4
4
  module RBI
5
- VERSION = "0.1.6"
5
+ VERSION = "0.1.7"
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rbi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexandre Terrasa
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-12-14 00:00:00.000000000 Z
11
+ date: 2024-02-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: prism
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: 0.18.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '0.20'
22
+ version: '0.21'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: 0.18.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '0.20'
32
+ version: '0.21'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: sorbet-runtime
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -92,7 +92,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
92
92
  - !ruby/object:Gem::Version
93
93
  version: '0'
94
94
  requirements: []
95
- rubygems_version: 3.4.22
95
+ rubygems_version: 3.5.5
96
96
  signing_key:
97
97
  specification_version: 4
98
98
  summary: RBI generation framework