orthoses-typeprof 0.1.0 → 0.2.0

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: 6ca3f40accd08442a7d48fc00548da557c8a94951655e0df07906b156ccb4168
4
- data.tar.gz: b22cfcdfd9b50fdfce3e7f7b6447332b28eb1cb10ded0137c4434dec17e51652
3
+ metadata.gz: fefd37e4658370d1495555654805264029af09344ac29852684f1128e9b7d4ac
4
+ data.tar.gz: 1e127dccd16092039f92eb78845d8331009ebbde800effc8d815526b1bb85bcf
5
5
  SHA512:
6
- metadata.gz: 91c2c35b091e39acb4dc6f94bc511cf2363e46590728a2c6b9a798418c4813519f8a253668080c398de9c148cdfd6bfd5543ea604d5354719b1518054c6cf8c0
7
- data.tar.gz: 2d9beecaed9239735ca99bf01c896fbadb13258a793ccde282a2725d9ba286bf1194e63f53441fff09d8eaff9df61b7bed3d1516f033af5151cc8e9d1d63a65e
6
+ metadata.gz: b681b1d84b659f23956480ec67bac22998d91fb0ea965e2dd9f2c350e386399a77eb271942af96a1ae1b58635d9c79fd54fbe256adc7209054d94c02b5e62303
7
+ data.tar.gz: e8517eb1dcd2d59fbcf73085aae41c3f1bb0056a2c68eaff74f8a839249962feabaf52284fa8aff4d0f59d8b65cca12ac1d5c61e60d9a3c3d7cda4c14d79c3e4
data/Gemfile.lock CHANGED
@@ -1,53 +1,53 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- orthoses-typeprof (0.1.0)
5
- orthoses
4
+ orthoses-typeprof (0.2.0)
5
+ orthoses (>= 1.6.0)
6
6
  typeprof
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- activesupport (7.0.4)
11
+ activesupport (7.0.4.3)
12
12
  concurrent-ruby (~> 1.0, >= 1.0.2)
13
13
  i18n (>= 1.6, < 2)
14
14
  minitest (>= 5.1)
15
15
  tzinfo (~> 2.0)
16
16
  ast (2.4.2)
17
- concurrent-ruby (1.1.10)
17
+ concurrent-ruby (1.2.2)
18
18
  csv (3.2.6)
19
- debug (1.7.0)
19
+ debug (1.7.2)
20
20
  irb (>= 1.5.0)
21
21
  reline (>= 0.3.1)
22
22
  ffi (1.15.5)
23
23
  fileutils (1.7.0)
24
24
  i18n (1.12.0)
25
25
  concurrent-ruby (~> 1.0)
26
- io-console (0.5.11)
27
- irb (1.6.0)
26
+ io-console (0.6.0)
27
+ irb (1.6.3)
28
28
  reline (>= 0.3.0)
29
29
  json (2.6.3)
30
- language_server-protocol (3.17.0.2)
31
- listen (3.7.1)
30
+ language_server-protocol (3.17.0.3)
31
+ listen (3.8.0)
32
32
  rb-fsevent (~> 0.10, >= 0.10.3)
33
33
  rb-inotify (~> 0.9, >= 0.9.10)
34
- logger (1.5.2)
35
- minitest (5.16.3)
36
- orthoses (1.4.0)
37
- rbs (~> 2.0)
34
+ logger (1.5.3)
35
+ minitest (5.18.0)
36
+ orthoses (1.6.0)
37
+ rbs (~> 3.0)
38
38
  parallel (1.22.1)
39
- parser (3.1.3.0)
39
+ parser (3.2.1.1)
40
40
  ast (~> 2.4.1)
41
41
  rainbow (3.1.1)
42
42
  rake (13.0.6)
43
43
  rb-fsevent (0.11.2)
44
44
  rb-inotify (0.10.1)
45
45
  ffi (~> 1.0)
46
- rbs (2.8.1)
47
- reline (0.3.1)
46
+ rbs (3.0.4)
47
+ reline (0.3.3)
48
48
  io-console (~> 0.5)
49
- rgot (1.1.0)
50
- securerandom (0.2.1)
49
+ rgot (1.3.0)
50
+ securerandom (0.2.2)
51
51
  steep (1.3.0)
52
52
  activesupport (>= 5.1)
53
53
  csv (>= 3.0.9)
@@ -63,14 +63,14 @@ GEM
63
63
  securerandom (>= 0.1)
64
64
  strscan (>= 1.0.0)
65
65
  terminal-table (>= 2, < 4)
66
- strscan (3.0.5)
66
+ strscan (3.0.6)
67
67
  terminal-table (3.0.2)
68
68
  unicode-display_width (>= 1.1.1, < 3)
69
- typeprof (0.21.3)
69
+ typeprof (0.21.7)
70
70
  rbs (>= 1.8.1)
71
- tzinfo (2.0.5)
71
+ tzinfo (2.0.6)
72
72
  concurrent-ruby (~> 1.0)
73
- unicode-display_width (2.3.0)
73
+ unicode-display_width (2.4.2)
74
74
 
75
75
  PLATFORMS
76
76
  arm64-darwin-21
@@ -2,18 +2,18 @@ PATH
2
2
  remote: ../..
3
3
  specs:
4
4
  orthoses-typeprof (0.1.0)
5
- orthoses
5
+ orthoses (>= 1.6.0)
6
6
  typeprof
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- orthoses (1.4.0)
12
- rbs (~> 2.0)
11
+ orthoses (1.6.0)
12
+ rbs (~> 3.0)
13
13
  rack (3.0.2)
14
14
  rake (13.0.6)
15
- rbs (2.8.1)
16
- typeprof (0.21.3)
15
+ rbs (3.0.4)
16
+ typeprof (0.21.7)
17
17
  rbs (>= 1.8.1)
18
18
 
19
19
  PLATFORMS
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Orthoses
4
4
  class TypeProf
5
- VERSION = "0.1.0"
5
+ VERSION = "0.2.0"
6
6
  end
7
7
  end
@@ -39,7 +39,8 @@ module Orthoses
39
39
  private
40
40
 
41
41
  def parse(buffer)
42
- ::RBS::Parser.parse_signature(buffer).each do |decl|
42
+ _, _, decls = ::RBS::Parser.parse_signature(buffer)
43
+ decls.each do |decl|
43
44
  # remove comment in class/module
44
45
  decl.members.each { |m| m.instance_eval { @comment = nil } }
45
46
  yield decl
@@ -32,6 +32,6 @@ Gem::Specification.new do |spec|
32
32
  spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
33
33
  spec.require_paths = ["lib"]
34
34
 
35
- spec.add_dependency "orthoses"
35
+ spec.add_dependency "orthoses", ">= 1.6.0"
36
36
  spec.add_dependency "typeprof"
37
37
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: orthoses-typeprof
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - ksss
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-12-11 00:00:00.000000000 Z
11
+ date: 2023-03-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: orthoses
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0'
19
+ version: 1.6.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: '0'
26
+ version: 1.6.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: typeprof
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -81,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  requirements: []
84
- rubygems_version: 3.3.26
84
+ rubygems_version: 3.4.6
85
85
  signing_key:
86
86
  specification_version: 4
87
87
  summary: Orthoses extention for typeprof.