rubocop-rubycw 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rubocop/rubycw/version.rb +1 -1
- data/lib/rubocop/rubycw/warning_capturer.rb +1 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 23cc6a747d604fae9122f0e85007f52d1aaceacbdbcb7f2eb51bb49b3ce9fefe
|
4
|
+
data.tar.gz: 59b9c27b38f466d6aaacd4742fc904545e17c9be0409a2c1ae40d59e6a4de835
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5b08c39df84de298fc18ee7e1d509d69d666c9660b6888a018c45f9a69102b411a119711a5e553f49bb1762ab5bc5f1fa8713f371c318d3a47848f5ffd787b12
|
7
|
+
data.tar.gz: 185155a6cb25387b727bb12d97fc7d70a60dc771e0413550d2fc350e7c695fdce8a55bf13c7cc3ac81b8701997dddf050b38d2f09567f363c1f97b0338879d9b
|
@@ -4,10 +4,8 @@ module RuboCop
|
|
4
4
|
module Rubycw
|
5
5
|
module WarningCapturer
|
6
6
|
if defined?(RubyVM::AbstractSyntaxTree)
|
7
|
-
require 'stringio'
|
8
|
-
|
9
7
|
module ::Warning
|
10
|
-
def warn(*message)
|
8
|
+
def self.warn(*message)
|
11
9
|
if WarningCapturer.warnings
|
12
10
|
WarningCapturer.warnings.concat message
|
13
11
|
else
|