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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 87fd1bec83b5aa40bb75389248446b77be192dae8e6cd995459f39568d78f677
4
- data.tar.gz: fe7852ed6d94b11292258597015e5035387177c54001417f59cc4ae61009a600
3
+ metadata.gz: 23cc6a747d604fae9122f0e85007f52d1aaceacbdbcb7f2eb51bb49b3ce9fefe
4
+ data.tar.gz: 59b9c27b38f466d6aaacd4742fc904545e17c9be0409a2c1ae40d59e6a4de835
5
5
  SHA512:
6
- metadata.gz: 9149d4541c6252ffae31f4f6194184779e67a88493bc642f867529d7761a2a1691bbf80e297f14b40d56a7b8d026e82faee57f9990cf68a479897013d0d5f4df
7
- data.tar.gz: 858e238744ce39b500106a1e97e536687d3acc6f1887df39268033edbb7fd66604be9366aa0c505e93527d0551414eb87fdc638146a4a2a7789dab523eb9a089
6
+ metadata.gz: 5b08c39df84de298fc18ee7e1d509d69d666c9660b6888a018c45f9a69102b411a119711a5e553f49bb1762ab5bc5f1fa8713f371c318d3a47848f5ffd787b12
7
+ data.tar.gz: 185155a6cb25387b727bb12d97fc7d70a60dc771e0413550d2fc350e7c695fdce8a55bf13c7cc3ac81b8701997dddf050b38d2f09567f363c1f97b0338879d9b
@@ -1,5 +1,5 @@
1
1
  module RuboCop
2
2
  module Rubycw
3
- VERSION = "0.1.1"
3
+ VERSION = "0.1.2"
4
4
  end
5
5
  end
@@ -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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-rubycw
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Masataka Pocke Kuwabara