orthoses 1.3.0 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +12 -2
- data/lib/orthoses/content.rb +1 -8
- data/lib/orthoses/version.rb +1 -1
- data/sig/orthoses.rbs +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: 4ee37ddf25be5bbed113698301a2aeafb3b50e7af1da412b9a1fc6afad18d8c2
|
4
|
+
data.tar.gz: '075957101080441e02f4129303e766ecdfe1e7f30616177bc41a2cbf41f521f8'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 98c1cff14563ecf14713890e56bddb053d6f128aacad7ff23b6f96cc8b2c338cbea511cc668ac18079ec921cb0183b145f6b26a3c04403a98e8aa0bf734942f7
|
7
|
+
data.tar.gz: 5dd573a63a6998e3a1fac1dd94f292dd80742185277124f6449ded149be662b74995815bad629157fc553cb8bef15bb31b123fdbcdccb1af3dff4d2645bc0da2
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
orthoses (1.
|
4
|
+
orthoses (1.4.0)
|
5
5
|
rbs (~> 2.0)
|
6
6
|
|
7
7
|
GEM
|
@@ -14,13 +14,17 @@ GEM
|
|
14
14
|
tzinfo (~> 2.0)
|
15
15
|
ast (2.4.2)
|
16
16
|
concurrent-ruby (1.1.10)
|
17
|
+
csv (3.2.5)
|
17
18
|
ffi (1.15.5)
|
19
|
+
fileutils (1.6.0)
|
18
20
|
i18n (1.12.0)
|
19
21
|
concurrent-ruby (~> 1.0)
|
22
|
+
json (2.6.2)
|
20
23
|
language_server-protocol (3.17.0.1)
|
21
24
|
listen (3.7.1)
|
22
25
|
rb-fsevent (~> 0.10, >= 0.10.3)
|
23
26
|
rb-inotify (~> 0.9, >= 0.9.10)
|
27
|
+
logger (1.5.1)
|
24
28
|
minitest (5.16.3)
|
25
29
|
parallel (1.22.1)
|
26
30
|
parser (3.1.2.1)
|
@@ -33,16 +37,22 @@ GEM
|
|
33
37
|
rbs (2.7.0)
|
34
38
|
rgot (1.1.0)
|
35
39
|
securerandom (0.2.0)
|
36
|
-
steep (1.2.
|
40
|
+
steep (1.2.1)
|
37
41
|
activesupport (>= 5.1)
|
42
|
+
csv (>= 3.0.9)
|
43
|
+
fileutils (>= 1.1.0)
|
44
|
+
json (>= 2.1.0)
|
38
45
|
language_server-protocol (>= 3.15, < 4.0)
|
39
46
|
listen (~> 3.0)
|
47
|
+
logger (>= 1.3.0)
|
40
48
|
parallel (>= 1.0.0)
|
41
49
|
parser (>= 3.1)
|
42
50
|
rainbow (>= 2.2.2, < 4.0)
|
43
51
|
rbs (>= 2.7.0)
|
44
52
|
securerandom (>= 0.1)
|
53
|
+
strscan (>= 1.0.0)
|
45
54
|
terminal-table (>= 2, < 4)
|
55
|
+
strscan (3.0.4)
|
46
56
|
terminal-table (3.0.2)
|
47
57
|
unicode-display_width (>= 1.1.1, < 3)
|
48
58
|
tzinfo (2.0.5)
|
data/lib/orthoses/content.rb
CHANGED
@@ -27,16 +27,13 @@ module Orthoses
|
|
27
27
|
@body = []
|
28
28
|
@header = nil
|
29
29
|
@comment = nil
|
30
|
-
@uniq = false
|
31
30
|
end
|
32
31
|
|
33
32
|
def <<(line)
|
34
|
-
@uniq = false
|
35
33
|
@body << line
|
36
34
|
end
|
37
35
|
|
38
36
|
def concat(other)
|
39
|
-
@uniq = false
|
40
37
|
@body.concat(other)
|
41
38
|
end
|
42
39
|
|
@@ -49,7 +46,6 @@ module Orthoses
|
|
49
46
|
end
|
50
47
|
|
51
48
|
def delete(val)
|
52
|
-
@uniq = false
|
53
49
|
@body.delete(val)
|
54
50
|
end
|
55
51
|
|
@@ -115,10 +111,7 @@ module Orthoses
|
|
115
111
|
end
|
116
112
|
parsed_decl = parsed_decls.first or raise
|
117
113
|
parsed_decl.tap do |decl|
|
118
|
-
|
119
|
-
DuplicationChecker.new(decl).update_decl
|
120
|
-
@uniq = true
|
121
|
-
end
|
114
|
+
DuplicationChecker.new(decl).update_decl
|
122
115
|
end
|
123
116
|
rescue RBS::ParsingError
|
124
117
|
Orthoses.logger.error "```rbs\n#{original_rbs}```"
|
data/lib/orthoses/version.rb
CHANGED
data/sig/orthoses.rbs
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: orthoses
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.4.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-10-
|
11
|
+
date: 2022-10-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rbs
|