onceover 3.12.1 → 3.12.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/onceover/controlrepo.rb +6 -2
- data/onceover.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 669676be795f40f81d967f4705e6a51ee89f43c9
|
4
|
+
data.tar.gz: cb66c5f1ef24bc46129b8e0b283f53cc8f31afc9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6372acccf23b69d9da4e858d3908be54303f89a37a2609c39faad80975f5d9602a8ee075d484a88fd94f75781a4a4d344499ce38320266c7d546ed6da99acc47
|
7
|
+
data.tar.gz: 609135fbb0d136743ddcc6ddb0ef371f5dbae7b367fb296deec62323f65f77da0fc3b12dc4cc0066c9b741ec68c87ff3947497d1b7d16bbd456e5857ebc39b48
|
data/lib/onceover/controlrepo.rb
CHANGED
@@ -640,8 +640,12 @@ class Onceover
|
|
640
640
|
def find_classname(filename)
|
641
641
|
file = File.new(filename, "r")
|
642
642
|
while (line = file.gets)
|
643
|
-
|
644
|
-
|
643
|
+
begin
|
644
|
+
if line =~ /^class (\w+(?:::\w+)*)/
|
645
|
+
return $1
|
646
|
+
end
|
647
|
+
rescue ArgumentError => e
|
648
|
+
logger.error "ignoring invalid line in file: #{filename} (#{e.message}) - line: '#{line}'"
|
645
649
|
end
|
646
650
|
end
|
647
651
|
return nil
|
data/onceover.gemspec
CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift File.expand_path("../lib", __FILE__)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |s|
|
6
6
|
s.name = "onceover"
|
7
|
-
s.version = "3.12.
|
7
|
+
s.version = "3.12.2"
|
8
8
|
s.authors = ["Dylan Ratcliffe"]
|
9
9
|
s.email = ["dylan.ratcliffe@puppet.com"]
|
10
10
|
s.homepage = "https://github.com/dylanratcliffe/onceover"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: onceover
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.12.
|
4
|
+
version: 3.12.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dylan Ratcliffe
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-03-
|
11
|
+
date: 2019-03-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|