@@ -10,12 +10,12 @@ def advisories_for(name, type)
10
10
end
11
11
end
12
12
13
- def check_ruby ( ruby , &block )
14
- check ( ruby , 'rubies' , &block )
13
+ def check_ruby ( ruby , &)
14
+ check ( ruby , 'rubies' , &)
15
15
end
16
16
17
- def check_rubygems ( rubygems , &block )
18
- check ( rubygems , 'gems' , &block )
17
+ def check_rubygems ( rubygems , &)
18
+ check ( rubygems , 'gems' , &)
19
19
end
20
20
21
21
def check ( object , type = 'gems' )
@@ -28,12 +28,12 @@ def check(object, type = 'gems')
28
28
29
29
protected
30
30
31
- def each_advisory_path ( &block )
32
- Dir . glob ( File . join ( @path , '{gems,rubies}' , '*' , '*.yml' ) , &block )
31
+ def each_advisory_path ( &)
32
+ Dir . glob ( File . join ( @path , '{gems,rubies}' , '*' , '*.yml' ) , &)
33
33
end
34
34
35
- def each_advisory_path_for ( name , type = 'gems' , &block )
36
- Dir . glob ( File . join ( @path , type , name , '*.yml' ) , &block )
35
+ def each_advisory_path_for ( name , type = 'gems' , &)
36
+ Dir . glob ( File . join ( @path , type , name , '*.yml' ) , &)
37
37
end
38
38
end
39
39
end
0 commit comments