ll-innobackup 0.1.11 → 0.1.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/lib/ll-innobackup.rb +1 -3
  2. metadata +1 -1
data/lib/ll-innobackup.rb CHANGED
@@ -99,9 +99,7 @@ class InnoBackup
99
99
  def fully_backed_up_today?
100
100
  require 'active_support/all'
101
101
  date = state('full')['date']
102
- Time.parse(date).today?
103
- rescue TypeError
104
- false
102
+ Time.parse(date).today? if date
105
103
  rescue Errno::ENOENT
106
104
  false
107
105
  rescue NoMethodError
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ll-innobackup
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.11
4
+ version: 0.1.12
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: