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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0df9b0a453544115410d64b72a65ac9589e5ad3639d58d733409c21d33c0513d
4
- data.tar.gz: c08d7470fcbd1bfdb84d381e30360076f0ec9bdcb842aa4ebb4c0a39e16618a5
3
+ metadata.gz: 32fb1834d726c5f6883514c899661f2a3ad42ed4dd53c5ab64fc0a97bcafe96e
4
+ data.tar.gz: fd73c58c53c159e86cc523960b795b30e3ca91a4333ef5340207bc438d71f6e9
5
5
  SHA512:
6
- metadata.gz: ebf121f3da646562cd05108de7dfa32151ba3e31d3e7126d9b78000294c30855231fb1941f728496cfd8fb74a7b0875c87e89c62da8a42d2c0d3142b35754731
7
- data.tar.gz: fa25fbb70ae82e631deaa4dd925900fb31d8b03c310ddfbc2b825ac6931c36d590ec3f520cc13220610e1a34b3420050cb82671cffad61b9b9fa7831ff842deb
6
+ metadata.gz: 54ce812f876370d2579221723c9d005abfd6abb1568ff8617f2272016287a4cc98990e2a55202a8ab4a791d4d1148c7c5b0715e3d8fd3b4e74064687dde84c15
7
+ data.tar.gz: 1e247b45ec3a47c90fa161c8e2677ae90dc8bea56b81e615db2a2c3f9c2ca68af82dc706825d412941b5aaabb398d5d06393bfd51c87c7780cadc638ecb2720f
checksums.yaml.gz.sig CHANGED
Binary file
@@ -15,8 +15,11 @@ module Reaver
15
15
 
16
16
  def load_yaml
17
17
  puts ">> Loading #{@file}..."
18
- @tasks = YAML.load_file(@file, permitted_classes: [Time, Symbol])
19
- # puts @tasks.inspect
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
@@ -14,7 +14,11 @@ module Reaver
14
14
  def load_yaml
15
15
  if File.exist? @file
16
16
  #puts "loading metadata #{@file}..."
17
- @info = YAML.load_file(@file, permitted_classes: [Time, Symbol])
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) }
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Reaver
4
- VERSION = '0.7.0'
4
+ VERSION = '0.7.1'
5
5
  end
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.0
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-24 00:00:00.000000000 Z
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