rgot 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 +24 -16
- data/lib/rgot/cli.rb +6 -4
- data/lib/rgot/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b532630466766a2b4cfd0bc5a0dac5a27bd74cad31f7d0d2e798dc0c1f36319d
|
4
|
+
data.tar.gz: c35a32f74a0e1e8fc62f06ac0eccc796032765f33d06d39a66be000c8d55e836
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ee2f5cdc90201ac18b9ba0e96fff784af2b39620571f4601236795293c700ab2641b695cccbb8158609281eccb8269243e0d645cc0edda5896ac8c00e879c362
|
7
|
+
data.tar.gz: da07ab33cb788a42af9c217a3aceda06e50bb8b557381a000d60afe63b73ce505ca254ddc705fa38de53d99f18085b838c616d46d7f0484048ae39713144a0c3
|
data/Gemfile.lock
CHANGED
@@ -1,60 +1,68 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
rgot (1.
|
4
|
+
rgot (1.4.0)
|
5
5
|
|
6
6
|
GEM
|
7
7
|
remote: https://rubygems.org/
|
8
8
|
specs:
|
9
|
-
activesupport (7.0.
|
9
|
+
activesupport (7.0.5)
|
10
10
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
11
11
|
i18n (>= 1.6, < 2)
|
12
12
|
minitest (>= 5.1)
|
13
13
|
tzinfo (~> 2.0)
|
14
14
|
ast (2.4.2)
|
15
|
-
concurrent-ruby (1.
|
15
|
+
concurrent-ruby (1.2.2)
|
16
16
|
csv (3.2.6)
|
17
|
-
debug (1.
|
17
|
+
debug (1.8.0)
|
18
|
+
irb (>= 1.5.0)
|
19
|
+
reline (>= 0.3.1)
|
18
20
|
ffi (1.15.5)
|
19
|
-
fileutils (1.7.
|
20
|
-
i18n (1.
|
21
|
+
fileutils (1.7.1)
|
22
|
+
i18n (1.14.1)
|
21
23
|
concurrent-ruby (~> 1.0)
|
24
|
+
io-console (0.6.0)
|
25
|
+
irb (1.7.0)
|
26
|
+
reline (>= 0.3.0)
|
22
27
|
json (2.6.3)
|
23
|
-
language_server-protocol (3.17.0.
|
24
|
-
listen (3.
|
28
|
+
language_server-protocol (3.17.0.3)
|
29
|
+
listen (3.8.0)
|
25
30
|
rb-fsevent (~> 0.10, >= 0.10.3)
|
26
31
|
rb-inotify (~> 0.9, >= 0.9.10)
|
27
32
|
logger (1.5.3)
|
28
|
-
minitest (5.
|
29
|
-
|
30
|
-
parser (3.2.0.0)
|
33
|
+
minitest (5.18.1)
|
34
|
+
parser (3.2.2.3)
|
31
35
|
ast (~> 2.4.1)
|
36
|
+
racc
|
37
|
+
racc (1.7.1)
|
32
38
|
rainbow (3.1.1)
|
33
39
|
rake (13.0.6)
|
34
40
|
rb-fsevent (0.11.2)
|
35
41
|
rb-inotify (0.10.1)
|
36
42
|
ffi (~> 1.0)
|
37
|
-
rbs (
|
43
|
+
rbs (3.1.0)
|
44
|
+
reline (0.3.5)
|
45
|
+
io-console (~> 0.5)
|
38
46
|
securerandom (0.2.2)
|
39
|
-
steep (1.
|
47
|
+
steep (1.4.0)
|
40
48
|
activesupport (>= 5.1)
|
49
|
+
concurrent-ruby (>= 1.2.2)
|
41
50
|
csv (>= 3.0.9)
|
42
51
|
fileutils (>= 1.1.0)
|
43
52
|
json (>= 2.1.0)
|
44
53
|
language_server-protocol (>= 3.15, < 4.0)
|
45
54
|
listen (~> 3.0)
|
46
55
|
logger (>= 1.3.0)
|
47
|
-
parallel (>= 1.0.0)
|
48
56
|
parser (>= 3.1)
|
49
57
|
rainbow (>= 2.2.2, < 4.0)
|
50
58
|
rbs (>= 2.8.0)
|
51
59
|
securerandom (>= 0.1)
|
52
60
|
strscan (>= 1.0.0)
|
53
61
|
terminal-table (>= 2, < 4)
|
54
|
-
strscan (3.0.
|
62
|
+
strscan (3.0.6)
|
55
63
|
terminal-table (3.0.2)
|
56
64
|
unicode-display_width (>= 1.1.1, < 3)
|
57
|
-
tzinfo (2.0.
|
65
|
+
tzinfo (2.0.6)
|
58
66
|
concurrent-ruby (~> 1.0)
|
59
67
|
unicode-display_width (2.4.2)
|
60
68
|
|
data/lib/rgot/cli.rb
CHANGED
@@ -168,11 +168,13 @@ module Rgot
|
|
168
168
|
find_toplevel_name(namespace)
|
169
169
|
end
|
170
170
|
when :BLOCK
|
171
|
-
|
172
|
-
|
173
|
-
raise "no module found"
|
171
|
+
module_nodes = node.children.select do |c|
|
172
|
+
c.type == :MODULE && find_toplevel_name(c).end_with?("Test")
|
174
173
|
end
|
175
|
-
|
174
|
+
raise "no module found" if module_nodes.empty?
|
175
|
+
raise "*Test module should be one for each file" if 1 < module_nodes.length
|
176
|
+
|
177
|
+
find_toplevel_name(module_nodes.first)
|
176
178
|
else
|
177
179
|
raise node.type.to_s
|
178
180
|
end
|
data/lib/rgot/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rgot
|
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: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-06-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -90,7 +90,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
90
90
|
- !ruby/object:Gem::Version
|
91
91
|
version: '0'
|
92
92
|
requirements: []
|
93
|
-
rubygems_version: 3.4.
|
93
|
+
rubygems_version: 3.4.10
|
94
94
|
signing_key:
|
95
95
|
specification_version: 4
|
96
96
|
summary: Ruby + Golang Testing = Rgot
|