reaver 0.7.0 → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/reaver/collection.rb +5 -2
- data/lib/reaver/metadata.rb +5 -1
- data/lib/reaver/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 32fb1834d726c5f6883514c899661f2a3ad42ed4dd53c5ab64fc0a97bcafe96e
|
4
|
+
data.tar.gz: fd73c58c53c159e86cc523960b795b30e3ca91a4333ef5340207bc438d71f6e9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 54ce812f876370d2579221723c9d005abfd6abb1568ff8617f2272016287a4cc98990e2a55202a8ab4a791d4d1148c7c5b0715e3d8fd3b4e74064687dde84c15
|
7
|
+
data.tar.gz: 1e247b45ec3a47c90fa161c8e2677ae90dc8bea56b81e615db2a2c3f9c2ca68af82dc706825d412941b5aaabb398d5d06393bfd51c87c7780cadc638ecb2720f
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/lib/reaver/collection.rb
CHANGED
@@ -15,8 +15,11 @@ module Reaver
|
|
15
15
|
|
16
16
|
def load_yaml
|
17
17
|
puts ">> Loading #{@file}..."
|
18
|
-
|
19
|
-
|
18
|
+
if RUBY_VERSION >= '3.0'
|
19
|
+
@tasks = YAML.load_file(@file, permitted_classes: [Time, Symbol])
|
20
|
+
else
|
21
|
+
@tasks = YAML.load_file(@file)
|
22
|
+
end
|
20
23
|
rescue => error
|
21
24
|
raise error, "loading YAML fail for #{@file}: #{error.message}"
|
22
25
|
end
|
data/lib/reaver/metadata.rb
CHANGED
@@ -14,7 +14,11 @@ module Reaver
|
|
14
14
|
def load_yaml
|
15
15
|
if File.exist? @file
|
16
16
|
#puts "loading metadata #{@file}..."
|
17
|
-
|
17
|
+
if RUBY_VERSION >= '3.0'
|
18
|
+
@info = YAML.load_file(@file, permitted_classes: [Time, Symbol])
|
19
|
+
else
|
20
|
+
@info = YAML.load_file(@file)
|
21
|
+
end
|
18
22
|
# puts @info.inspect
|
19
23
|
else
|
20
24
|
File.open(@file, 'w') { |f| YAML.dump(@info, f) }
|
data/lib/reaver/version.rb
CHANGED
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: reaver
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- szorfein
|
@@ -36,7 +36,7 @@ cert_chain:
|
|
36
36
|
aEJeKq4/BlIwMlXPe+W5C8zp2i8hgG1/OYbwbGE1p2iRi1NIK7G/HyRqQjOqJxzE
|
37
37
|
LLknX69FN7/G
|
38
38
|
-----END CERTIFICATE-----
|
39
|
-
date: 2022-12-
|
39
|
+
date: 2022-12-28 00:00:00.000000000 Z
|
40
40
|
dependencies:
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: whirly
|
metadata.gz.sig
CHANGED
Binary file
|