typeprof 0.21.1 → 0.21.2

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: dafe7189434a08afb147b33a67d030e17f2dd93f7495b3b42d220375e028a8c4
4
- data.tar.gz: '05090ed2b4df798245b2f7e62912e19e8c92176b7eab72bee8d1c6759a85e105'
3
+ metadata.gz: 9cfc98929d3481526809f92f41edd0abe30d82aaab6f1e1e95d574c74e1cee9b
4
+ data.tar.gz: 895a3f4949b010d2809e32016fec9e7597ae6b5e29175448b668ede33ab20b99
5
5
  SHA512:
6
- metadata.gz: 934bddb52e1f5ca98df3e3534b400471da72efbf4a0648c9c1c162535cdf1023fff7fdc6620205934a75142401aadba0f739138c7bd96e7522a677d8b5100b63
7
- data.tar.gz: 9c047caa1cffa7ffe97f73d17554c271582b28082f949c48fd234950138bd0c9dfcd8e70c4b1493c868ef4dbe75355a8f92dad7100b7eeafb8ff55367ba54e29
6
+ metadata.gz: 736ebc69c1715474973c514ca0e013991575732bee3549b7ac80865264bf3fde42065b1e00b408d3a543a8730030979e891be0427f73a297808bfd890c5698f0
7
+ data.tar.gz: 6bbe63293cfa70dc393e6a97d7a761865ed76a4cbb12a95a19134649079849a82510671e2d1661c55319958040f30c70f2ab06f255a28af5d0cbb6eba96ac0f0
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- typeprof (0.21.0)
4
+ typeprof (0.21.2)
5
5
  rbs (>= 1.8.1)
6
6
 
7
7
  GEM
@@ -11,7 +11,7 @@ GEM
11
11
  docile (1.4.0)
12
12
  power_assert (2.0.1)
13
13
  rake (13.0.1)
14
- rbs (1.8.1)
14
+ rbs (2.0.0)
15
15
  simplecov (0.21.2)
16
16
  docile (~> 1.1)
17
17
  simplecov-html (~> 0.11)
data/lib/typeprof/type.rb CHANGED
@@ -855,7 +855,7 @@ module TypeProf
855
855
  sig_help = {}
856
856
  add_farg = -> farg, name, help: false, key: sig_help.size do
857
857
  name = "`#{ name }`" if RBS::Parser::KEYWORDS.key?(name.to_s)
858
- name = "noname_#{ name }" if name.is_a?(Integer)
858
+ name = "noname" if name.is_a?(Integer) || name == :"*"
859
859
  fargs_str << ", " if fargs_str != "("
860
860
  i = fargs_str.size
861
861
  fargs_str << (Config.current.options[:show_parameter_names] && name ? "#{ farg } #{ name }" : farg)
@@ -1,3 +1,3 @@
1
1
  module TypeProf
2
- VERSION = "0.21.1"
2
+ VERSION = "0.21.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: typeprof
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.21.1
4
+ version: 0.21.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yusuke Endoh
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-12-23 00:00:00.000000000 Z
11
+ date: 2021-12-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rbs
@@ -98,7 +98,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
98
98
  - !ruby/object:Gem::Version
99
99
  version: '0'
100
100
  requirements: []
101
- rubygems_version: 3.3.0.dev
101
+ rubygems_version: 3.4.0.dev
102
102
  signing_key:
103
103
  specification_version: 4
104
104
  summary: TypeProf is a type analysis tool for Ruby code based on abstract interpretation