rubocop-obsession 0.1.11 → 0.1.12
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 799bc0f4a5060b91a26dc8b75b2ecf442e66c4956bcbe78f245e070cc26e2e94
|
4
|
+
data.tar.gz: 1ed8f6958eb2953939825077bb251d86d1270634b042cca54a13eb90e740d1fd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5204e24cd86b37dceaa338cda3a78ef501498726c1da4e39fd7b146c51d90a588c17f07516e3ee32591a3a6d48be27c34610227d26605badf5b3b7ea20c9c928
|
7
|
+
data.tar.gz: '09ab0bf1a0cf21e4d15176482e9e4f4dba6633ed9c507844f4de1c9f1a892914a2690c5bbd4598a214fe4226159820965b8f26dda8893dd28340c4079269d07d'
|
@@ -94,13 +94,7 @@ module RuboCop
|
|
94
94
|
end
|
95
95
|
|
96
96
|
def parse_file(file_path)
|
97
|
-
|
98
|
-
parser = parser_class.new(RuboCop::AST::Builder.new)
|
99
|
-
|
100
|
-
buffer = Parser::Source::Buffer.new(file_path, 1)
|
101
|
-
buffer.source = File.read(file_path)
|
102
|
-
|
103
|
-
parser.parse(buffer)
|
97
|
+
parse(File.read(file_path)).ast
|
104
98
|
end
|
105
99
|
|
106
100
|
def find_private_methods(class_node)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop-obsession
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jerome Dalbert
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-11-
|
11
|
+
date: 2024-11-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|