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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/typeprof/import.rb +4 -1
- data/lib/typeprof/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz: '
|
3
|
+
metadata.gz: dafe7189434a08afb147b33a67d030e17f2dd93f7495b3b42d220375e028a8c4
|
4
|
+
data.tar.gz: '05090ed2b4df798245b2f7e62912e19e8c92176b7eab72bee8d1c6759a85e105'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 934bddb52e1f5ca98df3e3534b400471da72efbf4a0648c9c1c162535cdf1023fff7fdc6620205934a75142401aadba0f739138c7bd96e7522a677d8b5100b63
|
7
|
+
data.tar.gz: 9c047caa1cffa7ffe97f73d17554c271582b28082f949c48fd234950138bd0c9dfcd8e70c4b1493c868ef4dbe75355a8f92dad7100b7eeafb8ff55367ba54e29
|
data/Gemfile.lock
CHANGED
data/lib/typeprof/import.rb
CHANGED
@@ -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
|
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
|
|
data/lib/typeprof/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2021-12-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rbs
|