rails5-spec-converter 1.0.16 → 1.0.17
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b30c8ac0b4d815e5e31d439c98845c7d0b9ddf3c
|
4
|
+
data.tar.gz: 2e5c2c892127cc0d03c05e8333a739bde933ff86
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9ab4fbf2947035aade8879caf9fa0673c7c038b3930385a450e1d612427389b6e03a40905c6c282c846bcb28b0b8007266a7234c5bf17ee93045d8d4d86f56d9
|
7
|
+
data.tar.gz: 442ec1884fbbfa2d748281f7f07a0316892462a4d20e3c74688ac814bf1581f6de106daa80cb5fcc5f3a527f38fd53bbc40ebb6d86d7169cda3d9a427933d58f
|
@@ -23,6 +23,11 @@ module Rails5
|
|
23
23
|
|
24
24
|
def transform
|
25
25
|
root_node = @parser.parse(@source_buffer)
|
26
|
+
unless root_node
|
27
|
+
log "Parser saw some unparsable content, skipping...\n\n"
|
28
|
+
return @source_rewriter.process
|
29
|
+
end
|
30
|
+
|
26
31
|
root_node.each_node(:send) do |node|
|
27
32
|
target, verb, action, *args = node.children
|
28
33
|
next unless args.length > 0
|