typeprof 0.21.0 → 0.21.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
  SHA256:
3
- metadata.gz: 18bdb9e24afde0cb827e78bc77825f9d316fa4959f0276b961f8fd897787810a
4
- data.tar.gz: '095fdf956b09a88940adfe99f68bc6d6afe6d01f2e521b0ca8801691b3df7ab3'
3
+ metadata.gz: dafe7189434a08afb147b33a67d030e17f2dd93f7495b3b42d220375e028a8c4
4
+ data.tar.gz: '05090ed2b4df798245b2f7e62912e19e8c92176b7eab72bee8d1c6759a85e105'
5
5
  SHA512:
6
- metadata.gz: df332ec8c3b08f13d6bf35dd3ae60604ddb31ea4e27d959b0c027b0fb616ab74df582b292ff27169daf6a962f34b21550a21214826ac8a2815829a57b94dd5ed
7
- data.tar.gz: cf47173a218dca213e96cc3ebeb84b86c1376cca6f5f06703fb95c1d3de6c0d289d719324ac9d887eefbb36662458bd636250239389fe16bd0f34a66f402abb7
6
+ metadata.gz: 934bddb52e1f5ca98df3e3534b400471da72efbf4a0648c9c1c162535cdf1023fff7fdc6620205934a75142401aadba0f739138c7bd96e7522a677d8b5100b63
7
+ data.tar.gz: 9c047caa1cffa7ffe97f73d17554c271582b28082f949c48fd234950138bd0c9dfcd8e70c4b1493c868ef4dbe75355a8f92dad7100b7eeafb8ff55367ba54e29
data/Gemfile.lock CHANGED
@@ -36,4 +36,4 @@ DEPENDENCIES
36
36
  typeprof!
37
37
 
38
38
  BUNDLED WITH
39
- 2.3.0.dev
39
+ 2.2.15
@@ -158,7 +158,10 @@ module TypeProf
158
158
  decls.each do |decl|
159
159
  decl = decl.decl
160
160
 
161
- type_params2 = decl.type_params.params.map {|param| [param.name, param.variance] }
161
+ type_params2 = decl.type_params
162
+ # A hack to deal with the imcompatibility between rbs 1.8 and 2.0
163
+ type_params2 = type_params2.params if type_params2.respond_to?(:params)
164
+ type_params2 = type_params2.map {|param| [param.name, param.variance] }
162
165
  raise "inconsistent type parameter declaration" if type_params && type_params != type_params2
163
166
  type_params = type_params2
164
167
 
@@ -1,3 +1,3 @@
1
1
  module TypeProf
2
- VERSION = "0.21.0"
2
+ VERSION = "0.21.1"
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.0
4
+ version: 0.21.1
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-20 00:00:00.000000000 Z
11
+ date: 2021-12-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rbs