momocop 0.3.1 → 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bae3d0f2d4c1c038b116735e1a47744d090fdb07b911688893c7987ebf44597c
4
- data.tar.gz: eca84c634dbf5a6374c2e0899647f50d0e1ec65e9c6b2485c1ffaeda6e283608
3
+ metadata.gz: bb919c2bf4b66616557833a7d67e79339689ad9f1f57153881571d448c3707ea
4
+ data.tar.gz: 98b78098e0b256e8ee1c12f1cef7a531a60087e6368473536f65db5b76c34146
5
5
  SHA512:
6
- metadata.gz: fd489ae7183fe59a0437733743e3cf1a9af80e900ff0b4ac8b059eabf700aa45fc6a37e8cdf502426f17cc331cd01fbb6cd694c2d7b5ddcdda9da92b338bf079
7
- data.tar.gz: 610e80f9e71629d3a7ca56a6111774fd6bed8eed874ddde5538d40f59d80a5c722752f6e638c1a3602f8aac88e9d9e50919e6fc23e1902636f2b8a37d56bc626
6
+ metadata.gz: c067e346829c04611770041a2b166905172aabf7aa98e0135b42aad80d1c9fcdbd5e278235319fe533300d29f96a452875522bbbecb232b523f93ec0c00a3c3b
7
+ data.tar.gz: 939f262024e1846aec9af842bbed4ab08cdaf0057711e8d4696ea0d5cb9ab94206dc5f014480e0b70b36d20b76e7f820501c271332de82a403f8d31ebc9e2f79
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Momocop
4
- VERSION = '0.3.1'
4
+ VERSION = '0.3.2'
5
5
  end
@@ -44,6 +44,10 @@ module RuboCop
44
44
  check_node(node, body_nodes(node), node.loc.keyword)
45
45
  end
46
46
 
47
+ def on_sclass(node)
48
+ check_node(node, body_nodes(node), node.loc.keyword)
49
+ end
50
+
47
51
  def on_new_investigation
48
52
  return unless processed_source.ast
49
53
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: momocop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - supermomonga